Algebra

Quadratic Equation

A quadratic equation is an equation of degree two that can be written in the standard form ax² + bx + c = 0, where a is not zero.

Meaning

What Is Quadratic Equation?

A quadratic equation is an equation of degree two that can be written in the standard form ax² + bx + c = 0, where a is not zero.

Examples

Examples of Quadratic Equation

1x² - 5x + 6 = 0
22x² + 3x - 2 = 0
3x² = 16
Understand

Formula and Key Points

Formula / rule
x = (-b ± √(b² - 4ac)) / 2a
  • The highest power of the variable is 2.
  • The coefficient a cannot be zero.
  • A quadratic can have two, one or no real solutions.
  • The discriminant b² - 4ac helps determine the type of roots.
CSE Connection

Why This Matters in Computer Science

Used in programming formulas, symbolic computation, constraint solving, algorithm derivations and data modelling.

Step by Step

Worked Example

Problem

Solve x² - 5x + 6 = 0.

  1. Factor the quadratic: x² - 5x + 6 = (x - 2)(x - 3).
  2. Set each factor equal to zero.
  3. x - 2 = 0 gives x = 2.
  4. x - 3 = 0 gives x = 3.
✓
Final Answerx = 2 or x = 3
Try Your Own Problem in Math Solver →
Compare

Linear vs Quadratic Equation

FeatureLinear EquationQuadratic Equation
Highest power12
Example2x + 3 = 7x² - 5x + 6 = 0
GraphStraight lineParabola
Typical real solutionsOneUp to two
FAQ

Quadratic Equation: Frequently Asked Questions

What is the standard form of a quadratic equation?

ax² + bx + c = 0, where a is not zero.

What is the quadratic formula?

x = (-b ± √(b² - 4ac)) / 2a.

What does the discriminant tell us?

It indicates whether the equation has two real roots, one repeated real root or two complex roots.