# How to Solve Quadratic Equations

Three Methods:Factoring the EquationUsing the Quadratic FormulaCompleting the Square

A quadratic equation is an equation where the highest exponent of a variable is 2. There are three main ways to solve quadratic equations: 1) to factor the quadratic equation if you can do so, 2) to use the quadratic formula, or 3) to complete the square. If you want to know how to master these three methods, just follow these steps.

## Steps

### Method 1 Factoring the Equation

- 1
**Combine all of the like terms and move them to one side of the equation.**The first step to factoring an equation is to move all of the terms to one side of the equation, keeping the term positive. To combine the terms, add or subtract all of the terms, the terms, and the constants (integer terms), moving them to one side of the equation so that nothing remains on the other side. Once the other side has no remaining terms, you can just write "0" on that side of the equal sign. Here's how you do it:^{[1]} - 2
To factor the expression, you have to use the factors of the term (3), and the factors of the constant term (-4), to make them multiply and then add up to the middle term, (-11). Here's how you do it:**Factor the expression.**- Since only has one set of possible factors, and , you can write those in the parenthesis: .
- Then, use process of elimination to plug in the factors of 4 to find a combination that produces -11x when multiplied. You can either use a combination of 4 and 1, or 2 and 2, since both of those numbers multiply to get 4. Just remember that one of the terms should be negative, since the term is -4.
- By trial and error, try out this combination of factors . When you multiply them out, you get . If you combine the terms and , you get , which is the middle term you were aiming for. You have just factored the quadratic equation.
- As an example of trial and error, let's try checking a factoring combination for that is an error (does not work): = . If you combine those terms, you get . Though the factors -2 and 2 do multiply to make -4, the middle term does not work, because you needed to get , not .

- 3
This will lead you to find two values for that will make the entire equation equal to zero, = 0. Now that you've factored the equation, all you have to do is put the expression in each set of parenthesis equal to zero. But why? -- because to get zero by multiplying, we have the "principle, rule or property" that one factor must be zero, then at least one of the factors in parentheses, as must be zero; so, either (3x + 1) or else (x - 4) must equal zero. So, you would write and also.**Set each set of parenthesis equal to zero**as separate equations. - 4
**Solve each "zeroed" equation independently.**In a quadratic equation, there will be two possible values for x. Find x for each possible value of x one by one by isolating the variable and writing down the two solutions for x as the final solution. Here's how you do it:- Solve 3x + 1 = 0
- 3x = -1 ..... by subtracting
- 3x/3 = -1/3 ..... by dividing
- x = -1/3 ..... simplified

- Solve x - 4 = 0
- x = 4 ..... by subtracting

- x = (-1/3, 4) ..... by making a set of possible, separate solutions, meaning x = -1/3, or x = 4 seem good.

- Solve 3x + 1 = 0
- 5
**Check x = -1/3 in (3x + 1)(x – 4) = 0:**

We have (3[-1/3] + 1)([-1/3] – 4) ?=? 0 ..... by substituting

(-1 + 1)(-4 1/3) ?=? 0 ..... by simplifying

(0)(-4 1/3) = 0 ..... by multiplying

therefore 0 = 0 ..... Yes, x = -1/3 works - 6
**Check x = 4 in (3x + 1)(x - 4) = 0:**

We have (3[4] + 1)([4] – 4) ?=? 0 ..... by substituting

(13)(4 – 4) ?=? 0 ..... by simplifying

(13)(0) = 0 ..... by multiplying

0 = 0 ..... Yes, x = 4 works- So, both solutions do "check" separately, and both are verified as working and correct for two different solutions.

### Method 2 Using the Quadratic Formula

- 1
**Combine all of the like terms and move them to one side of the equation.**Move all of the terms to one side of the equal sign, keeping the term positive. Write the terms in descending order of degrees, so that the term comes first, followed by the term and the constant term. Here's how you do it:- 4x
^{2}- 5x - 13 = x^{2}-5 - 4x
^{2}- x^{2}- 5x - 13 +5 = 0 - 3x
^{2}- 5x - 8 = 0

- 4x
- 2
**Write down the quadratic formula.**The quadratic formula is:^{[2]} - 3
**Identify the values of a, b, and c in the quadratic equation.**The variable*a*is the coefficient of the x^{2}term,*b*is the coefficient of the x term, and*c*is the constant. For the equation 3x^{2}-5x - 8 = 0, a = 3, b = -5, and c = -8. Write this down. - 4
**Substitute the values of a, b, and c into the equation.**Now that you know the values of the three variables, you can just plug them into the equation like this:- {-b +/-√ (b
^{2}- 4ac)}/2 - {-(-5) +/-√ ((-5)
^{2}- 4(3)(-8))}/2(3) = - {-(-5) +/-√ ((-5)
^{2}- (-96))}/2(3)

- {-b +/-√ (b
- 5
**Do the math.**After you've plugged in the numbers, do the remaining math to simplify positive or negative signs, multiply, or square the remaining terms. Here's how you do it:- {-(-5) +/-√ ((-5)
^{2}- (-96))}/2(3) = - {5 +/-√(25 + 96)}/6
- {5 +/-√(121)}/6

- {-(-5) +/-√ ((-5)
- 6
If the number under the radical symbol is a perfect square, you will get a whole number. If the number is not a perfect square, then simplify to its simplest radical version. If the number is negative,**Simplify the square root.***and you're sure it's supposed to be negative,*then the roots will be complex. In this example, √(121) = 11. You can write that x = (5 +/- 11)/6. - 7
**Solve for the positive and negative answers.**If you've eliminated the square root symbol, then you can keep going until you've found the positive and negative results for x. Now that you have (5 +/- 11)/6, you can write two options:- (5 + 11)/6
- (5 - 11)/6

- 8
**Solve for the positive and negative answers.**Just do the math:- (5 + 11)/6 = 16/6
- (5-11)/6 = -6/6

- 9
**Simplify.**To simplify each answer, just divide them by the largest number that is evenly divisible into both numbers. Divide the first fraction by 2, and divide the second by 6, and you have solved for x.- 16/6 = 8/3
- -6/6 = -1
- x = (-1, 8/3)

### Method 3 Completing the Square

- 1
**Move all of the terms to one side of the equation.**Make sure that the*a*or x^{2}term is positive. Here's how you do it:^{[3]}- 2x
^{2}- 9 = 12x = - 2x
^{2}- 12x - 9 = 0- In this equation, the
*a*term is 2, the*b*term is -12, and the*c*term is -9.

- In this equation, the

- 2x
- 2
**Move the**The constant term is the numerical term without a variable. Move it to the right side of the equation:*c*term or constant to the other side.- 2x
^{2}- 12x - 9 = 0 - 2x
^{2}- 12x = 9

- 2x
- 3
**Divide both sides by the coefficient of the**If x*a*or x^{2}term.^{2}has no term in front of it, and just has a coefficient of 1, then you can skip this step. In this case, you'll have to divide all of the terms by 2, like so:- 2x
^{2}/2 - 12x/2 = 9/2 = - x
^{2}- 6x = 9/2

- 2x
- 4
**Divide**The*b*by two, square it, and add the result to both sides.*b*term in this example is -6. Here's how you do it:- -6/2 = -3 =
- (-3)
^{2}= 9 = - x
^{2}- 6x + 9 = 9/2 + 9

- 5
**Simplify both sides.**Factor the terms on the left side to get (x-3)(x-3), or (x-3)^{2}. Add the terms on the right side to get 9/2 + 9, or 9/2 + 18/2, which adds up to 27/2. - 6
**Find the square root of both sides.**The square root of (x-3)^{2}is simply (x-3). You can write the square root of 27/2 as ±√(27/2). Therefore, x - 3 = ±√(27/2). - 7
**Simplify the radical and solve for x.**To simplify ±√(27/2), look for a perfect square within the numbers 27 or 2 or in their factors. The perfect square 9 can be found in 27, because 9 x 3 = 27. To take 9 out of the radical sign, pull out the number 9 from the radical, and write the number 3, its square root, outside the radical sign. Leave 3 in the numerator of the fraction under the radical sign, since that factor of 27 cannot be taken out, and leave 2 on the bottom. Then, move the constant 3 on the left side of the equation to the right, and write down your two solutions for x:- x = 3 +(√6)/2
- x = 3 - (√6)/2)

## Tips

- As you can see, the radical sign did not disappear completely. Therefore, the terms in the numerator cannot be combined (because they are not like terms). There is no purpose, then, to splitting up the plus-or-minus. Instead, we divide out any common factors --- but
**ONLY**if the factor is common to both of the constants**AND**the radical's coefficient. - If the number under the square root is not a perfect square, then the last few steps run a little differently. Here is an example:
- If the "b" is an even number, the formula is : {-(b/2) +/- √(b/2)-ac}/a.

## Article Info

Categories: Algebra