We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > Finite Math

Reading: Quadratic Formula

The general from of a quadratic is [latex]\displaystyle{a}{x}^{{2}}+{b}{x}+{c}={0}[/latex]. We will now solve this formula for x by completing the square

Example 1

 
Separate constant from variables [latex]\displaystyle{a}{x}^{{2}}+{b}{x}+{c}={0}[/latex]
Subtract c from both sides [latex]\displaystyle{a}{x}^{{2}}+{b}{x}+{c}-{c}={0}-{c}[/latex]
[latex]\displaystyle{a}{x}^{{2}}+{b}{x}=-{c}[/latex]
Divide each term by a [latex]\displaystyle\frac{{{a}{x}^{{2}}}}{{a}}+\frac{{{b}{x}}}{{a}}=\frac{{-{c}}}{{a}}[/latex]
[latex]\displaystyle{x}^{{2}}+\frac{{{b}{x}}}{{a}}=\frac{{-{c}}}{{a}}[/latex]
Find the number that completes the square [latex]\displaystyle{(\frac{{1}}{{2}}\frac{{b}}{{a}})}^{{2}}={(\frac{{b}}{{{2}{a}}})}^{{2}}=\frac{{{b}^{{2}}}}{{{4}{a}^{{2}}}}[/latex]
Add to both sides [latex]\displaystyle\frac{{b}^{{2}}}{{{4}{a}^{{2}}}}-\frac{{c}}{{a}}{(\frac{{{4}{a}}}{{{4}{a}}})}=\frac{{{b}^{{2}}}}{{{4}{a}^{{2}}}}-\frac{{{4}{a}{c}}}{{{4}{a}^{{2}}}}=\frac{{{b}^{{2}}-{4}{a}{c}}}{{{4}{a}^{{2}}}}[/latex]
Get denominator on the right [latex]\displaystyle{x}^{{2}}+\frac{{b}}{{a}}{x}+\frac{{b}^{{2}}}{{{4}{a}^{{2}}}}=\frac{{b}^{{2}}}{{{4}{a}^{{2}}}}-\frac{{{4}{a}{c}}}{{{4}{a}^{{2}}}}=\frac{{{b}^{{2}}-{4}{a}{c}}}{{{4}{a}^{{2}}}}[/latex]
Factor [latex]\displaystyle{({x}+\frac{{b}}{{{2}{a}}})}^{{2}}=\frac{{{b}^{{2}}-{4}{a}{c}}}{{{4}{a}^{{2}}}}[/latex]
Solve using the even root property [latex]\displaystyle\sqrt{{{({x}+\frac{{b}}{{{2}{a}}})}^{{2}}}}=sqrt{{\frac{{{b}^{{2}}-{4}{a}{c}}}{{{4}{a}^{{2}}}}}}[/latex]
Simplify roots [latex]\displaystyle{x}+\frac{{b}}{{{2}{a}}}=\frac{{\pm\sqrt{{{b}^{{2}}-{4}{a}{c}}}}}{{{2}{a}}}[/latex]
Subtract [latex]\displaystyle\frac{{b}}{{{2}{a}}}[/latex] from both sides; our solution [latex]\displaystyle{x}=\frac{{-{b}\pm\sqrt{{{b}^{{2}}-{4}{a}{c}}}}}{{{2}{a}}}[/latex]
This solution is a very important one to us. As we solved a general equation by completing the square, we can use this formula to solve any quadratic equation. Once we identify what a, b, and c are in the quadratic, we can substitute those values into [latex]\displaystyle{x}=\frac{{-{b}\pm\sqrt{{{b}^{{2}}-{4}{a}{c}}}}}{{{2}{a}}}[/latex] and we will get our two solutions. This formula is know as the quadratic formula. Quadratic Formula: if [latex-display]\displaystyle{a}{x}^{{2}}+{b}{x}+{c}={0}[/latex-display]

World View Note

