Solving Quadratics by Factoring and Completing the Square

Note that factoring the sum and difference of cubes, and more advanced polynomial factoring and exponential factoring can be found in the Advanced Factoring section.

Again, there are several ways to solve quadratics, or find the solution (also known as the $ x$-intercepts, roots, zeros, or values) to a quadratic equation.

In the Introduction to Quadratics section, we learned two ways to solve quadratics:

  • Quadratic Formula: For $ 0=a{{x}^{2}}+bx+c$, solutions are $ \displaystyle \frac{{-b\pm \sqrt{{{{b}^{2}}-4ac}}}}{{2a}}$. This method can always be used!
  • Graphing Quadratics: Looking for zeros by pinpointing where the quadratic graph ($ y=a{{x}^{2}}+bx+c$) crosses the $ x$-axis.

In this section, we’ll talk about two other ways:

  • Factoring and setting factors to 0. However, not every quadratic can be factored.
  • Completing the square and taking the square root of each side. We’ll also use this to go from Standard Form to Vertex Form.

Factoring Methods

Just the way we learned how to multiply binomials (via FOILING), we need to learn how to do the opposite, or factor (or “unfoil”) the resulting trinomials. After we’ve done enough multiplying binomials and factoring trinomials, this will become second nature. We’ll also learn other basic polynomial factoring methods, like taking out the Greatest Common Factors (GCF) of polynomials, and factoring the difference of two squares and factoring perfect square trinomials. Think of factoring as just “pulling apart” things that are multiplied together. It’s the same principle of factoring 35 and getting 5 and 7. When we factor in algebra, we do the same thing, but with variables.

Here are some important notes about using factoring to solve:

  • When we factor to solve, we set each factor with a variable in it to 0, and solve for the variable to get the roots. This is because any factor that becomes 0 makes the whole expression 0. (This is the zero product property: if  $ ab=0$, than $ a=0$ and/or $ b=0$).
  • When we factor to solve quadratics or any polynomials, we can never just divide by factors (with variables) on both sides to get rid of them. If we do this, we may be missing solutions!
  • If the coefficient of the term with the $ \boldsymbol {{{x}^{2}}}$ is negative, I like to factor it out and just add a negative sign in front of the factors after factoring.
  • Not every quadratic can be factored; if it can’t, we’ll have to use one of the other methods, such as the Quadratic Formula.

Let’s first learn factoring techniques so we can solve the quadratics that can be factored; it’s a pretty simple way to solve them. And later, when we learn how to solve more generic polynomials in the Graphing and Finding Roots of Polynomial Functions and Advanced Factoring sections, we’ll know how to factor!

HINT: In many of the examples below, we’ll need to find factors of a number to see which ones might work in factoring a quadratic. We can use a Graphing Calculator to help with this: Press y=, enter the number to be factored/x (for example, $ \frac{{144}}{x}$), press 2nd graph (table), and the factor pairs will be displayed (look for the integer ones). You may want to go to 2nd window (tblset) and set TblStart to 0, and $ \Delta $ tbl to 1 before that.

Taking out the Greatest Common Factor (GCF)

Let’s first start with polynomials that need some simple factoring. We always need to pull out the GCF (largest coefficients/variables that go into all the terms) first. (We first learned about the GCF with regular numbers here in the Multiplying and Dividing Section.)

Remember from the Exponents and Radicals in Algebra section that we add exponents when we multiply with the same base, and subtract exponents when we divide with the same base.

Here are some examples of factoring polynomials by taking the GCF out (which is actually dividing!). Remember to always multiply back to check the factoring; it’s much easier to multiply than divide.

Polynomial GCF What’s Left Factored Polynomial
$ 2{{x}^{3}}+4x$

$ 2x$

$ {{x}^{2}}+2$

 $ 2x\left( {{{x}^{2}}+2} \right)$
$ 9{{x}^{4}}-18{{x}^{2}}+12x+36$

$ 3$

$ 3{{x}^{4}}-6{{x}^{2}}+4x+12$

 $ 3\left( {3{{x}^{4}}-6{{x}^{2}}+4x+12} \right)$
$ 4{{x}^{4}}{{y}^{3}}+64{{x}^{2}}y-12{{x}^{3}}{{y}^{8}}$

$ 4{{x}^{2}}y$

$ {{x}^{2}}{{y}^{2}}+16-3x{{y}^{7}}$

 $ 4{{x}^{2}}y\left( {{{x}^{2}}{{y}^{2}}+16-3x{{y}^{7}}} \right)$

See how it’s reversing the distributive property? It’s “undistributing”.

Factoring Trinomials (Quadratics)

When we factor quadratics, we try to “UNFOIL” to get two binomials; we learned how to “FOILhere in the Introduction to Multiplying Polynomials section. Again, remember that when factoring trinomials, we always need to take out any GCF’s first!

This method does not always work; certain quadratics are “unfactorable” (prime, or irreducible), and must be solved with another method. Remember that, with a trinomial, if the discriminant $ {{b}^{2}}-4ac$, where $ a$, $ b$, and $ c$ are from $ a{{x}^{2}}+bx+c$, isn’t a perfect square (like 25 or 49), you can’t factor it. Here are some methods that we use for factoring trinomials:

Special Products of Binomials – Easily Factored

There are two special cases where you can use a shortcut to factor the trinomials: Difference of Two Squares (actually not a trinomial, but a binomial!), and Perfect Square Trinomials. We saw these here in the Introduction to Multiplying Polynomials section. Here are the two cases and how to factor them:

Quadratic Factoring

Notes

