Method for Checking the Solutions to a Quadratic

In summary, the conversation discusses the standard form of a quadratic equation and the solutions derived from the quadratic formula. It also emphasizes the importance of checking solutions and provides shortcuts for doing so, such as using the discriminant and sum/product of the solutions. The conversation also mentions the process of completing the square to derive the quadratic formula.
  • #1
Ackbach
Gold Member
MHB
4,155
92
So you start out with the standard form of a quadratic, $ax^{2}+bx+c=0$, and we know that the solutions are from the quadratic formula:
$$x= \frac{-b \pm \sqrt{b^{2}-4ac}}{2a}.$$
Let's assume for the sake of this thread that $a,b,c$ are all real.

Now, your mantra when solving equations should be that the solution is not correct unless it's checked. How could you check these solutions? Obviously, by plugging them into the original equation. However, that's going to be a fair amount of algebra, which might be just as error-prone as solving the original. There are several short-cuts which should reduce the amount of time you need to check your solutions.

We begin with the discriminant, $b^{2}-4ac$. The nature of the solutions will depend greatly on the sign of the discriminant. Here are the cases:

  1. $b^{2}-4ac>0$ - you will have two distinct real roots.
  2. $b^{2}-4ac=0$ - you will have a single repeated real root.
  3. $b^{2}-4ac<0$ - you will have two complex conjugate pair roots.

So the solutions you obtain should check in with whichever case you have. Note that if you have complex coefficients, all bets are off with checking the discriminant.

Next, there are two quick checks you can do which are almost certain to catch any errors in your computations, and are much easier to do that plugging into the original equation. Let's begin with adding the two solutions provided by the quadratic formula together, and see what we get:
$$\frac{-b + \sqrt{b^{2}-4ac}}{2a}+\frac{-b - \sqrt{b^{2}-4ac}}{2a}
= \frac{-b + \sqrt{b^{2}-4ac}-b - \sqrt{b^{2}-4ac}}{2a}=-\frac{2b}{2a}=- \frac{b}{a}.$$
So the sum of the two solutions should give you $-b/a$. Note that this check works even if the solutions are complex conjugate pairs. Theoretically, this check should work even with complex coefficients!

Next, let's try multiplying out the two solutions. We get a difference-of-squares pattern:
$$\frac{-b + \sqrt{b^{2}-4ac}}{2a} \times \frac{-b - \sqrt{b^{2}-4ac}}{2a}
= \frac{b^{2}-(b^{2}-4ac)}{4a^{2}}= \frac{4ac}{4a^{2}}= \frac{c}{a}.$$
So the product of the two solutions should give you $c/a$. Again, this should work for any quadratic, even ones with complex coefficients.

To review, then, there are three checks you should have when you're solving a quadratic:
  1. The sign of the discriminant should match up with the kinds of solutions you found.
  2. The sum of the solutions should be $-b/a$.
  3. The product of the solutions should be $c/a$.

If you're dealing with a quadratic where the coefficient of $x^{2}$ is just $1$, then you get the further simplification that the sum of the solutions must be $-b$, and the product must be $c$.

Comments and questions should be posted here:

http://mathhelpboards.com/commentary-threads-53/commentary-method-checking-solutions-quadratic-4208.html
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
temp

Moderator edit: This commentary topic pertains to the following tutorial:

http://mathhelpboards.com/math-notes-49/method-checking-solutions-quadratic-4101.html

And for anyone wondering how we get the Quadratic Formula, it's just completing the square on a standard quadratic equation \(\displaystyle \displaystyle a\,x^2 + b\,x + c = 0\).

\(\displaystyle \displaystyle \begin{align*} a\,x^2 + b\,x + c &= 0 \\ a \left( x^2 + \frac{b}{a}\,x + \frac{c}{a} \right) &= 0 \\ x^2 + \frac{b}{a}\,x + \frac{c}{a} &= 0 \\ x^2 + \frac{b}{a}\,x + \left( \frac{b}{2a} \right) ^2 - \left( \frac{b}{2a} \right) ^2 + \frac{c}{a} &= 0 \\ \left( x + \frac{b}{2a} \right) ^2 - \frac{b^2}{4a^2} + \frac{4ac}{4a^2} &= 0 \\ \left( x + \frac{b}{2a} \right) ^2 &= \frac{b^2 - 4ac}{4a^2} \\ x + \frac{b}{2a} &= \frac{\pm \sqrt{b^2 - 4ac}}{2a} \\ x &= \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \end{align*}\)
 
Last edited by a moderator:
  • #3
Re: Method for Checking the Solutions to a Quadratic

Prove It said:
And for anyone wondering how we get the Quadratic Formula, it's just completing the square on a standard quadratic equation \(\displaystyle \displaystyle a\,x^2 + b\,x + c = 0\).

\(\displaystyle \displaystyle \begin{align*} a\,x^2 + b\,x + c &= 0 \\ a \left( x^2 + \frac{b}{a}\,x + \frac{c}{a} \right) &= 0 \\ x^2 + \frac{b}{a}\,x + \frac{c}{a} &= 0 \\ x^2 + \frac{b}{a}\,x + \left( \frac{b}{2a} \right) ^2 - \left( \frac{b}{2a} \right) ^2 + \frac{c}{a} &= 0 \\ \left( x + \frac{b}{2a} \right) ^2 - \frac{b^2}{4a^2} + \frac{4ac}{4a^2} &= 0 \\ \left( x + \frac{b}{2a} \right) ^2 &= \frac{b^2 - 4ac}{4a^2} \\ x + \frac{b}{2a} &= \frac{\pm \sqrt{b^2 - 4ac}}{2a} \\ x &= \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \end{align*}\)

Right, or you can do a http://www.mathhelpboards.com/f2/two-methods-deriving-quadratic-formula-i-not-taught-school-2629/.
 

FAQ: Method for Checking the Solutions to a Quadratic

What is a quadratic equation?

A quadratic equation is a polynomial equation of the second degree, meaning it has one variable raised to the power of two. It is typically written in the form of ax^2 + bx + c = 0, where a, b, and c are coefficients and x is the variable.

What is the quadratic formula?

The quadratic formula is a method for finding the solutions to a quadratic equation. It is written as x = (-b ± √(b^2 - 4ac)) / 2a. By plugging in the values of a, b, and c from the quadratic equation into this formula, we can determine the values of x that satisfy the equation.

How do I check if a solution is correct using the quadratic formula?

To check if a solution is correct, you can plug it back into the original quadratic equation and see if it satisfies the equation. If the solution makes the equation true, then it is a correct solution. You can also use a graphing calculator to plot the equation and see if the solution falls on the graph.

Are there any other methods for solving a quadratic equation?

Yes, there are other methods such as factoring, completing the square, and graphing. However, the quadratic formula is a universal method that can be used for any quadratic equation, making it the most commonly used method for solving quadratics.

Can the quadratic formula be used for complex solutions?

Yes, the quadratic formula can be used to find both real and complex solutions. In the case of complex solutions, the discriminant (b^2 - 4ac) will be negative, and the solutions will involve imaginary numbers.

Similar threads

Replies
19
Views
2K
Replies
36
Views
5K
Replies
3
Views
740
Replies
1
Views
2K
Replies
8
Views
1K
Replies
11
Views
2K
Back
Top