Indian mathematician Brahmagupta gave the first explicit formula for solving quadratics in 628. However, at that time mathematics was not done with variables and symbols, so the formula he gave was, "To the absolute number multiplied by four times the square, add the square of the middle term; the square root of the same, less the middle term, being divided by twice the square is the value." This would translate to [latex]\displaystyle\frac{{\sqrt{{{4}{a}{c}+{b}^{{2}}}}-{b}}}{{{2}{a}}}[/latex].
We can use the quadratic formula to solve any quadratic, this is shown in the following examples.

Example 2

[latex]\displaystyle{a}={1},{b}={3},{c}={2}[/latex] [latex]\displaystyle{x}^{{2}}+{3}{x}+{2}={0}[/latex]
Use the quadratic formula [latex]\displaystyle{x}=\frac{{-{3}\pm\sqrt{{{3}^{{2}}-{4}{({1})}{({2})}}}}}{{{2}{({1})}}}[/latex]
Evaluate exponent and multiplication [latex]\displaystyle{x}=\frac{{-{3}\pm\sqrt{{{9}-{8}}}}}{{2}}[/latex]
Evaluate subtraction under root [latex]\displaystyle{x}=\frac{{-{3}\pm\sqrt{{{1}}}}}{{2}}[/latex]
Evaluate root [latex]\displaystyle{x}=\frac{{-{3}\pm{1}}}{{2}}[/latex]
Evaluate ± to get two answers [latex]\displaystyle{x}=\frac{{-{2}}}{{2}}[/latex] [latex]\displaystyle{x}=\frac{{-{4}}}{{2}}[/latex]
Our solution [latex]\displaystyle{x}=-{1}[/latex] [latex]\displaystyle{x}=-{2}[/latex]
As we are solving using the quadratic formula, it is important to remember the equation must fist be equal to zero.

Example 3

[latex]\displaystyle{25}{x}^{{2}}={30}{x}+{11}[/latex]
Subtract 30 x and 11 from both sides [latex]\displaystyle{25}{x}^{{2}}-{30}{x}-{11}={30}{x}-{30}{x}+{11}-{11}[/latex]
[latex]\displaystyle{a}={25},{b}=-{30},{c}=-{11}[/latex] [latex]\displaystyle{25}{x}^{{2}}-{30}{x}-{11}={0}[/latex]
Use quadratic formula [latex]\displaystyle{x}=\frac{{{30}\pm\sqrt{{{(-{30})}^{{2}}-{4}{({25})}{(-{11})}}}}}{{{2}{({25})}}}[/latex]
Evaluate exponent and multiplication [latex]\displaystyle{x}=\frac{{{30}\pm\sqrt{{{900}+{1100}}}}}{{{50}}}[/latex]
Evaluate addition inside root [latex]\displaystyle{x}=\frac{{{30}\pm\sqrt{{{2000}}}}}{{{50}}}[/latex]
Simplify root [latex]\displaystyle{x}=\frac{{{30}\pm{20}sqrt{{{5}}}}}{{{50}}}[/latex]
Reduce fraction by dividing each term by 10; our solution [latex]\displaystyle{x}=\frac{{{3}\pm{2}sqrt{{{5}}}}}{{5}}[/latex]

Example 4

