7.5 Practice Problems

Problem 7.1. Complete the square for \(f(x)=5+x-2x^{2}\). Hence find

(a).
the turning point;
(b).
the \(x\)- and \(y\)-intercepts, and sketch \(y=f(x)\).

Show solution

Solution. Take out the coefficient of \(x^{2}\) from the two \(x\) terms, being careful with the sign: \begin {align*} f(x)&=-2x^{2}+x+5 =-2\left (x^{2}-\tfrac {1}{2}x\right )+5\\ &=-2\left [\left (x-\tfrac {1}{4}\right )^{2}-\tfrac {1}{16}\right ]+5 =-2\left (x-\tfrac {1}{4}\right )^{2}+\tfrac {1}{8}+5\\ &=-2\left (x-\tfrac {1}{4}\right )^{2}+\tfrac {41}{8}. \end {align*}

(a). The square is never negative and \(-2\) is negative, so the largest value of \(f\) occurs when the bracket vanishes, at \(x=\frac {1}{4}\). The turning point is \(\left (\frac {1}{4},\frac {41}{8}\right )\), and it is a maximum because \(a=-2<0\).

(b). The \(y\)-intercept is \(f(0)=5\). For the \(x\)-intercepts solve \(f(x)=0\): \[-2\left (x-\tfrac {1}{4}\right )^{2}=-\tfrac {41}{8} \implies \left (x-\tfrac {1}{4}\right )^{2}=\tfrac {41}{16} \implies x=\frac {1\pm \sqrt {41}}{4},\] approximately \(-1.35\) and \(1.85\). The curve is a downward parabola with vertex \(\left (\frac {1}{4},\frac {41}{8}\right )\), crossing the \(y\)-axis at \(5\) and the \(x\)-axis at those two points.

Note 7.20. The sign trap is in the first line. Factoring \(-2\) out of \(x\) gives \(-\frac {1}{2}x\) inside the bracket, not \(+\frac {1}{2}x\), and then the \(-\frac {1}{16}\) inside gets multiplied by \(-2\) to become \(+\frac {1}{8}\) outside. Both sign changes are easy to lose.

The check costs nothing: the completed form must reproduce \(f(0)=5\), and \(-2\left (-\frac {1}{4}\right )^{2}+\frac {41}{8}=-\frac {1}{8}+\frac {41}{8}=5\). If the constant does not come back, the arithmetic is wrong.

Problem 7.2. Find the range of values of \(k\) for which \[x^{2}+(2-k)x+1-2k=0\] has complex roots.

Show solution

Solution. Complex roots means a negative discriminant. With \(a=1\), \(b=2-k\) and \(c=1-2k\), \[D=(2-k)^{2}-4(1-2k)=4-4k+k^{2}-4+8k=k^{2}+4k .\] The condition \(D<0\) gives \[k^{2}+4k<0 \implies k(k+4)<0 ,\] a product of two factors that is negative exactly when they have opposite signs, which happens for \[-4<k<0 .\]

Note 7.21. At the endpoints the discriminant is zero, so \(k=0\) and \(k=-4\) give a repeated real root, not complex ones — which is why the inequality is strict at both ends. Outside that interval \(D>0\) and both roots are real and distinct.

Note the shape of the work: a question about the nature of the roots became a question about the sign of a quadratic in \(k\), solved by the methods of the inequalities chapter. Neither the roots of the original equation nor their values were ever needed.

Questions on this section

Stuck on something here? Ask below and it stays attached to this topic.