Skip to main content
Mathematics LibreTexts

2.6: Quadratic Equations

  • Page ID
    114984
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Learning Objectives

    In this section, you will:

    • Solve quadratic equations by factoring.
    • Solve quadratic equations by the square root property.
    • Solve quadratic equations by completing the square.
    • Solve quadratic equations by using the quadratic formula.
    Two televisions side-by-side. The right television is slightly larger than the left.
    Figure 1

    The computer monitor on the left in Figure 1 is a 23.6-inch model and the one on the right is a 27-inch model. Proportionally, the monitors appear very similar. If there is a limited amount of space and we desire the largest monitor possible, how do we decide which one to choose? In this section, we will learn how to solve problems such as this using four different methods.

    Solving Quadratic Equations by Factoring

    An equation containing a second-degree polynomial is called a quadratic equation. For example, equations such as 2 x 2 +3x1=0 2 x 2 +3x1=0 and x 2 4=0 x 2 4=0 are quadratic equations. They are used in countless ways in the fields of engineering, architecture, finance, biological science, and, of course, mathematics.

    Often the easiest method of solving a quadratic equation is factoring. Factoring means finding expressions that can be multiplied together to give the expression on one side of the equation.

    If a quadratic equation can be factored, it is written as a product of linear terms. Solving by factoring depends on the zero-product property, which states that if ab=0, ab=0, then a=0 a=0 or b=0, b=0, where a and b are real numbers or algebraic expressions. In other words, if the product of two numbers or two expressions equals zero, then one of the numbers or one of the expressions must equal zero because zero multiplied by anything equals zero.

    Multiplying the factors expands the equation to a string of terms separated by plus or minus signs. So, in that sense, the operation of multiplication undoes the operation of factoring. For example, expand the factored expression ( x2 )( x+3 ) ( x2 )( x+3 ) by multiplying the two factors together.

    ( x2 )( x+3 ) = x 2 +3x2x6 = x 2 +x6 ( x2 )( x+3 ) = x 2 +3x2x6 = x 2 +x6

    The product is a quadratic expression. Set equal to zero, x 2 +x6=0 x 2 +x6=0 is a quadratic equation. If we were to factor the equation, we would get back the factors we multiplied.

    The process of factoring a quadratic equation depends on the leading coefficient, whether it is 1 or another integer. We will look at both situations; but first, we want to confirm that the equation is written in standard form, a x 2 +bx+c=0, a x 2 +bx+c=0, where a, b, and c are real numbers, and a0. a0. The equation x 2 +x6=0 x 2 +x6=0 is in standard form.

    We can use the zero-product property to solve quadratic equations in which we first have to factor out the greatest common factor (GCF), and for equations that have special factoring formulas as well, such as the difference of squares, both of which we will see later in this section.

    The Zero-Product Property and Quadratic Equations

    The zero-product property states

    If ab=0,then a=0or b=0, If ab=0,then a=0or b=0,

    where a and b are real numbers or algebraic expressions.

    A quadratic equation is an equation containing a second-degree polynomial; for example

    a x 2 +bx+c=0 a x 2 +bx+c=0

    where a, b, and c are real numbers, and if a0, a0, it is in standard form.

    Solving Quadratics with a Leading Coefficient of 1

    In the quadratic equation x 2 +x6=0, x 2 +x6=0, the leading coefficient, or the coefficient of x 2 , x 2 , is 1. We have one method of factoring quadratic equations in this form.

    How To

    Given a quadratic equation with the leading coefficient of 1, factor it.

    1. Find two numbers whose product equals c and whose sum equals b.
    2. Use those numbers to write two factors of the form ( x+k )or ( xk ), ( x+k )or ( xk ), where k is one of the numbers found in step 1. Use the numbers exactly as they are. In other words, if the two numbers are 1 and −2, −2, the factors are ( x+1 )( x2 ). ( x+1 )( x2 ).
    3. Solve using the zero-product property by setting each factor equal to zero and solving for the variable.
    Example 1

    Factoring and Solving a Quadratic with Leading Coefficient of 1

    Factor and solve the equation: x 2 +x6=0. x 2 +x6=0.

    Answer

     

    To factor x 2 +x6=0, x 2 +x6=0, we look for two numbers whose product equals −6 −6 and whose sum equals 1. Begin by looking at the possible factors of −6. −6.

    1(−6) (−6)1 2(−3) 3(−2) 1(−6) (−6)1 2(−3) 3(−2)

    The last pair, 3( −2 ) 3( −2 ) sums to 1, so these are the numbers. Note that only one pair of numbers will work. Then, write the factors.

    ( x2 )( x+3 )=0 ( x2 )( x+3 )=0

    To solve this equation, we use the zero-product property. Set each factor equal to zero and solve.

    ( x2 )( x+3 ) = 0 ( x2 ) = 0 x = 2 ( x+3 ) = 0 x = −3 ( x2 )( x+3 ) = 0 ( x2 ) = 0 x = 2 ( x+3 ) = 0 x = −3

    The two solutions are 2 2 and −3. −3. We can see how the solutions relate to the graph in Figure 2. The solutions are the x-intercepts of y = x 2 +x6=0. y = x 2 +x6=0.

    Coordinate plane with the x-axis ranging from negative 5 to 5 and the y-axis ranging from negative 7 to 7. The function x squared plus x minus six equals zero is graphed, with the x-intercepts (-3,0) and (2,0), plotted as well.
    Figure 2
    Try It #1

    Factor and solve the quadratic equation: x 2 5x6=0. x 2 5x6=0.

    Example 2

    Solve the Quadratic Equation by Factoring

    Solve the quadratic equation by factoring: x 2 +8x+15=0. x 2 +8x+15=0.

    Answer

     

    Find two numbers whose product equals 15 15 and whose sum equals 8. 8. List the factors of 15. 15.

    115 35 (−1)(−15) (−3)(−5) 115 35 (−1)(−15) (−3)(−5)

    The numbers that add to 8 are 3 and 5. Then, write the factors, set each factor equal to zero, and solve.

    ( x+3 )( x+5 ) = 0 ( x+3 ) = 0 x = −3 ( x+5 ) = 0 x = −5 ( x+3 )( x+5 ) = 0 ( x+3 ) = 0 x = −3 ( x+5 ) = 0 x = −5

    The solutions are −3 −3 and −5. −5.

    Try It #2

    Solve the quadratic equation by factoring: x 2 4x21=0. x 2 4x21=0.

    Example 3

    Using the Zero-Product Property to Solve a Quadratic Equation Written as the Difference of Squares

    Solve the difference of squares equation using the zero-product property: x 2 9=0. x 2 9=0.

    Answer

     

    Recognizing that the equation represents the difference of squares, we can write the two factors by taking the square root of each term, using a minus sign as the operator in one factor and a plus sign as the operator in the other. Solve using the zero-factor property.

    x29 = 0 ( x3 )( x+3 ) = 0 (x3) = 0 x = 3 (x+3) = 0 x = −3 x29 = 0 ( x3 )( x+3 ) = 0 (x3) = 0 x = 3 (x+3) = 0 x = −3

    The solutions are 3 3 and −3. −3.

    Try It #3

    Solve by factoring: x 2 25=0. x 2 25=0.

    Solving a Quadratic Equation by Factoring when the Leading Coefficient is not 1

    When the leading coefficient is not 1, we factor a quadratic equation using the method called grouping, which requires four terms. With the equation in standard form, let’s review the grouping procedures:

    1. With the quadratic in standard form, a x 2 +bx+c=0, a x 2 +bx+c=0, multiply ac. ac.
    2. Find two numbers whose product equals ac ac and whose sum equals b. b.
    3. Rewrite the equation replacing the bx bx term with two terms using the numbers found in step 1 as coefficients of x.
    4. Factor the first two terms and then factor the last two terms. The expressions in parentheses must be exactly the same to use grouping.
    5. Factor out the expression in parentheses.
    6. Set the expressions equal to zero and solve for the variable.
    Example 4

    Solving a Quadratic Equation Using Grouping

    Use grouping to factor and solve the quadratic equation: 4 x 2 +15x+9=0. 4 x 2 +15x+9=0.

    Answer

     

    First, multiply ac:4( 9 )=36. ac:4( 9 )=36. Then list the factors of 36. 36.

    136 218 312 49 66 136 218 312 49 66

    The only pair of factors that sums to 15 15 is 3+12. 3+12. Rewrite the equation replacing the b term, 15x, 15x, with two terms using 3 and 12 as coefficients of x. Factor the first two terms, and then factor the last two terms.

    4 x 2 +3x+12x+9 = 0 x(4x+3)+3(4x+3) = 0 (4x+3)(x+3) = 0 4 x 2 +3x+12x+9 = 0 x(4x+3)+3(4x+3) = 0 (4x+3)(x+3) = 0

    Solve using the zero-product property.

    (4x+3)(x+3) = 0 (4x+3) = 0 x = 3 4 (x+3) = 0 x = 3 (4x+3)(x+3) = 0 (4x+3) = 0 x = 3 4 (x+3) = 0 x = 3

    The solutions are 3 4 , 3 4 , and −3. −3. See Figure 3.

    Coordinate plane with the x-axis ranging from negative 6 to 2 with every other tick mark labeled and the y-axis ranging from negative 6 to 2 with each tick mark numbered. The equation: four x squared plus fifteen x plus nine is graphed with its x-intercepts: (-3/4,0) and (-3,0) plotted as well.
    Figure 3
    Try It #4

    Solve using factoring by grouping: 12 x 2 +11x+2=0. 12 x 2 +11x+2=0.

    Example 5

    Solving a Polynomial of Higher Degree by Factoring

    Solve the equation by factoring: −3 x 3 5 x 2 2x=0. −3 x 3 5 x 2 2x=0.

    Answer

     

    This equation does not look like a quadratic, as the highest power is 3, not 2. Recall that the first thing we want to do when solving any equation is to factor out the GCF, if one exists. And it does here. We can factor out x x from all of the terms and then proceed with grouping.

    −3 x 3 5 x 2 2x = 0 x(3 x 2 +5x+2) = 0 −3 x 3 5 x 2 2x = 0 x(3 x 2 +5x+2) = 0

    Use grouping on the expression in parentheses.

    x(3 x 2 +3x+2x+2) = 0 x[3x(x+1)+2(x+1)] = 0 x(3x+2)(x+1) = 0 x(3 x 2 +3x+2x+2) = 0 x[3x(x+1)+2(x+1)] = 0 x(3x+2)(x+1) = 0

    Now, we use the zero-product property. Notice that we have three factors.

    x = 0 x = 0 3x+2 = 0 x = 2 3 x+1 = 0 x = −1 x = 0 x = 0 3x+2 = 0 x = 2 3 x+1 = 0 x = −1

    The solutions are 0, 0, 2 3 , 2 3 , and −1. −1.

    Try It #5

    Solve by factoring: x 3 +11 x 2 +10x=0. x 3 +11 x 2 +10x=0.

    Using the Square Root Property

    When there is no linear term in the equation, another method of solving a quadratic equation is by using the square root property, in which we isolate the x 2 x 2 term and take the square root of the number on the other side of the equals sign. Keep in mind that sometimes we may have to manipulate the equation to isolate the x 2 x 2 term so that the square root property can be used.

    The Square Root Property

    With the x 2 x 2 term isolated, the square root property states that:

    if x 2 =k,thenx=± k if x 2 =k,thenx=± k

    where k is a nonzero real number.

    How To

    Given a quadratic equation with an x 2 x 2 term but no x x term, use the square root property to solve it.

    1. Isolate the x 2 x 2 term on one side of the equal sign.
    2. Take the square root of both sides of the equation, putting a ± ± sign before the expression on the side opposite the squared term.
    3. Simplify the numbers on the side with the ± ± sign.
    Example 6

    Solving a Simple Quadratic Equation Using the Square Root Property

    Solve the quadratic using the square root property: x 2 =8. x 2 =8.

    Answer

     

    Take the square root of both sides, and then simplify the radical. Remember to use a ± ± sign before the radical symbol.

    x 2 = 8 x = ± 8 = ±2 2 x 2 = 8 x = ± 8 = ±2 2

    The solutions are 2 2 , 2 2 , −2 2 . −2 2 .

    Example 7

    Solving a Quadratic Equation Using the Square Root Property

    Solve the quadratic equation: 4 x 2 +1=7. 4 x 2 +1=7.

    Answer

     

    First, isolate the x 2 x 2 term. Then take the square root of both sides.

    4 x 2 +1 = 7 4 x 2 = 6 x 2 = 6 4 x = ± 6 2 4 x 2 +1 = 7 4 x 2 = 6 x 2 = 6 4 x = ± 6 2

    The solutions are 6 2 , 6 2 , and 6 2 . 6 2 .

    Try It #6

    Solve the quadratic equation using the square root property: 3 ( x4 ) 2 =15. 3 ( x4 ) 2 =15.

    Completing the Square

    Not all quadratic equations can be factored or can be solved in their original form using the square root property. In these cases, we may use a method for solving a quadratic equation known as completing the square. Using this method, we add or subtract terms to both sides of the equation until we have a perfect square trinomial on one side of the equal sign. We then apply the square root property. To complete the square, the leading coefficient, a, must equal 1. If it does not, then divide the entire equation by a. Then, we can use the following procedures to solve a quadratic equation by completing the square.

    We will use the example x 2 +4x+1=0 x 2 +4x+1=0 to illustrate each step.

    1. Given a quadratic equation that cannot be factored, and with a=1, a=1, first add or subtract the constant term to the right side of the equal sign.

      x 2 +4x=−1 x 2 +4x=−1

    2. Multiply the b term by 1 2 1 2 and square it.

      1 2 (4) = 2 2 2 = 4 1 2 (4) = 2 2 2 = 4

    3. Add ( 1 2 b ) 2 ( 1 2 b ) 2 to both sides of the equal sign and simplify the right side. We have

      x 2 +4x+4 = 1+4 x 2 +4x+4 = 3 x 2 +4x+4 = 1+4 x 2 +4x+4 = 3

    4. The left side of the equation can now be factored as a perfect square.

      x 2 +4x+4 = 3 (x+2) 2 = 3 x 2 +4x+4 = 3 (x+2) 2 = 3

    5. Use the square root property and solve.

      (x+2) 2 = ± 3 x+2 = ± 3 x = −2± 3 (x+2) 2 = ± 3 x+2 = ± 3 x = −2± 3

    6. The solutions are −2+ 3 , −2+ 3 , and −2 3 . −2 3 .

    Example 8

    Solving a Quadratic by Completing the Square

    Solve the quadratic equation by completing the square: x 2 3x5=0. x 2 3x5=0.

    Answer

     

    First, move the constant term to the right side of the equal sign.

    x 2 3x=5 x 2 3x=5

    Then, take 1 2 1 2 of the b term and square it.

    1 2 (−3) = 3 2 ( 3 2 ) 2 = 9 4 1 2 (−3) = 3 2 ( 3 2 ) 2 = 9 4

    Add the result to both sides of the equal sign.

    x 2 3x+ ( 3 2 ) 2 = 5+ ( 3 2 ) 2 x 2 3x+ 9 4 = 5+ 9 4 x 2 3x+ ( 3 2 ) 2 = 5+ ( 3 2 ) 2 x 2 3x+ 9 4 = 5+ 9 4

    Factor the left side as a perfect square and simplify the right side.

    ( x 3 2 ) 2 = 29 4 ( x 3 2 ) 2 = 29 4

    Use the square root property and solve.

    ( x 3 2 ) 2 = ± 29 4 ( x 3 2 ) = ± 29 2 x = 3 2 ± 29 2 ( x 3 2 ) 2 = ± 29 4 ( x 3 2 ) = ± 29 2 x = 3 2 ± 29 2

    The solutions are 3+ 29 2 3+ 29 2 and 3- 29 2 3- 29 2 .

    Try It #7

    Solve by completing the square: x 2 6x=13. x 2 6x=13.

    Using the Quadratic Formula

    The fourth method of solving a quadratic equation is by using the quadratic formula, a formula that will solve all quadratic equations. Although the quadratic formula works on any quadratic equation in standard form, it is easy to make errors in substituting the values into the formula. Pay close attention when substituting, and use parentheses when inserting a negative number.

    We can derive the quadratic formula by completing the square. We will assume that the leading coefficient is positive; if it is negative, we can multiply the equation by −1 −1 and obtain a positive a. Given a x 2 +bx+c=0, a x 2 +bx+c=0, a0, a0, we will complete the square as follows:

    1. First, move the constant term to the right side of the equal sign:

      a x 2 +bx=c a x 2 +bx=c

    2. As we want the leading coefficient to equal 1, divide through by a:

      x 2 + b a x= c a x 2 + b a x= c a

    3. Then, find 1 2 1 2 of the middle term, and add ( 1 2 b a ) 2 = b 2 4 a 2 ( 1 2 b a ) 2 = b 2 4 a 2 to both sides of the equal sign:

      x 2 + b a x+ b 2 4 a 2 = b 2 4 a 2 c a x 2 + b a x+ b 2 4 a 2 = b 2 4 a 2 c a

    4. Next, write the left side as a perfect square. Find the common denominator of the right side and write it as a single fraction:

      ( x+ b 2a ) 2 = b 2 4ac 4 a 2 ( x+ b 2a ) 2 = b 2 4ac 4 a 2

    5. Now, use the square root property, which gives

      x+ b 2a = ± b 2 4ac 4 a 2 x+ b 2a = ± b 2 4ac 2a x+ b 2a = ± b 2 4ac 4 a 2 x+ b 2a = ± b 2 4ac 2a

    6. Finally, add b 2a b 2a to both sides of the equation and combine the terms on the right side. Thus,

      x= b± b 2 4ac 2a x= b± b 2 4ac 2a

    The Quadratic Formula

    Written in standard form, a x 2 +bx+c=0, a x 2 +bx+c=0, any quadratic equation can be solved using the quadratic formula:

    x= b± b 2 4ac 2a x= b± b 2 4ac 2a

    where a, b, and c are real numbers and a0. a0.

    How To

    Given a quadratic equation, solve it using the quadratic formula

    1. Make sure the equation is in standard form: a x 2 +bx+c=0. a x 2 +bx+c=0.
    2. Make note of the values of the coefficients and constant term, a,b, a,b, and c. c.
    3. Carefully substitute the values noted in step 2 into the equation. To avoid needless errors, use parentheses around each number input into the formula.
    4. Calculate and solve.
    Example 9

    Solve the Quadratic Equation Using the Quadratic Formula

    Solve the quadratic equation: x 2 +5x+1=0. x 2 +5x+1=0.

    Answer

     

    Identify the coefficients: a=1,b=5,c=1. a=1,b=5,c=1. Then use the quadratic formula.

    x = (5)± (5) 2 4(1)(1) 2(1) = 5± 254 2 = 5± 21 2 x = (5)± (5) 2 4(1)(1) 2(1) = 5± 254 2 = 5± 21 2

    Example 10

    Solving a Quadratic Equation with the Quadratic Formula

    Use the quadratic formula to solve x 2 +x+2=0. x 2 +x+2=0.

    Answer

     

    First, we identify the coefficients: a=1,b=1, a=1,b=1, and c=2. c=2.

    Substitute these values into the quadratic formula.

    x = b± b 2 4ac 2a = (1)± (1) 2 (4)(1)(2) 21 = 1± 18 2 = 1± 7 2 = 1±i 7 2 x = b± b 2 4ac 2a = (1)± (1) 2 (4)(1)(2) 21 = 1± 18 2 = 1± 7 2 = 1±i 7 2

    The solutions to the equation are 1+i 7 2 1+i 7 2 and 1i 7 2 1i 7 2

    Try It #8

    Solve the quadratic equation using the quadratic formula: 9 x 2 +3x2=0. 9 x 2 +3x2=0.

    The Discriminant

    The quadratic formula not only generates the solutions to a quadratic equation, it tells us about the nature of the solutions when we consider the discriminant, or the expression under the radical, b 2 4ac. b 2 4ac. The discriminant tells us whether the solutions are real numbers or complex numbers, and how many solutions of each type to expect. Table 1 relates the value of the discriminant to the solutions of a quadratic equation.

    Value of Discriminant Results
    b 2 4ac=0 b 2 4ac=0 One rational solution (double solution)
    b 2 4ac>0, b 2 4ac>0, perfect square Two rational solutions
    b 2 4ac>0, b 2 4ac>0, not a perfect square Two irrational solutions
    b 2 4ac<0 b 2 4ac<0 Two complex solutions
    Table 1
    The Discriminant

    For a x 2 +bx+c=0 a x 2 +bx+c=0 , where a a , b b , and c c are real numbers, the discriminant is the expression under the radical in the quadratic formula: b 2 4ac. b 2 4ac. It tells us whether the solutions are real numbers or complex numbers and how many solutions of each type to expect.

    Example 11

    Using the Discriminant to Find the Nature of the Solutions to a Quadratic Equation

    Use the discriminant to find the nature of the solutions to the following quadratic equations:

    1. x 2 +4x+4=0 x 2 +4x+4=0
    2. 8 x 2 +14x+3=0 8 x 2 +14x+3=0
    3. 3 x 2 5x2=0 3 x 2 5x2=0
    4. 3 x 2 10x+15=0 3 x 2 10x+15=0
    Answer

     

    Calculate the discriminant b 2 4ac b 2 4ac for each equation and state the expected type of solutions.

    1. x 2 +4x+4=0 x 2 +4x+4=0

      b 2 4ac= ( 4 ) 2 4( 1 )( 4 )=0. b 2 4ac= ( 4 ) 2 4( 1 )( 4 )=0. There will be one rational double solution.

    2. 8 x 2 +14x+3=0 8 x 2 +14x+3=0

      b 2 4ac= ( 14 ) 2 4( 8 )( 3 )=100. b 2 4ac= ( 14 ) 2 4( 8 )( 3 )=100. As 100 100 is a perfect square, there will be two rational solutions.

    3. 3 x 2 5x2=0 3 x 2 5x2=0

      b 2 4ac= ( −5 ) 2 4( 3 )( −2 )=49. b 2 4ac= ( −5 ) 2 4( 3 )( −2 )=49. As 49 49 is a perfect square, there will be two rational solutions.

    4. 3 x 2 −10x+15=0 3 x 2 −10x+15=0

      b 2 4ac= ( −10 ) 2 4( 3 )( 15 )=−80. b 2 4ac= ( −10 ) 2 4( 3 )( 15 )=−80. There will be two complex solutions.

    Using the Pythagorean Theorem

    One of the most famous formulas in mathematics is the Pythagorean Theorem. It is based on a right triangle, and states the relationship among the lengths of the sides as a 2 + b 2 = c 2 , a 2 + b 2 = c 2 , where a a and b b refer to the legs of a right triangle adjacent to the 90° 90° angle, and c c refers to the hypotenuse. It has immeasurable uses in architecture, engineering, the sciences, geometry, trigonometry, and algebra, and in everyday applications.

    We use the Pythagorean Theorem to solve for the length of one side of a triangle when we have the lengths of the other two. Because each of the terms is squared in the theorem, when we are solving for a side of a triangle, we have a quadratic equation. We can use the methods for solving quadratic equations that we learned in this section to solve for the missing side.

    The Pythagorean Theorem is given as

    a 2 + b 2 = c 2 a 2 + b 2 = c 2

    where a a and b b refer to the legs of a right triangle adjacent to the 90 90 angle, and c c refers to the hypotenuse, as shown in Figure 4.

    Right triangle with the base labeled: a, the height labeled: b, and the hypotenuse labeled: c
    Figure 4
    Example 12

    Finding the Length of the Missing Side of a Right Triangle

    Find the length of the missing side of the right triangle in Figure 5.

    Right triangle with the base labeled: a, the height labeled: 4, and the hypotenuse labeled 12.
    Figure 5
    Answer

     

    As we have measurements for side b and the hypotenuse, the missing side is a.

    a 2 + b 2 = c 2 a 2 + (4) 2 = (12) 2 a 2 +16 = 144 a 2 = 128 a = 128 = 8 2 a 2 + b 2 = c 2 a 2 + (4) 2 = (12) 2 a 2 +16 = 144 a 2 = 128 a = 128 = 8 2

    Try It #9

    Use the Pythagorean Theorem to solve the right triangle problem: Leg a measures 4 units, leg b measures 3 units. Find the length of the hypotenuse.

    2.5 Section Exercises

    Verbal

    1.

    How do we recognize when an equation is quadratic?

    2.

    When we solve a quadratic equation, how many solutions should we always start out seeking? Explain why when solving a quadratic equation in the form a x 2 +bx+c=0 a x 2 +bx+c=0 we may graph the equation y=a x 2 +bx+c y=a x 2 +bx+c and have no zeroes (x-intercepts).

    3.

    When we solve a quadratic equation by factoring, why do we move all terms to one side, having zero on the other side?

    4.

    In the quadratic formula, what is the name of the expression under the radical sign b 2 4ac, b 2 4ac, and how does it determine the number of and nature of our solutions?

    5.

    Describe two scenarios where using the square root property to solve a quadratic equation would be the most efficient method.

    Algebraic

    For the following exercises, solve the quadratic equation by factoring.

    6.

    x 2 +4x21=0 x 2 +4x21=0

    7.

    x 2 9x+18=0 x 2 9x+18=0

    8.

    2 x 2 +9x5=0 2 x 2 +9x5=0

    9.

    6 x 2 +17x+5=0 6 x 2 +17x+5=0

    10.

    4 x 2 12x+8=0 4 x 2 12x+8=0

    11.

    3 x 2 75=0 3 x 2 75=0

    12.

    8 x 2 +6x9=0 8 x 2 +6x9=0

    13.

    4 x 2 =9 4 x 2 =9

    14.

    2 x 2 +14x=36 2 x 2 +14x=36

    15.

    5 x 2 =5x+30 5 x 2 =5x+30

    16.

    4 x 2 =5x 4 x 2 =5x

    17.

    7 x 2 +3x=0 7 x 2 +3x=0

    18.

    x 3 9 x =2 x 3 9 x =2

    For the following exercises, solve the quadratic equation by using the square root property.

    19.

    x 2 =36 x 2 =36

    20.

    x 2 =49 x 2 =49

    21.

    ( x1 ) 2 =25 ( x1 ) 2 =25

    22.

    ( x3 ) 2 =7 ( x3 ) 2 =7

    23.

    ( 2x+1 ) 2 =9 ( 2x+1 ) 2 =9

    24.

    ( x5 ) 2 =4 ( x5 ) 2 =4

    For the following exercises, solve the quadratic equation by completing the square. Show each step.

    25.

    x 2 9x22=0 x 2 9x22=0

    26.

    2 x 2 8x5=0 2 x 2 8x5=0

    27.

    x 2 6x=13 x 2 6x=13

    28.

    x 2 + 2 3 x 1 3 =0 x 2 + 2 3 x 1 3 =0

    29.

    2+z=6 z 2 2+z=6 z 2

    30.

    6 p 2 +7p20=0 6 p 2 +7p20=0

    31.

    2 x 2 3x1=0 2 x 2 3x1=0

    For the following exercises, determine the discriminant, and then state how many solutions there are and the nature of the solutions. Do not solve.

    32.

    2 x 2 6x+7=0 2 x 2 6x+7=0

    33.

    x 2 +4x+7=0 x 2 +4x+7=0

    34.

    3 x 2 +5x8=0 3 x 2 +5x8=0

    35.

    9 x 2 30x+25=0 9 x 2 30x+25=0

    36.

    2 x 2 3x7=0 2 x 2 3x7=0

    37.

    6 x 2 x2=0 6 x 2 x2=0

    For the following exercises, solve the quadratic equation by using the quadratic formula. If the solutions are not real, state No Real Solution.

    38.

    2 x 2 +5x+3=0 2 x 2 +5x+3=0

    39.

    x 2 +x=4 x 2 +x=4

    40.

    2 x 2 8x5=0 2 x 2 8x5=0

    41.

    3 x 2 5x+1=0 3 x 2 5x+1=0

    42.

    x 2 +4x+2=0 x 2 +4x+2=0

    43.

    4+ 1 x 1 x 2 =0 4+ 1 x 1 x 2 =0

    Technology

    For the following exercises, enter the expressions into your graphing utility and find the zeroes to the equation (the x-intercepts) by using 2nd CALC 2:zero. Recall finding zeroes will ask left bound (move your cursor to the left of the zero,enter), then right bound (move your cursor to the right of the zero,enter), then guess (move your cursor between the bounds near the zero, enter). Round your answers to the nearest thousandth.

    44.

    Y 1 =4 x 2 +3x2 Y 1 =4 x 2 +3x2

    45.

    Y 1 =−3 x 2 +8x1 Y 1 =−3 x 2 +8x1

    46.

    Y 1 =0.5 x 2 +x7 Y 1 =0.5 x 2 +x7

    47.

    To solve the quadratic equation x 2 +5x7=4, x 2 +5x7=4, we can graph these two equations

    Y 1 = x 2 +5x7 Y 2 =4 Y 1 = x 2 +5x7 Y 2 =4

    and find the points of intersection. Recall 2nd CALC 5:intersection. Do this and find the solutions to the nearest tenth.

    48.

    To solve the quadratic equation 0.3 x 2 +2x4=2, 0.3 x 2 +2x4=2, we can graph these two equations

    Y 1 =0.3 x 2 +2x4 Y 2 =2 Y 1 =0.3 x 2 +2x4 Y 2 =2

    and find the points of intersection. Recall 2nd CALC 5:intersection. Do this and find the solutions to the nearest tenth.

    Extensions

    49.

    Beginning with the general form of a quadratic equation, a x 2 +bx+c=0, a x 2 +bx+c=0, solve for x by using the completing the square method, thus deriving the quadratic formula.

    50.

    Show that the sum of the two solutions to the quadratic equation is b a b a .

    51.

    A person has a garden that has a length 10 feet longer than the width. Set up a quadratic equation to find the dimensions of the garden if its area is 119 ft.2. Solve the quadratic equation to find the length and width.

    52.

    Abercrombie and Fitch stock had a price given as P=0.2 t 2 5.6t+50.2, P=0.2 t 2 5.6t+50.2, where t t is the time in months from 1999 to 2001. ( t=1 t=1 is January 1999). Find the two months in which the price of the stock was $30.

    53.

    Suppose that an equation is given p=−2 x 2 +280x1000, p=−2 x 2 +280x1000, where x x represents the number of items sold at an auction and p p is the profit made by the business that ran the auction. How many items sold would make this profit a maximum? Solve this by graphing the expression in your graphing utility and finding the maximum using 2nd CALC maximum. To obtain a good window for the curve, set x x [0,200] and y y [0,10000].

    Real-World Applications

    54.

    A formula for the normal systolic blood pressure for a man age A, A, measured in mmHg, is given as P=0.006 A 2 0.02A+120. P=0.006 A 2 0.02A+120. Find the age to the nearest year of a man whose normal blood pressure measures 125 mmHg.

    55.

    The cost function for a certain company is C=60x+300 C=60x+300 and the revenue is given by R=100x0.5 x 2 . R=100x0.5 x 2 . Recall that profit is revenue minus cost. Set up a quadratic equation and find two values of x (production level) that will create a profit of $300.

    56.

    A falling object travels a distance given by the formula d=5t+16 t 2 d=5t+16 t 2 ft, where t t is measured in seconds. How long will it take for the object to travel 74 ft?

    57.

    A vacant lot is being converted into a community garden. The garden and the walkway around its perimeter have an area of 378 ft2. Find the width of the walkway if the garden is 12 ft. wide by 15 ft. long.

    A rectangle inside of a larger rectangle. The smaller rectangle has the length labeled: 15 feet and the width labeled: 12 feet. The distance between the two rectangles is labeled as x on all four sides.
    58.

    An epidemiological study of the spread of a certain influenza strain that hit a small school population found that the total number of students, P P , who contracted the flu t t days after it broke out is given by the model P= t 2 +13t+130, P= t 2 +13t+130, where 1t6. 1t6. Find the day that 160 students had the flu. Recall that the restriction on t t is at most 6.


    This page titled 2.6: Quadratic Equations is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform.