Solving Quadratic Equations

Solving Quadratic Equations

Solving Quadratic Equations 485 254 Jeff

What are Quadratic Equations?

The general form of quadratic equations is

    \[ax^2+bx+c=0\]

where x is our unknown a,b,c are real numbers and a \neq 0. The last statement is important as if a was zero, the term ax^2 would be zero and the equation wouldn’t have a quadratic term.

Having a quadratic term is not enough though, you cannot have your unknown to any power bigger than 2 (i.e.. x^3, x^4, etc.) and also the expression must be a polynomial (there cannot be “weird” functions like \sin(x), \cos(x), \log(x), \frac{1}{x}, \sqrt{x}, x^{0.3} affecting our unknown) only non-negative integers are allowed.

In practice, quadratic equations can take a lot of forms and look quite different than their general form. Let’s see some examples:

    \[3x^2+2x+3=0, \quad  2y^2-y=0, \quad  \pi z^2-3=0, \quad \frac{1}{2}x^2=-3, \quad  -3x-4x^2=2\]

These are examples of equations which are not quadratic:

    \[x+2=0 \quad \text{is missing the quadratic term } x^2\]

    \[x^3+3x^2+x=0 \quad \text{has the unknown to a power bigger than 2} (x^3 \text{is the biggest})\]

    \[x^2+\frac{1}{x}=0 \quad \text{has a "weird" function affecting the unknown}\]

    \[x^2+x^{0.5}=0 \quad \text{has a term of the form } x^{0.5} \text{ which makes the expression not a polynomial}\]

Now we put our attention on how to solve these equations.

Solving Quadratic Equations

General Form

While solving quadratic equations we must take into consideration their form. To know the form of a quadratic equation we can put it in general form  (G.F). General Form is no more than the equation written as ax^2+bx+c=0. Notice that all the terms are on the left of the equal sign in order (x^2 first and x second), and with zero on the right. Let’s see some examples of how to take a quadratic equation to G.F.

    \[3x^2=2x-3 \implies 3x^2-2x+3=0\]

    \[\frac{1}{2}x^2=1 \implies \frac{1}{2}x^2-1=0\]

    \[-3x=x^2 \implies -x^2-3x=0\]

Solving the Quadratic Equation

The following diagram describes how to solve a quadratic equation, once it is in General Form.

Diagram on how to solve quadratic equations of all types.

Factor if you can

If you thought that factoring was not useful, you are wrong. Factoring is essential to solving equations of any type, especially for quadratic equations. We can see why by remembering a key feature of numbers.

“If a multiplication of numbers equals zero, then one of the factors must be zero”

For example, if x*y*z=0 then one of them must be zero x=0, y=0 or z=0. Let’s see how to exploit this principle to solve equations.

    \[x^2-4x+3=0 \implies (x-3)(x-1)=0 \quad \text{By Factoring}\]

Notice that this is a multiplication that equals zero then that means that

    \[x-3=0 \quad\text{ or }\quad x-1=0\]

Notice that both of the resulting equations are simple linear equations! And we know how to solve them, the results are:

    \[x=3 \quad\text{ or }\quad  x=1\]

These are precisely the solutions to our equation.

If you can’t factor use the Quadratic Formula

Factoring is not always easy or obvious. For those cases, or any case in fact, you always have the quadratic formula at your service. At last here it is:

The solution to an equation to the form ax^2+bx+c=0 is given by

    \[x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}\]

The quadratic formula can solve any quadratic equation, but it can take a lot of steps to reach a solution. This means that you should use it only when it is necessary. We must accept the formula can look a bit scary at first. However, all you need to do is identify the values of a,b and c from your equation. Let’s solve x^2-4x+3=0 using the quadratic equation.

First identify a,b and c

    \[\boxed{1}x^2\boxed{-4}x\boxed{+3} = 0 | \quad  & \boxed{a}x^2+\boxed{b}x+\boxed{c}=0\]

