Find the integer value of x for which the area of a triangle with sides 9 , 4 0 x and 4 1 x is maximized?
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.
If the question had asked for the real number, rather than the integer, that maximizes the area, it becomes a simple calculus exercise to get 9 3 2 8 1 ≈ 6 . 3 6 4
It isn't necessarily true that [ α ] = 6 would imply x = 6 . It's just that exact solution is a lot closer to 6 than 7 and decreases roughly equally in both directions.
Log in to reply
Yes, you're right. Should've mentioned that. I just saw 6.3 and went with floor function.
This problem can be solved even without using calculus:
Let a=41x, b = 40x and c = 9 .
Then, the half-perimeter of the triangle:
s = 2 8 1 x + 9 = 2 9 ( 9 x + 1 )
The area of the triangle, by using Heron's formula:
A ( x ) = s ( s − a ) ( s − b ) ( s − c ) = 2 9 ( 9 x + 1 ) × 2 x + 9 × 2 9 − x × 2 9 ( 9 x − 1 ) = 4 9 ( 8 1 x 2 − 1 ) ( 8 1 − x 2 )
Now, according to the triangle inequality, and the fact that x is an integer (which has to be positive, as 40x and 41x are side lengths):
9 + 4 0 x < 4 1 x ⇒ 9 < x ⇒ 1 ≤ x ≤ 8
Therefore, it is enough to calculate the areas in 8 cases only (and it is very easy to make a table e.g. by using a scientific calculator or a spreadsheet).
The relevant values (2 d. p.):
A(1) = 180 A(2) = 354.83 A(3) = 515.12 A(4) = 652.79 A(5) = 757.49 A(6) = 814.90 (maximum) A(7) = 801.75 A(8) = 667.87
Hence, our answer should be:
x = 6
It is a small point, but it is easier to maximize A^2 than A.
Problem Loading...
Note Loading...
Set Loading...
Write the area of the triangle through Heron's formula as:
A = s ( s − a ) ( s − b ) ( s − c ) where a , b , c are the sides of the triangle and s is half of the triangle's perimeter.
After putting in the values we get:
A = k ( 8 1 − x 2 ) ( 8 1 x 2 − 1 ) where k is some constant.
The maximum value of the function inside of the square root occurs at some x = α where [ α ] = 6 .
[.] is the floor function.