$ \displaystyle \color{#800000}{{{{x}^{2}}-{{y}^{2}}}}=\left( {x-y} \right)\left( {x+y} \right)\,$

 

Examples:

$ \displaystyle \begin{align}\color{#800000}{{81{{x}^{2}}-1}}&=\left( {9a-1} \right)\left( {9a+1} \right)\\\color{#800000}{{36{{x}^{2}}{{y}^{6}}-9{{x}^{2}}{{y}^{2}}}}&=\left( {6x{{y}^{3}}-3xy} \right)\left( {6x{{y}^{3}}+3xy} \right)\\\,\color{#800000}{{4{{{\left( {x-4} \right)}}^{2}}-16}}&=4\left[ {{{{\left( {x-4} \right)}}^{2}}-4} \right]\\&=4\left[ {\left( {x-4} \right)-2} \right]\left[ {\left( {x-4} \right)+2} \right]\\\,&=4\left( {x-6} \right)\left( {x-2} \right)\end{align}$

Difference of Two Squares

This is a special case when you have the difference of two perfect square terms. When you factor this, the middle terms cancel themselves out when multiplying.

 

You end up with two binomials: the square root of the first term minus the square root of the second term, multiplied by the square root of the first term plus the square root of the second term. Remember that when we take the square root of a term with an exponent, we divide the exponent by 2. Multiply them back to see how they work!

$ \displaystyle \begin{array}{l}\color{#800000}{{{{x}^{2}}+2xy+{{y}^{2}}}}=\left( {x+y} \right)\left( {x+y} \right)={{\left( {x+y} \right)}^{2}}\\\color{#800000}{{{{x}^{2}}-2xy+{{y}^{2}}}}=\left( {x-y} \right)\left( {x-y} \right)={{\left( {x-y} \right)}^{2}}\end{array}$

 

Examples:

$ \displaystyle \begin{array}{l}\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\color{#800000}{{81{{x}^{2}}-18x+1}}={{\left( {9x-1} \right)}^{2}}\\\color{#800000}{{36{{x}^{2}}{{y}^{6}}+36{{x}^{2}}{{y}^{4}}+9{{x}^{2}}{{y}^{2}}}}={{\left( {6x{{y}^{3}}+3xy} \right)}^{2}}\end{array}$

           

See how the middle term is the twice the product of the square root of the first term $ (6x{{y}^{3}})$ and the square root of the last term $ (3xy)$?

Perfect Square Trinomial

This is a special case where the first and last terms of the trinomial are perfect squares and the middle term is twice the product of the square roots of those respective squares. Watch the signs: a minus before the second term in the trinomial means a minus in the binomial that is squared.

 

You end up with a perfect square binomial: the square root of the first term of the trinomial added to or subtracted from the square root of the last term of the trinomial. Multiply them back to see how they work!

Guess and Check

Guess and Check” is just what it sounds; we have certain rules, but we try combinations to see what will work.

NOTE: Always take a quick look to see if the trinomial is a perfect square trinomial, but you try the guess and check. In these cases, the middle term will be twice the product of the respective square roots of the first and last terms, as we saw above. For example, $ \displaystyle {{x}^{2}}-12xy+36{{y}^{2}}=\left( {x-6y} \right)\left( {x-6y} \right)={{\left( {x-6y} \right)}^{2}}$.

Let’s start with an example; let’s “UNFOIL” or factor one of the first examples that we worked with in Quadratics. Here’s how we FOIL’ed, and how we “UNFOIL“:

FOIL UnFOILing – coefficient of $ \boldsymbol{{{x}^{2}}}$ is 1
Note that the middle term of the trinomial (the $ 3x$) is the sum of the last terms in the binomials (the “1” and “2”), and the last term (the 2) is the product of the last terms in the binomials (the “1” and “2”).

 

To “unfoil”, we’ll need to find 2 numbers that when multiplied together equals “2” and added together equals “3”.This works since we have nothing (a coefficient of 1) before the $ {{x}^{2}}$. We can multiply back (using FOIL) to see that we got the right factors!

 

If we were to solve this trinomial, we would set the factors equal to zero: $ \displaystyle \begin{array}{c}x+2=0;\,\,\,\,\,\,\,x=-2\\x+1=0;\,\,\,\,\,\,\,x=-1\\\text{ }\left\{ {\,x:x=-2,\,-1\,} \right\}\end{array}$.

Note the signs when you “unfoil”; multiply these back to make sure they work:

Quadratic Factoring Example Notes

$ a{{x}^{2}}+bx+c$

$ \displaystyle \left( {x~+~\_\_} \right)\left( {x~+~\_\_} \right)$

 $ \displaystyle \begin{array}{c}{{x}^{2}}+3x+2=\\\left( {x~\,+~\,\underline{2}} \right)\left( {x~\,+\,~\underline{1}} \right)\end{array}$ When you have a “$ +$” before the $ \displaystyle c$: If there’s a “$ +$” before the $ \displaystyle bx$, use two “$ +$”s.
 $ a{{x}^{2}}-bx+c$  $ \displaystyle \left( {x~-~\_\_} \right)\left( {x~-~\_\_} \right)$  $ \displaystyle \begin{array}{c}{{x}^{2}}-3x+2=\\\left( {x~\,-~\,\underline{2}} \right)\left( {x~\,-\,~\underline{1}} \right)\end{array}$ When you have a “$ +$” before the $ c$: If there’s a “$ -$” before the $ \displaystyle bx$, use two “$ -$”s.
 $ a{{x}^{2}}+bx-c$  $ \displaystyle \left( {x~+~\_\_} \right)\left( {x~-~\_\_} \right)$  $ \displaystyle \begin{array}{c}{{x}^{2}}+3x-10=\\\left( {x~\,+~\,\underline{5}} \right)\left( {x~\,-\,~\underline{2}} \right)\end{array}$ When you have a “$ -$” before the $ c$: If there’s a “$ +$” before the $ \displaystyle bx$, the “$ +$” is before the larger factor (5); the other sign is a “$ -$”. Note that $ \displaystyle +5x+-2x=3x$.
 $ a{{x}^{2}}-bx-c$  $ \displaystyle \left( {x~-~\_\_} \right)\left( {x~+~\_\_} \right)$  $ \displaystyle \begin{array}{c}{{x}^{2}}-3x-10=\\\left( {x~\,-~\,\underline{5}} \right)\left( {x~\,+\,~\underline{2}} \right)\end{array}$ When you have a “$ -$” before the $ c$: If there’s a “$ -$” before the $ \displaystyle bx$, the “$ -$” is before the larger factor (5); the other sign is a “$ +$”. Note that $ \displaystyle -5x+2x=-3x$.

Sometimes it’s easier and more visual if you use an “X” when you begin to factor these; we’ll first show this when there are no numbers (coefficients) before the $ {{x}^{2}}$ term. We can put the coefficient of the constant term (“$ c$”) on the top, middle term (“$ b$”) on the bottom, and then use the two sides to find two numbers multiplied together to equal the bottom, but added together to equal the top. This is sometimes called the “A and M” or “AM” method, since we are looking for numbers that both add and multiply to certain numbers.

Let’s try this for the last problem above: $ {{x}^{2}}-3x-10=\underline{{\left( {x-5} \right)\left( {x+2} \right)}}$

Find two numbers that multiply together to get –10, but add together to get –3. “Guess and check” to see that –5 and 2 multiply together to get –10, and add together to get –3.

Let’s try another one that’s a little bit more complicated. Note again that to make the factoring easier, we always want to factor the GCF out of the polynomial before we “unfoil”.

Example: Factor $ 8{{x}^{2}}-22x+14$. First we take out the GCF (2) to get  $ 2(4{{x}^{2}}-11x+7)$. We still need to “unfoil” $ 4{{x}^{2}}-11x+7$. This is a little more complicated, since we have the $ 4{{x}^{2}}$. Now we need two factors of 4 and two factors of 7, so that multiplying the inside terms and multiplying the outside terms and adding them together will give us  –11. (We can see that this trinomial is factorable, since $ {{b}^{2}}-4ac$, the discriminant, is $ {{11}^{2}}-4\left( 4 \right)\left( 7 \right)=9$, which is a perfect square.)

When we’re “guessing and checking”, we’re actually “foiling back” to see if we got the right answer! You may want to use your factor trees (that we learned in the here in the Multiplying and Dividing section) to write down all the factors of the first and last coefficients. Here are all the combinations we could have. Note that the factors of 4 are 2 and 2, or 4 and 1. The factors of 7 are just 7 and 1.

Quadratic

Factors to Try

Guess and Check

$ 4{{x}^{2}}-11x+7=$

$ \displaystyle \left( {x~-~\_\_} \right)\left( {x~-~\_\_} \right)$

Outside + Inside Products: need to equal $ -11x$

$ \displaystyle \left( {1x~\,\,-~\,\,\underline{7}} \right)\left( {4x~\,\,-\,\,~\underline{1}} \right)$

      $ -1x+-28x=-29x$        NO!

$ \displaystyle \left( {2x~\,\,-~\,\,\underline{7}} \right)\left( {2x~\,\,-\,\,~\underline{1}} \right)$

     $ -2x+-14x=-16x$        NO!

$ \displaystyle \left( {2x~\,\,-~\,\,\underline{1}} \right)\left( {2x~\,\,-\,\,~\underline{7}} \right)$

    $ -14x+-2x=-16x$        NO!

$ \displaystyle \left( {4x~\,\,-~\,\,\underline{7}} \right)\left( {1x~\,\,-\,\,~\underline{1}} \right)$

      $ \displaystyle \,\,\,-4x+-7x=-11x$        YES!!!!

The complete factoring is:  $ 2(4x-7)(x-1)$. If we were to solve this trinomial, we would get $ \displaystyle \left\{ {x:\text{ }x=\frac{7}{4},\text{ }1} \right\}$ by setting each factor to 0 and solving for $ x$. Ignore the factor of 2, since 2 can never be 0; if we had an $ x$ on the outside, an additional factor would be 0.

Note that if we had $ 2(4{{x}^{2}}-11xy+7{{y}^{2}})$, we’d also have to split the $ y$’s at the end, so we would factor to $ 2(4x-7y)(x-y)$. Multiply it all to together to show that it works! (This is one we wouldn’t typically be asked to solve).

Grouping Method, or the “AC” Method

The Grouping Method for factoring trinomials has gotten more popular since the FOILing hasn’t been taught as much recently. (The reason it’s not taught as much is because it can be only used with binomial multiplication. I still like FOILing since I believe learning to factor is easier if we learn FOILing first).

With the AC method, we will first turn the trinomial into a quadratic with four terms, to be able to do the grouping. Then, we have to find a pattern of binomials so we can use the distributive property to put them together (like a puzzle!). Let’s look at the same problem as above (with the 2 already factored out, but let’s keep the $ y$’s at the end):

$ 4{{x}^{2}}-11xy+7{{y}^{2}}$

Let’s use our “X” again to help us solve by the grouping method. We can put the middle term’s coefficient “$ b$” (–11) on the bottom part of the “X”, but this time we multiply the first and last coefficients (the “$ a$” and “$ c$” of $ a{{x}^{2}}+bx+c$) and put it on the top part of an “X”: $ 4\times 7=28$. Remember that the sign of a term comes before it, and pay attention to signs.

Then we do the “guessing and checking” as follows:

Find two numbers that multiply together to get 28, but add together to get –11 . “Guess and check” to see that –4 and –7 multiply together to get 28, and add together to get –11.

Since we found that –4  and –7 “work”, we can rewrite the trinomial and separate the middle term, so we can factor with the grouping method:

Quadratic Factoring

Notes

$ \begin{array}{c}\,\color{#800000}{{\,4{{x}^{2}}-11xy+7{{y}^{2}}}}\\=4{{x}^{2}}-4xy-7xy+7{{y}^{2}}\end{array}$

Separate the middle terms with the coefficients that we found: two numbers multiplied together to get “AC”, which is $ –28$, but added together to get “$ b$”, which is $ –11$. It doesn’t matter which of the separated middle term you put first.

$ \displaystyle \begin{array}{c}\left( {4{{x}^{2}}-4xy} \right)-\left( {7xy+7{{y}^{2}}} \right)\\=\,4x\left( {x-y} \right)-7y\left( {x-y} \right)\end{array}$

Separate the quadratic into two groups of two terms, so we can take out the GCF in each set of terms. It doesn’t really matter which two you put together. Watch signs when taking out factors; remember that two “$ -$”s multiplied together is a “$ +$”. (If the trinomial is factorable, you’ll see that what’s left after the GCF is taken out are the same!

$ \displaystyle \begin{array}{c}4x\left( {x-y} \right)-7y\left( {x-y} \right)\\=\,\left( {4x-7y} \right)\left( {x-y} \right)\end{array}$

Factor, using the Distributive Property in reverse. Remember that $ ac-bc=\left( {a-b} \right)\left( c \right)$; think of the $ (x–y)$ as the $ c$; you only include it once.

$ \displaystyle \begin{array}{l}\,\color{#800000}{{4{{x}^{2}}-11xy+7{{y}^{2}}}}\\=\,\left( {4x-7y} \right)\left( {x-y} \right)\end{array}$

We did it! Make sure to FOIL or distribute back to make sure it’s correct.

Grouping Method with Four Terms

Here are some examples of the grouping method when we start out with four terms – which is actually easier! Notice that the first one is a four-term quadratic and the second is a cubic polynomial that includes factoring with the difference of squares. Remember the difference of squares factoring is $ \displaystyle {{x}^{2}}-{{y}^{2}}=\left( {x-y} \right)\left( {x+y} \right)$.

Quadratic Factoring Notes
 $ \displaystyle \begin{array}{l}\color{#800000}{{15{{x}^{2}}-3xz+5yx-yz}}\\\,\,\,\,=3x\left( {5x-z} \right)+y\left( {5x-z} \right)\\\,\,\,\,=\left( {3x+y} \right)\left( {5x-z} \right)\end{array}$ Since we have four terms, we don’t have to separate the middle terms; they are already separated for us!

 

Divide into two groups of two terms (look for a pattern – see the 15/–3 and 5/–1 coefficients!), and take out the GCFs. Then use the (reverse of the) Distributive Property to finish the factoring.

 $ \begin{array}{l}\color{#800000}{{3{{x}^{3}}-27x-2{{x}^{2}}+18}}\\\,\,\,\,=3x\left( {{{x}^{2}}-9} \right)-2\left( {{{x}^{2}}-9} \right)\\\,\,\,\,=\left( {3x-2} \right)\left( {{{x}^{2}}-9} \right)\\\,\,\,\,=\left( {3x-2} \right)\left( {x+3} \right)\left( {x-3} \right)\end{array}$ We can perform this type of factoring (if it works), even if we have a polynomial with a degree higher than 2.

 

Note that we had to use the difference of squares to factor further after using the grouping method.

Note that having four terms to factor doesn’t always work with the grouping method above; sometimes we have to look for differences of squares (sometimes combined with the grouping method). These are tricky, but you might see them!

Quadratic Factoring Notes
 $ \begin{array}{l}\color{#800000}{{9{{x}^{2}}-24xy+16{{y}^{2}}-25{{z}^{2}}}}\\\,\,\,\,={{\left( {3x-4y} \right)}^{2}}-25{{z}^{2}}\\\,\,\,\,=\left( {\left( {3x-4y} \right)-5z} \right)\left( {\left( {3x-4y} \right)+5z} \right)\\\,\,\,\,=\left( {3x-4y-5z} \right)\left( {3x-4y+5z} \right)\end{array}$ In this problem, we can’t really see a pattern, but we do notice that we have a lot of squares in the terms. This means we’ll probably use difference of squares to factor.

 

Note that the first three terms is a perfect square, and so is the last term. We can use difference of squares to factor. Then, use the (reverse of the) Distributive Property to finish the factoring.

$ \displaystyle \begin{array}{l}\color{#800000}{{4{{t}^{2}}-{{s}^{2}}-10t+5s}}\\\,\,\,\,=\left( {4{{t}^{2}}-{{s}^{2}}} \right)-10t+5s\\\,\,\,\,=\left( {2t+s} \right)\left( {2t-s} \right)-5\left( {2t-s} \right)\\\,\,\,\,=\left( {2t+s-5} \right)\left( {2t-s} \right)\end{array}$ This is another example where we can’t find a pattern to separate two groups of terms, but we notice that we have a difference of squares in the first two terms, and we can take out an $ -5$ from the last two terms. Watch signs! Then, factor using the (reverse of the) Distributive Property!

The Box Method

One more method that is getting popular is called the “Box” method. This is a modified “AC” method, but we use greatest common factors (GCF) to help us factor. This is sort of the opposite of what we did with the Multiplication Box in the Introduction to Multiplying Polynomial section.

Using a 2 by 2 box, put the first term in the upper left hand corner, the last term in the lower right hand corner. Then divide up the middle term in the remaining two corners so they add up to the middle term, and are factors of the first term times the last term (thus, the “AC” method). You can put the middle terms (upper right and lower left corners) in any order, but make sure the signs are correct so they add up to the middle term. If you have set up the box correctly, the diagonals should multiply to the same product.

Then get the GCFs across the columns and down the rows, using the same sign of the closest box (boxes either on the left or the top).

Try this for $ 10{{x}^{2}}-11x-6$:

GCFs $ \boldsymbol {2x}$ $ \boldsymbol {-3}$

Notice that the GCF $ -3$ is negative since there is a $ -15x$ in the closest box. The $ 2x$, $ 5x$ and $ 2$ are positive, because $ 10{{x}^{2}}$ and $ 4x$ are positive.

 

Note how the diagonals multiply to get the same product: $ -60{{x}^{2}}$.

$ \boldsymbol {5x}$ $ 10{{x}^{2}}$ $ -15x$
$ \boldsymbol {2}$ $ 4x$ $ -6$

Then read across and down to get the factors: $ (5x+2)(2x–3)$. Foil it back, and we see that we got it correct! If we were to solve this trinomial, we would get $ \displaystyle \left\{ {\,x:x=-\frac{2}{5},\,\,\,\frac{3}{2}\,} \right\}$ by setting each factor to 0 and solving for $ x$.

The “Star” Method

Another method for factoring trinomials is the “Star” Method, which is kind of a combination of the Guess-and-Check “X” method and the “AC” method. Use $ 10{{x}^{2}}-11x-6$, setting up the “star” as follows:

The “AC” Method without Grouping

There’s another new method to factor trinomials out there; it’s similar to the “star” method, but without drawing the “star”. Again, use $ 10{{x}^{2}}-11x-6$:

Quadratic Factoring Notes
$ \displaystyle \begin{array}{c}\color{#800000}{{10{{x}^{2}}-11x-6}}\\\\\,\,{{{x}^{2}}-11x-60}\\\,\left( {x-15} \right)\left( {x+4} \right)\end{array}$ Rewrite the trinomial without the 10 before the $ {{x}^{2}}$, but put $ -60$ at the end. This is the coefficient of the first term (10) multiplied by the coefficient of the last term (– 6), like an “AC” method.

 

Then, factor like you normally would: find two numbers that add together to get 11 and multiply to get 60.

$ \displaystyle \begin{align}\left( {x-\frac{{15}}{{10}}} \right)&\left( {x+\frac{4}{{10}}} \right)\\\,\,\,\left( {x-\frac{3}{2}} \right)&\left( {x+\frac{2}{5}} \right)\end{align}$ We’re not done yet; since we removed the 10 from the first term, we have to put it back!

Put the 10 (the “$ a$”, or what is in front of the $ {{x}^{2}}$) under the 15 and 4, and reduce the fractions if we can.

$ \begin{align}\left( {x-\frac{3}{2}} \right)&\left( {x+\frac{2}{5}} \right)\\\left( {2x-3} \right)&\left( {5x+2} \right)\end{align}$ You can either solve at that point by setting each factor to 0, or to get in factored form, move the denominators over back to the front of the $ x$’s. Weird, but it works!

Completing the Square (Square Root Method)

Completing the square is what is says: we take a quadratic expression in standard form $ a{{x}^{2}}+bx+c$ and manipulate it to have a binomial square in it, like $ a{{\left( {x+b} \right)}^{2}}+c$. This way we can solve it by isolating the binomial square (getting it on one side) and taking the square root of each side. This is commonly called the square root method. We can also complete the square to find the vertex more easily, since the vertex form is $ y=a{{\left( {x-h} \right)}^{2}}+k$ (see below).

First think about what happens when we square a binomial by looking at: $ \displaystyle {{\left( {x+3} \right)}^{2}}=\left( {x+3} \right)\left( {x+3} \right)={{x}^{2}}+3x+3x+9={{x}^{2}}+6x+9$. (We first saw these perfect square trinomials in the here in the Introduction To Polynomials section.) Since we add the product of the middle terms twice, we have twice the product of the first ($ x$) and second (3) terms in the middle (to get $ 6x$). See also how we have the square of the second term (3) at the end (9). Thus, to complete the square of a trinomial that isn’t a perfect square, we need to halve the second term and square it – and then add that number so the square can be complete. Then we have to make sure to add the same thing to the other side.

Then, we take the square root of each side; remember that we need to include the plus and minus of the right hand side, since by definition, the square root is just the positive. Another way to think of it is the absolute value of the left side equals the right side, so we have to include the plus and minus of the right side.

(Note: you may want to review solving square root equations here in the Solving Exponential and Radical Equations section.)

Let’s work with $ {{x}^{2}}+8x+15=0$ first, since it just starts with an $ {{x}^{2}}$ (coefficient of $ {{x}^{2}}$ is 1):

Completing the Square Problem

Notes

$ \displaystyle \begin{array}{c}\color{#800000}{{{{x}^{2}}+8x+15=0}}\\\\{{x}^{2}}+8x=-15\end{array}$ Since the coefficient of the $ {{x}^{2}}$ is 1, proceed to move the constant to right side, so we only have $ x$’s on the left side. We are ready to complete the square!
$ \require{cancel} \begin{align}\left( {{{x}^{2}}+8x+\,\,\underline{{\,\,\,\,\,\,}}\,} \right)&=-15+\,\,\underline{{\,\,\,\,\,\,}}\\\left( {{{x}^{2}}+8x+\color{#2E8B57}{{\underline{{{{{\left( {\frac{8}{2}} \right)}}^{2}}}}}}\,} \right)&=-15+\color{#2E8B57}{{\underline{{{{{\left( {\frac{8}{2}} \right)}}^{2}}}}}}\\{{\left( {x+\underline{4}} \right)}^{2}}&=-15+\underline{{{{4}^{2}}}}\\&=-15+16=1\end{align}$ Divide the coefficient of the “$ x$” term (8) by two (to get 4) to start building the square. Square this number (to get 16) and add it to both sides. (As an example of why we can do this: $ 2=2$, so $ \displaystyle 2+\underline{4}=2+\underline{4}$.)

Remember that the number inside the square (4) is the same number as the middle term (8) of the original divided by 2.

$ \begin{array}{l}\,\,\,\,\,{{\left( {x+4} \right)}^{2}}=1\\\sqrt{{{{{\left( {x+4} \right)}}^{2}}}}=\pm \sqrt{1}\end{array}$ Now take the square root of each side to start isolating the $ x$ (getting the $ x$ by itself).

Remember when we take the square root of the right side, we have to include the plus and the minus, since, by definition, the square root of something is just the positive number.

$ \begin{align}\sqrt{{{{{\left( {x+4} \right)}}^{2}}}}&=+\,\sqrt{1}\\x+4&=1\\x&=-3\end{align}$         $ \begin{align}\sqrt{{{{{\left( {x+4} \right)}}^{2}}}}&=-\,\sqrt{1}\\x+4&=-1\\x&=-5\end{align}$

At this point, I like to divide up the equation into two equations: one with the plus, and one with the minus.

When we solve for $ x$, we get –3 and 5.

Note that it would have been much easier to factor this quadratic, but, like the quadratic equation, we can use the completing the square method for any quadratic. (We may not always get a real number for the answer(s); we’ll talk about imaginary numbers later).

Here’s one that’s a little trickier, because of the radical in the coefficient of $ x$:

Completing the Square Problem Notes
$ {{x}^{2}}-4x\sqrt{5}+12=0$

 

$ {{x}^{2}}-4\sqrt{5}x=-12$

Put the 4 and $ \sqrt{5}$ together and then $ 4\sqrt{5}$ is the coefficient of $ x$. Move the constant to the right side, and we are ready to complete the square!
$ \displaystyle \begin{align}\left( {{{x}^{2}}-4\sqrt{5}x+\,\,\underline{{\,\,\,\,\,\,}}\,} \right)&=-12+\,\,\underline{{\,\,\,\,\,\,}}\\\left( {{{x}^{2}}-4\sqrt{5}x+\color{#2E8B57}{{{{{\left( {2\sqrt{5}} \right)}}^{2}}}}\,} \right)&=-12+\color{#2E8B57}{{{{{\left( {2\sqrt{5}} \right)}}^{2}}}}\\{{\left( {x-\underline{{2\sqrt{5}}}} \right)}^{2}}&=-12+\underline{{{{{\left( {2\sqrt{5}} \right)}}^{2}}}}\\&=-12+{{\left( 2 \right)}^{2}}{{\left( {\sqrt{5}} \right)}^{2}}\\&=-12+20=8\end{align}$ When we divide $ 4\sqrt{5}$ by 2, we get $ 2\sqrt{5}$ (think of the $ \sqrt{5}$ sort of like a variable).

 

When we square $ 2\sqrt{5}$, we have to “push through” the exponent to get $ {{\left( 2 \right)}^{2}}{{\left( {\sqrt{5}} \right)}^{2}}$, which is 20.

$ \displaystyle \begin{align}{{\left( {x-2\sqrt{5}} \right)}^{2}}&=8\\\sqrt{{{{{\left( {x-2\sqrt{5}} \right)}}^{2}}}}&=\pm \sqrt{8}\\x-2\sqrt{5}&=\pm \sqrt{8}=\pm 2\sqrt{2}\\x&=\pm 2\sqrt{2}+2\sqrt{5}\end{align}$ Now take the square root of each side. The left side is just $ x-2\sqrt{5}$, and it’s good to simplify $ \sqrt{8}$ to $ 2\sqrt{2}$.

Then add $ 2\sqrt{5}$ to both sides to get $ x$ by itself. The answers are sort of complicated since we can’t combine the $ 2\sqrt{2}$ and $ 2\sqrt{5}$ terms, but the answers are “exact”.

Here’s one where the coefficient of the $ {{x}^{2}}$ isn’t 1. Remember again that if we can take out any factors (GCF)  across the whole trinomial, do it first and complete the square with the trinomial only. This gets a little more complicated, but it’s not too bad:

Completing the Square Problem Notes
$ \displaystyle 4{{x}^{2}}-10x-24=0$

 

$ \displaystyle \begin{align}\frac{{4{{x}^{2}}}}{2}-\frac{{10x}}{2}&=\frac{{24}}{2}\\2{{x}^{2}}-5x&=12\\2\left( {{{x}^{2}}-\frac{5}{2}x} \right)&=12\\{{x}^{2}}-\frac{5}{2}x&=6\end{align}$

First, move the constant to right side, so we only have $ x$’s on the left side. Then, divide the whole equation by the GCF (2).

 

To complete the square, divide through by whatever’s in front (the coefficient) of the $ {{x}^{2}}$. Notice that we have to divide the second term by 2, also, to get $ \displaystyle \frac{5}{2}$. At this point, you can divide both sides by the 2.

Note: You can also just divide the whole equation by 4 right away to get a coefficient of 1 for the $ {{x}^{2}}$. Then, proceed to complete the square below. This method doesn’t work for completing the square to get vertex method, though.

$ \displaystyle \begin{align}{{x}^{2}}-\frac{5}{2}x+\underline{{\,\,\,\,\,\,}}&=6+\underline{{\,\,\,\,\,\,}}\\{{x}^{2}}-\frac{5}{2}x+\color{#03A89E}{{\underline{{{{{\left( {\frac{5}{4}} \right)}}^{2}}}}}}&=6+\underline{{\color{#03A89E}{{{{{\left( {\frac{5}{4}} \right)}}^{2}}}}}}\\{{\left( {x-\underline{{\frac{5}{4}}}} \right)}^{2}}&=6+\underline{{{{{\left( {\frac{5}{4}} \right)}}^{2}}}}=6+\underline{{\frac{{25}}{{16}}}}\\&=\frac{{96}}{{16}}+\underline{{\frac{{25}}{{16}}}}=\frac{{121}}{{16}}\end{align}$ Now complete the square the same way we did above. Halve the middle term to get $ \displaystyle \frac{5}{4}$ (this number will go in the binomial that will be squared), and square it to complete the square. Thus, $ \displaystyle {{\left( {\frac{5}{4}} \right)}^{2}}$ is added to both sides of the equation. Simplify the right-hand side.
$ \begin{align}{{\left( {x-\frac{5}{4}} \right)}^{2}}&=\frac{{121}}{{16}}\\\sqrt{{{{{\left( {x-\frac{5}{4}} \right)}}^{2}}}}&=\pm \sqrt{{\frac{{121}}{{16}}}}\\\,\,\,\,\,\,\,\,\,\,\,\,\,x-\frac{5}{4}&=\pm \frac{{11}}{4}\end{align}$ Again, we just want to take the square root of each side.

Remember when we take the square root of the right side, we have to include the plus and the minus, since, by definition, the square root of something is just the positive number.

$ \begin{align}x-\frac{5}{4}&=\frac{{11}}{4}\\x&=\frac{{16}}{4}=4\end{align}$         $ \begin{align}x-\frac{5}{4}&=-\frac{{11}}{4}\\x&=-\frac{6}{4}=-\frac{3}{2}\end{align}$ Divide up the equation into two equations: one with the plus and one with the minus.

When we solve for $ x$, we get 4 and $ \displaystyle -\frac{3}{2}$.

Note: There is another method for Completing the Square from Standard Form to solve. For standard equation $ \displaystyle a{{x}^{2}}+bx-c=0$, first subtract $ c$ from both sides to get in the form $ \displaystyle a{{x}^{2}}+bx=-c$. If $ a$ is a perfect square, add $ \displaystyle \frac{{{{b}^{2}}}}{{4a}}$ to both sides and then factor and simplify. If $ a$ is not a perfect square, first multiply both sides by anything that makes $ a$ a perfect square (you can always multiply by $ a$), add $ \displaystyle \frac{{{{b}^{2}}}}{{4a}}$ to both sides and then factor and simplify. Try this for the example: $ \displaystyle 2{{x}^{2}}-5x-12=0$: $ a=2$, $ b=-5$, and $ c=-12$:

$ \displaystyle \begin{align}2{{x}^{2}}-5x-12&=0;\,\,\,\,2{{x}^{2}}-5x=12\,\,(\text{move the coefficient to the right)}\,\,\\4{{x}^{2}}-10x&=24\,\,\,(\text{multiply both sides by }2\text{ to make a perfect square)}\\\,\,4{{x}^{2}}-10x+\frac{{100}}{{16}}&=24+\frac{{100}}{{16}}\,\,\,(\text{add }\frac{{{{b}^{2}}}}{{4a}}=\frac{{{{{\left( {-10} \right)}}^{2}}}}{{4\left( 4 \right)}}\text{=}\frac{{100}}{{16}}\text{ to both sides)}\\{{\left( {2x-\frac{{10}}{4}} \right)}^{2}}&=\frac{{121}}{4}\,\,\,(\text{simplify, making a square on the left)}\\2x-\frac{{10}}{4}&=\pm \frac{{11}}{2};\,\,\,x=4,\,-\frac{3}{2}\,\,\,(\text{take the square root of each side and solve)}\,\end{align}$

I’m not a fan of these “memorization methods” since I’d rather understand what I’m doing! But if it’s easier for you, go for it!

Note: Even though complex solutions are easier to obtain using the Quadratic Formula, here are examples on how we can get imaginary solutions by Completing the Square:

Completing the Square with Complex (Imaginary) Solutions

$ \displaystyle {{x}^{2}}-2x+2=0$

$ \displaystyle \begin{align}{{x}^{2}}-2x&=-2\\{{x}^{2}}-2x+\,\,\underline{{\,\,\,\,\,\,}}&=-2+\,\,\underline{{\,\,\,\,\,\,}}\\{{x}^{2}}-2x+\color{#03A89E}{{\underline{{{{{\left( {\frac{2}{2}} \right)}}^{2}}}}}}&=-2+\color{#03A89E}{{\underline{{{{{\left( {\frac{2}{2}} \right)}}^{2}}}}}}\\\,{{x}^{2}}-2x+\color{#03A89E}{{\underline{{{{{\left( 1 \right)}}^{2}}}}}}&=-2+\color{#03A89E}{{\underline{{{{{\left( 1 \right)}}^{2}}}}}}\\{{\left( {x-1} \right)}^{2}}&=-1\\\,\sqrt{{{{{\left( {x-1} \right)}}^{2}}}}&=\sqrt{{-1}}\\\,x-1&=\pm \sqrt{{-1}}=\pm \,i\\x&=\pm \,i+1=1\pm i\end{align}$

$ \displaystyle 3{{x}^{2}}-2x+2=0$

$ \displaystyle \begin{align}3{{x}^{2}}-2x&=-2\\\,3\left( {{{x}^{2}}-\frac{2}{3}x+\,\,\underline{{\,\,\,\,\,\,}}\,} \right)&=-2+\,\,\underline{{\,\,\,\,\,\,}}\\\frac{{\cancel{3}}}{{\cancel{3}}}\left( {{{x}^{2}}-\frac{2}{3}x+\,\,\underline{{\,\,\,\,\,\,}}\,} \right)&=\frac{{-2}}{3}+\,\,\underline{{\,\,\,\,\,\,}}\\{{x}^{2}}-\frac{2}{3}x+\color{#03A89E}{{\underline{{{{{\left( {\frac{{\cancel{{{}^{1}2}}}}{{\cancel{{{}^{3}6}}}}} \right)}}^{2}}}}}}&=\frac{{-2}}{3}+\underline{{\color{#03A89E}{{{{{\left( {\frac{1}{3}} \right)}}^{2}}}}}}\\{{\left( {x-\frac{1}{3}} \right)}^{2}}&=\frac{{{}^{{-6}}\cancel{{-2}}}}{{\cancel{{{}^{9}3}}}}+\frac{1}{9}=\frac{{-5}}{9}=-\frac{5}{9}\\\sqrt{{{{{\left( {x-\frac{1}{3}} \right)}}^{2}}}}&=\pm \sqrt{{-\frac{5}{9}}}=\pm \sqrt{{\frac{5}{9}}}i\\\,x-\frac{1}{3}&=\pm \frac{{\sqrt{5}}}{3}\,\,i;\,\,\,x=\,\frac{1}{3}\pm \frac{{\sqrt{5}}}{3}\,\,i\end{align}$

Completing the Square to get Vertex Form

We can use the same technique to put $ y=2{{x}^{2}}-5x-12$ (standard form, or $ y=a{{x}^{2}}+bx+c$) into vertex form ($ y=a{{(x-h)}^{2}}+k$). In this case, we want to leave everything on one side, so we have to undo what we’ve added or subtracted by completing the square:

Completing the Square Problem Notes
$ \displaystyle y=2{{x}^{2}}-5x-12\,$

 

$ \displaystyle \begin{align}y&=2\left( {{{x}^{2}}-\frac{5}{2}x+\,\,\underline{{\,\,\,\,\,\,\,\,}}\,} \right)\,-\,\,12-\,\,\underline{{\,\,\,\,\,\,\,\,}}\\y&=2\left( {{{x}^{2}}-\frac{5}{2}x+\,\frac{{25}}{{16}}\,\,} \right)\,-\,\,12-\,\,\underline{{\,\,\,\,\,\,\,\,}}\\y&=2{{\left( {x-\frac{5}{4}} \right)}^{2}}-\,\,12-\,\,\underline{{\,\,\,\,\,\,\,\,}}\end{align}$

First divide through by the coefficient of the $ {{x}^{2}}$, which is 2. Keep the –12 on the outside (don’t divide the –12 by 2). (Some methods like you to move the –12 to the other side, and then move it back after completing the square; that will work, too.)

 

To complete the square, divide $ \displaystyle -\frac{5}{2}$ by 2 to get $ \displaystyle -\frac{5}{4}$, and then square it to get $ \displaystyle \frac{{25}}{{16}}$. We have to be careful though, since whatever we add, we must subtract.

$ \require {cancel} \displaystyle \begin{align}y&=\color{#03A89E}{2}\left( {{{x}^{2}}-\frac{5}{2}x+\color{#03A89E}{{\underline{{\frac{{25}}{{16}}}}}}\,} \right)-12-\underline{{\color{#03A89E}{{(2)\frac{{25}}{{16}}}}}}\\y&=2{{\left( {x-\frac{5}{4}} \right)}^{2}}-12-\underline{{\,({}^{1}\cancel{2})\frac{{25}}{{\cancel{{{{{16}}_{8}}}}}}}}\\y&=2{{\left( {x-\frac{5}{4}} \right)}^{2}}-12-\underline{{\frac{{25}}{8}}}\end{align}$ Note that since we added an extra 2 times $ \displaystyle \frac{{25}}{{16}}$ at the beginning, we have to subtract 2 times $ \displaystyle \frac{{25}}{{16}}$ at the end. The reason we’re subtracting it is because all of this is on one side, so what we add, we must subtract. I like to simplify the fraction before combining it.

 

Then, add the –12 to the fraction.

$ \displaystyle \begin{align}y&=2{{\left( {x-\frac{5}{4}} \right)}^{2}}-\frac{{96}}{8}-\underline{{\frac{{25}}{8}}}\\y&=2{{\left( {x-\frac{5}{4}} \right)}^{2}}-\frac{{121}}{8}\end{align}$ Find a common denominator for the last two numbers (8), put them together, and we have the quadratic in vertex form!

 

Then, since $ (h,k)$ is the vertex in the equation $ y=a{{(x-h)}^{2}}+k$, $ \displaystyle \left( {\frac{5}{4},-\frac{{121}}{8}} \right)$ is the vertex.

Note: There is another way to convert from Standard Form to Vertex Form. For standard equation $ \displaystyle y=a{{x}^{2}}+bx+c$, we can use a General Vertex Form equation $ \displaystyle y=a{{\left( {x+\frac{b}{{2a}}} \right)}^{2}}-\frac{{{{b}^{2}}-4ac}}{{4a}}$ to convert to vertex formTry this for the example $ \displaystyle 2{{x}^{2}}-5x-12=0$: $ a=2$, $ b=-5$, and $ c=-12$: $ \displaystyle y=a{{\left( {x+\frac{b}{{2a}}} \right)}^{2}}-\frac{{{{b}^{2}}-4ac}}{{4a}}=2{{\left( {x+\frac{{-5}}{{2\left( 2 \right)}}} \right)}^{2}}-\frac{{{{{\left( {-5} \right)}}^{2}}-4\left( 2 \right)\left( {-12} \right)}}{{4\left( 2 \right)}}=2{{\left( {x-\frac{5}{4}} \right)}^{2}}-\frac{{121}}{8}\,$. Again, I’m not a fan of these “memorization methods” since I’d rather understand what I’m doing!

Obtaining Quadratic Equations from a Graph or Points

Note that we will learn more about parent graphs and transformations in the Parent Functions and Transformations section.

Sometimes you will be asked to look at a quadratic graph (or given the vertex and a point) and write the equation, in any form, for that graph. The easiest way to do this is to find the vertex from the graph, if possible, put the equation in vertex form, and then compute the “$ \boldsymbol {a}$ (coefficient of $ {{x}^{2}}$) from another point on the graph, such as a root or $ y$-intercept.

If you’re given the $ x$-intercepts (roots), you can also put the quadratic in factored form, and use another point, which is not one of the roots, to find the “$ a$” part of the equation. Remember that the “$ a$” in all three forms (standard, factored, and vertex) will be the same.

Here are some examples:

Quadratics Graphs Given

Finding Equations

Find an equation for this graph:

 

We know from the graph that the vertex is $ (-1,-8)$, the roots are $ (-3,0)$ and $ (1,0)$, and the $ y$-intercept is $ (0,-6)$. We know that “$ a$” is positive, since the parabola faces upwards. We also know that the “$ c$” (constant) is –6, because of the $ y$-intercept. So far, the vertex form is $ y=a{{\left( {x+1} \right)}^{2}}-8$, the factored form is $ y=a\left( {x+3} \right)\left( {x-1} \right)$, and the standard form is $ y=a{{x}^{2}}+bx-6$.

 

Now, get the “$ a$”. We can use either the vertex or factored form, but if we use the vertex form, we can’t plug in the vertex, and if we use the factored form, we can’t plug in a root. Use the factored form, and plug in the vertex for $ (x,y)$:

$ \begin{align}y&=a\left( {x+3} \right)\left( {x-1} \right)\\-8&=a\left( {-1+3} \right)\left( {-1-1} \right)\\-8&=a\left( {-4} \right)\\a&=2\end{align}$

 

The factored form is $ y=2\left( {x+3} \right)\left( {x-1} \right)$, the vertex form is $ y=2{{\left( {x+1} \right)}^{2}}-8$, and the standard form is $ y=2\left( {{{x}^{2}}+2x-3} \right)=2{{x}^{2}}+4x-6$. You can check all three forms by putting them all in a graphing calculator (like in $ \displaystyle {{Y}_{1}},\,\,\,{{Y}_{2}},\,\,\,{{Y}_{3}}$) to make sure they are the same graph.

 Find an equation for this graph:

We know from the graph that the vertex is $ (–1,7.875)$, and the roots are $ (–2.5,0)$ and $ (.5,0)$. $ a$” is negative, since the parabola faces downwards. So far, the vertex form is $ y=a{{\left( {x+1} \right)}^{2}}+7.875$ and the factored form is $ y=a\left( {x+2.5} \right)\left( {x-.5} \right)$.

 

Start with the vertex form, and plug in the $ (.5,0)$ root:

$ \begin{align}y&=a{{\left( {x+1} \right)}^{2}}+7.875\\0&=a{{\left( {.5+1} \right)}^{2}}+7.875\\-7.875&=2.25a\\a&=-3.5\end{align}$

 

The factored form is $ y=-3.5\left( {x+2.5} \right)\left( {x-.5} \right)$, the vertex form is $ y=-3.5{{\left( {x+1} \right)}^{2}}+7.875$, and the standard form is $ y=-3.5{{x}^{2}}-7x+4.375$.

Here’s another type of problem you might see where you have to write a Quadratic Function given a Parabola’s Axis of Symmetry and two Non-Vertex Points. Note that we have to use a System of Equations:

Quadratics Problem and Graph

Finding Equation

Write the equation of the quadratic in vertex form that has $ x=-3$ as the line of symmetry (LOS), and contains the (non-vertex) points $ \left( {-1,-7} \right)$ and $ \left( {0,-16} \right)$.

 

First draw a graph (from the LOS and the points, it looks like it will open downward):

We know that since the line of symmetry (LOS) is $ x=-2$, the vertex is on that line, so it has a –2 for the $ x$. Thus, the equation of the quadratic will be in the form:

$ y=a{{\left( {x+2} \right)}^{2}}+k$

 

Use the two points to create a system of equations:

$ \begin{align}y&=a{{\left( {x+2} \right)}^{2}}+k\\-7&=a{{\left( {-1+2} \right)}^{2}}+k\\-7&=a+k\end{align}$    $ \begin{align}y&=a{{\left( {x+2} \right)}^{2}}+k\\-16&=a{{\left( {0+2} \right)}^{2}}+k\\-16&=4a+k\end{align}$

 

The system is $ \left\{ \begin{array}{l}a+k=-7\\4a+k=-16\end{array} \right.$. Solve the first equation for $ k$ $ (k=-7-a)$, and then substitute in the second: $ 4a+\left( {-7-a} \right)=-16;\,\,\,\,\,a=-3$. Thus, $ k=-7-a=-7-\left( {-3} \right)=-4$.

 

The quadratic is: $ y=-3{{\left( {x+2} \right)}^{2}}-4\,\,\,\,\,\,\,\,\,\,\,\surd $.

Here’s one more where we are given three points and need to find the equation of the parabola. Note that we could have also used the calculator to perform a quadratic regression with the points, as we did here in the Scatterplots, Correlation, and Regression section.

Quadratic Problem Solution
Find the quadratic (standard form) that passes through the points $ \left( {-1,12} \right)$, $ \left( {1,4} \right)$ and $ \left( {3,36} \right)$. The quadratic is in the form $ y=a{{x}^{2}}+bx+c$, so we need to find these coefficients. Set up a system of equations with the $ \left( {x,y} \right)$ points:

$ \begin{align}12&=a{{\left( {-1} \right)}^{2}}+b\left( {-1} \right)+c\\4&=a{{\left( 1 \right)}^{2}}+b\left( 1 \right)+c\\36&=a{{\left( 3 \right)}^{2}}+b\left( 3 \right)+c\end{align}$      or     $ \begin{align}a-b+c&=12\\a+b+c&=4\\9a+3b+c&=36\end{align}$

 

Solve using elimination; we could also solve using substitution or matrices:

 

$ \displaystyle \begin{array}{l}\,\,a-b+c=12\\\,\,\underline{{a+b+c=4}}\\2a\,\,\,\,+\,\,2c=16\end{array}$         $ \displaystyle \begin{array}{l}3\left( {a-b+c=12} \right)\\\\3a-3b+3c=36\\\underline{{9a+3b+\,\,c=36}}\\12a\,\,\,\,\,\,\,\,\,+4c=72\end{array}$      $ \displaystyle \begin{array}{l}-2\left( {2a+2c=16} \right)\\\\\,\,-4a-4c=-32\\\,\,\,\,\underline{{12a+4c=72}}\\\,\,\,\,\,\,8a\,\,\,\,\,\,\,\,\,\,\,\,=40;\,\,a=5\end{array}$      $ \begin{array}{c}a=5\\12\left( 5 \right)+4c=72\\4c=12\\c=3\end{array}$       $ \begin{array}{c}a-b+c=12\\5-b+3=12\\-b=4\\b=-4\end{array}$

 

Since $ a=5,\,\,b=-4$, and $ c=3$, the quadratic is $ y=5{{x}^{2}}-4x+3$. Tricky!

Quadratics Review

Let’s review the different forms of Quadratics and also the methods for finding roots of Quadratics. Note that the “$ \boldsymbol{a}$” (coefficient of the $ \boldsymbol{{{{x}^{2}}}}$) is the same for all three forms!

Quadratics

Vertex Form

Standard Form

Factored Form

(Intercept Form)

Equation

 

(If $ a$ is positive, the parabola faces up, if it’s negative, it faces down)

$ \begin{array}{l}y=a{{(x-h)}^{2}}+k\\\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\text{or}\\y-k=a{{(x-h)}^{2}}\end{array}$

 

Multiply out to get from Vertex Form to Standard Form.

 

$ y=a{{x}^{2}}+bx+c$

 

Complete the square to get from Standard Form to Vertex Form.

 

$ y=a(x-{{r}_{1}})(x-{{r}_{2}})$

 

Multiply out to get from Factored Form to Standard Form.

Vertex

 $ \left( {h,\,k} \right)$

$ \displaystyle \left( {-\frac{b}{{2a}},f\left( {-\frac{b}{{2a}}} \right)} \right)$

($ \displaystyle -\frac{b}{{2a}}$ is the $ x$, plug $ \displaystyle -\frac{b}{{2a}}$ into the $ x$ to get the $ y$)

(Can also use Graphing Calculator.)

Vertex is: $ \displaystyle \left( {\frac{{{{r}_{1}}+{{r}_{2}}}}{2},f\left( {\frac{{{{r}_{1}}+{{r}_{2}}}}{2}} \right)} \right)$.

Also, can convert to Standard Form and use

$ \displaystyle \left( {-\frac{b}{{2a}},f\left( {-\frac{b}{{2a}}} \right)} \right)$

(Can also use Graphing Calculator.)

Roots or

$ \boldsymbol{x}$intercepts

(when $ y=0$)

Convert to Standard Form or Factored Form to get roots. See Method of Finding Roots table below.

$ ({{r}_{1}},0),\,\,({{r}_{2}},0)$

$ \boldsymbol{y}$intercepts

(when $ x=0$)

Evaluate for $ x=0$, or convert to Standard Form to get $ y$-intercept.  $ \left( {0,\,c} \right)$ Evaluate for $ x=0$, or convert to Standard Form to get $ y$-intercept.

Note:  Sometimes we’ll have a Quadratic in “almost” vertex form and play around with it to get it in vertex form. For example, if we have  $ \displaystyle y=-8{{\left( {\frac{1}{2}x+2} \right)}^{2}}+3$  and want to change it to vertex form, we can take out the $ \displaystyle \frac{1}{2}$ coefficient of $ x$ and do some algebra:  $ \displaystyle y=-8{{\left( {\frac{1}{2}x+2} \right)}^{2}}+3=-8{{\left( {\left( {\frac{1}{2}} \right)\left( {x+4} \right)} \right)}^{2}}+3=-8{{\left( {\frac{1}{2}} \right)}^{2}}{{\left( {x+4} \right)}^{2}}+3=-2{{\left( {x+4} \right)}^{2}}+3$, so the vertex is $ (–4, 3)$.

Method of Finding Roots

Set Up

Roots

Factoring

$ a\left( {x-{{r}_{1}}} \right)\left( {x-{{r}_{2}}} \right)=0$

$ ({{r}_{1}},0),\,\,({{r}_{2}},0)$

Completing the Square

$ \displaystyle \begin{align}a{{x}^{2}}+bx+c&=0\\\text{Example:}\\a\left( {{{x}^{2}}+\frac{b}{a}x} \right)&=-c;\,\,\,\left( {{{x}^{2}}+\frac{b}{a}x} \right)=-\frac{c}{a}\\{{x}^{2}}+\frac{b}{a}x+{{\left( {\frac{b}{{2a}}} \right)}^{2}}&=-\frac{c}{a}+{{\left( {\frac{b}{{2a}}} \right)}^{2}}\\{{\left( {x+\frac{b}{{2a}}} \right)}^{2}}&=-\frac{c}{a}+{{\left( {\frac{b}{{2a}}} \right)}^{2}}\\\text{Solve for }x\text{!}\end{align}$ Complete the square and solve for $ x$. Example:

$ \displaystyle \begin{align}\text{4}{{\text{x}}^{2}}+8x-16&=0\\\text{4}\left( {{{\text{x}}^{2}}+2x} \right)&=16;\,\,\,\,{{\text{x}}^{2}}+2x=4\,\\{{\text{x}}^{2}}+2x+{{\left( {\frac{2}{2}} \right)}^{2}}&=4+{{\left( {\frac{2}{2}} \right)}^{2}}\\{{\left( {x+1} \right)}^{2}}&=5;\,\,\,\,\,x+1=\pm \sqrt{5}\\x&=\pm \sqrt{5}-1\end{align}$

Quadratic Formula

$ a{{x}^{2}}+bx+c=0$

$ \displaystyle \left( {\frac{{-b\,-\,\sqrt{{{{b}^{2}}-4ac}}}}{{2a}},\,\,0} \right),\,\,\,\left( {\frac{{-b\,+\,\sqrt{{{{b}^{2}}-4ac}}}}{{2a}},\,\,0} \right)$

Calculator

Put equation in “Y=“, use “2nd TRACE” (CALC), and then either scroll down or push 2 for ZERO.  Use “Left Bound?” (move cursor to left of that zero and hit ENTER), “Right Bound?” (move cursor to right of that zero and hit ENTER), “Guess?” (hit ENTER)  to “zero” in on a zero. Do the same for each zero (use “Trace” + arrows to move closer to each zero). Note that you won’t get exact answers for irrational zeros on the calculator.

Note: If we are really having a difficult time factoring a quadratic trinomial, we could, as a last resort, use the Quadratic Formula, get the roots, and, if they are rational (integers or fractions), put the quadratic back in factored form. For example, if we used the Quadratic Formula and got roots $ \displaystyle \frac{4}{7}$ and –3, our factors would be $ \left( {7x+4} \right)\left( {x-3} \right)$.

Learn these rules, and practice, practice, practice!


For Practice: Use the Mathway widget below to try a Factoring problem. Click on Submit (the blue arrow to the right of the problem) and click on Factor to see the answer.

You can also type in your own problem, or click on the three dots in the upper right hand corner and click on “Examples” to drill down by topic.

If you click on Tap to view steps, or Click Here, you can register at Mathway for a free trial, and then upgrade to a paid subscription at any time (to get any type of math problem solved!).

On to Quadratic Inequalities – you are ready!