If y=f(x) has a turning point when x=41, can we find λ?
Question
It is given that f(x)=(x−2)2−λ(x+1)(x+2).
- Find the values of λ for which the equation f(x)=0 has two equal roots.
- Show that, when λ=2, f(x) has a maximum value of 25.
- Given that the curve y=f(x) has a turning point when x=41, find the value of λ and sketch the curve for this value of λ.
Suggestion
Could we express f(x) in the form ax2+bx+c?
What is the condition for an equation to have two equal roots?
[interactive embed (geogebra-iframe): //www.geogebratube.org/material/iframe/id/ncg9qQXB/width/600/height/400/border/888888/rc/false/ai/false/sdz/true/smb/false/stb/false/stbh/false/ld/false/sri/true/asb/false/at/html5] — not part of the text import; see the source page.
Download GeoGebra file
Here the curve y=f(x) is in red, while the line x=41 is in blue.
Solution
By expanding
f(x)
we obtain
f(x)=x2−4x+4−λ(x2+3x+2)=(1−λ)x2−(4+3λ)x+4−2λ.
For the equation
f(x)=0
to have two equal roots, the
discriminant
must be zero. So we want to solve
0=[−(4+3λ)]2−4(1−λ)(4−2λ)=16+24λ+9λ2−4(4−6λ+2λ2)=λ2+48λ=λ(λ+48),
and so λ=0 or λ=−48.
When λ=2, we have f(x)=−x2−10x.
We find the maximum of f(x) by completing the square.
We can write f(x)=−(x+5)2+25, and since −(x+5)2 is strictly negative, we see that the maximum value of f(x) is 25, which occurs when x=−5.
Alternatively we could find the derivative f′(x) and set this equal to zero to find the turning point.
Or we could find the roots of f(x)=0, and use the symmetry of the parabola.
We have f′(x)=2(1−λ)x−(4+3λ).
We know that f′(41)=0, since there is a turning point at x=41.
So 2(1−λ)(41)−4−3λ=0, and so 1−λ−8−6λ=0, on multiplying the equation by 2. This simplifies to λ=−1.
For this value of λ, we have f(x)=2x2−x+6.
To sketch this graph we observe that the y-intercept is 6, and that x=41 gives a minimum, since the coefficient of the x2 term is positive.
We calculate that f(41)=162−41+6=162−4+96=1694=847.
