1.1.3 Solving Quadratic Equations

In this topic we will learn how to:

  • solve quadratic equations, by factorising, completing the square and using the formula

There are three ways of solving quadratic equations:


Factorisation\textbf{\textcolor{gray}{Factorisation}}A quadratic equation can be solved by sight using factorization.

1. When the coefficient of x2x^{2} is 11.

To factorise the quadratic x2+bx+cx^{2} + bx + c , find the pair of factors of cc that add up to bb.
Let’s take a look at the example below.

Example 1
Solve x2+5x6=0x^{2} + 5x - 6 = 0 by factorization.
x2+5x  6=0x^{2} + \textcolor{#0f0}{5}x\ \textcolor{red}{-\ 6} = 0The first step is to open two sets of parentheses next to each other each with an xx in them and equate them to 00,
(x    )(x    )=0(x\ \ \ \ )(x\ \ \ \ ) = 0Identify b\textcolor{#0f0}{b} and c\textcolor{red}{c},
b=5      c=6\textcolor{#0f0}{b = 5}\ \ \ \ \ \ \textcolor{red}{c = -6}Find pair factors of c\textcolor{red}{c},

6-6 and 11; 66 and 1-1; 33 and 2-2; 2-2 and 33

Find the pair of factors that add up to b\textcolor{#0f0}{b},
6 and 16 \textmd{ and } -1Add each number to one of the two parentheses we opened earlier,
(x+6)(x1)=0(x + 6)(x - 1) = 0Note: If you were to expand the two sets of parentheses you should get the original equation.

Equate each bracket to 00,
x+6=0      x1=0x + 6 = 0\ \ \ \ \ \ x - 1 = 0Solve the two linear equations,
x=6      x=1x = -6\ \ \ \ \ \ x = 1Therefore, the roots are,
x=6,  x=1x = -6,\ \ x = 12. When the coefficient of x2x^{2} is not 11

Factorizing a quadratic equation when the coefficient of x2x^{2} is not 11 is a bit more challenging, however, with enough practice, it will become easier. Let’s take a look at the example below.

Example 2
Solve 2x2+9x+10=02x^{2} + 9x + 10 = 0 by factorization.
2x2+9x+10=0\textcolor{#2192ff}{2}x^{2} + \textcolor{#0f0}{9}x + \textcolor{red}{10} = 0The first step is to identify aa, bb and cc,
a=2,  b=9,  c=10\textcolor{#2192ff}{a = 2},\ \ \textcolor{#0f0}{b = 9},\ \ \textcolor{red}{c = 10} Then find the product of a\textcolor{#2192ff}{a} and c\textcolor{red}{c},
2×10=20\textcolor{#2192ff}{2} \times \textcolor{red}{10} = 20List the pair factors of 2020,
20 and 110 and 25 and 420 and 110 and 25 and 420\textmd{ and }1\textmd{; }10\textmd{ and }2\textmd{; }5\textmd{ and }4\textmd{; }-20\textmd{ and }-1\textmd{; }\\ -10\textmd{ and }-2\textmd{; }-5\textmd{ and }-4Find the pair of factors that add up to b\textcolor{#0f0}{b},
5 and 45 \textmd{ and } 4Rewrite b\textcolor{#0f0}{b} as the sum of these factors,
2x2+9x+10=02x^2 + \textcolor{#0f0}{9}x + 10 = 02x2+(5+4)x+10=02x^2 + \textcolor{#0f0}{(5 + 4)}x + 10 = 0Remove the parentheses,
2x2+5x+4x+10=02x^2 + \textcolor{#0f0}{5x + 4x} + 10 = 0Now we will factorize by grouping. Group terms that are multiples of each other,
(2x2+4x)+(5x+10)=0(2x^2 + 4x) + (5x + 10) = 0Factorise the expressions in parentheses,
2x(x+2)+5(x+2)=02x\textcolor{#2192ff}{(x + 2)} + 5\textcolor{#2192ff}{(x + 2)} = 0We then factor out the (x+2)\textcolor{#2192ff}{(x + 2)} since it is common,
(2x+5)(x+2)=0(2x + 5)(x + 2) = 0Equate each bracket to 00,
2x+5=0      x+2=02x + 5 = 0\ \ \ \ \ \ x + 2 = 0Solve the two linear equations,
x=52      x=2x = -\frac{5}{2}\ \ \ \ \ \ x = -2Therefore, the roots are,
x=52,  x=2x = -\frac{5}{2},\ \ x = -2Note: With practice, most of the steps outlined above will become intuitive and you can skip them. Factorising by sight should be the method you use in solving a quadratic equation unless told otherwise.


Completing the square\textbf{\textcolor{gray}{Completing the square}}To solve a quadratic equation using the completing the square method you first have to complete the square. After completing the square, make xx the subject of the formula.
Let’s take a look at an example below.

Example 3
Solve x2+5x6=0x^{2} + 5x - 6 = 0 by first completing the square.
x2+5x6=0x^{2} + 5x - 6 = 0The first step is to complete the square,
(x+52)2(52)26=0\left(x + \frac{5}{2}\right)^{2} - \left(\frac{5}{2}\right)^{2} - 6 = 0Simplify,
(x+52)2494=0\left(x + \frac{5}{2}\right)^{2} \textcolor{#2192ff}{- \frac{49}{4}} = 0Once you have completed the square you have to make xx the subject of the formula. To do that we will start by moving the term outside the parentheses to the other side of the equal sign,
(x+52)2=494\left(x + \frac{5}{2}\right)^{2} = \textcolor{#2192ff}{\frac{49}{4}}Take the square root of both sides to get rid of the power 2,
(x+52)2=±494\sqrt{\left(x + \frac{5}{2}\right)^{2}} = \pm\sqrt{\frac{49}{4}}Note: We put a ±\pm sign, whenever we take the square root of a number.

The square root gets rid of the power 22 on the left hand side,
x+52=±72x + \frac{5}{2} = \pm\frac{7}{2}Make xx the subject of the formula,
x=52±72x =-\frac{5}{2} \pm\frac{7}{2}Since there is a ±\pm sign, we can split the equation above into two separate equations,
x=52+72      x=5272x = -\frac{5}{2} + \frac{7}{2}\ \ \ \ \ \ x = -\frac{5}{2} - \frac{7}{2}So our equation has two solutions which are,
x=1      x=6x = 1\ \ \ \ \ \ x = -6


Quadratic Formula\textbf{\textcolor{gray}{Quadratic Formula}}For the quadratic equation,
ax2+bx+c=0ax^{2} + bx + c = 0The quadratic formula is,
x=b±b24ac2ax = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}This can be used to solve any quadratic equation, where aa, bb and cc are known constants.
Let’s take a look at an example below.

Example 4
Solve x2+5x6=0x^{2} + 5x - 6 = 0 using the quadratic formula.

The first step is to identify the values of aa, bb, and cc,
a=1,  b=5,  c=6\textcolor{#2192ff}{a = 1},\ \ \textcolor{#0f0}{b = 5},\ \ \textcolor{red}{c = -6}Substitute a=1\textcolor{#2192ff}{a = 1}, b=5\textcolor{#0f0}{b = 5}, c=6\textcolor{red}{c = -6} into the quadratic formula,
x=5±(5)24(1)(6)2(1)x = \frac{\textcolor{#0f0}{-5} \pm \sqrt{(\textcolor{#0f0}{-5})^{2} - 4(\textcolor{#2192ff}{1})(\textcolor{red}{-6})}}{2(\textcolor{#2192ff}{1})}Simplify,
x=5±25+242x = \frac{-5 \pm \sqrt{25 + 24}}{2}x=5±492x = \frac{-5 \pm \sqrt{49}}{2}x=5±72x = \frac{-5 \pm 7}{2}The above can be written as two separate equations,
x=52+72      x=5272x = -\frac{5}{2} + \frac{7}{2}\ \ \ \ \ \ x = -\frac{5}{2} - \frac{7}{2}So our final solutions are,
x=1,  x=6x = 1,\ \ x = -6