Alternative Format — Lesson 2: Introduction to the Quadratic Formula

Let's Start Thinking

Solving Quadratic Equations

In previous lessons, we found the zeros of quadratic relations.

Recall that

Finding zeros of \(y=ax^2+bx+c\)

is equivalent to 

Solving \(ax^2+bx+c=0\)

Quadratic equations are typically written in one of three forms, so we have three approaches:

  1. Factored Form is the easiest for finding zeros.
    • E.g., \(3(x-5)(x+7)=0\)
    • Determine the \(x\)-values that make either factor zero
  2. Vertex Form has \(x\) appear in only one place in the equation.
    • E.g., \(-4(x+3)^2+7=0\)
    • Isolate for \(x\)
  3. Standard Form has no brackets.
    • E.g., \(4x^2+5x-6=0\)
    • We have not yet developed a way to determine the zeros directly from standard form, the form that has no brackets. So instead we have changed standard form to factored form or vertex form… but there is another way.

In this lesson, we will see that there is another way to solve a quadratic equation written in standard form.


Lesson Goals

  • Derive the quadratic formula.
  • Determine the roots of a quadratic equation using the quadratic formula.
  • Determine the zeros of a quadratic relation using the quadratic formula.
  • Apply the quadratic formula in a variety of contexts.

Try This

Damion has a rectangular picture of a platypus that he would like to frame. The picture measures \(20\) cm by \(25\) cm. The total area of the frame and picture will be \(864\) cm2. The frame will surround all four sides of the picture and will have a uniform width. Determine the width of the frame.

A picture of a platypus measures ‌20 centimetres by ‌25 centimetres.


The Quadratic Formula


Solving Quadratic Equations in Standard Form

Previously, we have solved quadratic equations written in factored or vertex forms. In this lesson, we will develop a way to solve quadratic equations written in standard form. We begin with an example that illustrates the method we will use to determine a formula for finding the solutions of a standard form quadratic equation.

Example 1

Solve for \(x\) in the equation \(3x^2-5x-3=0\).

Solution

First we will start with changing \(3x^2-5x-3\) to factored form. 

  • We require a pair of integers with sum \(-5\) and product \(-9\).
  • The only pairs of integers with product \(-9\) are
    • \(3\) and \(-3\),
    • \(1\) and \(-9\), and 
    • \(-1\) and \(9\).

None of these pairs have sum \(-5\).

Therefore, \(3x^2-5x-3\) cannot be factored.

Does this mean there are no values of \(x\) for which this expression equals zero?

Consider the relation \(y=3x^2-5x-3\) and note that

  • when \(x=0\):

    \(\begin{align*} y &= 3(0)^2-5(0)-3 \\ &=-3 \end{align*}\)

  • when \(x=3\):

    \(\begin{align*} y &= 3(3)^2-5(3)-3 \\ &= 9 \end{align*}\)

  • the expression changes from negative to positive; thus, at some point it must equal zero since the related parabola is a curve with no jumps.
For the function to pass through the points (0, negative 3) and (3, 9), the function must cross the x-axis.

Therefore, \(3x^2-5x-3\) does equal \(0\) for some value of \(x\), even though it cannot be factored.

Instead of solving \(3x^2-5x-3=0\) by factoring, we try a different approach with these two stages:

  1. Complete the square to change to vertex form.
  2. Isolate for \(x\).

Stage 1: Complete the square

  1. Common factor the \(a\)-value from the \(x^2\) and \(x\) terms.
  2. Find the value that creates a perfect square within the bracket. Add and subtract this value inside the bracket.
  3. Factor the perfect square within the brackets.
  4. Distribute the \(a\)-value.
  5. Combine the remaining constants.

\(\begin{align*} 3x^2-5x-3 &= 0\\ 3\left(x^2-\dfrac{5}{3}x \right)-3&= 0\\ 3\left(x^2-\dfrac{5}{3}x +\dfrac{25}{36} - \dfrac{25}{36}\right)-3&= 0\\ 3\left[\left(x-\dfrac{5}{6}\right)^2 - \dfrac{25}{36}\right]-3&= 0\\ 3\left(x-\dfrac{5}{6}\right)^2 - \dfrac{25}{12}-3&= 0\\ 3\left(x-\dfrac{5}{6}\right)^2 - \dfrac{61}{12}&= 0\\ \end{align*}\)

Stage 2: Isolate for \(x\)

  1. Add \(\dfrac{61}{12}\) to both sides.
  2. Divide both sides by \(3\).
  3. Take the square root of both sides (remember to include the \(\pm\)).
  4. Simplify the square root.
  5. Add \(\dfrac{5}{6}\) to both sides.

\(\begin{align*} 3\left(x-\dfrac{5}{6}\right)^2 &= \dfrac{61}{12} \\ \left(x-\dfrac{5}{6}\right)^2 &= \dfrac{61}{36} \\ x-\dfrac{5}{6} &= \pm \sqrt{\dfrac{61}{36}} \\ x-\dfrac{5}{6} &= \pm \dfrac{\sqrt{61}}{6} \\ x &= \dfrac{5}{6}\pm \dfrac{\sqrt{61}}{6} \\ \end{align*}\)

The two solutions are \(x=\dfrac{5}{6} + \dfrac{\sqrt{61}}{6}\) and \(x=\dfrac{5}{6} - \dfrac{\sqrt{61}}{6}\).

Further Comment

The number \(\sqrt{61}\) is irrational (it cannot be written as a ratio of two integers) so that the solutions \(x=\dfrac{5}{6} + \dfrac{\sqrt{61}}{6}\) and \(x=\dfrac{5}{6} - \dfrac{\sqrt{61}}{6}\) are irrational. It turns out, solving by factoring was not possible in this case because the solutions are irrational numbers.

