Dayaan M. answered 09/28/26
Earned A’s in Calc 1/AB & Calc 2/BC | 5 Years of Tutoring Experience
This is a classic optimization problem, and the setup carries almost all the difficulty. Once the geometry is written down the calculus is short.
A note on the wording first. The phrase "the product of the width and the cube of the of its cross-section" has a word missing. I am reading it as strength proportional to the width times the cube of the depth, which is the standard form of this problem, and I will solve it that way. At the end I will also give the answer for the square of the depth, since some textbooks write it that way and you should check which one yours uses.
Setting up. The log has radius 15 cm, so its diameter is 30 cm. The rectangular cross section of the joist is inscribed in that circle, which means the diagonal of the rectangle is the diameter. Call the width w and the depth h. By the Pythagorean theorem,
w2 + h2 = 302 = 900
That constraint is the entire reason this is an optimization problem: making the joist wider forces it to be shallower, and strength cares much more about depth than width.
Write strength in one variable. Strength is S = kwh3 for some positive constant k. Solving the constraint gives h = √(900 − w2), so
S(w) = kw(900 − w2)3/2, for 0 < w < 30
The constant k never affects where the maximum sits, so you can ignore it from here on.
Differentiate. Product rule, with the chain rule on the second factor:
S'(w) = (900 − w2)3/2 + w · (3/2)(900 − w2)1/2(−2w)
S'(w) = (900 − w2)3/2 − 3w2(900 − w2)1/2
Now factor out the common (900 − w2)1/2. This is the step that makes the whole problem easy, and it is the one students usually skip:
S'(w) = (900 − w2)1/2[(900 − w2) − 3w2] = (900 − w2)1/2(900 − 4w2)
Solve. The first factor vanishes only at w = 30, which is the degenerate board with no depth at all. The real critical point comes from the second factor:
900 − 4w2 = 0 → w2 = 225 → w = 15
Then h2 = 900 − 225 = 675, so h = 15√3.
Answer: width 15 cm, depth 15√3 ≈ 25.98 cm.
Confirm it really is a maximum. Just read the sign of S'(w). For w a bit under 15 the factor 900 − 4w2 is positive, so S is increasing. For w above 15 it is negative, so S is decreasing. A sign change from positive to negative is a maximum, and you never had to touch the second derivative.
The other reading, in case your book means the square. If strength is kwh2, then S(w) = k(900w − w3), so S'(w) = k(900 − 3w2), giving w2 = 300, so w = 10√3 ≈ 17.32 and h = 10√6 ≈ 24.49. Compare the depth to width ratios: √3 ≈ 1.73 for the cube version and √2 ≈ 1.41 for the square version. If your textbook quotes a clean ratio like one of those, it tells you at a glance which version it intended.