Understand what you are solving
You are looking for numbers that make both sides of an equation equal. A quadratic equation also contains the unknown squared. Two numbers may work, one may be a repeated root, or real roots may be absent. The quadratic formula gives candidate values; substitution checks whether they satisfy the original equation.[1]
- Prerequisites: collect like terms, perform the same operation on both sides and square negative numbers in parentheses.
- Specify the number system: many school problems ask for real roots. Complex roots are introduced in the labelled extension.
Start by establishing standard form
The general form is , with and . Move all terms to one side and collect like powers. A missing linear term gives ; a missing constant term gives . Always include the sign when reading a coefficient.[1]
The plus sign gives one formula branch and the minus sign the other.
If , the equation is not quadratic: when , x = . If b and c are also zero, every x satisfies it; if and , no x does. Division by 2a is invalid in all of these cases.
Derive the formula by completing the square
We seek a perfect square. Since , division by a is allowed. Then move to the right-hand side.[2]
Divide by a and subtract .
The identity identifies the missing term. Choose to match the middle term, then add to both sides. The left side becomes a square while the solution set stays unchanged.
Complete the square on the left and combine the right-hand terms over a common denominator.
For , taking square roots gives both signs. Strictly, . Replacing |a| with a merely exchanges the two branches when a is negative, leaving the solution set unchanged.
Subtract and express both solution branches together.
What the discriminant and graph reveal
- : two distinct real solutions; the parabola crosses the x-axis twice.
- : a repeated real root x = ; the parabola touches the x-axis at its vertex.
- : no real solutions. Over the complex numbers, real coefficients give two conjugate roots.
Vertex form and vertex coordinates of the associated quadratic function.[3]
The sign of a determines opening direction: upward if positive, downward if negative. D determines the number of real roots. These are separate facts: a downward-opening parabola may also have two, one or no real roots.[3]
Two crossings, one tangency or no intersection
Free with a Quanta account. Your download stays ready after registration.
The vertex form of a parabola relates the discriminant to the vertex position: its y-coordinate is . The sign of a alone determines whether the parabola opens upward or downward; the discriminant does not decide this.[3]
Three examples with an approach and checks
Handle negative coefficients correctly
- Given
- . Find all real solutions.
- Find
- Establish standard form, evaluate both branches and check both roots.
Approach: Put the equation into standard form first so the linear coefficient has an unambiguous sign. The discriminant determines real branches; check both roots in the original equation.
Subtract 7x: . Thus .
Square b using parentheses and subtract 4ac.
Substitute and ; divide the entire numerator by 6.
Substitute into the original equation: for both sides equal 14; for both sides equal .
Result: The solution set is . Both distinct real roots have been checked.
Check: Additional check: the sum is and the product . Naming either root or does not change the solution set.
Choose a meaningful root in an application
- Given
- A rectangle has area 84 cm2. Its length exceeds its width by 5 cm. x is the numerical width in centimetres.
- Find
- Find width and length.
Approach: Numerical width in centimetres is x, so length is x plus five. The area condition gives a quadratic equation; only a positive width is admissible in the physical model.
Write area as a product: . Standard form: .
Calculate the discriminant: .
Width must be positive. is algebraically correct but does not describe this rectangle.
Result: Width 7 cm, length 12 cm.
Check: and . Check application constraints after solving; negative roots are not invalid for quadratic equations in general.
Why there is no real root
- Given
- ; find its real roots.
- Find
- Explain the absence of real intersections algebraically and geometrically.
Approach: the discriminant determines whether the square root is real. The vertex form gives an independent check.
Substitute the signed coefficients.
A real square is never negative. In vertex form, the entire expression on the left is therefore always positive.
Result: There are no real roots.
Check: The parabola opens upward and has minimum value five. It never reaches the x-axis.
Quadratic formula, normalised formula or factoring?
The quadratic formula works for every . The normalised p–q formula first requires division by a: p = and q = . Obvious factors may make the zero-product property quicker. For , taking both square-root signs is sufficient when .[2]
The p–q formula for the normalised equation .
All valid methods must produce the same solution set. In Example 1, independently checks both values. If the original problem involved a denominator or an earlier squaring step, also check the original domain and equation.
The p–q formula is equivalent after correct normalisation. Preserve signs during division: divide b and c by the same nonzero a. Then choose the approach whose intermediate steps you can check confidently.[1][2]
Explore further: complex roots
A negative discriminant rules out real roots, but not solutions in every number system. In the complex numbers, . Real coefficients and give a conjugate pair. Use this extension only when the requested number system permits it.[1]
Here −D is positive. The two values have opposite imaginary parts.
Five exercises with solutions
Calculate · Foundation
1. Solve over the real numbers.
Show hint
. Calculate D first.
Learning goal: Find two real roots and check them.
Show solution and calculation
Approach: Calculate ; for a nonnegative result use .
Here .
gives and .
Checks: ; .
Calculate · Application
2. Solve . How many distinct roots are there?
Show hint
Compare the discriminant with zero.
Learning goal: Recognize a repeated root.
Show solution and calculation
Approach: Determine ; if , the repeated root is .
Here .
There is one distinct root with multiplicity two.
Factoring confirms .
Calculate · Application
3. Solve first over ℝ, then over ℂ.
Show hint
D is negative. For complex roots, use .
Learning goal: Distinguish real and complex roots.
Show solution and calculation
Approach: Check .
For there are no real roots; over , use .
Here .
There are no real roots; the complex roots are .
Check: , since .
Interpret · Application
The parabola has an unknown real parameter k. Which k values give two, one or no distinct real roots? Give the contact point in the tangent case.
Show hint
The parameter shifts the parabola vertically; use the discriminant.
Learning goal: Determine tangential axis contact from a parameter.
Show solution and calculation
Approach: The discriminant is sixteen minus four k.
Positive values give two crossings for k below four; zero gives tangency at k equal to four; negative values give no crossing.
Completing the square places the contact point at (2,0).
It is one distinct root with multiplicity two.
Error analysis · Application
For someone divides by x and obtains only . Check the step and recover the complete real solution set with substitution.
Show hint
Division requires a nonzero divisor.
Learning goal: Check division by an unknown for lost solutions.
Show solution and calculation
Approach: Factor without dividing by the unknown.
The product x times (x−5) is zero precisely for x equal to zero or five.
Both solve the original equation.
Division was valid only in the nonzero case and discarded the other case; the quadratic formula gives the same two roots.
Avoid errors and interpret the result
- Do not read coefficients before establishing standard form: in , b is −7, not +7.
- Square negative numbers in parentheses: , whereas .
- Divide the entire numerator by 2a. is a different expression.
- Avoid premature rounding. Keep exact fractions or radicals until the final result.
- Evaluate both signs and substitute every root into the original equation.
The formula solves quadratic equations. A fourth-degree equation can use it only when a valid substitution produces a quadratic; afterwards, reverse the substitution and check its constraints. The formula alone does not perform that check.
What to remember when solving
First put the equation into general form with zero on one side. Record the three signed coefficients and calculate the discriminant. Evaluate real square-root branches only when the discriminant is nonnegative. Check every result in the original equation and enforce any application-specific restrictions.
Sources for this explanation
Quanta · Updated October 2, 2026
- OpenStax College Algebra 2e, §2.5: Quadratic Equations
- OpenStax Algebra and Trigonometry 2e, §2.5: Quadratic Equations
- OpenStax Algebra and Trigonometry 2e, §5.1: Quadratic Functions
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 3 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An internal human subject review is documented for an earlier release of this page. That confirmation does not apply automatically to the revised explanation and new exercises.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Added relevant formula connections and model distinctions; preserved existing derivations, exercises and original figures.
- Added two exercises; labelled all five by task type, difficulty and learning goal.
- Clarified the introduction and prerequisites; added a third worked example, an original figure and a summary; made supplemental material selectively expandable.
Cite this reference page
Quanta. Quadratic Formula. Updated October 2, 2026. https://quanta-study.de/en/formula-sheet/quadratische-formel
When citing a specific scientific statement, also cite the specialist source linked to that statement.