y = x 2 + 3 x + c x 2 − 3 x + c
If the maximum and minimum values of y given above are 7 and 7 1 , respectively, find the value of c .
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.
Good approach and so the solution...
y = x 2 + 3 x + c x 2 − 3 x + c = 1 − x 2 + 3 x + c 6 x ∴ d x d y = − 6 ∗ ( x 2 + 3 x + c ) + 6 x ∗ ( 2 x + 3 ) = 0 . ⟹ x 2 + 3 x + c = 2 x 2 + 3 x . ⟹ x 2 = c x = ± c . S u b s t i t u t i n g − c f o r x , y m a x = 1 − c + 3 c + c 6 c = 7 ⟹ c = 2 c − 3 ∗ c ∴ c = 2 c = 4 . P u t t i n g c = x = 2 y m i n = 1 − 4 + 3 ∗ 2 + 4 6 ∗ 2 = 7 1 .
A calculus approach:
y = x 2 + 3 x + c x 2 − 3 x + c d x d y = ( x 2 + 3 x + c ) 2 ( x 2 + 3 x + c ) ( 2 x − 3 ) − ( x 2 − 3 x + c ) ( 2 x + 3 ) = ( x 2 + 3 x + c ) 2 x 3 + 6 x 2 + 2 c x − 3 x 2 − 9 x − 3 c − ( x 3 − 6 x 2 + 2 c x + 3 x 2 − 9 x + 3 c ) = ( x 2 + 3 x + c ) 2 6 x 2 − 6 c
At maximum, minimum points, d x d y = 0
( x 2 + 3 x + c ) 2 6 x 2 − 6 c = 0 6 x 2 − 6 c = 0 x 2 = c x = ± c
Substitute x 2 = c and the maximum value of y :
7 = c + 3 x + c c − 3 x + c 7 ( 2 c + 3 x ) = 2 c − 3 x 1 4 c + 2 1 x = 2 c − 3 x 1 2 c + 2 4 x = 0 c + 2 x = 0
Now, we have two values of x here, so we try both:
x = c ⟹ c + 2 c = 0 c ( c + 2 ) = 0 c = 0 , c = − 2
The second factor has no real roots, therefore we ignore it.
Note that if c = 0 , x = 0 , x 2 + 3 x + c = 0 . This will result in the denominator becoming 0 , so we reject this as well.
Try the other value of x :
x = − c ⟹ c − 2 c = 0 c ( c − 2 ) = 0 c = 0 , c = 2 ⟹ c = 4
We rejected c = 0 , so we know that c = 4 . As a precaution, check back the values:
c = 4 , x = 2 , y = 4 + 6 + 4 4 − 6 + 4 = 1 4 2 = 7 1 c = 4 , x = − 2 , y = 4 − 6 + 4 4 + 6 + 4 = 2 1 4 = 7
Therefore, our answer is c = 4
Note: You can try out the second half of the solution with y = 7 1 instead. You will still get the two same equations, and the answer will remain the same.
For a more rigorous approach, you can also show that the values are maximum and minimum with the second derivative test
Hmm so I got one more method to do the question ;) thanks Anyways nice approach and solution!!
Log in to reply
Thanks. Actually, all optimization questions (questions asking for maximum and minimum values) can be solved with Calculus. However, it is usually considered a "last resort" method. Usually, most people will try more elegant approaches, such as completing the square, using classical inequalities or algebraic manipulation such as Cheong's solution above.
Besides, Calculus approaches are tedious and require lots of calculations and steps (this one is considered short, tbh). Sometimes, it ends up with a system of equations that seem very, very hard to solve
Problem Loading...
Note Loading...
Set Loading...
y = x 2 + 3 x + c x 2 − 3 x + c = x 2 + 3 x + c x 2 + 3 x + c − 6 x = 1 − x 2 + 3 x + c 6 x = 1 − x + 3 + x c 6
We note that y is maximum when x + 3 + x c is least negative , that is ∣ ∣ ∣ x + 3 + x c ∣ ∣ ∣ is minimum but with a negative sign, and minimum when x + 3 + x c is is least positive , that is ∣ ∣ ∣ x + 3 + x c ∣ ∣ ∣ is minimum with a positive sign. In both case we need only to find ∣ ∣ ∣ x + 3 + x c ∣ ∣ ∣ and we can consider both x and x c as positive and apply AM-GM inequality as: x + x c ≥ 2 c and equality occurs when x = c .
Therefore, when maximum and minimum occur, y = 1 − x + 3 + x c 6 = 1 − ± 2 c + 3 6 and that, when:
⟹ { y = 7 y = 7 1 ⟹ − 2 c + 3 = − 1 ⟹ 2 c + 3 = 7 ⟹ c = 2 ⟹ c = 2 ⟹ c = 4 ⟹ c = 4