Use them in the quadratic formula

    \[x&=\frac{-(-4)\pm\sqrt{(-4)^2-4(1)(3)}}{2(1)} \quad | \quad x&=\frac{-b\pm\sqrt{b^2-4ac}}{2a}\]

Simplify

    \begin{align*} x&=\frac{4\pm\sqrt{16-12}}{2}\\ x&=\frac{4\pm\sqrt{4}}{2}\\ x&=\frac{4\pm2}{2}\\ \end{align*}

In this case, we have two solutions, one given by separating \pm into plus and minus

    \begin{align*} x&=\frac{4\boxed{+}2}{2} &\text{or}&&  x&=\frac{4\boxed{-}2}{2}\\ x&=\frac{6}{2} & \text{or}&&  x&=\frac{2}{2}\\ \boxed{x=3}& & \text{or}&& &\boxed{x=1}\\ \end{align*}

If you notice this is the same solution we found in the previous section (As we solved the same equation). I hope you agree that by factoring we solved the equation faster.

Special Cases

When the equation is missing terms, the linear term bx or the constant term c. We can solve the equation easily.

Missing bx

When b=0 the equation looks like ax^2+c=0. Examples are 3x^2+2=0, x^2-2=0 or \frac{1}{2}x^2-\frac{1}{3}.

To solve this equation we need only need to isolate x (You could solve it by factoring or using the quadratic formula as well, but I think this is the easiest approach).

    \begin{align*} 2x^2-32&=0 &|&&  ax^2+c&=0\\ 2x^2&=32 &|&& ax^2&=-c\\ x^2&=\frac{32}{2} &|&& x^2&=\frac{-c}{a}\\ x&=\pm\sqrt{\frac{32}{2}} &|&& x&=\pm\sqrt{\frac{-c}{a}}\\ x&=\pm4 &|&& \\ \boxed{x=4} \quad &\text{or} \quad \boxed{x=-4} \end{align*}

Missing c

When c=0 the equation looks like ax^2+bx=0. Examples are 2x^2+2x=0, x^2-3x=0 or \frac{1}{2}x^2-\frac{1}{3}x.

To solve this equation we need only need to take the Common Factor (Factoring again!).

    \begin{align*} 3x^2-6x&=0 &|&&  ax^2+bx&=0\\ x(3x-6)&=0 &|&&  x(ax+b)&=0\\ x=0 \quad &\text{or} \quad 3x-6=0 &|&& x=0 \quad &\text{or} \quad ax+b=0\\ x=0 \quad &\text{or} \quad x=\frac{6}{3} &|&& x=0 \quad &\text{or} \quad x=\frac{-b}{a}\\ \boxed{x=0} \quad &\text{or} \quad \boxed{x=2} \end{align*}

Notice that zero is always a solution for these types of equations.

No solutions for Quadratic Equations

Sometimes, a quadratic equation has no solutions in the real numbers. This happens whenever in one of our methods we encounter the square root of a negative number (i.e. \sqrt{-3}, \sqrt{-4}, \sqrt{-\frac{1}{2}}). If you are working in real numbers and you see one of these square roots your answer should be immediately:

 “There is no solution in the real numbers”

As a disclaimer, these equations have solutions in complex numbers, but that is a different topic that deserves its own post.

Solving Quadratic Equations Using Technology

Lastly, I want to show you how to solve a quadratic equation technology. You can use for example this widget from Wolfram Alpha.

If you need to write \sqrt{2} for example you can do so by writing “sqrt(2)” and exponents like 3^2 can be written as 3^2.

Step-by-step solutions are available in Symbolab. Wolfram Alpha also has this option but it is paid.

Calculators and Quadratic Equations

Some calculators can solve quadratic equations as well. Check yours! You would be surprised by the power of your calculator. This video from Blackpenredpen has an example of how to solve a quadratic equation using a Casio calculator.

This has been a brief introduction to the concepts of quadratic equations. For more information on this topic as well as assistance with homework and test preparation, feel free to reach out to an Academic Director toll-free at 1 (877) 545-7737 or via our Contact Us page.

Powered by WordPress with QuickLaTeX