Systems of Equations Solver

Adjust slopes and intercepts for two lines. Watch the intersection move, disappear (parallel), or merge (same line).

Two Lines

1.0
2.0
-0.5
-1.0

Solution

Equation 1--
Equation 2--
Case--
Solution--
Relationship--

The Math Behind It

Solving Systems

  • A system of two linear equations: y = m₁x + b₁ and y = m₂x + b₂
  • To find intersection: set equal, solve m₁x + b₁ = m₂x + b₂
  • Solution: x = (b₂ - b₁) / (m₁ - m₂)
  • Then find y by plugging x back into either equation

Three Cases

  • One solution: Lines intersect at exactly one point (different slopes)
  • No solution: Lines are parallel — same slope, different intercepts
  • Infinite solutions: Lines are the same — same slope AND same intercept

Try This

  • Make slopes equal — watch intersection vanish (parallel)
  • Then match intercepts — lines merge (infinite solutions)
  • Set m₁ × m₂ = -1 for perpendicular lines