Salick Academy

Quadratic Functions and Equations

45 min readNo calculatorNeeds: factorising quadratics, inequalities
By the end of this topic you should be able to
  • Express a quadratic in completed-square form
  • Find the maximum or minimum value of a quadratic and where it occurs
  • Use the discriminant to determine the nature of the roots
  • Find a range of values of a parameter from the discriminant
  • Use the sum and product of the roots
  • Decide whether a line and a curve intersect

Completing the square

Every quadratic can be written as a perfect square plus a number:

y=a(x+p)2+qy = a(x + p)^2 + q

To get there, halve the coefficient of xx, square it, and adjust:

x26x+11=(x3)2gives x26x+99+11=(x3)2+2x^2 - 6x + 11 = \underbrace{(x-3)^2}_{\text{gives } x^2-6x+9} - 9 + 11 = (x-3)^2 + 2

If the coefficient of x2x^2 is not 1, take it out of the first two terms first:

2x2+8x+5=2(x2+4x)+5=2[(x+2)24]+5=2(x+2)232x^2 + 8x + 5 = 2(x^2 + 4x) + 5 = 2\big[(x+2)^2 - 4\big] + 5 = 2(x+2)^2 - 3

Slide cc up and down. The parabola y=x24x+cy = x^2 - 4x + c keeps its shape and only moves vertically, and the discriminant tells you before you look how many times it will cross the axis.

Maximum and minimum values

Completed-square form hands you the turning point for free, because (x+p)2(x+p)^2 is never negative and is zero exactly when x=px = -p.

So y=2(x+2)23y = 2(x+2)^2 - 3 has a minimum value of 3-3, occurring at x=2x = -2.

For a negative leading coefficient, take out the negative before completing the square:

3+4xx2=(x24x)+3=[(x2)24]+3=(x2)2+73 + 4x - x^2 = -(x^2 - 4x) + 3 = -\big[(x-2)^2 - 4\big] + 3 = -(x-2)^2 + 7

giving a maximum value of 77 at x=2x = 2.

The discriminant

For ax2+bx+c=0ax^2 + bx + c = 0, the quantity under the square root in the quadratic formula decides everything about the roots without your having to find them.

If Δ\Delta is a perfect square as well as positive, the roots are rational and the quadratic factorises with integers.

Sum and product of the roots

If α\alpha and β\beta are the roots of ax2+bx+c=0ax^2 + bx + c = 0, then

This lets you answer questions about the roots without finding them, which matters when they are ugly. The identity you will need most often is

α2+β2=(α+β)22αβ\alpha^2 + \beta^2 = (\alpha+\beta)^2 - 2\alpha\beta

and the other common one is 1α+1β=α+βαβ\dfrac{1}{\alpha} + \dfrac{1}{\beta} = \dfrac{\alpha+\beta}{\alpha\beta}.

Does a line meet a curve?

Set the two expressions equal, gather everything on one side, and look at the discriminant of the quadratic you are left with.

  • Δ>0\Delta > 0 — the line cuts the curve at two points.
  • Δ=0\Delta = 0 — the line is a tangent to the curve.
  • Δ<0\Delta < 0 — they never meet.

That middle case is worth remembering: "show that the line is a tangent to the curve" means "show the discriminant is zero".