Normalize the equation first
We seek real x satisfying x2+px+q=0. If the starting equation is ax2+bx+c=0 with a≠0, divide every term by a and set p=b/a, q=c/a. Changing only the first term is not an equivalent equation. When a=0, the equation is linear or degenerate and this quadratic formula does not apply.[1]
For real D≥0, x+ is the larger root and x− the smaller; at D=0 they coincide.[1]
Keep the signs of p and q. Positive D gives two distinct real roots, zero D a repeated root, and negative D no real root. Here D is a reduced discriminant. General discriminant Δ=b2−4 ac satisfies Δ=4 a2D after normalization and therefore has the same sign.[1]
Complete the square and retain both roots
For D>0, the equation u2=D has solutions u=√D and u=−√D. Set u=x+p/2 and subtract p/2. This explains ±: the square-root function gives the nonnegative value, whereas solving a square equation requires both signs.[1]
When root magnitudes differ greatly, subtracting nearly equal rounded numbers can destroy the small root. A stable other root then permits xsmall=q/xlarge when xlarge≠0. This uses the same product relation, rather than a different pq formula. The mathematical real solution set is separate from the numerical evaluation method.[1]
Normalized and initially nonmonic equations
Two integer roots
- Given
- x2−6 x+5=0, so p=−6, q=5.
- Find
- Calculate and check both roots.
Calculate the reduced discriminant.
Evaluate both signs.
Result: The real solution set is{1,5}.
Check: Substitution gives 25−30+5=0 and 1−6+5=0. The sum is 6=−p and the product 5=q.
Divide by the leading coefficient first
- Given
- 2 x2+6 x−2=0.
- Find
- Normalize and solve the equation.
Divide all coefficients by a.
a=2, b=6, c=−2 give p=3 and q=−1.
Find both roots.
Result: x+≈0.302776 and x−≈−3.302776.
Check: Exact roots have sum−3 and product(9−13)/4=−1. They therefore solve x2+3 x−1=0 and, after multiplication by 2, the original equation.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Repeated roots, normalization and numerical stability
Calculate · Foundation
Solve x2+4 x+4=0.
Show hint
D=4−4.
Learning goal: Recognize a repeated root.
Show solution and calculation
D=0 and x=−4/2=−2.
The repeated root corresponds to(x+2)2=0; the solution set contains only−2.
Error analysis · Application
For 3 x2+12 x+9=0, someone enters p=12, q=9. Correct and solve.
Show hint
Divide the entire equation by 3.
Learning goal: Normalize every term.
Show solution and calculation
Correct form is x2+4 x+3=0, so p=4, q=3.
D=4−3=1 gives x=−2±1, or−1 and−3.
Each makes the original equation zero.
Interpret · Application
Does x2+4 x+5=0 have real roots?
Show hint
Check D or complete the square.
Learning goal: Identify the real solution set.
Show solution and calculation
D=4−5=−1<0: no real root.
Equivalently, x2+4 x+5=(x+2)2+1 is always positive.
Complex numbers would extend the real domain chosen here.
Rearrange · Application
A monic quadratic has roots 2 and−7. Find p and q.
Show hint
Compare(x−2)(x+7) with x2+px+q.
Learning goal: Recover coefficients from roots.
Show solution and calculation
The sum is−5, so p=5; the product is−14, so q=−14.
Expansion gives x2+5 x−14.
Checks 4+10−14=0 and 49−35−14=0 verify both roots.
Transfer · Challenge
For p=108, q=1, the square root is rounded to 5×107 and x+=0 is reported. Why is this wrong, and how can the small root be estimated better?
Show hint
First substitute x=0, then use the root product.
Learning goal: Recognize cancellation affecting a small root.
Show solution and calculation
x=0 leaves constant term 1, so it is not a root.
The large negative root is near−108.
Their product q=1 gives the small root near−10−8.
These approximations have product 1; greater precision requires sufficiently accurate, stably evaluated values.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Roots and parabola geometry
The vertex form shows the same symmetry: roots lie around−p/2, each at distance√D from the axis. Binomial formulas justify completing the square. A line equation instead handles a missing quadratic term; inserting a=0 into a quadratic formula is not valid.[1][2]
Sources for this explanation
Quanta · Updated November 1, 2026
- OpenStax Algebra and Trigonometry 2e §2.5: normalization, completing the square and quadratic roots
- OpenStax Algebra and Trigonometry 2e §1.4: distributivity, perfect-square trinomials and conjugate products
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 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 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
- Authored a full German-English article with an original explanation, two worked examples and five varied exercises.
Cite this reference page
Quanta. pq Formula. Updated November 1, 2026. https://quanta-study.de/en/formula-sheet/pq-formel
When citing a specific scientific statement, also cite the specialist source linked to that statement.