O Tannenbaum, How Optimal Thine Area

Calculus Level 3

The Christmas tree above has a top which is an isosceles triangle, and a square trunk. The five line segments at the bottom of the tree are all of length x x . The tree's area is the area of the top (green) plus the area of the bottom (brown).

If the outer perimeter of the tree (thick black line) has length 100 100 , what value of x x maximizes the tree's area?

Details and Assumptions:

  • If it looks like it should be a right angle, it is
  • The diagram is supposed to have left-right symmetry
  • Restrict your analysis to the range ( 0 < x < 12.5 ) (0 < x < 12.5)
  • The tree ornaments and star are just for decoration


The answer is 9.248.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Karan Chatrath
Dec 25, 2019

Greetings and best wishes to you these holidays!

Let the height of the green isosceles triangle be h h . Then the perimeter is:

P = 5 x + 2 ( x + x 2 ) 2 + h 2 P = 5 x + 9 x 2 + 4 h 2 P = 5x + 2\sqrt{\left(x+\frac{x}{2}\right)^2 + h^2} \implies P = 5x + \sqrt{9x^2 + 4h^2}

The area of the triangle is:

A = x 2 + 3 2 x h A = x^2 + \frac{3}{2}xh

Method 1: Given that the perimeter is the constraint, the cost function, with the introduction of a Lagrange multiplier can be formulated as such:

L = A + λ ( P 100 ) L = A + \lambda (P-100)

To be more rigorous, two more Lagrange multipliers are to be introduced to account for the inequality constraints ( 0 < x < 12.5 ) (0 <x < 12.5) . This has however not be done. The solution to the equality constrained minimisation problem which is accepted is the one satisfying the inequality constraints. Now, Partial derivatives are computed and are equated to zero:

F x = 0 3 h 2 + 2 x + λ ( 9 x 4 h 2 + 9 x 2 + 5 ) = 0 \frac{\partial F}{\partial x} = 0 \implies \frac{3\,h}{2}+2\,x+\lambda\,\left(\frac{9\,x}{\sqrt{4\,h^2+9\,x^2}}+5\right)=0 F h = 0 3 x 2 + 4 λ h 4 h 2 + 9 x 2 = 0 \frac{\partial F}{\partial h} = 0 \implies \frac{3\,x}{2}+\frac{4\,\lambda\,h}{\sqrt{4\,h^2+9\,x^2}}=0 F λ = 0 5 x + 4 h 2 + 9 x 2 100 = 0 \frac{\partial F}{\partial \lambda} = 0 \implies 5\,x+\sqrt{4\,h^2+9\,x^2}-100=0

This set of non-linear equations can be solved numerically using a technique like Newton-Raphson and the solution satisfying the constraint is x = 9.248 \boxed{x = 9.248} . A second derivative test would be needed to confirm a maximum.


Method 2:

The constraint equation is based on the perimeter which is:

5 x + 2 ( x + x 2 ) 2 + h 2 = 100 h = ( 100 5 x ) 2 9 x 2 2 ; h > 0 5x + 2\sqrt{\left(x+\frac{x}{2}\right)^2 + h^2}=100 \implies h = \frac{\sqrt{\left(100-5x\right)^2-9x^2}}{2} \ ; \ h>0

The area is:

A = x 2 + 3 2 x h A = x 2 + 3 x 4 ( 100 5 x ) 2 9 x 2 A = x^2 + \frac{3}{2}xh \implies A= x^2 + \frac{3x}{4}\sqrt{\left(100-5x\right)^2-9x^2}

This is a single variable optimization problem that can be solved using standard techniques. I choose to plot this function in the specified range of 0 < x < 12.5 0 <x < 12.5 .

This 'brute force' approach quickly yields the answer without having to compute derivatives and solve nonlinear equations.

Updated the solution with an alternate method.

Karan Chatrath - 1 year, 5 months ago

Thanks for the many great problems and solutions this year!

Steven Chase - 1 year, 5 months ago

Log in to reply

Thank you too, for the same

Karan Chatrath - 1 year, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...