Factoring is also not possible when the equation has no solutions. This happens when the related parabola has no zeros.

Toward a Formula

In the previous example, we determined the zeros of a non-factorable standard form quadratic relation. There were two main stages:

Stage 1: Complete the square

  • \(3x^2-5x-3=0 \implies 3\left(x-\dfrac{5}{6}\right)^2 - \dfrac{61}{12}=0\)

Stage 2: Isolate for \(x\)

  • \( 3\left(x-\dfrac{5}{6}\right)^2 - \dfrac{61}{12} =0 \implies x = \dfrac{5}{6}\pm \dfrac{\sqrt{61}}{6}\)

The process is an algorithm — a sequence of steps — that works the same every time. Therefore, we can do the same process in a generalized way with \(y=ax^2+bx+c\) and arrive at a formula to find the zeros.

Derivation of the Quadratic Formula

Here is the derivation of the quadratic formula, a formula that determines the zeros of a standard form quadratic relation. 

Stage 1: Complete the square

\(\begin{align*} ax^2+bx+c &=0\\ a\left(x^2+\dfrac{b}{a}x \right)+c&=0\\ \end{align*}\)

To complete the square notice that half of  \(\dfrac{b}{a}\) is \(\dfrac{b}{2a}\). Squaring it \(\left(\dfrac{b}{2a}\right)^2=\left(\dfrac{b}{2a}\right)\left(\dfrac{b}{2a}\right) = \dfrac{b^2}{4a^2}\).

\(\begin{align*} a\left(x^2+\dfrac{b}{a}x +\dfrac{b^2}{4a^2} - \dfrac{b^2}{4a^2}\right)+c&=0\\ a\left[\left(x+\dfrac{b}{2a}\right)^2 - \dfrac{b^2}{4a^2}\right]+c&=0 \end{align*}\)

Distribute \(a\) into the bracket by noting that \(a\left(\dfrac{-b^2}{4a^2}\right)=\dfrac{-ab^2}{4a^2}=\dfrac{-b^2}{4a}\).

\(\begin{align*} a\left(x+\dfrac{b}{2a}\right)^2 - \dfrac{b^2}{4a}+c&=0\\ a\left(x+\dfrac{b}{2a}\right)^2 - \dfrac{b^2}{4a}+\dfrac{4ac}{4a}&=0\\ \end{align*}\)

From Example 1, 

\(3x^2-5x-3=0\), if we plug in \(a = 3\), \(b=-5\), and \(c=-3\) we get

\(\begin{align*}  3x^2-5x-3&=0 \\ 3\left(x^2- \dfrac{5}{3}x\right)-3 &=0 \\ 3\left(x^2- \dfrac{5}{3}x +\dfrac{5^2}{6^2} - \dfrac{5^2}{6^2}\right)-3 &=0 \\ 3\left[\left(x- \dfrac{5}{6}\right)^2 - \dfrac{25}{36}\right]-3 &=0 \\ 3\left(x- \dfrac{5}{6}\right)^2 - \dfrac{25}{12} -3 &=0 \\ 3\left(x- \dfrac{5}{6}\right)^2 - \dfrac{25}{12} -\dfrac{36}{12} &=0 \\ 3\left(x- \dfrac{5}{6}\right)^2 - \dfrac{61}{12} &=0 \end{align*}\)

Stage 2: Isolate for \(x\)

\(\begin{align*} a\left(x+\dfrac{b}{2a}\right)^2 - \dfrac{b^2}{4a}+\dfrac{4ac}{4a} &= 0\\ a\left(x+\dfrac{b}{2a}\right)^2 &= \dfrac{b^2}{4a}-\dfrac{4ac}{4a}\\ a\left(x+\dfrac{b}{2a}\right)^2 &= \dfrac{b^2-4ac}{4a}\\ \left(x+\dfrac{b}{2a}\right)^2 &= \dfrac{b^2-4ac}{4a^2}\\ x+\dfrac{b}{2a} &= \pm\sqrt{\dfrac{b^2-4ac}{4a^2}}\\ x+\dfrac{b}{2a} &= \pm\frac{ \sqrt{b^2-4ac}}{2a}\\ x &= -\dfrac{b}{2a} \pm\dfrac{ \sqrt{b^2-4ac}}{2a}\\ x &= \dfrac{-b\pm \sqrt{b^2-4ac}}{2a}\\ \end{align*}\)

Continuing with Example 1, 

\(3x^2-5x-3=0\), we get

\(\begin{align*} 3\left(x- \dfrac{5}{6}\right)^2 - \dfrac{61}{12} &=0 \\ 3\left(x- \dfrac{5}{6}\right)^2 &=\dfrac{61}{12} \\ \left(x- \dfrac{5}{6}\right)^2 &= \dfrac{61}{12} \\ \left(x- \dfrac{5}{6}\right) &= \pm \sqrt{\dfrac{61}{12}} \\ x &= \dfrac{5}{6} \pm \sqrt{\dfrac{61}{12}} \end{align*}\)

If \(ax^2+bx+c=0\) (with \(a\ne0\)), then

\(x=\dfrac{-b \pm \sqrt{b^2-4ac}}{2a}\)

Notice that the original equation must equal \(0\) to be able to use the quadratic formula.

This formula is used to determine the roots of the quadratic equation \(ax^2+bx+c=0\) or the zeros of the quadratic relation \(y=ax^2+bx+c\).

Historical Fact

Historically, mathematicians from many different cultures have independently produced various solutions to quadratic equations. Babylonian, Egyptian, Greek, Chinese, Indian, Persian, and French mathematicians are among those who developed solutions to quadratic equations.

Did You Know?

There is a song to the tune of Frère Jacques to help memorize the quadratic formula. An internet search can lead you to it!

Note

Embedded in this formula is a second formula, one that determines the \(x\)-coordinate of the vertex of \(y=ax^2+bx+c\).

  • The vertex lies on the axis of symmetry.
  • The axis of symmetry is halfway between the two zeros.
  • Since the zeros are \(\dfrac{-b}{2a}-\dfrac{\sqrt{b^2-4ac}}{2a}\) and \(\dfrac{-b}{2a}+\dfrac{\sqrt{b^2-4ac}}{2a}\), the halfway point between the two zeros is \(\dfrac{-b}{2a}\).
  • Therefore, the \(x\)-coordinate of the vertex is \(\dfrac{-b}{2a}\).

An image of the graph being explained.

If \(y=ax^2+bx+c\) (with \(a\ne0\)), the \(x\)-coordinate of the vertex is \(x=\dfrac{-b}{2a}\).


Roots of Quadratic Equations


Solving Quadratic Equations in Standard Form

In this lesson part, we are going to determine the roots of quadratic equations using the quadratic formula, which we developed in a previous lesson part.

An example of a quadratic equation is \(12x^2+x-6 = 0 \).

First, some terminology.

Recall

"Determine the roots" \(\implies\) "Solve" \(\implies\) "Determine \(x\) that satisfies the equation"

Quadratic equations are solved differently than linear equations, which are all solved by isolating the variable.

Two methods to solve a quadratic equation written in standard form:

  1. Factor — more efficient in many cases, but doesn't work if the roots are irrational. Factoring can only determine rational roots.
  2. Quadratic Formula — works in all situations where the roots exist.

You may be wondering about a third method we have used.

  1. Completing the Square and then Isolate — now that we have developed the quadratic formula, we won't use this method any more.

Let's solve an example using both methods.

Example 2

Determine the roots of \(12x^2+x-6 = 0 \).

Solution

Method 1: Factor

  • We require two integers with sum \(1\) and product \(-6\times 12=-72\).
  • The integers are \(9\) and \(-8\).

Using decomposition, we first rewrite our equation.

\(\begin{align*} 12 x^{2}+x-6 &=0 \\ 12 x^{2}+9 x-8 x-6 &=0 \end{align*}\)

We common factor the first two terms, \(12x^2+9x\), and the second two terms, \(-8x-6\), separately.

In this case, ensuring that the two brackets we get are identical

\( 3 x(4 x+3)-2(4 x+3) =0 \)

Finally, we can factor out \(4x+3\),

\( (4 x+3)(3 x-2) =0 \)

We now have two factors with product \(0\). That tells us that either of the factors must be \(0\). So we can write these two linear equations and then solve them by isolating.

\(\begin{align*} 4 x+3 &=0 \\ 4 x &=-3 \\ x &=\frac{-3}{4} \end{align*}\)

or

\(\begin{align*} 3 x-2 &=0 \\ 3 x &=2 \\ x &=\frac{2}{3} \end{align*}\)

So the roots of the equation are \(x = -\dfrac{3}{4}\) or \(x = \dfrac{2}{3}\).

Recall

You can check your answers by substituting each \(x\)-value into the original equation.

Method 2: Quadratic Formula

\(12x^2+x-6 = 0 \)

The formula can be used because the equation is of the form \(ax^2+bx+c=0\). \(a\), \(b\), and \(c\) come from the equation with \(a=12\) (the coefficient of \(x^2\)), \(b=1\) (the coefficient of \(x\)), and \(c=-6\).

Recall that if a variable has no number in front of it, then \(a = 1\) is implied.

Notice that we keep the sign of the number from the equation.

Next, write out the formula, and then substitute \(a\), \(b\), and \(c\) into it.

\(\begin{align*} x &= \dfrac{-b \pm \sqrt{b^2-4ac}}{2a} \\ &\;= \dfrac{-1 \pm \sqrt{1^2-4(12)(-6)}}{2(12)} \end{align*}\)

Recall

The radicand is the expression under the square root symbol.

The first arithmetic step is to evaluate the radicand.

\(\begin{align*} x &\;= \dfrac{-1 \pm \sqrt{289}}{24} \\ &\;= \dfrac{-1 \pm 17}{24} \end{align*}\)

The plus or minus indicates that there are two expressions here.

\(\begin{align*} x &=\frac{-1+17}{24} \\ &=\frac{16}{24} \\ &=\frac{2}{3} \end{align*}\)

or

\(\begin{align*} x &=\frac{-1-17}{24} \\ &=\frac{-18}{24} \\ &=\frac{-3}{4} \end{align*}\)

Evaluating these two expressions, we get \(x = \dfrac{2}{3}\) and \(x = -\dfrac{3}{4}\), the same two roots we found previously by factoring.

Recall

You can check your answer by substituting each \(x\)-value into the original equation.


Check Your Understanding 1

Question

Determine the roots of \(10x^2-23x-5 = 0\) using the quadratic formula.

Answer

The two roots are \(\dfrac{5}{2}\) and \(-\dfrac{1}{5}\).

Feedback

To determine the roots, use the quadratic formula with \(a=10\), \(b=-23\), and \(c=-5\).

\(\begin{align*} x &= \dfrac{-b \pm \sqrt{b^2-4ac}}{2a} \\ &= \dfrac{23 \pm \sqrt{(-23)^2-4(10)(-5)}}{2(10)} \\ &= \dfrac{23 \pm \sqrt{729}}{20} \\ &= \dfrac{23 \pm 27}{20} \end{align*}\)

