Quadratic equation: solving with the discriminant and Vieta's theorem
4 min read
A quadratic equation is written in the form , and must hold. On the set of real numbers, the discriminant determines the number of roots; when the coefficients are convenient, Vieta's theorem helps to find the roots quickly or to evaluate an expression involving them.
Below, the equation is first reduced to standard form, then a suitable method is chosen, and the answer is checked by substitution or by Vieta's identities.
The quadratic equation and its types
General form: , where is the leading coefficient, is the second coefficient, and is the constant term. If and , the equation becomes linear, so the condition is required.
If or , the equation is called an incomplete quadratic equation, and it can also be solved without a formula:
- in the form , we obtain the root directly: from we get , so ;
- in the form , we factor: from we get , so or .
For a complete equation, the universal tool is the discriminant.
Solving using the discriminant
The discriminant is found by the following formula:
On the set of real numbers, its sign tells the number of roots in advance: if , there are two distinct real roots; if , there is one double root; if , there is no real root.
The formula for the roots: .
1-Example. Solve the equation .
Coefficients: , , . Discriminant: . Since :
, .
We check: . For the second root, Vieta's identities also hold: and . Answer: , .
2-Example. Solve the equation .
. Thus, there is one root: . This can also be seen in the form — the left-hand side factors as a perfect square.
Vieta's theorem: the art of solving mentally
For a reduced quadratic equation, that is, of the form (), Vieta's theorem states: if real roots exist,
and .
In other words, the sum of the roots equals the second coefficient with the opposite sign, and the product equals the constant term. When the coefficients are small integers, this method makes it possible to find the roots mentally.
3-Example. Solve the equation .
We look for two numbers whose product is and whose sum is . The product is positive, so the roots have the same sign; the sum is negative, so both are negative. and . Answer: , .
To make sure, we check with the discriminant: , , that is, and — they match.
4-Example. Solve the equation .
The numbers whose sum is and whose product is are and . Answer: , . Checking by substitution also confirms this: .
If , Vieta's identities work directly in the form and . If finding the roots mentally is inconvenient, the discriminant remains the universal choice.
Vieta's theorem also works in the reverse direction: it is very convenient for recovering an equation from given roots or for evaluating expressions such as without solving the equation.
Independent exercise
Solve the equation and check the roots with Vieta's identities. Short answer: If we divide the equation by 3, we obtain ; the roots are and , their sum is , and their product is .
Typical mistakes and ways to avoid them
In practice, the most common mistakes are the following:
- Losing the sign. In 1-Example, is positive and is negative, so the term becomes positive. In 1-Example, replacing with spoils the entire solution. Let it become a habit to calculate by placing negative coefficients in parentheses.
- Forgetting in the denominator. In the formula, the denominator is , not simply : if , the denominator is .
- A sign mix-up in Vieta's theorem. The sum equals , not . In , the sum of the roots is , and the product is .
- Taking to mean “no root”. Over the real numbers there is one double root; the absence of a real root belongs to the case .
- Not reducing the equation to standard form. The coefficients cannot be taken directly from ; first it is reduced to the form .
- Not checking. Substitute the roots found into the original equation, or compare their sum and product with Vieta's identities.
Conclusion and the next step
- First reduce the equation to the form and check .
- The number of real roots is determined by the sign of .
- For convenient integer coefficients, Vieta's theorem is a fast method, and the discriminant is the universal method.
- Check the answer independently by substitution or by Vieta's identities.
- Solve the tests on quadratic equations or take a new example in the daily problem.