如何推导二次公式

Illustrated · 1 min

Have you ever wondered what type of solutions a quadratic equation will have without actually finding the solutions?

The discriminant does just that! It is the part of the quadratic formula that appears directly under the radical sign. Take a look at the photo shown below:

The Quadratic Formula

Based on what the value of the discriminant is we can tell what types of solutions we will have.

For instance, imagine the discriminant is a negative number. In this scenario, we will have a negative number under the radical sign. This would indicate 2 imaginary solutions.

Now let's imagine another scenario. If the discriminant equals zero we will now have zero under the radical sign. Well the square root of zero is zero so we would essentially be adding zero to negative b in the numerator. Because adding or subtracting zero yields the same response, having a discriminant value of zero would indicate only one real solution. This is often called a "double solution" or "two equal solutions"

The last scenario is when the discriminant is positive. In this case, we will have two real solutions. The solutions cannot be imaginary because the number under the radical sign is not negative. If the positive discriminant value is a perfect square, we will have two rational solutions. If the discriminant value is a non perfect square, we will have two irrational solutions.

This chart below should summarize the information about the discriminant.

Discriminat Chart

Interactive · 1 question

Now that we know what quadratics are, a pressing question arises. Just as we were able to find solutions to linear equations like 2x+3=52x + 3 = 5, can we find the solutions to a quadratic like 5x2−12x+5=15x^2 - 12x + 5 = 1?

Let's start simple.

Think about the solutions to x2−9=0x^2 - 9 = 0.

We know that the solutions are x=3x=3 and x=−3x=-3. The equation x2−a=0x^2 - a = 0 always has two solutions for xx: a\sqrt{a} and −a-\sqrt{a}. The only exception is a=0a = 0.

Now, think about what the solutions are to (x−1)2=9(x-1)^2 = 9.

We have two cases: x−1=3x - 1 = 3 or x−1=−3x - 1 = -3. This gives the solutions −2-2 and 44.

Diving In

Think about the solutions to x2+12x+20=48x^2 + 12x + 20 = 48.

We can start by trying to make a perfect square using xx. Note that x2+12x+36=(x+6)2x^2 + 12x + 36 = (x+6)^2; thus, if we add 1616 to both sides of our equation, we get (x+6)2=64(x+6)^2 = 64. That's great -- we know how to solve that! Since 64=8264 = 8^2, we have x+6=8x+6 = 8 or x+6=−8x+6 = -8. In the first case we get x=2x = 2, and in the second we get x=−14x = -14. Hence those are our two solutions.

Let's move things up a notch.

What are the solutions to 3x2−12x+25=163x^2 - 12x + 25 = 16?

Choose one answer

Read · 1 min

Let our equation be of the form x2+bx+c=0x^2+bx+c=0 and let x1x_1 and x2x_2 be the roots of the quadratic.

Then x2+bx+c=(x−x1)(x−x2)x^2+bx+c=(x-x_1)(x-x_2) =x2−(x1+x2)x+x1x2=x^2-(x_1+x_2)x+x_1x_2 and therefore x1+x2=−bx_1+x_2=-b and x1x2=cx_1x_2=c. Now, if we knew d=x1−x2d=x_1-x_2, we could figure out x1=(−b+d)/2x_1=(-b+d)/2 and x2=(−b−d)/2x_2=(-b-d)/2.

The trouble is that our equation does not know which of the roots is x1x_1 and which one is x2x_2, so we can know dd only up to a sign, so we can know d2d^2. Let us try to figure it out in terms of bb and cc. Can you do it?

Here comes a little magic: d2=x12−2x1x2+x22d^2=x_1^2-2x_1x_2+x_2^2 and b2=x12+2x1x2+x22,b^2=x_1^2+2x_1x_2+x_2^2, they differ just by 4x1x2=4c4x_1x_2=4c. Ta-taam! Now we get d2=b2−4cd^2=b^2-4c and finally we get our quadratic formula: x1,2=(−b±b2−4c)/2x_{1,2}=(-b\pm \sqrt{b^2-4c})/2

Interactive · 1 question

What is the Quadratic Formula?

When given an equation in the form ax2+bx+cax^2 + bx + c, usually the simplest way to solve for the value of xx is to factor the quadratic, set each factor equal to zero, and then solve for each factor. However, the quadratic can sometimes be too difficult to solve by factoring. At this point, you may want to throw in the towel, give up on math, and run far away. Never fear! You can count on the quadratic formula to find the solution for you!

When using the quadratic formula, you will need to have an ”a”,“b”,”a”, “b”, and ”c””c” term from ax2+bx+cax^2 + bx + c, where ”a”,“b”,”a”, “b”, and ”c””c” are numbers. These are considered numerical coefficients of the quadratic equation that you are asked to solve.

You may be asking, “but what IS the quadratic formula?” Well, here it is, derived from the process of completing the square (which you can refresh on here!) x=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}

This beautiful equation will be engrained into your mind forever. I learned it five years ago, and I still remember it to this day!

Rules for the Quadratic Formula

1) In order for the quadratic formula to work, you must have the equation arranged so that x=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a} is set equal to 00.

2) Make sure that you are careful not to drop the square root, or the ±\pm before the square root. Because you have the ±\pm, this means you will have 22 roots!