\(\begin{align*} x &= \dfrac{23 +27}{20} \\ &= \dfrac{50}{20} \\ &= \dfrac{5}{2} \end{align*}\)

or

\(\begin{align*} x &= \dfrac{23 -27}{20} \\ &= -\dfrac{4}{20} \\ &= -\dfrac{1}{5} \end{align*}\)

Therefore, the two roots are \(\dfrac{5}{2}\) and \(-\dfrac{1}{5}\).


Example 3

Determine the roots.

  1. \(8x^2+10x=3\)
  2. \(x^2+18=11x\)

Include a check for part b).

Before we start, let's review our methods for solving quadratic equations not written in vertex form.

Solving Quadratic Equations (not written in vertex form)

  1. Write the equation in the form \(ax^2+bx+c=0\).

    In other words, rearrange the equation so that it equals \(0\).

  2. Choose: Factor or Quadratic Formula
    1. Factor: more efficient (except perhaps if decomposition is needed), but factoring will not find roots that are irrational
    2. Quadratic Formula, \(x=\dfrac{-b \pm \sqrt{b^2-4ac}}{2a}\) always works if the roots exist

Note that isolating for \(x\) is not an option when there are both \(x^2\)- and \(x\)-terms. This is because the two terms involving \(x\) cannot be gathered together. Consequently, it's not possible to isolate for \(x\) when there are \(x^2\)- and \(x\)-terms.

Solution — Part A

Recall part a): Determine the roots of \(8x^2+10x=3\).

Step 1: Write the equation in the form  \(ax^2+bx+c=0\).

\( 8 x^{2}+10 x =3 \)

In this case, we need to get rid of the \(3\) from the right side.
We can do that by subtracting \(3\) from both sides.

\(\begin{align*} 8 x^{2}+10 x-3 &=3-3 \\ 8 x^{2}+10 x-3 &=0 \end{align*}\)

Now we decide to either factor or use the quadratic formula.

Since this equation would require decomposition, we will use the quadratic formula instead.

Step 2: Use the quadratic formula with \(a=8\), \(b=10\), and \(c=-3\):

Notice that these are taken from the rearranged equation. We substitute these values into the formula.

\(\begin{align*} x &=\frac{-b \pm \sqrt{b^{2}-4 a c}}{2 a} \\ &=\frac{-10 \pm \sqrt{10^{2}-4(8)(-3)}}{2(8)} \end{align*}\)

When evaluating, first evaluate the radicant

\(\begin{align*} x &=\frac{-10 \pm \sqrt{196}}{16} \\ &=\frac{-10 \pm 14}{-16} \end{align*}\)

In future examples, we will see what to do when the square root is a decimal.

Finally, determine the two solutions by evaluating the addition and subtraction separately.

\(\begin{align*} x &=\dfrac{-10+14}{16} \\ x &=\dfrac{4}{16} \end{align*}\)

or

\(\begin{align*} x &=\frac{-10-14}{16} \\ x &=\frac{-24}{16} \end{align*}\)

After evaluating, write answers as fractions in lowest terms.

\(x = \dfrac{1}{4}\)

or

\( x =\dfrac{-3}{2} \)

Recall

Check your answers by substituting them into the original equation!

Solution — Part B

Recall part b): Determine the roots of \(x^2+18=11x\), include a check after your solution.

The \(x^2\)-term reminds us that this is a quadratic equation.

Step 1: Write the equation in the form \(ax^2+bx+c=0\)

We do this by subtracting \(11x\) from both sides,

\(x^2-11x+18=0\)

Factor or Formula? Since the coefficient of \(x^2\) is \(1\), factoring will be quicker as it can be done in one step.

Step 2: Factor

We require a pair of integers that

  • add to \(-11\), 
  • and multiply to \(18\).

The integers are \(-2\) and \(-9\).

So the equation becomes

\(\begin{array}{l}{x^{2}-11 x+18=0} \\ {(x-2)(x-9)=0}\end{array}\)

The roots are the values of \(x\) that make either factor \(0\).

Therefore, \(x=2\) or \(x=9\).

Recall

Check your answers by substituting them into the original equation!

There are two roots, so we need to check them both.

Check if \(x=2\) and \(x=9\) are solutions to the equation \(x^2+18=11x\).

Going back to the original equation, separate it into its left side, \(x^2 + 18\), and its right side, \(11x\).

We may not write this as an equation anymore, because we should not claim that the two sides are equal, since that is what we are checking.

Check \(x=2\):

\(\begin{align*} L S &=x^{2}+18 \\ &=(2)^{2}+18 \\ &=22 \end{align*}\)

\(\begin{align*} R S &=11 x \\ &=11(2) \\ &=22 \end{align*}\)

Therefore, \(LS=RS\).

Check \(x=9\):

\(\begin{align*} L S &=x^{2}+18 \\ &=9^{2}+18 \\ &=99 \end{align*}\)

\(\begin{align*} R S &=11 x \\ &=11(9) \\ &=99 \end{align*}\)

Therefore, \(LS=RS\).


Check Your Understanding 2

Question — Version 1

Determine the roots of \(3x^2 + 2x = 1\).

Answer — Version 1

The roots are \(-1\) and \(\dfrac{1}{3}\).

Feedback — Version 1

Start by rearranging the equation to make it equal \(0\):

\(\begin{align*} 3x^2 + 2x &= 1 \\ 3x^2 + 2x - 1 &= 0 \end{align*}\)

To determine the roots, use the quadratic formula with \(a=3\), \( b=2\), and \(c=-1\).

\(\begin{align*} x &= \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a} \\ &= \dfrac{-2 \pm \sqrt{2^2 - 4(3)(-1)}}{2(3)} \\ &= \dfrac{-2 \pm \sqrt{16}}{6} \\ &= \dfrac{-2 \pm 4}{6} \end{align*}\)

