Quadratic Equation Solver
Solve ax2 + bx + c = 0
ax2 + bx + c = 0
Formula
x = (-b +/- sqrt(b2 - 4ac)) / 2a
D > 0
Two real roots
D = 0
Equal roots
D < 0
No real roots
A Comprehensive Guide to Quadratic Equations
Quadratic equations are polynomial equations of the second degree, meaning the highest power of the variable is 2. They appear throughout mathematics, physics, engineering, economics, and computer science. Understanding how to solve them is fundamental to advanced mathematical literacy and problem-solving.
The Standard Form
A quadratic equation takes the standard form ax2 + bx + c = 0, where a, b, and c are constants, and a cannot equal zero (otherwise, it would be a linear equation). The solutions to this equation are called roots, zeros, or x-intercepts, depending on the context.
The Quadratic Formula: Your Universal Solution
The quadratic formula provides a direct method to find roots of any quadratic equation, regardless of whether the equation factors nicely:
This formula was known to ancient mathematicians but was formalized in its current algebraic form during the Islamic Golden Age by mathematicians like Al-Khwarizmi.
The Discriminant: Nature of the Roots
The discriminant, denoted as D or Δ, is the expression b2 - 4ac under the square root. It reveals critical information about the roots without actually solving the equation:
| Discriminant | Nature of Roots | Example |
|---|---|---|
| D > 0 | Two distinct real roots | x2 - 5x + 6 = 0 gives x = 2, 3 |
| D = 0 | One repeated real root | x2 - 4x + 4 = 0 gives x = 2 |
| D < 0 | Two complex conjugate roots | x2 + 4 = 0 gives x = ±2i |
Derivation: Completing the Square
Understanding where the quadratic formula comes from builds mathematical intuition. We derive it by completing the square:
1. Start: ax2 + bx + c = 0
2. Divide by a: x2 + (b/a)x + c/a = 0
3. Move constant: x2 + (b/a)x = -c/a
4. Add (b/2a)2 to both sides: x2 + (b/a)x + (b/2a)2 = -c/a + (b/2a)2
5. Factor left side: (x + b/2a)2 = (b2 - 4ac) / 4a2
6. Take square root: x + b/2a = ±sqrt(D) / 2a
7. Solve for x: x = (-b ± sqrt(D)) / 2a
Vieta's Formulas: Root Relationships
For a quadratic ax2 + bx + c = 0 with roots α and β, Vieta's formulas reveal elegant relationships:
These relationships allow quick verification of solutions and construction of equations from known roots.
Real-World Applications
- Projectile Motion: Objects thrown upward follow parabolic paths. The quadratic equation determines when and where the object reaches specific heights or returns to ground level.
- Area Optimization: When maximizing or minimizing area given constraints, quadratic equations determine optimal dimensions. This applies to fencing problems, packaging design, and room layouts.
- Business and Economics: Break-even analysis, profit maximization, and revenue optimization all lead to quadratic equations where finding the vertex reveals optimal points.
- Engineering: Parabolic mirrors and satellite dishes use quadratic geometry for focusing. Bridge cable sag follows parabolic patterns under uniform loads.
- Computer Graphics: Bezier curves and quadratic splines use quadratic functions for smooth curve rendering in design software and font rendering.
Solving Projectile Motion Problems
Problem: A ball is thrown upward at 20 m/s from a height of 1.5 m. When will it hit the ground? (Use h = -5t2 + 20t + 1.5)
Solution: Set h = 0: -5t2 + 20t + 1.5 = 0
Here a = -5, b = 20, c = 1.5
D = 202 - 4(-5)(1.5) = 400 + 30 = 430
t = (-20 ± sqrt(430)) / -10
t ≈ (-20 ± 20.74) / -10
t ≈ -0.074s or 4.074s (take the positive value)
Interpretation: The ball hits the ground after approximately 4.07 seconds. The negative time is discarded as physically meaningless.
The Vertex: Maximum and Minimum Points
The vertex of a parabola y = ax2 + bx + c occurs at x = -b/2a. When a > 0, the vertex is a minimum; when a < 0, it is a maximum. This is crucial for optimization problems:
Pro Tip: Always check the discriminant first to understand what kind of solutions to expect. For real-world physics problems, negative discriminants indicate the event won't occur under the given conditions.