Max and min application

Algebra Level 4

y = x 2 3 x + c x 2 + 3 x + c \large y=\dfrac{x^2-3x+c}{x^2+3x+c}

If the maximum and minimum values of y y given above are 7 7 and 1 7 \dfrac 17 , respectively, find the value of c c .


The answer is 4.

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.

3 solutions

y = x 2 3 x + c x 2 + 3 x + c = x 2 + 3 x + c 6 x x 2 + 3 x + c = 1 6 x x 2 + 3 x + c = 1 6 x + 3 + c x \begin{aligned} y& = \frac {x^2-3x+c}{x^2+3x+c} \\ & = \frac {x^2+3x+c - 6x}{x^2+3x+c} \\ & = 1 - \frac {6x}{x^2+3x+c} \\ & = 1 - \frac {6}{x+3+\dfrac cx} \end{aligned}

We note that y y is maximum when x + 3 + c x x+3+\dfrac cx is least negative , that is x + 3 + c x \left|x+3+\dfrac cx\right| is minimum but with a negative sign, and minimum when x + 3 + c x x+3+\dfrac cx is is least positive , that is x + 3 + c x \left|x+3+\dfrac cx\right| is minimum with a positive sign. In both case we need only to find x + 3 + c x \left|x+3+\dfrac cx\right| and we can consider both x x and c x \dfrac cx as positive and apply AM-GM inequality as: x + c x 2 c x + \dfrac cx \ge 2\sqrt c and equality occurs when x = c x = \sqrt c .

Therefore, when maximum and minimum occur, y = 1 6 x + 3 + c x = 1 6 ± 2 c + 3 y = 1 - \dfrac {6}{x+3+\dfrac cx} = 1 - \dfrac 6{\pm 2\sqrt c + 3} and that, when:

{ y = 7 2 c + 3 = 1 c = 2 c = 4 y = 1 7 2 c + 3 = 7 c = 2 c = 4 \implies \begin{cases} y = 7 & \implies -2\sqrt c + 3 = - 1 & \implies \sqrt c = 2 & \implies c = \boxed{4} \\ y = \frac 17 & \implies 2\sqrt c + 3 = 7 & \implies \sqrt c = 2 & \implies c = \boxed{4} \end{cases}

Good approach and so the solution...

Rakshit Joshi - 4 years, 11 months ago

y = x 2 3 x + c x 2 + 3 x + c = 1 6 x x 2 + 3 x + c d y d x = 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 6 c c + 3 c + 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 6 2 4 + 3 2 + 4 = 1 7 . y = \dfrac {x^2-3x+c}{x^2+3x+c} \\ =1 - \dfrac {6x}{x^2+3x+c} \\ \therefore\ \ \dfrac{dy}{dx}= - 6*(x^2+3x+c)+6x*(2x+3)=0.\\ \implies x^2+3x+c =2x^2+3x.\\ \implies x^2 =c\\ \color{#3D99F6}{x=\pm \sqrt c.} \\ Substituting\ - \sqrt c \ for\ x, \\ y_{max}=1- \dfrac{6\sqrt c}{c+3\sqrt c +c}=7\\ \implies\ \ \sqrt c =2c - 3*\sqrt c\\ \therefore \ \ \sqrt c=2\\ \Huge\ \ \ \ \color{#D61F06}{c=4.}\\ Putting\ \sqrt c = x = 2\\ y_{min}=1- \dfrac{ 6* 2}{4+ 3* 2 +4}=\dfrac 1 7.

Hung Woei Neoh
Jul 6, 2016

A calculus approach:

y = x 2 3 x + c x 2 + 3 x + c d y d x = ( 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 ( x 2 + 3 x + c ) 2 y=\dfrac{x^2-3x+c}{x^2+3x+c}\\ \dfrac{dy}{dx}=\dfrac{(x^2+3x+c)(2x-3)-(x^2-3x+c)(2x+3)}{(x^2+3x+c)^2}\\ =\dfrac{x^3+6x^2+2cx-3x^2-9x-3c-(x^3-6x^2+2cx+3x^2-9x+3c)}{(x^2+3x+c)^2}\\ =\dfrac{6x^2-6c}{(x^2+3x+c)^2}

At maximum, minimum points, d y d x = 0 \dfrac{dy}{dx}=0

6 x 2 6 c ( x 2 + 3 x + c ) 2 = 0 6 x 2 6 c = 0 x 2 = c x = ± c \dfrac{6x^2-6c}{(x^2+3x+c)^2}=0\\ 6x^2-6c=0\\ x^2=c\\ x=\pm\sqrt{c}

Substitute x 2 = c x^2=c and the maximum value of y y :

7 = c 3 x + c c + 3 x + c 7 ( 2 c + 3 x ) = 2 c 3 x 14 c + 21 x = 2 c 3 x 12 c + 24 x = 0 c + 2 x = 0 7=\dfrac{c-3x+c}{c+3x+c}\\ 7(2c+3x)=2c-3x\\ 14c+21x=2c-3x\\ 12c+24x=0\\ c+2x=0

Now, we have two values of x x here, so we try both:

x = c c + 2 c = 0 c ( c + 2 ) = 0 c = 0 , c = 2 x=\sqrt{c}\\ \implies c+2\sqrt{c}=0\\ \sqrt{c}(\sqrt{c}+2)=0\\ c=0,\;\sqrt{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 c=0,\;x=0,\;x^2+3x+c=0 . This will result in the denominator becoming 0 0 , so we reject this as well.

Try the other value of x x :

x = c c 2 c = 0 c ( c 2 ) = 0 c = 0 , c = 2 c = 4 x=-\sqrt{c}\\ \implies c-2\sqrt{c}=0\\ \sqrt{c}(\sqrt{c}-2)=0\\ c=0,\;\sqrt{c}=2\implies c=4

We rejected c = 0 c=0 , so we know that c = 4 c=4 . As a precaution, check back the values:

c = 4 , x = 2 , y = 4 6 + 4 4 + 6 + 4 = 2 14 = 1 7 c = 4 , x = 2 , y = 4 + 6 + 4 4 6 + 4 = 14 2 = 7 c=4,\;x=2,\;y=\dfrac{4-6+4}{4+6+4}=\dfrac{2}{14}=\dfrac{1}{7}\\ c=4,\;x=-2,\;y=\dfrac{4+6+4}{4-6+4}=\dfrac{14}{2}=7

Therefore, our answer is c = 4 c=\boxed{4}

Note: You can try out the second half of the solution with y = 1 7 y=\dfrac{1}{7} 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!!

Rakshit Joshi - 4 years, 11 months ago

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

Hung Woei Neoh - 4 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...