Educerie

Educerie · IB Diploma · Mathematics: analysis and approaches

IB Mathematics AA 2.6 · SL and HL

The quadratic function

The same quadratic can be written three ways, so which way shows which feature of its graph, and how do you move between them?

What you will learn

  • Know that the graph of a quadratic is a parabola, and how the sign and size of a set its shape.
  • Understand which feature each form shows: (0, c) from standard form, (p, 0) and (q, 0) from factorised form, (h, k) from vertex form.
  • Know that the axis of symmetry is x = −b ÷ 2a, halfway between the x-intercepts.
  • Understand how to move between the three forms by expanding, factorising and completing the square.

You must be able to

  1. Express a quadratic in the form a(x − h)² + k by completing the square, including when a is not 1.
  2. Write down the vertex, axis of symmetry and intercepts from the form you are given.
  3. Find the equation of a parabola from its vertex, its intercepts or points on it.
  4. Sketch a parabola, labelling the vertex and the intercepts with both axes.
  5. Find a greatest or least value in context, such as a maximum height or area.
  6. Describe the transformation from y = x² and state the range of a quadratic.

In the exam. Paper 1 Section A, very often: "write f(x)f(x) in the form a(x−h)2+ka(x-h)^{2} + k" (3 marks), "write down the coordinates of the vertex" (1 mark), "find the equation of the graph" from a sketch (4 to 5 marks). Paper 1 Section B uses the forms as the opening to a longer question on transformations (2.11) or calculus. Paper 2 sets quadratics in context, a ball, a bridge, a fence, where the vertex is the greatest height or the largest area.

1The simplest parabola, and what aa does

Start from y=x2y = x^{2}. A square is never negative, and 33 and −3-3 give the same output. So the curve lies on or above the xx-axis and mirrors itself in the yy-axis. The vertex is the origin, and every other point is higher.

Multiplying by a constant aa changes the curve in two ways, shown in Figure 1.

Figure 1 · What the coefficient a does (a) a > 0: opens upwards, a minimum x y −2 −1 1 2 2 4 6 8 y = 3x² y = x² y = 0.4x² (b) a < 0: opens downwards, a maximum x y −2 −1 1 2 −2 −4 −6 −8 y = −3x² y = −x² The sign of a decides which way the parabola opens; the size of a decides how narrow it is.
Figure 1 · What the coefficient a does

The sign of aa sets the direction

  • For a>0a > 0, the parabola opens upwards. The vertex is the lowest point, a minimum.
  • For a<0a < 0, every output flips sign and the parabola opens downwards. The vertex is the highest point, a maximum.

The size of aa sets the width

  • At x=2x = 2, y=3x2y = 3x^{2} reaches 12 but y=0.4x2y = 0.4x^{2} only 1.6. A large ∣a∣\lvert a\rvert gives a steep, narrow curve. A small ∣a∣\lvert a\rvert gives a wide, shallow one.
  • In the language of 2.11, aa is a vertical stretch of y=x2y = x^{2} by scale factor ∣a∣\lvert a\rvert. If aa is negative there is also a reflection in the xx-axis.
  • The value of aa is the same in all three forms. So in any form you know which way up the graph is and roughly how steep.

2The vertex form, a(x−h)2+ka(x-h)^{2} + k

  • The vertex form f(x)=a(x−h)2+kf(x) = a(x-h)^{2} + k names the vertex outright: it is (h,k)(h, k). The axis of symmetry is the line x=hx = h.
  • The reason is quick. The bracket is squared, so (x−h)2≥0(x-h)^{2} \ge 0, with equality only at x=hx = h. When a>0a > 0, a(x−h)2a(x-h)^{2} is smallest (zero) there, so ff is smallest with value kk. When a<0a < 0, the same argument gives a largest value.
  • Take f(x)=(x−3)2−4f(x) = (x-3)^{2} - 4. The bracket is zero at x=3x = 3, so the lowest point is (3,−4)(3, -4).
  • Figure 2 shows another way to see it. The graph is y=x2y = x^{2} slid 3 units right and 4 units down. That carries the vertex from (0,0)(0,0) to (3,−4)(3,-4).
Figure 2 · Vertex form moves the vertex of y = x² x y −2 1 3 5 −4 2 4 6 vertex (3, −4) y = x² y = (x − 3)² − 4 right 3, down 4 y = (x − 3)² − 4 is y = x² translated 3 right and 4 down: the vertex moves from (0, 0) to (3, −4).
Figure 2 · Vertex form moves the vertex of y = x²

Mind the signs.

  • The bracket (x−3)(x-3) gives h=3h = 3, and (x+3)(x+3) gives h=−3h = -3. The horizontal shift is the opposite of what is written.
  • The kk outside the bracket keeps its sign: +k+k lifts the graph.

Reading everything off. Let g(x)=−2(x+1)2+9g(x) = -2(x+1)^{2} + 9.

a=−2<0opens downwardsa = -2 < 0 \qquad \textcolor{#838c91}{\text{opens downwards}}vertex (−1,9)h=−1, k=9; a maximum\text{vertex } (-1, 9) \qquad \textcolor{#838c91}{h = -1\text{, }k = 9\text{; a maximum}}axis: x=−1\text{axis: } x = -1g(0)=−2(1)2+9=7y-intercept (0,7)g(0) = -2(1)^{2} + 9 = 7 \qquad \textcolor{#838c91}{y\text{-intercept }(0, 7)}

Range

  • For gg with all real xx, the largest output is 9 and the graph runs down forever. So the range is g(x)≤9g(x) \le 9. For f(x)=(x−3)2−4f(x) = (x-3)^{2} - 4 the range is f(x)≥−4f(x) \ge -4, or in interval notation [−4,∞[[-4, \infty[.
  • The domain of a quadratic is all reals unless restricted, and a restriction can change the range. Take u(x)=(x+2)2−9u(x) = (x+2)^{2} - 9.
    • On −4≤x≤1-4 \le x \le 1, the vertex (−2,−9)(-2, -9) is inside the domain, so the least value is −9-9. The greatest is at an end: u(−4)=−5u(-4) = -5 and u(1)=0u(1) = 0. The range is −9≤u(x)≤0-9 \le u(x) \le 0.
    • On 0≤x≤30 \le x \le 3, the vertex is outside and the function only rises. The range runs from u(0)=−5u(0) = -5 up to u(3)=16u(3) = 16.
  • Always test the ends of the domain as well as the vertex.

Rising and falling

  • The vertex splits the graph in two. For a>0a > 0, ff is decreasing for x<hx < h and increasing for x>hx > h. For a<0a < 0 the roles swap. State the answer as an inequality in xx, never in yy.
  • Questions often join this to the sign of the function. For u(x)=(x+2)2−9u(x) = (x+2)^{2} - 9, uu is negative when (x+2)2<9(x+2)^{2} < 9, that is −5<x<1-5 < x < 1. It is decreasing for x<−2x < -2. Both at once: −5<x<−2-5 < x < -2.

Describing the transformation

  • The vertex form is the transformation of y=x2y = x^{2} written out. First a vertical stretch by factor ∣a∣\lvert a\rvert (with a reflection in the xx-axis if a<0a < 0). Then a translation by the vector (hk)\begin{pmatrix} h \\ k \end{pmatrix}.
    • y=2(x−6)2+5y = 2(x-6)^{2} + 5: vertical stretch with scale factor 2, then translation by (65)\begin{pmatrix} 6 \\ 5 \end{pmatrix}.
    • y=−12(x+5)2−2y = -\tfrac{1}{2}(x+5)^{2} - 2: reflection in the xx-axis, vertical stretch with scale factor 12\tfrac{1}{2}, then translation by (−5−2)\begin{pmatrix} -5 \\ -2 \end{pmatrix}.
  • When a=1a = 1 the translation is the whole answer. Say translation (or shift), not "move", and always give the vector. From standard form, complete the square first (next section).

3Completing the square

Most quadratics arrive in standard form. Completing the square turns them into vertex form, the conversion examined most.

The idea: (x+m)2=x2+2mx+m2(x+m)^{2} = x^{2} + 2mx + m^{2}. So half the coefficient of xx is the number inside the bracket. Its square is what you add and then take away.

When a=1a = 1. Halve the xx-coefficient, square it, add and subtract it.

x2−10x+17x^{2} - 10x + 17−102=−5, and (−5)2=25half the x-coefficient, squared=x2−10x+25−25+17add and subtract 25=(x−5)2−8vertex (5,−8)\begin{aligned}\tfrac{-10}{2} &= -5,\ \text{and } (-5)^{2} = 25 && \textcolor{#838c91}{\text{half the }x\text{-coefficient, squared}} \\[6pt] &= x^{2} - 10x + 25 - 25 + 17 && \textcolor{#838c91}{\text{add and subtract }25} \\[6pt] &= (x-5)^{2} - 8 && \textcolor{#838c91}{\text{vertex }(5, -8)}\end{aligned}

An odd coefficient just gives fractions: x2+3x−1=(x+32)2−134x^{2} + 3x - 1 = \left(x + \tfrac{3}{2}\right)^{2} - \tfrac{13}{4}.

When a≠1a \ne 1. Take aa out of the x2x^{2} and xx terms only. Complete the square inside the bracket, then multiply the correction back out.

3x2+18x+4=3(x2+6x)+4factor 3 from the first two terms only=3[(x+3)2−9]+4x2+6x=(x+3)2−9=3(x+3)2−27+4the 3 multiplies the −9 too=3(x+3)2−23vertex (−3,−23)\begin{aligned} &3x^{2} + 18x + 4 \\[6pt] &= 3(x^{2} + 6x) + 4 && \textcolor{#838c91}{\text{factor }3\text{ from the first two terms only}} \\[6pt] &= 3\left[(x+3)^{2} - 9\right] + 4 && \textcolor{#838c91}{x^{2} + 6x = (x+3)^{2} - 9} \\[6pt] &= 3(x+3)^{2} - 27 + 4 && \textcolor{#838c91}{\text{the }3\text{ multiplies the }-9\text{ too}} \\[6pt] &= 3(x+3)^{2} - 23 && \textcolor{#838c91}{\text{vertex }(-3, -23)}\end{aligned}

The slip to dread is on the third line. The −9-9 sits inside a bracket that is multiplied by 3, so it becomes −27-27.

A negative aa is the same method with a negative factor, so the correction changes sign twice.

−2x2+8x+3=−2(x2−4x)+3=−2[(x−2)2−4]+3=−2(x−2)2+8+3−2 times −4 is +8=−2(x−2)2+11vertex (2,11), a maximum\begin{aligned} &-2x^{2} + 8x + 3 \\[6pt] &= -2(x^{2} - 4x) + 3 \\[6pt] &= -2\left[(x-2)^{2} - 4\right] + 3 \\[6pt] &= -2(x-2)^{2} + 8 + 3 && \textcolor{#838c91}{-2\text{ times }-4\text{ is }+8} \\[6pt] &= -2(x-2)^{2} + 11 && \textcolor{#838c91}{\text{vertex }(2, 11)\text{, a maximum}}\end{aligned}

A route with no completing

  • Find the vertex first, then write the form. Take h=−b2ah = -\dfrac{b}{2a} and k=f(h)k = f(h), and keep the same aa.
  • For 3x2+18x+43x^{2} + 18x + 4: h=−3h = -3 and k=3(9)−54+4=−23k = 3(9) - 54 + 4 = -23. So 3(x+3)2−233(x+3)^{2} - 23, the same result. Use one route and check with the other, or by expanding.

Where the formula −b2a-\dfrac{b}{2a} comes from. Complete the square on the general quadratic:

ax2+bx+c=a(x+b2a)2+c−b24avertex form with h=−b2aax^{2} + bx + c = a\left(x + \frac{b}{2a}\right)^{2} + c - \frac{b^{2}}{4a} \qquad \textcolor{#838c91}{\text{vertex form with }h = -\frac{b}{2a}}

So the axis is x=−b2ax = -\dfrac{b}{2a} for every quadratic, whether or not it meets the xx-axis.

4The standard form, ax2+bx+cax^{2} + bx + c

The standard form (also called the general form) gives two things straight away.

The yy-intercept is (0,c)(0, c). At x=0x = 0 only cc is left.

The axis of symmetry is x=−b2ax = -\dfrac{b}{2a}. This is in the formula booklet. Substitute the axis value back into ff to get the yy-coordinate of the vertex.

Take f(x)=2x2−8x+6f(x) = 2x^{2} - 8x + 6, drawn in Figure 3. Here a=2a = 2, b=−8b = -8, c=6c = 6.

y-intercept: (0,6)the constant termy\text{-intercept: } (0, 6) \qquad \textcolor{#838c91}{\text{the constant term}}x=−b2a=−−82×2=2axis of symmetry, formula bookletx = -\frac{b}{2a} = -\frac{-8}{2 \times 2} = 2 \qquad \textcolor{#838c91}{\text{axis of symmetry, formula booklet}}f(2)=2(2)2−8(2)+6=8−16+6=−2vertex (2,−2)f(2) = 2(2)^{2} - 8(2) + 6 = 8 - 16 + 6 = -2 \qquad \textcolor{#838c91}{\text{vertex }(2, -2)}

As a>0a > 0, the vertex is a minimum: the least value of ff is −2-2.

Figure 3 · The graph of y = 2x² − 8x + 6 x y 2 4 −2 2 4 axis x = 2 (0, 6) (4, 6) vertex (2, −2) (1, 0) (3, 0) Standard form gives the y-intercept (0, c) at once, and the axis from x = −b/2a. (4, 6) is the mirror image of the y-intercept in the axis: symmetry gives a second point free.
Figure 3 · The graph of y = 2x² − 8x + 6

Symmetry gives free points

  • The yy-intercept (0,6)(0, 6) is 2 units left of the axis x=2x = 2. So there is a twin point (4,6)(4, 6), 2 units to the right. Plotting both makes a sketch symmetric for free.
  • The same mirror idea gives a second solution. If f(x)=kf(x) = k is solved by x=mx = m, the other solution is the reflection of mm in the axis x=hx = h, namely 2h−m2h - m.
  • Example: x2−10x+9x^{2} - 10x + 9 has axis x=5x = 5. It is zero at x=1x = 1, so it is also zero at 2(5)−1=92(5) - 1 = 9.

A second example. For p(x)=−3x2−6x+9p(x) = -3x^{2} - 6x + 9: a=−3a = -3, b=−6b = -6, c=9c = 9.

x=−−62(−3)=6−6=−1axis; watch the sign of bx = -\frac{-6}{2(-3)} = \frac{6}{-6} = -1 \qquad \textcolor{#838c91}{\text{axis; watch the sign of }b}p(−1)=−3+6+9=12vertex (−1,12), a maximum since a<0p(-1) = -3 + 6 + 9 = 12 \qquad \textcolor{#838c91}{\text{vertex }(-1, 12)\text{, a maximum since }a<0}twin of (0,9) is (−2,9)1 unit left of the axis\text{twin of } (0, 9) \text{ is } (-2, 9) \qquad \textcolor{#838c91}{\text{1 unit left of the axis}}

Reading the signs of aa, bb, cc from a sketch

  • aa is positive if the graph opens upwards, negative if downwards.
  • cc is where the graph crosses the yy-axis: positive above the origin, negative below, zero through it.
  • For bb, use b=−2ahb = -2ah, from h=−b2ah = -\dfrac{b}{2a}. Axis right of the yy-axis: bb has the opposite sign to aa. Axis left: same sign as aa. Axis on the yy-axis: b=0b = 0.
  • Example: a parabola that opens upwards, with its axis right of the yy-axis and crossing the yy-axis below the origin, has a>0a > 0, b<0b < 0, c<0c < 0.

5The factorised form, a(x−p)(x−q)a(x-p)(x-q)

The factorised form (the intercept form) shows where the graph meets the xx-axis. A product is zero only when a factor is zero. So f(x)=0f(x) = 0 exactly when x=px = p or x=qx = q. The xx-intercepts are (p,0)(p, 0) and (q,0)(q, 0).

Again the sign flips. (x−5)(x-5) gives x=5x = 5. (x+1)(x+1), which is (x−(−1))\bigl(x-(-1)\bigr), gives x=−1x = -1.

The graph is symmetric, so the axis is halfway between the intercepts:

In a(x−p)(x−q)a(x-p)(x-q), the xx-intercepts are (p,0)(p, 0) and (q,0)(q, 0), and the axis of symmetry is x=p+q2x = \dfrac{p+q}{2}.

Take f(x)=−(x+1)(x−5)f(x) = -(x+1)(x-5), drawn in Figure 4. Here a=−1a = -1, so it opens downwards.

x-intercepts: (−1,0) and (5,0)set each bracket to zerox\text{-intercepts: } (-1, 0) \text{ and } (5, 0) \qquad \textcolor{#838c91}{\text{set each bracket to zero}}axis: x=−1+52=2\text{axis: } x = \frac{-1+5}{2} = 2f(2)=−(3)(−3)=9vertex (2,9), a maximumf(2) = -(3)(-3) = 9 \qquad \textcolor{#838c91}{\text{vertex }(2, 9)\text{, a maximum}}f(0)=−(1)(−5)=5y-intercept (0,5)f(0) = -(1)(-5) = 5 \qquad \textcolor{#838c91}{y\text{-intercept }(0, 5)}
Figure 4 · Factorised form: y = −(x + 1)(x − 5) x y 1 2 3 9 x = (−1 + 5)/2 = 2 (−1, 0) (5, 0) vertex (2, 9) (0, 5) The x-intercepts come straight out of the brackets; the axis is halfway between them.
Figure 4 · Factorised form: y = −(x + 1)(x − 5)

Another: q(x)=2(x−4)(x+6)q(x) = 2(x-4)(x+6).

  • Intercepts: (4,0)(4, 0) and (−6,0)(-6, 0).
  • Axis: x=−1x = -1.
  • q(−1)=2(−5)(5)=−50q(-1) = 2(-5)(5) = -50, so the vertex is the minimum (−1,−50)(-1, -50).
  • q(0)=2(−4)(6)=−48q(0) = 2(-4)(6) = -48, so the yy-intercept is (0,−48)(0, -48).

Two special cases.

  • The graph only touches the xx-axis. Then p=qp = q and the form is a(x−p)2a(x-p)^{2}. There is one intercept (p,0)(p, 0), which is also the vertex. For 3(x+2)23(x+2)^{2} that is (−2,0)(-2, 0).
  • The graph never reaches the xx-axis. In y=x2+9y = x^{2} + 9, no real number makes the output zero. So there are no xx-intercepts and no real factorised form. The discriminant in 2.7 detects this case.

6Moving between the forms

The guide expects you to convert freely. Figure 5 shows one parabola, y=2x2−4x−6y = 2x^{2} - 4x - 6, and what each form hands over.

Figure 5 · One parabola, three forms x y 1 −8 2 4 6 (0, −6) (−1, 0) (3, 0) (1, −8) Standard form 2x² − 4x − 6 gives (0, −6) Factorised form 2(x + 1)(x − 3) gives (−1, 0) and (3, 0) Vertex form 2(x − 1)² − 8 gives vertex (1, −8) Each form hands over different features. Choose the form that shows what the question wants.
Figure 5 · One parabola, three forms
You haveYou wantDo this
Factorised or vertexStandardExpand
StandardFactorisedTake out aa, factorise
StandardVertexComplete the square, or h=−b2ah = -\frac{b}{2a} and k=f(h)k = f(h)
FactorisedVertexh=p+q2h = \frac{p+q}{2}, k=f(h)k = f(h)
VertexFactorisedSolve a(x−h)2+k=0a(x-h)^{2} + k = 0

Expanding always works. The two forms of Figure 5 both give the standard form:

2(x+1)(x−3)=2(x2−2x−3)=2x2−4x−62(x+1)(x-3) = 2(x^{2} - 2x - 3) = 2x^{2} - 4x - 62(x−1)2−8=2(x2−2x+1)−8=2x2−4x−62(x-1)^{2} - 8 = 2(x^{2} - 2x + 1) - 8 = 2x^{2} - 4x - 6

Matching standard forms check any conversion.

Factorising. Take out the common factor first, then factorise the quadratic that is left.

4x2−8x−60=4(x2−2x−15)common factor first=4(x−5)(x+3)product −15, sum −2\begin{aligned} &4x^{2} - 8x - 60 \\[6pt] &= 4(x^{2} - 2x - 15) && \textcolor{#838c91}{\text{common factor first}} \\[6pt] &= 4(x-5)(x+3) && \textcolor{#838c91}{\text{product }-15\text{, sum }-2}\end{aligned}

The intercepts are (5,0)(5, 0) and (−3,0)(-3, 0).

The form a(x−p)(x−q)a(x-p)(x-q) wants aa outside and a bare xx in each bracket. When a≠1a \ne 1 and there is no common factor, factorise as usual, then pull the coefficients out:

3x2+10x−8=(3x−2)(x+4)ordinary factorising=3(x−23)(x+4)the 3 moves out of the first bracket\begin{aligned}3x^{2} + 10x - 8 &= (3x-2)(x+4) && \textcolor{#838c91}{\text{ordinary factorising}} \\[6pt] &= 3\left(x - \tfrac{2}{3}\right)(x+4) && \textcolor{#838c91}{\text{the 3 moves out of the first bracket}}\end{aligned}5x2+15x=5x(x+3)=5(x−0)(x+3)no constant term: take out x5x^{2} + 15x = 5x(x+3) = 5(x-0)(x+3) \qquad \textcolor{#838c91}{\text{no constant term: take out }x}

The intercepts of the first are (23,0)\left(\tfrac23, 0\right) and (−4,0)(-4, 0).

If a quadratic will not factorise by inspection, find its zeros with the formula or the GDC (2.7) and build the form from them.

Example: x2+8x+9x^{2} + 8x + 9 has zeros −4±7-4 \pm \sqrt{7}. So x2+8x+9=(x+4−7)(x+4+7)x^{2} + 8x + 9 = \bigl(x + 4 - \sqrt{7}\bigr)\bigl(x + 4 + \sqrt{7}\bigr).

Vertex to factorised: set to zero and solve

  • From 3(x−2)2−12=03(x-2)^{2} - 12 = 0: (x−2)2=4(x-2)^{2} = 4, so x=4x = 4 or x=0x = 0. Hence 3(x−2)2−12=3x(x−4)3(x-2)^{2} - 12 = 3x(x-4). Expanding 3x2−12x+12−123x^{2} - 12x + 12 - 12 confirms it.
  • This only works when the parabola actually reaches the xx-axis. If aa and kk have the same sign, as in 5(x+2)2+35(x+2)^{2} + 3, the equation has no real solution and there is no factorised form.

Factorised to vertex: no expanding needed. The axis is the average of the intercepts. The vertex height is ff of that. For −3(x+1)(x−9)-3(x+1)(x-9): h=4h = 4 and k=−3(5)(−5)=75k = -3(5)(-5) = 75. So the vertex form is −3(x−4)2+75-3(x-4)^{2} + 75.

7Sketching a parabola

A sketch shows the shape and the labelled key points, not a plotted table. Use this routine:

  1. Sign of aa: which way it opens.
  2. Vertex, from vertex form, or from −b2a-\frac{b}{2a} and f(h)f(h).
  3. yy-intercept (0,c)(0, c), and its twin across the axis.
  4. xx-intercepts if there are any: factorise or solve f(x)=0f(x) = 0.
  5. Draw a smooth, symmetric curve through the labelled points, with the axis dashed if asked.

Example with intercepts

  • Sketch f(x)=x2−2x−35f(x) = x^{2} - 2x - 35. It opens upwards.
  • Factorising, f(x)=(x−7)(x+5)f(x) = (x-7)(x+5). So the xx-intercepts are (7,0)(7, 0) and (−5,0)(-5, 0), and the axis is x=1x = 1. Then f(1)=1−2−35=−36f(1) = 1 - 2 - 35 = -36, so the vertex is (1,−36)(1, -36). The yy-intercept is (0,−35)(0, -35), with twin (2,−35)(2, -35).

Example with none

  • Sketch g(x)=x2+4x+7g(x) = x^{2} + 4x + 7. Completing the square, g(x)=(x+2)2+3g(x) = (x+2)^{2} + 3. The vertex (−2,3)(-2, 3) is a minimum above the xx-axis, so the graph never touches it.
  • The yy-intercept is (0,7)(0, 7) with twin (−4,7)(-4, 7). Note on the sketch that there are no xx-intercepts.

8Finding the equation of a parabola

Choose the form that uses the given facts, so that only aa, or very few unknowns, remain.

Vertex and one other point: vertex form. A parabola has vertex (3,10)(3, 10) and passes through (5,2)(5, 2).

y=a(x−3)2+10vertex put iny = a(x-3)^{2} + 10 \qquad \textcolor{#838c91}{\text{vertex put in}}2=a(5−3)2+10=4a+10the point (5,2)2 = a(5-3)^{2} + 10 = 4a + 10 \qquad \textcolor{#838c91}{\text{the point }(5, 2)}a=−2a = -2y=−2(x−3)2+10=−2x2+12x−8y = -2(x-3)^{2} + 10 = -2x^{2} + 12x - 8

xx-intercepts and one other point: factorised form. A parabola meets the xx-axis at 22 and 88, and the yy-axis at 4848.

y=a(x−2)(x−8)y = a(x-2)(x-8)48=a(−2)(−8)=16a, so a=348 = a(-2)(-8) = 16a,\ \text{so } a = 3y=3(x−2)(x−8)=3x2−30x+48y = 3(x-2)(x-8) = 3x^{2} - 30x + 48

The axis is x=5x = 5 and y=3(3)(−3)=−27y = 3(3)(-3) = -27, so the vertex is (5,−27)(5, -27).

Graph touches the xx-axis: a(x−p)2a(x-p)^{2}. A parabola touches the xx-axis at x=1x = 1 and passes through (3,20)(3, 20). Then y=a(x−1)2y = a(x-1)^{2} and 20=4a20 = 4a, so a=5a = 5: y=5(x−1)2=5x2−10x+5y = 5(x-1)^{2} = 5x^{2} - 10x + 5.

Three points and nothing special: standard form. The graph of y=ax2+bx+cy = ax^{2} + bx + c passes through (0,4)(0, 4), (1,1)(1, 1) and (3,13)(3, 13).

c=4from (0,4)c = 4 \qquad \textcolor{#838c91}{\text{from }(0, 4)}a+b+4=1, so a+b=−3from (1,1)a + b + 4 = 1,\ \text{so } a + b = -3 \qquad \textcolor{#838c91}{\text{from }(1, 1)}9a+3b+4=13, so 3a+b=3from (3,13)9a + 3b + 4 = 13,\ \text{so } 3a + b = 3 \qquad \textcolor{#838c91}{\text{from }(3, 13)}2a=6, so a=3, b=−62a = 6,\ \text{so } a = 3,\ b = -6y=3x2−6x+4y = 3x^{2} - 6x + 4

Axis or vertex given, coefficients unknown.

  • The axis gives one equation: −b2a=h-\dfrac{b}{2a} = h.
  • The vertex gives two: its xx-coordinate is the axis, and ff of that is its yy-coordinate.

Example: f(x)=−x2+bx+cf(x) = -x^{2} + bx + c has vertex (2,7)(2, 7). The axis gives b2=2\dfrac{b}{2} = 2, so b=4b = 4. Then f(2)=−4+8+c=7f(2) = -4 + 8 + c = 7 gives c=3c = 3. Check in vertex form: −(x−2)2+7=−x2+4x+3-(x-2)^{2} + 7 = -x^{2} + 4x + 3.

On Paper 2, graph your equation to confirm it passes through the given points.

9Quadratics in context

A parabola describes anything thrown, and any quantity with its best value between two extremes. In context the vertex is usually the answer: the greatest height, the largest revenue, the least cost.

A ball is thrown upwards from a height of 1.5 m1.5\ \mathrm{m}. Its height in metres after tt seconds is modelled by h(t)=−5t2+20t+1.5h(t) = -5t^{2} + 20t + 1.5. Complete the square for the greatest height:

h(t)=−5(t2−4t)+1.5=−5[(t−2)2−4]+1.5=−5(t−2)2+20+1.5=−5(t−2)2+21.5\begin{aligned}h(t) &= -5(t^{2} - 4t) + 1.5 \\[6pt] &= -5\left[(t-2)^{2} - 4\right] + 1.5 \\[6pt] &= -5(t-2)^{2} + 20 + 1.5 \\[6pt] &= -5(t-2)^{2} + 21.5\end{aligned}

The vertex is (2,21.5)(2, 21.5) and a=−5<0a = -5 < 0, so it is a maximum: the ball reaches 21.5 m21.5\ \mathrm{m} after 2 seconds. The GDC maximum tool gives the same point.

Figure 6 shows the model on the domain where it makes sense. That runs from the throw at t=0t = 0 to the landing at t≈4.07 st \approx 4.07\ \mathrm{s}, the positive zero of hh (found with 2.7 or the GDC).

Figure 6 · A thrown ball: h(t) = −5t² + 20t + 1.5 t (s) h (m) 1 2 3 4 5 10 15 20 (0, 1.5) maximum (2, 21.5) lands at t ≈ 4.07 Vertex form −5(t − 2)² + 21.5 gives the greatest height, 21.5 m, at t = 2 s. The domain is 0 ≤ t ≤ 4.07: the model means nothing before the throw or after the landing.
Figure 6 · A thrown ball: h(t) = −5t² + 20t + 1.5

A revenue model. A climbing gym charges xx dollars a session and sells 900−30x900 - 30x sessions a week, for 0<x<300 < x < 30. Weekly revenue is R(x)=x(900−30x)=−30x2+900xR(x) = x(900 - 30x) = -30x^{2} + 900x.

R(x)=−30(x2−30x)=−30[(x−15)2−225]=−30(x−15)2+6750vertex (15,6750)R(x) = -30(x^{2} - 30x) = -30\left[(x-15)^{2} - 225\right] = -30(x-15)^{2} + 6750 \qquad \textcolor{#838c91}{\text{vertex }(15, 6750)}−30(x−15)2+6750=6000⇒(x−15)2=25⇒x=10 or 20-30(x-15)^{2} + 6750 = 6000 \Rightarrow (x-15)^{2} = 25 \Rightarrow x = 10 \text{ or } 20

A price of 15 dollars earns the most, 6750 dollars a week. Prices of 10 and 20 both earn 6000, and both are inside the domain.

In context, give answers in the context's units and words: "21.5 m21.5\ \mathrm{m} after 2 seconds". Respect the domain: a negative time or a price above 30 solves the algebra, not the problem.

If asked what a point means, say it in the story. The vertex (2,21.5)(2, 21.5) is the greatest height and the time it happens. The yy-intercept (0,1.5)(0, 1.5) is the height at the moment of the throw.

Practice questions

35 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.