Quadratic Formula Calculator

Enter coefficients a, b, and c to solve ax² + bx + c = 0. Get detailed step-by-step solutions with graph visualization.

Quadratic Equation Solver

Enter coefficients for ax² + bx + c = 0

📐 Quadratic Formula
+
x
+
=
0

Solution Results

TXT
PDF
JSON
Print
-
Root 1 (x₁)
-
Root 2 (x₂)
-
Discriminant (Δ)
-
Nature

Recent Calculations

The Quadratic Formula

The quadratic formula is a mathematical formula that provides the solutions to quadratic equations of the form ax² + bx + c = 0, where a, b, and c are coefficients, and a ≠ 0.

Quadratic Formula:
x = [-b ± √(b² - 4ac)] / 2a

Components of the Quadratic Formula:

  • a: Coefficient of x² (quadratic term)
  • b: Coefficient of x (linear term)
  • c: Constant term
  • Discriminant (Δ): b² - 4ac (determines nature of roots)
  • ±: Plus-minus sign (indicates two possible solutions)

Derivation of the Quadratic Formula

The quadratic formula is derived by completing the square on the general quadratic equation ax² + bx + c = 0:

1. Start: ax² + bx + c = 0
2. Divide by a: x² + (b/a)x + c/a = 0
3. Move constant: x² + (b/a)x = -c/a
4. Complete square: x² + (b/a)x + (b/2a)² = (b/2a)² - c/a
5. Simplify: (x + b/2a)² = (b² - 4ac)/4a²
6. Take square root: x + b/2a = ±√(b² - 4ac)/2a
7. Solve for x: x = [-b ± √(b² - 4ac)] / 2a

Standard Form

The general form of a quadratic equation: ax² + bx + c = 0

Example: 2x² + 3x - 5 = 0
a = 2, b = 3, c = -5

Factored Form

Quadratic expressed as product of binomials: a(x - r₁)(x - r₂) = 0

Example: 2(x - 1)(x + 2.5) = 0
Roots: x = 1, x = -2.5

Vertex Form

Quadratic expressed with vertex coordinates: a(x - h)² + k = 0

Example: 2(x - 1)² + 3 = 0
Vertex: (1, 3)

Discriminant Analysis

The discriminant (Δ = b² - 4ac) is a crucial component of the quadratic formula that determines the nature and number of solutions.

Δ > 0 (Positive)

  • Two distinct real roots
  • Parabola intersects x-axis at two points
  • Example: x² - 5x + 6 = 0 (Δ = 1)
  • Solutions: x = 2, x = 3
x₁ = (-b + √Δ) / 2a
x₂ = (-b - √Δ) / 2a

Δ = 0 (Zero)

  • One real root (repeated)
  • Parabola touches x-axis at one point
  • Example: x² - 4x + 4 = 0 (Δ = 0)
  • Solution: x = 2 (double root)
x = -b / 2a

Δ < 0 (Negative)

  • Two complex conjugate roots
  • Parabola doesn't intersect x-axis
  • Example: x² + 2x + 5 = 0 (Δ = -16)
  • Solutions: x = -1 ± 2i
x = (-b ± i√|Δ|) / 2a

Discriminant Interpretation Table

Discriminant Nature of Roots Graph Interpretation Number of Solutions
Δ > 0 Two distinct real roots Intersects x-axis at two points 2 real solutions
Δ = 0 One real root (repeated) Touches x-axis at vertex 1 real solution
Δ < 0 Two complex conjugate roots No x-axis intersection 2 complex solutions

Methods for Solving Quadratic Equations

Quadratic equations can be solved using several different methods, each with its own advantages and applications.

Quadratic Formula Method

  • Always works for any quadratic equation
  • Provides exact solutions including complex numbers
  • Reveals discriminant information automatically
  • Best for equations that don't factor easily
x = [-b ± √(b² - 4ac)] / 2a

Factoring Method

  • Fastest method when equation factors easily
  • Requires finding two numbers that multiply to ac and add to b
  • Works best with integer coefficients
  • Not always possible for all quadratics
ax² + bx + c = (px + q)(rx + s)
where pr = a, qs = c, ps + qr = b

Completing the Square

  • Derives the quadratic formula
  • Useful for finding vertex form
  • Helps understand the derivation process
  • Good for equations with a = 1
x² + bx + c = 0
(x + b/2)² = (b/2)² - c

Graphical Method

  • Visual representation of solutions
  • Shows x-intercepts (real roots)
  • Reveals vertex and axis of symmetry
  • Good for understanding and approximation
y = ax² + bx + c
Solutions are x-intercepts

Square Root Method

  • For equations without linear term (b = 0)
  • Simple and direct
  • ax² + c = 0 form
  • Leads to ± solutions
ax² + c = 0
x = ±√(-c/a)

Numerical Methods

  • Newton's method for approximation
  • Bisection method for bracketed roots
  • Useful for complex equations
  • Computer-based solutions