\(\begin{align*} x &= \dfrac{-2 - 4}{6} \\ &= \dfrac{-6}{6} \\ &= -1 \end{align*}\)

or

\(\begin{align*} x &= \dfrac{-2 + 4}{6} \\ &= \dfrac{2}{6} \\ &= \dfrac{1}{3} \end{align*}\)

Therefore, the two roots are \(-1\) and \(\dfrac{1}{3}\).

Question — Version 2

Determine the roots of \(x^2 + 5x = 66\).

Answer — Version 2

The roots are \(11\) and \(-6\).

Feedback — Version 2

Start by rearranging the equation to make it equal \(0\):

\(\begin{align*} x^2 + 5x &= 66 \\ x^2 + 5x -66 &= 0 \end{align*}\)

To determine the roots, we try factoring. Factoring is a better choice than the formula in this case because the expression can be factored in just one step.

We require two integers with a sum of \(-5\) and a product of \(-66\). The two integers are \(-11\) and \(6\).

\(\begin{align*} x^2 + 5x -66 &= 0 \\ (x - 11)(x + 6) &= 0 \end{align*}\)

\(x = 11\)

or

\(x = -6\)

Therefore, the two roots are \(11\) and \(-6\).


Example 4

Solve \((x-2)(x-3)=5\) correct to two decimal places.

Solution

Before we begin the solution, note that although the left side is written in factored form, we cannot immediately determine the solution since the right side is not \(0\).

  • When two factors have a product of \(0\), we know that at least one of the two factors must be zero.
  • The same is not true, though, when two numbers have a non-zero product.
  • In this case, the two factors multiply to \(5\). Since the factors do not have to be integers, there are infinitely-many such pairs.

We proceed with the method presented earlier in the lesson.

Step 1: Write the equation in the form \(ax^2+bx+c=0\).

\(\begin{align*} (x-2)(x-3) &= 5\\ x^2-2x-3x+6 &= 5\\ x^2-5x+6=5\\ x^2-5x +6 - 5 &= 5-5\\ x^2-5x +1 &= 0\\ \end{align*}\)

Step 2: Factor or use the quadratic formula.

To factor, we require a pair of integers that add to \(-5\) and multiply to \(1\).

Pairs of integers that multiply to \(1\) are

  • \(1\) and \(1\), and  
  • \(-1\) and \(-1\). 

Neither pair adds to \(5\). Therefore, \(x^2-5x+1\) is not factorable.

We proceed by using the quadratic formula with \(a=1\), \(b=-5\), and \(c=1\):

\(\begin{align*} x &= \dfrac{-b \pm \sqrt{b^2-4ac}}{2a}\\ &= \dfrac{5 \pm \sqrt{(-5)^2-4(1)(1)}}{2(1)}\\ &= \dfrac{5 \pm \sqrt{21}}{2}\\ \end{align*}\)

There are two solutions: \(x=\dfrac{5 - \sqrt{21}}{2}\) and \(x=\dfrac{5 + \sqrt{21}}{2}\). These are the exact solutions and are often prefered over a decimal approximation. However, this question asks us to round the solutions to two decimal places.

  • The solutions are \(x = \dfrac{5-4.5826\ldots}{2}\) and \(x = \dfrac{5+4.5826\ldots}{2}\). If we round the square root to only two decimal places, our final answer might not be accurate to two decimal places. Thus, either round to several more decimal places or, preferably, use storage features on your calculator to avoid any rounding error.
  • Correct to two decimal places, the solutions are \(x=0.21\) and \(x=4.79\).

Check Your Understanding 3

Question

Solve \(5x^2 = -14x -4\) for \(x\).

Answer

The solutions are \(x \approx -0.32\) and \(x \approx -2.48\).

Feedback

If you are having trouble getting the correct answer, considering the following:

  • Did you remember to rearrange the equation to make it equal \(0\)?
  • Did you round your answer to two decimal places?

If you did those things correctly, compare your work to the solution that follows.

Start by rearranging the equation to make it equal \(0\):

\(\begin{align*} 5x^2 &= -14x -4 \\ 5x^2 + 14x + 4 &=0 \end{align*}\)

To determine the roots, use the quadratic formula with \(a=5\), \( b=14\), and \(c=4\).

\(\begin{align*} x &= \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a} \\ &= \dfrac{-14 \pm \sqrt{(14)^2 - 4(5)(4)}}{2(5)} \\ &= \dfrac{-14 \pm \sqrt{116}}{10} \\ &= \dfrac{-14 \pm 10.7703}{10} \end{align*}\)

\(\begin{align*} x &= \dfrac{-14 + 10.7703}{10} \\ &= -0.322967 \end{align*}\)

or

\(\begin{align*} x &= \dfrac{-14 - 10.7703}{10} \\ &= -2.477033 \end{align*}\)

Therefore, the two solutions are approximately equal to \(-0.32\) and \(-2.48\).


Zeros of Quadratic Relations


Simplifying Radicals

Sometimes we need to simplify radicals when using the quadratic formula.

Recall

For \(a,b \ge 0\), \(\sqrt {ab}=\sqrt{a} \times \sqrt{b}\)

For example: 

\(\begin{align*} \sqrt{15} &=\sqrt{5 \times 3} \\ &=\sqrt{5} \times \sqrt{3} \end{align*}\)

This particular rewrite is not helpful, though, as neither \(\sqrt{3}\) nor \(\sqrt{5}\) are whole numbers.

Consider

\(\begin{align*} \sqrt{50} &=\sqrt{25 \times 2} \\ &=\sqrt{25} \times \sqrt{2} \\ &=5 \sqrt{2} \end{align*}\)

So this rewrite has simplified the expression, because the more complicated \(\sqrt{50}\) is no longer there.

Instead, there's a simpler \(\sqrt{2}\).

A square root is in simplest form when the largest perfect square factor has been removed from the square root.

Example 5

Simplify \(\sqrt{48}\).

Solution

  • First, note that \(\sqrt{48}\) is a decimal. 
    • If it wasn't, we would simply evaluate the square root.
    • To simplify, remove the largest perfect square factor ​​of ​\(48\).
  • Factors of \(48\): \(1\), \(2\), \(3\), \(4\), \(6\), \(8\), \(12\), \(16\), \(24\), \(48\)
    • \(48\) has many factors, but we only need to consider the perfect square factors.
  • Perfect square factors of \(48\): \(4\), \(16\)
    • Choosing the largest of \(4\) and \(16\), we rewrite \(48\) as \(16 \times 3\).
    • Since \(48\) is under a square root sign, we keep the \(16 \times 3\) under the square root sign.

\(\begin{align*} \sqrt{48} &=\sqrt{16 \times 3} \\ &=\sqrt{16} \times \sqrt{3} \\ &=4 \sqrt{3} \end{align*}\)

  • Since\(\sqrt{3}\) is a decimal, we leave it as a radical.

Check Your Understanding 4

Question

Simplify \(\sqrt{864}\).

Answer

\(12\sqrt{6}\)

Feedback

The largest perfect square of \(864\) is \(144\).

\(\begin{align*} \sqrt{864} &= \sqrt{144 \times 6} \\ &= \sqrt{144} \times \sqrt{6} \\ &= 12\sqrt{6} \end{align*}\)

Here is an example that involves the quadratic formula and simplifying radicals.

Example 6

Determine the zeros of \(y=x^2+4x+1\). Express your answer exactly, then round to two decimal places.

Solution

Recall

Finding the zeros means to find the values of \(x\) that make \(y\) equal to \(0\).

That means this question is equivalent to: Solve \(x^2+4x+1=0\)

We have seen that this can be done in two ways: 

  1. Factoring, or by
  2. Using the quadratic formula.

Note: The expression \(x^2+4x+1\) is not factorable, since there is no pair of integers with sum \(4\) and product \(1\).

So we will use the quadratic formula instead.

To solve \(x^2+4x+1=0\), we use the quadratic formula with \(a=1\), \(b=4\), and \(c=1\).

\(\begin{align*} x &=\frac{-b \pm \sqrt{b^{2}-4 a c}}{2 a} \\ x &=\frac{-4 \pm \sqrt{4^{2}-4(1)(1)}}{2(1)} \end{align*}\)

After writing out the formula and substituting \(a\), \(b\), and \(c\), we evaluate the radicand.

We get

\( x =\dfrac{-4 \pm \sqrt{12}}{2}\)

Since \(\sqrt{12}\) is not a whole number, we check if it can be simplified. And it can, since \(12\) is divisible by a perfect square. It's divisible by \(4\).

\(\begin{align*} x &=\frac{-4 \pm \sqrt{4} \times \sqrt{3}}{2} \\ x &=\frac{-4 \pm 2 \sqrt{3}}{2} \end{align*}\)

We now separate the plus or minus into two expressions.

\(x =\dfrac{-4+2 \sqrt{3}}{2} \)

or

\( x =\dfrac{-4-2 \sqrt{3}}{2} \)

The distributive property applies to both multiplication and division. So in each expression, we divide both terms by \(2\).

\( x =-2+\sqrt{3} \)

or

\(x =-2- \sqrt{3} \)

So using a calculator, we can say that the two zeros, correct to two decimal places are:

\(x\approx-0.27\)

or

\(x\approx -3.73\)

Note: If we only needed approximated zeros, we could have evaluated to a decimal earlier in the solution. Previously in this lesson, we have seen an example of what that looks like.

The graph of this relation verifies our work, since we see that the zeros are approximately \(-0.27\) and \(-3.73\).

The graph of y equals x squared plus 4x plus 1 crosses the x-axis at approximately negative 0.27 and negative 3.73.


Check Your Understanding 5

Question

Determine the zeros of \(y=4x^2+20x+7\).

As exact values, the zeros can be expressed in the form \(\dfrac{p \pm q \sqrt{r}}{s}\). 

Answer

\(x = \dfrac{-5 \pm 3\sqrt{2}}{2} \)

Feedback

Determining the zeros of the relation \(y=4x^2+20x+7\) is equivalent to finding the zeros of \(4x^2+20x+7 = 0\)

To determine the roots, use the quadratic formula with \(a=4\), \( b=20\), and \(c=7\).

\(\begin{align*} x&= \dfrac{-b \pm \sqrt{b^2-4ac}}{2a}\\ &=\dfrac{-20 \pm \sqrt{(20)^2 - 4(4)(7)}}{2(4)}\\ &= \dfrac{-20 \pm \sqrt{288}}{8}\\ &= \dfrac{-20 \pm 12\sqrt{2}}{8} \\ &= \dfrac{-5 \pm 3\sqrt{2}}{2} \end{align*}\)

Therefore \(p=-5\), \(q=3\), \(r=2\), and \(s=2\).


Example 7

Determine the zeros of \(y=x^2+4x+5\).

Solution

  • The zeros are the solutions to \(x^2+4x+5=0\).
  • We can proceed either by factoring or by using the quadratic formula.
    • To factor, we require two integers that add to \(4\) and multiply to \(5\).
    • No such integers exist; \(x^2+4x+5\) is not factorable.
  • Using the quadratic formula with \(a=1\), \(b=4\), and \(c=5\):

