Solve quadratic equations ax² + bx + c = 0 with the quadratic formula. Features real and complex roots, discriminant analysis (b² - 4ac), and factoring.
DOCUMENTED FORMULA
intermediate
Interactive Workbench
intermediate
Quick PresetsClick to autofill values
Parameters3 variables
Calculation ResultAwaiting Input
Roots
--.--
Real or complex roots of the equation.
Quadratic Parabola & Root Intersections
quadratic
Loading diagram...
Parabola f(x)Vertex (h, k)Real Roots (x₁, x₂)
Live SVG Render
On this page
Jump to section ▾
Practical Worked Example
Step-by-step practical problem and numerical calculation scenario.
Problem Statement
Solve the quadratic equation:
2x2−4x+5=0
Identify coefficients a, b, and c, evaluate the discriminant Δ, and find the exact complex roots.
Step-by-Step Numerical Solution
Step 1: Identify Coefficients
a=2
b=−4
c=5
Step 2: Compute Discriminant (Δ=b2−4ac)
Δ=(−4)2−4(2)(5)=16−40=−24
Since Δ=−24<0, the equation has two complex conjugate roots.
Step 3: Apply Quadratic Formula for Complex Roots
x=2(2)−(−4)±−24=44±24⋅i
Simplify 24=4×6=26:
x=44±26i=1±26i
Step 4: Decimal Value Evaluation (6≈2.4495)
x1=1+1.2247ix2=1−1.2247i
Step 5: Verify using Vieta’s Formula
Sum: x1+x2=1+1=2=−2−4✓
Product: x1⋅x2=12−(1.2247i)2=1+1.5=2.5=25✓
Result Summary: The roots are x=1±1.225i.
Variables & Units Reference
Input parameters, calculated outputs, and supported SI/US customary units.
Mathematical Variables and Units Summary Table
Variable Symbol
Parameter Name & Description
Role
Supported Units
a
Coefficient aLeading coefficient (must not be zero).
Input
dimensionless
b
Coefficient bMiddle coefficient.
Input
dimensionless
c
Coefficient cConstant term.
Input
dimensionless
result
RootsReal or complex roots of the equation.
Output
dimensionless
ℹ
Result Interpretation & Practical Meaning
Physical significance, evaluation guidelines, and domain context for the calculated output.
The output provides the mathematical roots (solutions for x where ax² + bx + c = 0) determined via the algebraic quadratic formula, governed by the discriminant Δ = b² − 4ac. When Δ > 0, the parabola intersects the horizontal axis at two distinct real roots. When Δ = 0, the parabola's vertex touches the axis tangentially at a single repeated real root (x = −b / 2a). When Δ < 0, the parabola does not cross the real axis, yielding a pair of complex conjugate roots (x = u ± v·i).
Theoretical Foundation of Quadratic Equations
Definition:
The quadratic formula determines the exact roots of second-degree polynomial equations ax2+bx+c=0, given by x=2a−b±b2−4ac. The discriminant Δ=b2−4ac dictates whether solutions are two distinct real roots (Δ>0), one repeated root (Δ=0), or complex conjugate pairs (Δ<0).
A quadratic equation is a second-order polynomial equation in a single variable x, structured in standard form as:
ax2+bx+c=0(a=0)
Where a, b, and c represent constant real or complex coefficients. Geometrically, a quadratic function f(x)=ax2+bx+c traces a parabola in the Cartesian plane. The solutions to the equation—termed the roots or zeros—denote the exact x-coordinates where the parabolic curve intersects the horizontal axis (y=0).
Quadratic equations form the mathematical bedrock of physical sciences and classical engineering:
Kinematics & Ballistics: Trajectory altitude over time governed by gravitational acceleration (y(t)=y0+v0yt−21gt2).
Structural Optimization: Locating extreme fiber bending stresses where the first derivative of deflection vanishes.
Electrical Engineering: Determining resonant poles and damping ratios in second-order RLC network transfer functions.
The Quadratic Formula & Discriminant Analysis
The fundamental closed-form solution derived via the technique of completing the square is the universal Quadratic Formula:
x=2a−b±Δ
The algebraic term beneath the radical sign is the Discriminant (Δ or D):
Δ=b2−4ac
The numerical sign of Δ completely dictates the algebraic character and geometric multiplicity of the roots:
Two Distinct Real Roots (Δ>0):
The parabola crosses the x-axis at two unique points:
x1=2a−b+Δ,x2=2a−b−Δ
One Repeated Real Root (Δ=0):
The vertex of the parabola touches the x-axis tangentially at exactly one inflection point:
x1=x2=−2ab
Two Complex Conjugate Roots (Δ<0):
The parabola does not intersect the real x-axis. The roots reside in the complex plane (C), utilizing imaginary unit i=−1:
x1,2=−2ab±i2a∣Δ∣
Step-by-Step Solved Engineering Example
Problem Scenario: An emergency rescue flare is launched vertically upward from an observation tower 2.0 m above sea level with an initial vertical velocity of v0=24.5 m/s. Under standard gravity (g=9.8 m/s2), its elevation above sea level is given by:
h(t)=−4.9t2+24.5t+2.0=0
Calculate the precise impact time tsplash when the spent flare contacts the water (h=0).
Identify Coefficients:
a=−4.9
b=24.5
c=2.0
Evaluate the Discriminant (Δ):Δ=b2−4ac=(24.5)2−4(−4.9)(2.0)=600.25−(−39.2)=639.45
Because Δ>0, there exist two distinct real roots.
Δ=639.45≈25.2873
Compute the Two Mathematical Roots:t1=2(−4.9)−24.5+25.2873=−9.80.7873≈−0.0803 st2=2(−4.9)−24.5−25.2873=−9.8−49.7873≈5.0803 s
Physical Interpretation:
The negative root (t1=−0.08 s) represents the theoretical time prior to launch when the projectile would have left ground level had it started from sea level. The physically valid flight duration is t2=5.08 seconds.
Standard Lookup Table: Discriminant Classification & Geometric Properties
The table below summarizes the geometric, analytical, and physical properties of the quadratic equation based on coefficient parameters:
Vertex Coordinates (Maximum / Minimum):
The axis of symmetry occurs at xv=−2ab. Substituting back into the polynomial yields the peak or trough value:
yv=c−4ab2=−4aΔ
If a>0, the vertex is an absolute minimum.
If a<0, the vertex is an absolute maximum.
Vieta’s Algebraic Relations:
Without explicitly calculating square roots, the sum and product of the roots can be found directly from the coefficients:
x1+x2=−ab,x1⋅x2=ac
Critical Numerical & Computing Pitfalls
Catastrophic Cancellation in Floating-Point Math:
When b2≫4ac, b2−4ac≈∣b∣. Computing −b+b2−4ac subtracts two nearly identical large numbers, causing severe loss of numerical precision in 32-bit and 64-bit IEEE 754 arithmetic.
Stable Computational Alternative (Citardauq Formula):x1=2a−b−sgn(b)Δ,x2=a⋅x1c
Linear Degeneracy (a=0):
If coefficient a=0, the system ceases to be quadratic and collapses into a linear equation (bx+c=0) with root x=−c/b. Attempting to execute the quadratic formula directly causes a fatal division by zero (2a=0).
Authoritative Academic & Industry References
Abramowitz, M., & Stegun, I. A. — Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, National Bureau of Standards (NIST Applied Mathematics Series 55).
IEEE Std 754-2019 — IEEE Standard for Floating-Point Arithmetic (Section on Quadratic Root Numerical Stability), IEEE Computer Society.
Thomas’ Calculus: Early Transcendentals (14th Edition) — Pearson Education.
Theoretical formulation derived from standard physics and engineering textbooks and models.
Step-by-Step Mathematical Proof
Step 1
Divide by Leading Coefficient and Complete the Square
x2+abx+(2ab)2=−ac+4a2b2
Transforming the variable terms into an exact binomial square.
Step 2
Take Square Root and Isolate Variable x
(x+2ab)2=4a2b2−4ac⟹x=2a−b±b2−4ac
Extracting roots yields the general quadratic formula with discriminant delta.
Common Engineering & Calculation Pitfalls
Frequent calculation errors, unit confusion, and model boundary conditions.
Sign Reversal on Leading −b Term
Why it happens: Writing +b in the numerator when b is positive, or failing to negate a negative b value.
Correct approach: If b = −6, then −b = +6; always preserve the leading negation sign.
Dividing Only the Radical by 2a
Why it happens: Formatting error where division bar covers only the square root rather than the entire numerator (−b ± √Δ).
Correct approach: Divide the entire numerator expression by 2a.
Discarding Negative Roots in Physical Problems Without Verification
Why it happens: Assuming negative mathematical solutions are always physically invalid.
Correct approach: Check physical boundary constraints (e.g. time t ≥ 0); negative roots can represent past trajectory intersection points.
Real-World Engineering Applications
Industry deployment scenarios, practical design constraints, and field applications.
Classical Kinematics
Trajectory Flight & Impact Time
Solving quadratic vertical motion equations y(t) = y₀ + v₀ t − ½ g t² to determine landing time.
Optics & Acoustics
Parabolic Reflector Geometry
Determining focal lengths and geometric intersection points of parabolic mirrors and satellite dishes.
Frequently Asked Questions
Technical explanations grounded in governing physical laws and textbook derivations.
Frequently Asked Questions
What is “completing the square”?
Completing the square is an algebraic technique used to rewrite ax2+bx+c=0 in the form a(x−h)2+k=0. It is the method originally used to derive the general quadratic formula.
What is catastrophic cancellation in floating-point quadratic solvers?
When b2≫4ac, computing −b+b2−4ac involves subtracting two nearly equal numbers, leading to loss of numerical precision. Professional solvers use Citardauq’s formula:
x1=b+sgn(b)b2−4ac−2c
Can coefficient a be zero?
No. If a=0, the x2 term vanishes and the equation becomes linear (bx+c=0).
Academic References & Textbooks
Curated academic sources, engineering textbooks, and relevant technical references.
College Algebra (10th Edition)
Authors: Ron Larson• Source: Cengage Learning• Year: 2017
Related STEM Calculators
Explore interconnected calculations within MATHEMATICS domain.