topic badge
AustraliaVIC
VCE 11 Methods 2023

2.04 The quadratic formula

Lesson

There are four ways to solve a quadratic equation, that is, an equation of the form $ax^2+bx+c=0$ax2+bx+c=0. Three methods that have already been covered in this chapter include:

  • Algebraic manipulation
  • Factoring and using the null factor law
  • Completing the square

The fourth & final method for finding solutions to a quadratic equation is to use the quadratic formula.

If $ax^2+bx+c=0$ax2+bx+c=0, then:

$x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$x=b±b24ac2a

The quadratic formula can be derived by completing the square for the general equation $ax^2+bx+c=0$ax2+bx+c=0. This derivation is covered in an investigation. In this lesson, the formula will now be applied to various quadratic equations.

The advantage of using the quadratic formula is that it always works (unlike factoring) and it always follows the exact same process. However, other methods may be more efficient in many cases, depending on the quadratic.

The quadratic formula might seem quite complex, but it can be broken down into smaller parts.

  • The ± allows for the possibility of two solutions.
  • The $b^2-4ac$b24ac under the square root sign is important as it will tell us how many solutions there are. This is known as the discriminant.

 

Practice questions

Question 1

Solve the equation $x^2-5x+6=0$x25x+6=0 by using the quadratic formula: $x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$x=b±b24ac2a.

Write each solution on the same line, separated by a comma.

Question 2

Solve the following equation: $-6-13x+5x^2=0$613x+5x2=0.

  1. Write all solutions on the same line, separated by commas.

 

Properties of the discriminant

Quadratic functions can have two, one or no real solutions. Thinking about the graph of a quadratic, these solutions correspond to two, one or no $x$x-intercepts, respectively. This is because the solutions to a function $f(x)=0$f(x)=0 are the places where the function crosses the $x$x-axis.

No solutions, one solution and two solutions

Looking at the image above, a quadratic equation can have either:

  • No real solutions: there are no $x$x-intercepts or real zeros.  
  • One real solution: here, the two zeros are actually equal and correspond to the one $x$x-intercept where the quadratic just touches the $x$x-axis at the turning point.
  • Two real solutions: these are the two zeros or $x$x-intercepts, where the quadratic passes through the $x$x-axis.

 

Sometimes, it gets complex....

If we were to study this area of mathematics further, we would eventually learn of a theorem about polynomials that states that, for a polynomial of degree $n$n, there will be $n$n solutions. Since quadratics are polynomials of degree $2$2, we should always be expecting two solutions. So how is it that we can have one or even zero real solutions? 

The key here is the type of solutions we care about. At this stage, we will be talking only about real solutions - solutions that are real numbers. But there are other types of numbers that are not real, in fact, they are called imaginary numbers. (An unfortunately confusing name, they are just as real as real numbers!)

The set of real numbers and the set of imaginary numbers combine to make up the set of complex numbers, and it is the complex numbers that are ultimately the roots of polynomials. This is a very exciting area of mathematics, but we'll save that for later. For now, let's get back to reality!

 

Finding the number of solutions

Finding the number of solutions to a quadratic, or if there are any solutions at all, can be done without having to work through all the algebra required to solve the function. 

Let's look again at the quadratic formula:

$x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$x=b±b24ac2a

Specifically, let's look at what happens if the expression under the square root $\sqrt{b^2-4ac}$b24ac takes on different values:

$b^2-4ac<0$b24ac<0  or  $b^2-4ac=0$b24ac=0  or  $b^2-4ac>0$b24ac>0 

If $b^2-4ac=0$b24ac=0, the square root is $0$0 and the quadratic equation becomes $x=\frac{-b}{2a}$x=b2a. Does this look familiar? It is actually the equation for the axis of symmetry. 

If $b^2-4ac>0$b24ac>0, then the square root will have two values,  $+$+$\sqrt{b^2-4ac}$b24ac and $-\sqrt{b^2-4ac}$b24ac. The quadratic formula will then generate two distinct real roots.

If $b^2-4ac<0$b24ac<0, then the square root is negative, and it is impossible to take the square root of a negative number and get real solutions. The quadratic formula will then generate zero real roots.

This expression $b^2-4ac$b24ac within the quadratic formula is called the discriminant, and it determines the number of real solutions a quadratic function will have.

 

Discriminant of a quadratic

$b^2-4ac=0$b24ac=0$1$1 real solution, $2$2 equal real roots, where the quadratic has its turning point on the $x$x-axis.

$b^2-4ac>0$b24ac>0$2$2 real solutions, $2$2 distinct real roots, where the quadratic passes through two different points on the $x$x-axis.

$b^2-4ac<0$b24ac<0$0$0 real solutions, $2$2 complex roots, where the quadratic has no $x$x-intercepts.

 

Practice question

Question 3

Consider the equation $x^2+22x+121=0$x2+22x+121=0.

  1. Find the value of the discriminant.

  2. Using your answer from the previous part, determine whether the solutions to the equation are rational or irrational.

    Irrational

    A

    Rational

    B

 

Solving quadratic problems with additional unknowns

Since the discriminant can predict the number of solutions for a quadratic, can it also be used to create a group of quadratics that are guaranteed to have a certain number of solutions? This is possible if an unknown constant is introduced and values found for this constant that lead to the discriminate $b^2-4ac$b24ac being either $<0$<0, $<0$<0 or $=0$=0, depending on the number of solutions needed.

 

Worked Example 

Example 1

Find the values for which the quadratic $x^2+kx+4=0$x2+kx+4=0 has two solutions.

Think: Consider the value that the discriminant must take for two solutions to be generated by a quadratic equation. 

Do:  The discriminant $b^2-4ac$b24ac for this quadratic would need to be $>0$>0 for two real solutions to exist. Here, $a=1$a=1, $b=k$b=k and $c=4$c=4

Substitute these values into the discriminant and set this to be greater than zero:

$k^2-4\times1\times4$k24×1×4 $>$> $0$0
$k^2-16$k216 $>$> $0$0
$k^2$k2 $>$> $16$16

Solving this last line for $k$k gives the solutions $k>4$k>4 or $k<-4$k<4. This means that the range of values that $k$k can take so that the quadratic $x^2+kx+4=0$x2+kx+4=0 has two solutions are any real values of $k$k such that $k<-4$k<4 or $k>4$k>4.

 

Practice question

Question 4

Consider the equation $x^2+18x+k+7=0$x2+18x+k+7=0.

  1. Find the values of $k$k for which the equation has no real solutions.

  2. If the equation has no real solutions, what is the smallest integer value that $k$k can have?

 

Outcomes

U1.AoS2.10

factorisation patterns, the quadratic formula and discriminant, the remainder, factor and rational root theorems and the null factor law

What is Mathspace

About Mathspace