[latex]\displaystyle{3}{x}^{{2}}+{4}{x}+{8}={2}{x}^{{2}}+{6}{x}-{5}[/latex]
Subtract 2 x2 and 6x and add 5 [latex]\displaystyle{3}{x}^{{2}}-{2}{x}^{{2}}+{4}{x}-{6}{x}+{8}+{5}={2}{x}^{{2}}-{2}{x}^{{2}}+{6}{x}-{6}{x}-{5}+{5}[/latex]
[latex]\displaystyle{a}={1},{b}=-{2},{c}={13}[/latex] [latex]\displaystyle{x}^{{2}}-{2}{x}+{13}-{0}[/latex]
Use quadratic formula [latex]\displaystyle{x}=\frac{{{2}\pm\sqrt{{{(-{2})}^{{2}}-{4}{({1})}{({13})}}}}}{{{2}{({1})}}}[/latex]
Evaluate exponent and multiplication [latex]\displaystyle{x}=\frac{{{2}\pm\sqrt{{{4}-{52}}}}}{{2}}[/latex]
Evaluate subtraction inside root [latex]\displaystyle{x}=\frac{{{2}\pm\sqrt{{-{48}}}}}{{2}}[/latex]
Simplify root [latex]\displaystyle{x}=\frac{{{2}\pm{4}{i}sqrt{{{3}}}}}{{2}}[/latex]
Reduce fraction by dividing each term by 2; our solution [latex]\displaystyle{x}={1}\pm{2}{i}sqrt{{3}}[/latex]
When we use the quadratic formula we don't necessarily get two unique answers. We can end up with only one solution if the square root simplifies to zero.

Example 5

[latex]\displaystyle{a}={4},{b}=-{12},{c}={9}[/latex] [latex]\displaystyle{4}{x}^{{2}}-{12}{x}+{9}={0}[/latex]
Use quadratic formula [latex]\displaystyle{x}=\frac{{{12}\pm\sqrt{{{(-{12})}^{{2}}-{4}{({4})}{({9})}}}}}{{{2}{({4})}}}[/latex]
Evaluate exponents and multiplication [latex]\displaystyle{x}=\frac{{{12}\pm\sqrt{{{144}-{144}}}}}{{8}}[/latex]
Evaluate subtraction inside root [latex]\displaystyle{x}=\frac{{{12}\pm\sqrt{{{0}}}}}{{8}}[/latex]
Evaluate root [latex]\displaystyle{x}=\frac{{{12}\pm{0}}}{{8}}[/latex]
Evaluate ± [latex]\displaystyle{x}=\frac{{12}}{{8}}[/latex]
Reduce fraction; our solution [latex]\displaystyle{x}=\frac{{3}}{{2}}[/latex]
If a term is missing from the quadratic, we can still solve with the quadratic formula, we simply use zero for that term. The order is important, so if the term with x is missing, we have b = 0, if the constant term is missing, we have c = 0.

Example 6

[latex]\displaystyle{a}={3},{b}={0}[/latex] [latex]\displaystyle{3}{x}^{{2}}+{7}={0}[/latex]
Evaluate exponents and multiplication, zeros not needed [latex]\displaystyle{x}=\frac{{-{0}\pm\sqrt{{{0}^{{2}}-{4}{({3})}{({7})}}}}}{{{2}{({3})}}}[/latex]
Simplify root [latex]\displaystyle{x}=\frac{{\pm\sqrt{{-{84}}}}}{{6}}[/latex]
[latex]\displaystyle{x}=\frac{{\pm{2}{i}\sqrt{{{21}}}}}{{6}}[/latex]
Our solution
We have covered three different methods to use to solve a quadratic: factoring, complete the square, and the quadratic formula. It is important to be familiar with all three as each has its advantage to solving quadratics. The following table walks through a suggested process to decide which method would be best to use for solving a problem.
1. If it can easily factor, solve by factoring x2 – 5x + 6 = 0 (x –2)(x – 3)=0 x = 2 or x = 3
2. If a = 1 and b is even, complete the square [latex]\displaystyle{x}^{{2}}+{2}{x}={4}[/latex]
3. Otherwise, solve by the quadratic formula [latex]\displaystyle{x}^{{2}}-{3}{x}+{4}={0}[/latex]
The above table is merely a suggestion for deciding how to solve a quadratic. Remember completing the square and quadratic formula will always work to solve any quadratic. Factoring only woks if the equation can be factored.
Tyler Wallace, Beginning and Intermediate Algebra, " Quadratic Formula," licensed under a CC-BY license.