3) Our aa term can NEVER be 00. This will cause the denominator of the quadratic formula to be 00, and it will void the equation since you can never EVER divide by 00. If you are given an equation in the form of bx+c=0bx + c = 0, you will have to solve for xx by subtracting both sides by cc, then dividing both sides by bb.

4) The b2b^2 under the square root means that you square ALL of bb, including a negative sign if applicable. So, the b2b^2 term will never be negative!

5) Also, take note that you will multiply your bb by a negative sign at the beginning of the numerator.

All in all, make sure you take note of your signs! If you try to take shortcuts, or try to shorthand the problem, you will mess it up! Take the quadratic formula slow, and I promise you will become a pro!

Example of Quadratic Formula

Solve x2+7x–4x^2 + 7x – 4

Since this is a quadratic equation in the form ax2+bx+cax^2 + bx + c, we can say that our aa term is 11, since the coefficient of x2x^2 is 11 (even if you can’t see it!) Our bb term is 77, and our cc term is −4-4. Make sure that you include the negative sign in your cc term, or you’ll get the wrong answer!

With a=1a = 1, b=7b = 7, and c=−4c = -4 we can plug these values into the quadratic formula to get: x=−7±72−4(1)(−4)2(1)=0x=\frac{-7\pm\sqrt{7^2-4(1)(-4)}}{2(1)} = 0 We can simplify what is being multiplied, to get: x=−7±49+162=0x=\frac{-7\pm\sqrt{49 + 16}}{2} = 0

NOTE that under the square root, we now have a summation of the numbers rather than a subtraction, because our cc term is negative! (and we know that two negative numbers multiplied together give us a positive!)

We can further simplify this to: x=−7±652=0x=\frac{-7\pm\sqrt{65}}{2} = 0

Now, since 6565 is not a perfect square, and it does not contain a perfect square, we can leave our answer in this form!

What is xx in the following equation? 3x2+7x−2=03x^2 +7x -2 = 0

Choose one answer

Interactive · 1 question

What is a Complex Root?

Now that you have had some practice with the quadratic formula, its time to move on to complex roots. This can sound scary at first, but I promise that once you get it, it will be a piece of cake! However, if you want a review, you can click the respective links below.

For a review on the quadratic formula, click here!

For a review on complex numbers, click here!

A complex root is a solution to a quadratic equation that also contains an ii term, similar to a complex number. Complex roots occur when the b2−4acb^2 - 4ac term is a negative number, since you will then be taking the square root of a negative number. This will become more apparent with an example.

Example of Complex Roots

Find the roots: x2−4x+13=0x^2 -4x + 13 = 0 Let's define our a,ba,b and cc terms. For this expression, our aa term is 11, our bb term is −4-4, and our cc term is 1313. Great, let's plug these into the quadratic equation! x=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a} x=−(−4)±(−4)2−4(1)(13)2(1)x=\frac{-(-4)\pm\sqrt{(-4)^2-4(1)(13)}}{2(1)} x=4±16−522x=\frac{4\pm\sqrt{16-52}}{2} x=4±−362x=\frac{4\pm\sqrt{-36}}{2}

At this point, we can see that we have a negative term under the square root. No worries though, we know what we need to do. We know that 3636 is a perfect square, therefore −36-36 is a perfect square as well. Taking the square root in the problem, we will get: x=4±6i2x=\frac{4\pm 6i}{2}

44 and 66 are divisible by 22, so we can further simplify this to: x=2±3ix = 2 \pm 3i Therefore, we have our final answer! The roots to our problem are 2+3i2 + 3i and 2−3i2 - 3i.

And there you have it! Complex roots aren't as complex as you thought, huh?

Find the roots: x2+4x+5=0x^2 + 4x + 5 = 0

Choose one answer

Illustrated · 1 min

The Discriminant

The discriminant of a quadratic equation tells you the nature of the roots. That means you can use the discriminant to find out whether a quadratic function has two solutions, one solution, or imaginary solutions.

The discriminant is found within the quadratic equation, the value under the radicand.

Discriminant
d=b^2-4ac
d>0, 2 real solutions
d=0, 1 real solution
d<0, 1 imag. solution

Image source: by Anusha Rahman

When we solve the discriminant, if our value is:

  • d>0d>0, the quadratic has 22 real solutions.

  • d=0d=0, the quadratic has 11 real solution.

  • d<0d<0, the quadratic has 11 imaginary solution.

Video · + 1 min read

(Video) Using the Discriminant to Find How Many Roots

by FerranteMath

In this video by FerranteMath, you will learn how to determine the number of roots in a quadratic by using the discriminant.

Summary

The discriminant is the expression found under the radical in the quadratic formula.

b2−4acb^2-4ac

For any standard form of a quadratic, we can use the discriminant to find the number of roots that solve the quadratic equation.

If the parabola crosses the xx-axis one time, the parabola is basically sitting on the xx-axis. That means there is one real root or solution. That means that the discriminant is equal to zero.

b2−4ac=0b^2-4ac=0

If the parabola crosses the xx-axis twice, there are two real roots or solutions. That means the discriminant is greater than zero.

b2−4ac>0b^2-4ac>0

If the parabola does not cross the xx-axis, then there are no real solutions, but there are two imaginary roots. That means that the discriminant is less than zero.

b2−4ac<0b^2-4ac<0

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems