Educerie

Educerie · IB Diploma · Mathematics: analysis and approaches

IB Mathematics AA 2.7 · SL and HL

Quadratic equations and inequalities, and the discriminant

How do you solve any quadratic equation or inequality, and how can you tell how many solutions there are before you find them?

What you will learn

  • Know three ways to solve a quadratic equation: factorising, completing the square and the quadratic formula.
  • Understand that the discriminant b² − 4ac decides whether there are two distinct, two equal or no real roots.
  • Know how to solve a quadratic inequality by finding the roots and reading the sign from a sketch.
  • Understand how the discriminant answers questions with an unknown constant, tangents and 'for all x'.

You must be able to

  1. Find the values of k for which a quadratic equation has two distinct, two equal or no real roots.
  2. Solve a quadratic equation exactly by factorising, completing the square or the formula.
  3. Solve a quadratic inequality, giving the answer as one interval or two joined by 'or'.
  4. Find the condition for a line to be a tangent to, cut or miss a parabola.
  5. Show that a quadratic is positive for every real x.
  6. Solve an equation that is quadratic in 3ˣ, eˣ or x² by substitution, rejecting impossible values.

In the exam. Paper 1, constantly (117 of the 157 past IB questions counted on this unit): "solve", "find the exact solutions", "solve the inequality" (3 to 5 marks), "show that" (second only to "find", often the first step of a "hence" chain), and the classic discriminant question, "find the values of kk for which the equation has two equal real roots" (4 to 6 marks), which often hides a quadratic inequality in kk. The same discriminant reasoning turns up inside other topics: where a line meets a curve, "for all xx" and "is defined for every real xx" questions, and exponential equations that are quadratics in disguise. Paper 2 uses the GDC to solve quadratics that arrive from a context, a ball, a profit, a braking distance, where the question is when or for how long. HL Paper 3 (23 of the 157, more than Paper 2's 17) uses the same tools as steps inside a longer investigation: "show that the expression is positive for all xx" or "find the values of kk for which the equation has real roots" before the next part builds on the answer.

1Roots, zeros and solutions

The guide uses three words for the same numbers.

  • The roots or solutions of the equation ax2+bx+c=0ax^{2} + bx + c = 0 are the values of xx that make it true.
  • The zeros of the function f(x)=ax2+bx+cf(x) = ax^{2} + bx + c are the inputs that give output zero.

On the graph, both are the xx-coordinates of the xx-intercepts. A quadratic has at most two.

  • Every method below starts from the same place: get zero on one side.
    • The equation x2=2x+15x^{2} = 2x + 15 must become x2−2x−15=0x^{2} - 2x - 15 = 0 before you do anything else.
  • The same goes for a fraction. In x+12x=7x + \dfrac{12}{x} = 7, multiply every term by xx (allowed, since x=0x = 0 cannot be a solution of the original).
    • You get x2+12=7xx^{2} + 12 = 7x, then x2−7x+12=0x^{2} - 7x + 12 = 0, then (x−3)(x−4)=0(x - 3)(x - 4) = 0. So x=3x = 3 or x=4x = 4.
  • A check: the two roots add to −ba-\dfrac{b}{a} and multiply to ca\dfrac{c}{a}.
    • For x2−7x+12=0x^{2} - 7x + 12 = 0, 3+4=73 + 4 = 7 and 3×4=123 \times 4 = 12.

2Solving by factorising

  • If a product of two numbers is zero, one of them must be zero.
    • That fact, the zero product rule, turns a factorised quadratic into two linear equations.
x2−2x−15=0x^{2} - 2x - 15 = 0(x−5)(x+3)=0numbers with product −15 and sum −2(x - 5)(x + 3) = 0 \qquad \textcolor{#838c91}{\text{numbers with product }-15\text{ and sum }-2}x−5=0 or x+3=0x - 5 = 0 \ \text{or}\ x + 3 = 0x=5 or x=−3x = 5 \ \text{or}\ x = -3

When a≠1a \neq 1, look for the pair of numbers with product acac and sum bb, and split the middle term.

4x2+11x−3=04x^{2} + 11x - 3 = 0ac=−12: the pair 12 and −1 has sum 11split 11x as 12x−xac = -12\text{: the pair } 12 \text{ and } -1 \text{ has sum } 11 \qquad \textcolor{#838c91}{\text{split }11x\text{ as }12x - x}4x2+12x−x−3=04x^{2} + 12x - x - 3 = 04x(x+3)−1(x+3)=04x(x + 3) - 1(x + 3) = 0(4x−1)(x+3)=0(4x - 1)(x + 3) = 0x=14 or x=−3x = \frac{1}{4} \ \text{or}\ x = -3

Two shortcuts:

  • A common factor: 5x2−20x=05x^{2} - 20x = 0 gives 5x(x−4)=05x(x - 4) = 0.
  • A difference of two squares: 9x2−16=(3x−4)(3x+4)9x^{2} - 16 = (3x - 4)(3x + 4).

A trap

  • From x2=3xx^{2} = 3x, dividing both sides by xx gives x=3x = 3 and loses a root.
  • Rearrange instead: x2−3x=0x^{2} - 3x = 0, so x(x−3)=0x(x - 3) = 0, and x=0x = 0 or x=3x = 3. Never divide by an expression that could be zero.

Factorising only works when the roots are rational. If you cannot find the factors in half a minute, switch method. Section 5 says how to know in advance.

3Solving by completing the square

  • The vertex form of 2.6 turns any quadratic equation into "something squared equals a number".
  • Undo it with a square root, remembering both signs.
    • When there is no xx-term at all, you are already there: x2=7x^{2} = 7 gives x=±7x = \pm\sqrt{7}.
x2+6x−5=0x^{2} + 6x - 5 = 0(x+3)2−9−5=0complete the square(x + 3)^{2} - 9 - 5 = 0 \qquad \textcolor{#838c91}{\text{complete the square}}(x+3)2=14(x + 3)^{2} = 14x+3=±14both square rootsx + 3 = \pm\sqrt{14} \qquad \textcolor{#838c91}{\text{both square roots}}x=−3±14x = -3 \pm \sqrt{14}
  • These are the exact roots.
    • If a Paper 1 question says "exact", the decimals 0.7420.742 and −6.74-6.74 lose the accuracy mark.
  • Figure 1 shows why the method has its name.
    • The expression x2+6xx^{2} + 6x is a square of side xx plus two strips of 3 by xx. Add the missing 3-by-3 corner, 9, and you have a complete square of side x+3x + 3.
Figure 1 · Completing the square, as a picture (a) x² + 6x x² 3x 3x ? x 3 x 3 (b) x² + 6x + 9 = (x + 3)² x² 3x 3x 9 side x + 3 side x + 3 x² + 6x is a square with two strips of 3 by x. One 3-by-3 corner, 9, finishes the square: x² + 6x + 9 = (x + 3)².
Figure 1 · Completing the square, as a picture
  • When a≠1a \neq 1, take aa out of the x2x^{2} and xx terms first.
    • For 2x2+8x−1=02x^{2} + 8x - 1 = 0: 2[(x+2)2−4]−1=02\left[(x + 2)^{2} - 4\right] - 1 = 0, so (x+2)2=92(x + 2)^{2} = \dfrac{9}{2} and x=−2±322x = -2 \pm \dfrac{3\sqrt{2}}{2}.

4The quadratic formula

Completing the square on the general equation ax2+bx+c=0ax^{2} + bx + c = 0 gives a formula for the roots of every quadratic. It is in the formula booklet:

x=−b±b2−4ac2ax = \dfrac{-b \pm \sqrt{b^{2} - 4ac}}{2a}, for ax2+bx+c=0ax^{2} + bx + c = 0, a≠0a \neq 0.

Write aa, bb and cc down first, with their signs.

3x2−7x+1=0: a=3, b=−7, c=13x^{2} - 7x + 1 = 0\text{: } a = 3,\ b = -7,\ c = 1x=−(−7)±(−7)2−4(3)(1)2×3x = \frac{-(-7) \pm \sqrt{(-7)^{2} - 4(3)(1)}}{2 \times 3}x=7±49−126x = \frac{7 \pm \sqrt{49 - 12}}{6}x=7±376exactx = \frac{7 \pm \sqrt{37}}{6} \qquad \textcolor{#838c91}{\text{exact}}x=2.18 or x=0.1533 s.f.x = 2.18 \ \text{or}\ x = 0.153 \qquad \textcolor{#838c91}{\text{3 s.f.}}

Two sign errors cost marks, both in the second line.

  • −b-b when bb is negative: −(−7)=+7-(-7) = +7.
  • −4ac-4ac when cc is negative: the subtraction becomes an addition.

Brackets prevent both.

Where the formula comes from

  • The guide lists this as enrichment, but seeing it once makes the formula easier to trust.
  • Divide by aa, complete the square, and solve:
x2+bax+ca=0x^{2} + \frac{b}{a}x + \frac{c}{a} = 0(x+b2a)2−b24a2+ca=0complete the square\left(x + \frac{b}{2a}\right)^{2} - \frac{b^{2}}{4a^{2}} + \frac{c}{a} = 0 \qquad \textcolor{#838c91}{\text{complete the square}}(x+b2a)2=b2−4ac4a2\left(x + \frac{b}{2a}\right)^{2} = \frac{b^{2} - 4ac}{4a^{2}}x+b2a=±b2−4ac2ax + \frac{b}{2a} = \frac{\pm\sqrt{b^{2} - 4ac}}{2a}x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}
  • The formula also shows why the axis of symmetry is x=−b2ax = -\dfrac{b}{2a} (2.6).
    • The roots are that value plus and minus the same amount.

Which method?

The equationBest method
factorises quickly (small whole-number coefficients), or has a common factor or is a difference of squaresfactorising
asks for "exact" answers, or a=1a = 1 with an even bbcompleting the square, or the formula
anything else on Paper 1the formula
any quadratic on Paper 2the GDC's polynomial solver or the zero tool, with a line of method

On Paper 2 still write the equation you solved, in the form …=0\ldots = 0.

Background, not examined: quadratics are old. The guide points to a Babylonian way of multiplying by means of squares. It also points to the algebraic formulas for quadratic equations in the ancient Indian Sulba Sutras and the Bakhshali manuscript.

5The discriminant and the nature of the roots

The part of the formula under the square root, b2−4acb^{2} - 4ac, is the discriminant, written Δ\Delta. It decides everything about the roots, since you can only take the square root of a non-negative number.

  • Δ>0\Delta > 0: two distinct real roots.
    • The ±\pm gives two different values.
    • The parabola crosses the xx-axis twice.
  • Δ=0\Delta = 0: two equal real roots (one repeated root, x=−b2ax = -\dfrac{b}{2a}).
    • The ±\pm adds and subtracts zero.
    • The parabola touches the xx-axis at its vertex.
  • Δ<0\Delta < 0: no real roots.
    • There is no real square root of a negative number.
    • The parabola misses the xx-axis entirely.

Figure 2 shows all three for parabolas that differ only in cc.

  • y=x2−4x+1y = x^{2} - 4x + 1: Δ=16−4=12\Delta = 16 - 4 = 12.
  • y=x2−4x+4y = x^{2} - 4x + 4: Δ=16−16=0\Delta = 16 - 16 = 0.
  • y=x2−4x+7y = x^{2} - 4x + 7: Δ=16−28=−12\Delta = 16 - 28 = -12.
Figure 2 · The discriminant counts the x-intercepts (a) y = x² − 4x + 1 x y 2 Δ = 12 > 0: two roots (b) y = x² − 4x + 4 x y 2 Δ = 0: two equal roots (c) y = x² − 4x + 7 x y 2 Δ = −12 < 0: no real roots Same a and b, different c. Δ = b² − 4ac decides whether the parabola crosses, touches or misses the x-axis.
Figure 2 · The discriminant counts the x-intercepts
  • For the nature of the roots, write the equation as ax2+bx+c=0ax^{2} + bx + c = 0.
    • Give the value of Δ\Delta, compare it with zero, and state the conclusion in words.
  • Example: 9x2+4=12x9x^{2} + 4 = 12x rearranges to 9x2−12x+4=09x^{2} - 12x + 4 = 0, so Δ=144−144=0\Delta = 144 - 144 = 0. One repeated root, x=23x = \dfrac{2}{3}.

Two more facts are useful.

  • A perfect square Δ\Delta means rational roots.
    • If Δ\Delta is a perfect square (0,1,4,9,25,490, 1, 4, 9, 25, 49 ...) and aa, bb, cc are whole numbers, the roots are rational. The quadratic factorises.
    • For 2x2+7x+32x^{2} + 7x + 3, Δ=49−24=25=52\Delta = 49 - 24 = 25 = 5^{2}, and indeed (2x+1)(x+3)(2x + 1)(x + 3) works.
  • Δ<0\Delta < 0 fixes the sign.
    • If a>0a > 0, the parabola sits entirely above the xx-axis, so the quadratic is positive for every xx. If a<0a < 0, it is entirely below, so the quadratic is negative for every xx.
    • Example: 2x2+4x+7>02x^{2} + 4x + 7 > 0 for all xx, since a=2>0a = 2 > 0 and Δ=16−56=−40<0\Delta = 16 - 56 = -40 < 0.
  • Both facts are needed in a "show that".
    • Δ<0\Delta < 0 alone says only that the graph misses the axis, perhaps from below. Completing the square gives the same proof in one line: 2x2+4x+7=2(x+1)2+5≥52x^{2} + 4x + 7 = 2(x + 1)^{2} + 5 \ge 5.
  • When Δ<0\Delta < 0 the roots are complex numbers (1.12, HL). At SL "no real roots" is the whole answer.

6Quadratic inequalities

A quadratic inequality such as x2−x−12>0x^{2} - x - 12 > 0 asks for every xx where the parabola is above the xx-axis. The method is always the same three steps:

  1. Rearrange so that one side is zero.
  2. Solve the equation to find the critical values, the roots.
  3. Sketch the parabola through them and read off the part you want.
  • Take x2−x−12>0x^{2} - x - 12 > 0. The roots of (x−4)(x+3)=0(x - 4)(x + 3) = 0 are x=−3x = -3 and x=4x = 4.
    • The parabola opens upwards, so it is below the axis between the roots and above it outside them. Figure 3(a) shows it.
    • The answer is x<−3x < -3 or x>4x > 4.
  • Now 2x2+5x≤32x^{2} + 5x \le 3. Rearrange: 2x2+5x−3≤02x^{2} + 5x - 3 \le 0, which factorises as (2x−1)(x+3)≤0(2x - 1)(x + 3) \le 0, with roots −3-3 and 12\tfrac{1}{2}.
    • We want on or below the axis, which is between the roots: −3≤x≤12-3 \le x \le \tfrac{1}{2}, as Figure 3(b) shows.
Figure 3 · Solving a quadratic inequality from a sketch (a) x² − x − 12 > 0 x y −3 4 above the axis: x < −3 or x > 4 (b) 2x² + 5x − 3 ≤ 0 x y −3 ½ on or below the axis: −3 ≤ x ≤ ½ Find the roots, sketch the parabola, then read off where it is above (> 0) or below (< 0) the x-axis. Hollow dots: the end points are excluded (strict >). Solid dots: included (≤).
Figure 3 · Solving a quadratic inequality from a sketch

Three rules keep these answers right.

Inside or outside

  • For a>0a > 0, "<0< 0" is always between the roots (one interval) and ">0> 0" is always outside them (two pieces). For a<0a < 0 it is the other way round.
    • Always draw the sketch, even small.
  • When a<0a < 0, either draw the downward parabola or multiply through by −1-1 and flip the inequality sign.
    • For −x2+4x+5≥0-x^{2} + 4x + 5 \ge 0 the roots are −1-1 and 55, and the answer is −1≤x≤5-1 \le x \le 5.

Two pieces are joined by "or". Write x<−3x < -3 or x>4x > 4, never −3>x>4-3 > x > 4, which is true for no number.

Strict or not

  • A strict inequality (>> or <<) excludes the roots. A non-strict one (≥\ge or ≤\le) includes them.
  • Mixing them up costs the accuracy mark.

When the parabola only touches the axis, or misses it. Some inequalities have one critical value or none. The sketch still decides:

  • (x−1)2≤0(x - 1)^{2} \le 0: the parabola touches the axis at x=1x = 1 and is never below it. The only solution is x=1x = 1.
  • (x−1)2<0(x - 1)^{2} < 0 has no solution.
  • (x+4)2>0(x + 4)^{2} > 0 is true for every xx except the touching point: x≠−4x \neq -4.
  • x2+2x+3>0x^{2} + 2x + 3 > 0, with Δ=4−12<0\Delta = 4 - 12 < 0 and a>0a > 0, is true for every real xx.

On Paper 2 the roots may be ugly, and the GDC does the root-finding. For 2.5x2−9x+3>02.5x^{2} - 9x + 3 > 0, the zeros of y=2.5x2−9x+3y = 2.5x^{2} - 9x + 3 are x=0.372x = 0.372 and x=3.23x = 3.23 (3 s.f.). The parabola opens upwards, so the answer is x<0.372x < 0.372 or x>3.23x > 3.23.

If the inequality does not have zero on one side, you can graph the two sides as two separate curves. Find where they intersect, and read off the xx-values where one curve is above or below the other.

7Questions with an unknown coefficient

The most characteristic Paper 1 question here gives a quadratic with a letter in it. It asks for the values of that letter which give a certain kind of root. The discriminant answers it, often with the inequality skills of section 7.

Example. For the equation kx2+4x+(k−3)=0kx^{2} + 4x + (k - 3) = 0, find the values of kk for which it has (a) two equal real roots, (b) two distinct real roots, (c) no real roots.

Write aa, bb and cc down, then form Δ\Delta and simplify it.

a=k, b=4, c=k−3a = k,\ b = 4,\ c = k - 3Δ=42−4(k)(k−3)=16−4k2+12k=−4(k2−3k−4)=−4(k−4)(k+1)\begin{aligned}\Delta &= 4^{2} - 4(k)(k - 3) \\[6pt] &= 16 - 4k^{2} + 12k \\[6pt] &= -4(k^{2} - 3k - 4) \\[6pt] &= -4(k - 4)(k + 1)\end{aligned}

(a) Equal roots: Δ=0\Delta = 0, so k=4k = 4 or k=−1k = -1.

(b) Two distinct real roots: Δ>0\Delta > 0, so −4(k−4)(k+1)>0-4(k - 4)(k + 1) > 0. That means (k−4)(k+1)<0(k - 4)(k + 1) < 0, since dividing by −4-4 flips the sign. That is between the roots: −1<k<4-1 < k < 4.

But k=0k = 0 is in that interval, and at k=0k = 0 the equation is 4x−3=04x - 3 = 0. That is linear with only one root. So the answer is −1<k<4-1 < k < 4, k≠0k \neq 0.

(c) No real roots: Δ<0\Delta < 0, so (k−4)(k+1)>0(k - 4)(k + 1) > 0, which is outside the roots: k<−1k < -1 or k>4k > 4.

Figure 4(a) shows one parabola of the family for each case. Figure 4(b) draws Δ\Delta against kk, positive only between −1-1 and 4.

Figure 4 · The equation kx² + 4x + (k − 3) = 0 as k changes (a) y = kx² + 4x + (k − 3) x y −1 1 5 k = 4: touches k = 2: crosses twice k = 5: misses (b) Δ = −4(k − 4)(k + 1) k Δ −1 4 25 k = 0 excluded Δ > 0 for −1 < k < 4 (a) Three members of the family. (b) The discriminant itself as a function of k: positive only for −1 < k < 4.
Figure 4 · The equation kx² + 4x + (k − 3) = 0 as k changes

"For every xx" with a parameter

  • Find the values of kk for which x2+kx+k+3>0x^{2} + kx + k + 3 > 0 for every real xx.
  • Here a=1>0a = 1 > 0, so the parabola opens upwards. It stays above the axis exactly when it has no xx-intercepts.
  • The discriminant is itself a quadratic in kk:
Δ=k2−4(1)(k+3)=k2−4k−12=(k−6)(k+2)\Delta = k^{2} - 4(1)(k + 3) = k^{2} - 4k - 12 = (k - 6)(k + 2)Δ<0: (k−6)(k+2)<0, so −2<k<6\Delta < 0\text{: } (k - 6)(k + 2) < 0\text{, so } -2 < k < 6
  • The strictness matters.
    • At k=6k = 6 the expression is (x+3)2(x + 3)^{2}, zero at x=−3x = -3, so ">0> 0 for every xx" fails.
    • For "≥0\ge 0 for every xx" touching is allowed, so Δ≤0\Delta \le 0 and −2≤k≤6-2 \le k \le 6.

The same idea answers other questions. Write the condition the quadratic must satisfy for all xx, then apply the discriminant.

  • "The function is defined for every real xx": the quadratic sits inside a logarithm or a square root.
  • "The function is increasing": the quadratic is a derivative.

Tangents are the same question

  • A line meets a curve where their equations are equal.
  • If that gives a quadratic, the line is a tangent = it touches the curve at one point, exactly when Δ=0\Delta = 0.
  • For which gradients mm is y=mx+1y = mx + 1 a tangent to y=x2+4y = x^{2} + 4?
x2+4=mx+1x^{2} + 4 = mx + 1x2−mx+3=0one side zerox^{2} - mx + 3 = 0 \qquad \textcolor{#838c91}{\text{one side zero}}Δ=m2−4(1)(3)=m2−12\Delta = m^{2} - 4(1)(3) = m^{2} - 12tangent when Δ=0: m2=12, so m=±23\text{tangent when } \Delta = 0\text{: } m^{2} = 12\text{, so } m = \pm 2\sqrt{3}
  • Figure 5 shows the two tangents from (0,1)(0, 1).
    • It also shows the line with m=4m = 4, for which Δ=4>0\Delta = 4 > 0: it meets the curve at x=1x = 1 and x=3x = 3.

Twice, once or never

  • Setting the line equal to the curve gives a quadratic.
  • Its discriminant answers every version of "how do they meet".
    • Δ>0\Delta > 0: the line cuts the curve at two points.
    • Δ=0\Delta = 0: it is a tangent.
    • Δ<0\Delta < 0: it misses.
  • When the question says "for every value of pp", show that Δ\Delta keeps one sign whatever pp is.
    • Usually it is a square plus a positive number.

Example. Show that the line y=kxy = kx meets the curve y=x2+3x−2y = x^{2} + 3x - 2 at two distinct points for every real value of kk.

x2+3x−2=kxx^{2} + 3x - 2 = kxx2+(3−k)x−2=0one side zerox^{2} + (3 - k)x - 2 = 0 \qquad \textcolor{#838c91}{\text{one side zero}}Δ=(3−k)2−4(1)(−2)=(3−k)2+8\Delta = (3 - k)^{2} - 4(1)(-2) = (3 - k)^{2} + 8
  • Since (3−k)2≥0(3 - k)^{2} \ge 0, Δ≥8>0\Delta \ge 8 > 0 whatever kk is. So there are two distinct points of intersection.
    • The reason, a square plus a positive number, is what earns the marks.
Figure 5 · When is a line a tangent? x y −3 −2 −1 1 2 3 4 8 12 y = x² + 4 m = 2√3: tangent m = −2√3: tangent m = 4: meets twice Lines y = mx + 1 through (0, 1). The two tangents have m = ±2√3, where Δ = m² − 12 = 0.
Figure 5 · When is a line a tangent?

Show that, then hence

  • Part (a) says "show that the discriminant is ...". Substitute into b2−4acb^{2} - 4ac and expand so the printed result appears from your working.
  • Part (b) says "hence": use the printed Δ\Delta, even if you could not show it.

8Quadratics in disguise

Some equations are not quadratic in xx but are quadratic in an expression that contains xx. Replace that expression by a single letter, solve the quadratic, then undo the substitution.

Two kinds turn up:

  • Even powers, such as x4x^{4} and x2x^{2}, with u=x2u = x^{2}.
  • Exponentials, with u=3xu = 3^{x}, because 32x=(3x)23^{2x} = (3^{x})^{2}.
32x−10⋅3x+9=03^{2x} - 10 \cdot 3^{x} + 9 = 0let u=3x, so 32x=u2the disguise comes off\text{let } u = 3^{x}\text{, so } 3^{2x} = u^{2} \qquad \textcolor{#838c91}{\text{the disguise comes off}}u2−10u+9=0u^{2} - 10u + 9 = 0(u−1)(u−9)=0(u - 1)(u - 9) = 0u=1 or u=9u = 1 \ \text{or}\ u = 93x=1 gives x=0undo the substitution3^{x} = 1 \text{ gives } x = 0 \qquad \textcolor{#838c91}{\text{undo the substitution}}3x=9 gives x=23^{x} = 9 \text{ gives } x = 2x=0 or x=2x = 0 \ \text{or}\ x = 2
  • The even-power kind works the same way.
    • For x4−10x2+9=0x^{4} - 10x^{2} + 9 = 0, u=x2u = x^{2} gives (u−1)(u−9)=0(u - 1)(u - 9) = 0, so x=±1x = \pm 1 or x=±3x = \pm 3.

Two marks are lost here:

  • Stopping at uu and never returning to xx.
  • Keeping a value of uu that the substitution cannot take. 3x3^{x} and exe^{x} are always positive, and x2x^{2} is never negative.

The second matters most when a parameter is involved

  • Take e2x+5ex+k=0e^{2x} + 5e^{x} + k = 0, with u=exu = e^{x} giving u2+5u+k=0u^{2} + 5u + k = 0.
  • Here Δ=25−4k≥0\Delta = 25 - 4k \ge 0 is necessary but not enough. The roots add to −5-5, so for 0≤k≤2540 \le k \le \frac{25}{4} both are zero or negative, and ex=ue^{x} = u has no solution.
  • The equation has a real solution only when a root is positive.
    • Here that means k<0k < 0: the product of the roots is then negative, so exactly one root is positive.

9Quadratics in context

A ball is kicked upwards so that its height after tt seconds is h(t)=−4.9t2+18t+2h(t) = -4.9t^{2} + 18t + 2 metres. For how long is it at least 10 m10\ \mathrm{m} above the ground?

This is a quadratic inequality: −4.9t2+18t+2≥10-4.9t^{2} + 18t + 2 \ge 10, or −4.9t2+18t−8≥0-4.9t^{2} + 18t - 8 \ge 0. On Paper 2, find where the graph of hh meets the line h=10h = 10 with the GDC, or use the formula:

−4.9t2+18t−8=0-4.9t^{2} + 18t - 8 = 0t=−18±182−4(−4.9)(−8)2×(−4.9)t = \frac{-18 \pm \sqrt{18^{2} - 4(-4.9)(-8)}}{2 \times (-4.9)}t=0.517 or t=3.163 s.f.t = 0.517 \ \text{or}\ t = 3.16 \qquad \textcolor{#838c91}{\text{3 s.f.}}h≥10 for 0.517≤t≤3.16h \ge 10 \ \text{for}\ 0.517 \le t \le 3.16time=3.1562−0.5173=2.64 ssubtract stored values\text{time} = 3.1562 - 0.5173 = 2.64\ \mathrm{s} \qquad \textcolor{#838c91}{\text{subtract stored values}}
  • Figure 6 shows the arc above the line.
  • Subtract the unrounded values, not 3.16−0.5173.16 - 0.517, which can differ in the last figure.
  • In any context, check that every root is in the domain: throw away a negative time.
Figure 6 · When is the ball at least 10 m up? t (s) h (m) 1 2 3 4 5 15 20 h = 10 t = 0.517 t = 3.16 h(t) = −4.9t² + 18t + 2 meets h = 10 at t = 0.517 and t = 3.16: the ball is at least 10 m up for 2.64 s.
Figure 6 · When is the ball at least 10 m up?
  • Other contexts work the same way.
    • A rectangle 3 m longer than it is wide has area 70 m270\ \mathrm{m}^{2}: w(w+3)=70w(w + 3) = 70, so (w+10)(w−7)=0(w + 10)(w - 7) = 0. Then w=7w = 7 m, because a width cannot be negative.

Practice questions

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