- Thread starter
- Admin
- #1

- Jan 26, 2012

- 4,198

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

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:

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:

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/commentar...method-checking-solutions-quadratic-4208.html

$$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:

- $b^{2}-4ac>0$ - you will have two distinct real roots.
- $b^{2}-4ac=0$ - you will have a single repeated real root.
- $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:

- The sign of the discriminant should match up with the kinds of solutions you found.
- The sum of the solutions should be $-b/a$.
- 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/commentar...method-checking-solutions-quadratic-4208.html

Last edited by a moderator: