Skills

Quadratics: Zeros and the Quadratic Formula

see every function move

3 min readfreeNot practiced

Quadratic functions are the first functions in this course whose rate of change is not constant. Before studying that in Topic 1.3, you need four algebra skills: solving with factors, solving with the quadratic formula, finding the vertex, and completing the square.

Quadratics and parabolas

A quadratic function has the form f(x)=ax2+bx+cf(x) = ax^2 + bx + c with a≠0a \ne 0. Its graph is a parabola: a U shape that opens up when a>0a > 0 and down when a<0a < 0. The turning point is the vertex, and the parabola is symmetric about the vertical line through it, the axis of symmetry.

The parabola y = x² − 2x − 3 = (x − 1)² − 4 opens upward. Its vertex is (1, −4), on the dashed axis of symmetry x = 1. Its zeros are x = −1 and x = 3, and its y-intercept is (0, −3).
Figure 1. The parabola y=x2−2x−3y = x^2 - 2x - 3 opens up, with vertex (1,−4)(1, -4) and zeros x=−1x = -1 and x=3x = 3. LevlPrep original diagram.

Solving with factors

If a product is 00, one of its factors is 00. So when ax2+bx+cax^2 + bx + c can be written as a product, each factor gives a solution. For x2−5x+6x^2 - 5x + 6, look for two numbers with product 66 and sum −5-5: −2-2 and −3-3. Then (x−2)(x−3)=0(x - 2)(x - 3) = 0, so x=2x = 2 or x=3x = 3.

The equation must equal 00 first. To solve x2=5x−6x^2 = 5x - 6, move everything to one side before you look for factors.

The quadratic formula and the discriminant

Every equation ax2+bx+c=0ax^2 + bx + c = 0 can be solved with the quadratic formula:

x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Worked example 1. Solve 2x2+3x−4=02x^2 + 3x - 4 = 0 exactly.

a=2a = 2, b=3b = 3, c=−4c = -4. Then b2−4acb^2 - 4ac=9−4(2)(−4)= 9 - 4(2)(-4)=9= 9+32+ 32=41= 41.

x=−3±414x = \frac{-3 \pm \sqrt{41}}{4}. These are exact; 41\sqrt{41} does not simplify.

The number under the square root, b2−4acb^2 - 4ac, is the discriminant. It tells you how many real solutions there are without solving:

b2−4acb^2 - 4acReal solutionsThe parabola
positivetwocrosses the xx-axis twice
zeroonetouches the xx-axis at its vertex
negativenonestays on one side of the xx-axis

The vertex and completing the square

The vertex of y=ax2+bx+cy = ax^2 + bx + c is at x=−b2ax = -\frac{b}{2a}. For y=2x2−8x+5y = 2x^2 - 8x + 5: x=−−84=2x = -\frac{-8}{4} = 2, and y=8−16+5=−3y = 8 - 16 + 5 = -3, so the vertex is (2,−3)(2, -3).

Completing the square rewrites a quadratic in vertex form a(x−h)2+ka(x - h)^2 + k, where the vertex (h,k)(h, k) can be read off.

Worked example 2. Write x2+6x+5x^2 + 6x + 5 in vertex form.

Half of 66 is 33, and (x+3)2=x2+6x+9(x + 3)^2 = x^2 + 6x + 9. That has 99 where we need 55, so subtract 44:

x2+6x+5x^2 + 6x + 5=(x+3)2−4= (x + 3)^2 - 4. The vertex is (−3,−4)(-3, -4).

Vertex form also makes solving easy: (x+3)2−4=0(x + 3)^2 - 4 = 0 gives (x+3)2=4(x + 3)^2 = 4, so x+3=±2x + 3 = \pm 2 and x=−1x = -1 or x=−5x = -5. Remember the ±\pm; a square root has two signs.

To build a parabola from its vertex and one more point, start with y=a(x−h)2+ky = a(x - h)^2 + k and use the point to find aa. With vertex (−1,2)(-1, 2) and point (0,5)(0, 5): 5=a(1)2+25 = a(1)^2 + 2, so a=3a = 3 and y=3(x+1)2+2y = 3(x + 1)^2 + 2.

Spot a mistake on this page?