\(\begin{align*} x &= \dfrac{-b \pm \sqrt{b^2-4ac}}{2a}\\ &= \dfrac{-4 \pm \sqrt{4^2-4(1)(5)}}{2(1)}\\ &= \dfrac{-4 \pm \sqrt{-4}}{2}\\ \end{align*}\)

  • Consider \(\sqrt{-4}\):
    • \(\sqrt{-4}\) is not equal to \(-2\) since \((-2)\times (-2) = 4\).
    • In fact, \(\sqrt{-4}\) does not exist since no real number multiplied by itself will equal a negative number.

If \(a \lt 0, \sqrt{a}\) is not equal to a real number.

Conclusion: \(y=x^2+4x+5\) has no zeros.

The graph of \(y=x^2+4x+5\) confirms that this parabola has no zeros since it never crosses the \(x\)-axis.

The vertex of the upward facing graph is at the point (-2, 1).


Applications


There are many situations that can be modeled as quadratic equations and can be solved by using the quadratic formula. Let's look at a couple of examples in which this is the case. We begin by returning to the Try This problem presented at the beginning of this lesson. 

Try This Revisited

Damion has a rectangular picture of a platypus that he would like to frame. The picture measures \(20\) cm by \(25\) cm. The total area of the frame and picture will be \(864\) cm2. The frame will surround all four sides of the picture and will have a uniform width. Determine the width of the frame.

A picture of a platypus measures ‌20 centimetres by ‌25 centimetres.

Solution

Let \(x\) be the width of the uniform frame.

Determine an equation that models this situation

  • The picture and its frame measures \(20+2x\) by \(25+2x\).
    • For instance, the height of the picture is \(25\). To that height, a frame width of \(x\) is added on the bottom and the top. Thus, the total height is \(25+x+x\) or \(25+2x\)
  • The area of this rectangle is \(864\) cm2.
  • Since the area of a rectangle is length \(\times\) width:

\((20+2x)(25+2x)=864\)

Solve the quadratic equation

  • Expanding, simplifying and rearranging to make the right side \(0\):

\(\begin{align*} (20+2x)(25+2x)&=864\\ 500 + 40x + 50x + 4x^2 &=864\\ 4x^2 + 90x + 500 &=864\\ 4x^2 + 90x -364 &= 0\\ \end{align*}\)

  • All the terms are divisible by \(2\). Dividing both sides by \(2\):

\(\begin{align*} 4x^2 + 90x -364 &= 0\\ 2x^2 + 45x - 182 &= 0\\ \end{align*}\)

  • Find the roots of this equation.
    • We could try to factor (in this case, it is possible to do so), but since factoring would involve decomposition and we are working with large numbers, it is more efficient to use the quadratic formula. 
    • Using the quadratic formula with \(a=2\), \(b=45\), and \(c=-182\):

\(\begin{align*} x &= \dfrac{-b \pm \sqrt{b^2-4ac}}{2a}\\ &= \dfrac{-45 \pm \sqrt{45^2-4(2)(-182)}}{2(2)}\\ &= \dfrac{-45 \pm \sqrt{3481}}{4}\\ &= \dfrac{-45 \pm 59}{4} \end{align*}\)

\(x\)

\(= \dfrac{-45+59}{4}\)

or

\(x\)

\(= \dfrac{-45-59}{4}\)

\(x\)

\(=\dfrac{7}{2}\)

 

\(x\)

\(= -26\)

Interpret the roots of the equation

  • Since the picture frame cannot have a negative width, the solution \(x=-26\) is not valid and should not be included in the solution.
  • The width of the frame is \(\dfrac{7}{2}=3.5\) cm.

Did You Know?

When an apparent solution is rejected because of the context, such a solution is sometimes called "inadmissable."

An inadmissable solution is a solution of an equation that models the problem but does not satisfy the constraints of the problem.

Check the answer

  • A frame width of \(3.5\) cm means the dimensions of the frame and picture together are \(27\) cm by \(32\) cm.
  • The total area is \((27)(32) = 864\) cm2, as required.

Therefore, the frame is \(3.5\) cm wide.

Additional Comment

At some point during the solution of the Try This problem, we needed to solve the equation \(2x^2+45x-182=0\). We chose to use the quadratic formula; however, if we had factored the left side of this equation instead, we would have arrived at \((2x-7)(x+26)=0\). Notice that this equation has the same solutions as we found using the quadratic formula.

Example 8

For a 10-year period starting in 2008, the approximate population of Statsville was modeled by \(P=0.4t^2-3.2t+131.4\) where \(P\) is the population (in thousands) and \(t\) is the number of years since January 1, 2008. 

  1. Determine the approximate population at the beginning of 2010.
  2. Determine the two years during which the population was \(127~000\).

Solution — Part A

We can observe the following:

  • \(t\) is the number of years since January 1, 2008.
  • 2010 is \(2\) years after the start of 2008 so its beginning corresponds to \(t=2\).
  • Substituting \(t=2\) into the equation:

\(\begin{align*} P &= 0.4t^2-3.2t+131.4\\ &= 0.4(2)^2-3.2(2)+131.4\\ &= 126.6 \end{align*}\)

  • \(P\) is the approximate population in thousands, so \(P=126.6\) represents an approximate population of \(126~600\).

Therefore, the population of Statsville at the beginning of 2010 was approximately \(126~600\).

Solution — Part B

Recall part b): Determine the two years during which the population was \(127~000\).

We can observe the following:

  • \(P\) is the approximate population in thousands.
  • A population of \(127~000\) corresponds to \(P=127\).

Substituting \(P=127\) into the quadratic relation: 