xₙ₊₁ = xₙ - f(xₙ)/f'(xₙ)
(Newton's Method)

Vertex Form of Quadratic Equations

The vertex form of a quadratic equation provides important information about the parabola's shape and position.

Vertex Form: y = a(x - h)² + k
Where (h, k) is the vertex of the parabola, and a determines the direction and width of the parabola.

1

Finding Vertex from Standard Form

For y = ax² + bx + c, the vertex coordinates are:

h = -b / (2a)
k = c - b²/(4a)
or k = f(h) = ah² + bh + c
2

Converting to Vertex Form

Complete the square to convert from standard to vertex form:

y = 2x² - 8x + 6
= 2(x² - 4x) + 6
= 2(x² - 4x + 4 - 4) + 6
= 2[(x - 2)² - 4] + 6
= 2(x - 2)² - 2
3

Axis of Symmetry

The vertical line through the vertex that divides the parabola into mirror images:

x = h
For vertex (h, k)
Line: x = h
4

Parabola Direction

Determined by the coefficient a in vertex form:

a > 0: Opens upward
a < 0: Opens downward
|a| > 1: Narrow parabola
0 < |a| < 1: Wide parabola
5

Maximum/Minimum Value

The vertex represents the extreme value of the quadratic function:

a > 0: Minimum at vertex
a < 0: Maximum at vertex
Value = k
6

Applications of Vertex Form

Useful for optimization problems and real-world applications:

Projectile motion
Profit maximization
Area optimization
Engineering design

Real-World Applications of Quadratic Equations

Quadratic equations model numerous real-world phenomena across various fields.

Physics and Engineering

  • Projectile Motion: Height vs. time equations
  • Optics: Mirror and lens equations
  • Spring Systems: Harmonic motion
  • Structural Engineering: Beam deflection
  • Electrical Circuits: Power calculations

Economics and Business

  • Profit Maximization: Revenue - Cost functions
  • Supply and Demand: Equilibrium price
  • Cost Analysis: Break-even points
  • Investment Returns: Compound interest
  • Market Analysis: Price optimization

Geometry and Architecture

  • Area Calculations: Maximizing enclosed areas
  • Volume Optimization: Box design problems
  • Arch Design: Parabolic structures
  • Bridge Design: Suspension cables
  • Land Surveying: Property boundaries

Biology and Medicine

  • Population Growth: Limited resource models
  • Drug Concentration: Metabolism rates
  • Epidemiology: Disease spread models
  • Physiology: Respiratory patterns
  • Genetics: Inheritance patterns

Computer Science

  • Algorithm Analysis: Time complexity
  • Graphics: Bezier curves
  • Game Development: Trajectory paths
  • Machine Learning: Optimization functions
  • Cryptography: Encryption algorithms

Sports and Recreation

  • Ball Trajectories: Basketball, football paths
  • Golf: Ball flight calculations
  • Swimming: Optimal dive angles
  • Track and Field: Javelin throw paths
  • Amusement Parks: Roller coaster design

Solved Examples

Step-by-step solutions to various quadratic equations:

Example 1: Two Real Roots
Solve: x² - 5x + 6 = 0
1. Identify: a = 1, b = -5, c = 6
2. Discriminant: Δ = (-5)² - 4(1)(6) = 25 - 24 = 1
3. Since Δ > 0, two real roots
4. Apply formula: x = [5 ± √1] / 2
5. x₁ = (5 + 1)/2 = 3, x₂ = (5 - 1)/2 = 2
x = 2, 3
Example 2: One Real Root
Solve: x² - 4x + 4 = 0
1. Identify: a = 1, b = -4, c = 4
2. Discriminant: Δ = (-4)² - 4(1)(4) = 16 - 16 = 0
3. Since Δ = 0, one real root
4. Apply formula: x = [4 ± √0] / 2
5. x = 4/2 = 2
x = 2 (double root)
Example 3: Complex Roots
Solve: x² + 2x + 5 = 0
1. Identify: a = 1, b = 2, c = 5
2. Discriminant: Δ = 2² - 4(1)(5) = 4 - 20 = -16
3. Since Δ < 0, complex roots
4. Apply formula: x = [-2 ± √(-16)] / 2
5. x = [-2 ± 4i] / 2 = -1 ± 2i
x = -1 ± 2i
Example 4: Factoring Method
Solve: 2x² + 7x + 3 = 0
1. Factor: (2x + 1)(x + 3) = 0
2. Set each factor to zero: 2x + 1 = 0 or x + 3 = 0
3. Solve: x = -1/2 or x = -3
4. Check: 2(-1/2)² + 7(-1/2) + 3 = 0 ✓
x = -1/2, -3
Example 5: Completing Square
Solve: x² + 6x + 5 = 0
1. Move constant: x² + 6x = -5
2. Complete square: x² + 6x + 9 = -5 + 9
3. Factor: (x + 3)² = 4
4. Square root: x + 3 = ±2
5. Solve: x = -3 ± 2 = -1 or -5
x = -1, -5
Example 6: Vertex Form
Find vertex of: y = 2x² - 8x + 6
1. Identify: a = 2, b = -8, c = 6
2. Vertex x-coordinate: h = -b/(2a) = 8/(4) = 2
3. Vertex y-coordinate: k = f(2) = 2(4) - 8(2) + 6 = -2
4. Vertex form: y = 2(x - 2)² - 2
5. Vertex: (2, -2), opens upward
Vertex: (2, -2)

Practice Problems

Test your understanding with these practice problems:

Problem 1: Solve x² + 8x + 15 = 0

Solution:

Using quadratic formula: a = 1, b = 8, c = 15

Δ = 8² - 4(1)(15) = 64 - 60 = 4

x = [-8 ± √4] / 2 = [-8 ± 2] / 2

x₁ = (-8 + 2)/2 = -3

x₂ = (-8 - 2)/2 = -5

Answer: x = -3, -5

Problem 2: Solve 3x² - 12x + 12 = 0

Solution:

Using quadratic formula: a = 3, b = -12, c = 12

Δ = (-12)² - 4(3)(12) = 144 - 144 = 0

x = [12 ± √0] / 6 = 12/6 = 2

Answer: x = 2 (double root)

Problem 3: Solve 2x² + 3x + 4 = 0

Solution:

Using quadratic formula: a = 2, b = 3, c = 4

Δ = 3² - 4(2)(4) = 9 - 32 = -23

x = [-3 ± √(-23)] / 4 = [-3 ± i√23] / 4

Answer: x = (-3 ± i√23)/4

Problem 4: Find vertex of y = -x² + 6x - 8

Solution:

For y = ax² + bx + c, vertex (h, k) where:

h = -b/(2a) = -6/(2×-1) = 3

k = f(3) = -(3)² + 6(3) - 8 = -9 + 18 - 8 = 1

Answer: Vertex = (3, 1)

Problem 5: Solve by factoring: x² - 9 = 0

Solution:

Recognize as difference of squares: x² - 9 = (x - 3)(x + 3) = 0

Set each factor to zero: x - 3 = 0 or x + 3 = 0

x = 3 or x = -3

Answer: x = ±3

Frequently Asked Questions

Common questions about quadratic equations, roots, and the quadratic formula with clear step-by-step explanations.

Why can't a be zero in a quadratic equation?
If a = 0, the equation becomes linear (bx + c = 0) instead of quadratic. A quadratic equation must have degree 2, and the quadratic formula requires division by 2a, so a must not be zero.
What does the ± symbol mean in the quadratic formula?
The ± symbol means "plus or minus", giving two solutions. One solution uses +√(b² - 4ac) and the other uses -√(b² - 4ac), resulting in two possible roots.
What is the quadratic formula and how does it work?
The quadratic formula solves equations of the form ax² + bx + c = 0 by calculating x = (-b ± √(b² - 4ac)) / (2a). It works for all quadratic equations, even when factoring is not possible.
What does the discriminant tell you?
The discriminant (b² - 4ac) determines the nature of the roots: positive → two real roots, zero → one repeated root, negative → complex roots.
How do I solve quadratic equations step-by-step?
Identify coefficients (a, b, c), substitute into the quadratic formula, simplify the square root, compute both solutions, and verify results.
When should I use the quadratic formula instead of factoring?
Use the quadratic formula when factoring is difficult or impossible, especially when coefficients are large or roots are irrational or complex.
What are complex conjugate roots?
Complex roots occur when the discriminant is negative and appear in pairs like a ± bi. These are called conjugates and always come together in quadratic equations with real coefficients.
How do I find the vertex of a quadratic function?
The vertex is found using x = -b/(2a). Substitute this value into the equation to find the y-coordinate. The vertex represents the maximum or minimum point.
What is the axis of symmetry?
The axis of symmetry is the vertical line x = -b/(2a). It divides the parabola into two equal halves and passes through the vertex.
How do roots relate to the graph of a parabola?
Roots are the x-intercepts where the graph crosses the x-axis. Real roots intersect the axis, while complex roots do not appear on the graph.
What is completing the square?
Completing the square rewrites a quadratic into vertex form by creating a perfect square trinomial. It helps in finding the vertex and deriving the quadratic formula.
What are Vieta’s formulas?
Vieta’s formulas relate roots to coefficients: sum of roots = -b/a and product of roots = c/a. These help verify solutions quickly.
Can a quadratic equation have only one solution?
Yes, when the discriminant is zero, both roots are equal, resulting in one repeated solution.
Is this quadratic formula calculator accurate and free?
Yes, this calculator is completely free and provides accurate step-by-step solutions, including roots, discriminant, and graph analysis.