Math Lab

Linear Equation in Two Variables

Linear Equations · Class IX

Visualize ax + by + c = 0 as a straight line by tuning a, b, c.

2
type a value
-55
3
type a value
-55
-6
type a value
-1010
Live values
  • x-intercept3
  • y-intercept2
  • Slope of line-0.6667
xy
  • ax + by + c = 0

Formulas in this lab

  • x-intercept
    c/a-c/a
  • y-intercept
    c/b-c/b
  • Slope of line
    a/b-a/b
Tip: Every linear equation in two variables has infinitely many solutions , they form a straight line.

Frequently asked questions

What is a linear equation in two variables?

Any equation of the form $ax + by + c = 0$, where a, b are not both zero, is a linear equation in two variables. Its solution is any pair $(x, y)$ making the equation true. Geometrically these solutions form a straight line.

How do I use this lab?

Slide a, b, c and the line redraws instantly. Set a = 2, b = 3, c = -6 to see the line passing through $(3, 0)$ and $(0, 2)$. Slide c alone to see the line translate without changing its slope.

Common mistake on this topic

Students sometimes plot only one solution and call it the answer. A linear equation in two variables has infinitely many solutions, all lying on the line. Always show at least two points and draw the full line in board answers.

Where do we see this in real life?

If $50x + 80y = 400$ means x kg of rice at Rs 50 plus y kg of dal at Rs 80 totalling Rs 400, every valid grocery combination is a point on this line. The lab makes such trade-offs visual.