\(0.4t^2-3.2t+131.4=127\)

We now have a quadratic equation; thus, the first step to solve is to rearrange the equation to make it equal zero:

\(\begin{align*} 0.4t^2-3.2t+131.4 &= 127\\ 0.4t^2-3.2t+131.4-127 &= 127-127\\ 0.4t^2-3.2t+4.4 &= 0\\ \end{align*}\)

Using the quadratic formula with \(a=0.4\), \(b=-3.2\), and \(c=4.4\):

\(\begin{align*} t &= \dfrac{-b \pm \sqrt{b^2-4ac}}{2a}\\ &= \dfrac{-(-3.2) \pm \sqrt{(-3.2)^2-4(0.4)(4.4)}}{2(0.4)}\\ &= \dfrac{3.2 \pm \sqrt{3.2}}{0.8}\\ \end{align*}\)

Since the question is an application question and includes decimals, using a decimal approximation is appropriate:

\(\begin{align*} t &= \dfrac{3.2 \pm \sqrt{3.2}}{0.8}\\ \end{align*}\)

\(t\approx1.76\)  or  \(t\approx6.24\)

  • \(t\approx1.76\) corresponds to a time over 1 year but less than two years after the beginning of 2008; in other words, some time during 2009.
  • Likewise, \(t\approx6.24\) occurs during 2014.

Therefore, the population of Statsville was \(127~000\) some time during 2009 and again during 2014.

Although it is not part of this question, notice that we can draw a graph of the population model.

  • By substituting \(t=0\) into the equation, we know the \(P\)-intercept is \(131.4\).
  • The populations are the same when \(t\approx1.76\) and \(t\approx6.24\)
    • The average of \(1.76\) and \(6.24\) is \(4\).
    • The axis of symmetry is \(t=4\).
  • Since the vertex lies on the axis of symmetry, the \(P\)-coordinate of the vertex is:

\(\begin{align*} P &= 0.4t^2-3.2t+131.4\\ &= 0.4(4)^2-3.2(4)+131.4\\ &= 125\\ \end{align*}\)

  • The vertex is \((4,125)\).

The function crosses the horizontal y equals 127 at two points.


Check Your Understanding 6

Question

A company sells hockey pucks. Their profit is given by \(P=-2.6x^2 + 14x - 5\) where \(P\) is the profit (in hundreds of dollars) and \(x\) is the number of pucks sold (in thousands).

Determine the number of pucks that need to be sold to realize a profit of \($500\).

Hint: \(P\) is in hundreds of dollars. Think about what value of \(P\) corresponds to a profit of \($500\).

Answer

The company needs to sell \(800\) or \(4500\) pucks to achieve a profit of \($ 500\).

Feedback

Since \(P\) is in hundreds of dollars, a profit of \($ 500\) corresponds to \(P=5\).

Step 1: Substitute \(P=5\) into the equation.

\(\begin{align*} 5 &= -2.6x^2+14x-5\\ 5 - 5 &= -2.6x^2+14x-5 - 5 \\ 0 &= -2.6x^2+14x-10 \end{align*}\)

Step 2: Solve using the quadratic formula with \(a=-2.6\), \(b= 14\) and \(c= -10\):

\(\begin{align*} x &= \dfrac{-b \pm \sqrt{b^2-4ac}}{2a}\\ &= \dfrac{-14 \pm \sqrt{(14)^2-4(-2.6)(-10)}}{2(-2.6)}\\ &= \dfrac{-14 \pm \sqrt{92.0}}{-5.2} \end{align*}\)

The two solutions are

\(\begin{align*} x &= \dfrac{-14 + \sqrt{92.0}}{-5.2}\\ x &= 0.8478\ldots \end{align*}\)

and

\(\begin{align*} x &= \dfrac{-14 - \sqrt{92.0}}{-5.2}\\ x &= 4.5369 \ldots \end{align*}\)

  • Since \(x\) is measured in thousands of pucks, these solutions correspond to \(848\) and \(4537\) pucks.
  • Rounded to the nearest hundred, the company needs to sell \(800\) or \(4500\) pucks to achieve a profit of \($ 500\). Selling between \(800\) and \(4500\) will yield an even greater profit.

The function Profit in hundreds of dollars equals ngetaive 2.6 times x squared plus 14x minus 5 opens downward and crosses the horizontal line y equals 5 at two points.


Wrap-Up


Lesson Summary

  • We derived the quadratic formula:

If \(ax^2+bx+c=0\) with \(a \ne 0\), then \(x=\dfrac{-b \pm \sqrt{b^2-4ac}}{2a}\). 

  • We solved quadratic equations using these steps:
    • Write the equation in the form \(ax^2+bx+c=0\).
    • Solve the equation by factoring or using the quadratic formula.
  • We saw that determining roots of quadratic equations and determining zeros of quadratic relations are equivalent questions arising in different contexts.
  • We applied the quadratic formula in a variety of contexts. We saw that:
    • Word problems can involve quadratic equations. These are solved by first writing the equation in the form \(ax^2+bx+c=0\) and then factoring or using the quadratic formula.
    • Word problems can involve quadratic relations of the form \(y=ax^2+bx+c\). Zeros can be found by factoring or using the quadratic formula.

Take It With You

The graphs of three quadratic relations are shown.

\(y=x^2+4x+3\)

 The function has 2 x-intercepts.

\(y=x^2+4x+4\)

The function has 1 x-intercept.

\(y=x^2+4x+5\)

The function has no x-intercepts.

The quadratic formula can be used to determine the zeros of parabolas, yet these parabolas all have a different number of zeros. See if you can understand how the quadratic formula will sometimes give two answers, sometimes one answer and sometimes no answers.