In short
A linear equation in one variable, like 2x = 6, pins down a single number: x = 3. A linear equation in two variables, like 2x + 3y = 12, behaves completely differently — it has infinitely many solutions. Every ordered pair (x, y) that sits on the corresponding straight line satisfies the equation. The line is not just a decoration drawn through a few points; it is the picture of the entire solution set. In this article you light up dots along the line 2x + 3y = 12 one by one — (0, 4), (3, 2), (6, 0), (-3, 6), and on and on — and watch the line emerge as the silhouette of infinitely many valid answers.
When you first learnt to solve 2x = 6 in CBSE Class 6 or 7, the answer was a single number: x = 3. Plug it in, get 6, done. There was one x that worked and that was the end of the story.
Then in Class 9-10 you meet 2x + 3y = 12 and the rules change. Try x = 3, y = 2: 6 + 6 = 12. ✓ Now try x = 0, y = 4: 0 + 12 = 12. ✓ Now try x = 6, y = 0: 12 + 0 = 12. ✓ Now try x = -3, y = 6: -6 + 18 = 12. ✓
Every one of them works. And there is no end to the supply — pick any real x at all and you can compute the y that pairs with it. This is the central surprise of Linear Equations in Two Variables: you have moved from "find the number" to "describe the relationship", and a relationship between two unknowns has infinitely many witnesses.
The picture of that infinity is a straight line.
Light up the dots, one by one
Click the button below. Each click drops one solution dot onto the line 2x + 3y = 12 and shows the substitution that proves it works. Keep clicking — the dots will fill in along the line until the line itself is just the union of all those valid (x, y) pairs.
After eleven dots, you have only sampled a tiny finite slice of an infinite set. Between (0, 4) and (3, 2) alone live infinitely many more solutions: (1, 10/3), (2, 8/3), (0.7, 10.6/3), (\sqrt{2}, (12 - 2\sqrt{2})/3), and on without end. The dashed line that became solid at the end is shorthand for all of them at once.
Why infinitely many — the degrees of freedom argument
There is a crisp counting reason behind the infinity, and it is worth absorbing because it generalises far beyond two variables.
You start with two unknowns, x and y. Two unknowns means two degrees of freedom — two independent dials you can turn.
Then you impose one equation, 2x + 3y = 12. One equation pins down one of those degrees of freedom. Why: rearranging gives y = (12 - 2x)/3, so the moment you commit to a value of x, the value of y is forced. There is no longer any choice in y.
That leaves one degree of freedom remaining. The solution set is one-dimensional — a curve. For a linear equation, that curve is a straight line.
In general:
| Unknowns | Equations | Solution set |
|---|---|---|
| 1 | 1 | a single point (the answer) |
| 2 | 1 | a line (infinitely many points) |
| 2 | 2 | a single point (where two lines cross) |
| 3 | 1 | a plane in 3D space |
| 3 | 2 | a line in 3D space |
Why this counting works: each independent linear equation collapses one direction of freedom. Two unknowns minus one equation leaves one direction free — and that one free direction is exactly what you slide along when you walk along the line 2x + 3y = 12.
This is why one equation in two unknowns can never give you a single answer — the algebra has not done enough work. To pin a single point you need a second equation, which is the doorway into Systems of Linear Equations.
A static snapshot
If the interactive widget cannot run, here is the same idea as a still image: several solution dots highlighted along the line 2x + 3y = 12, with an arrow reminding you that every dot — and every point in between — satisfies the equation.
Worked examples
Example 1: Five solutions of $x + y = 5$
The simplest two-variable equation. Pick any number for x, and y has to equal 5 - x. Five samples:
| x | y = 5 - x | check x + y |
|---|---|---|
| 0 | 5 | 0 + 5 = 5 ✓ |
| 1 | 4 | 1 + 4 = 5 ✓ |
| 2 | 3 | 2 + 3 = 5 ✓ |
| 5 | 0 | 5 + 0 = 5 ✓ |
| -1 | 6 | -1 + 6 = 5 ✓ |
All five are valid solutions. So is (2.5, 2.5). So is (\pi, 5 - \pi). So is (100, -95). Why: the formula y = 5 - x accepts every real number as input and produces a matching y. There is no x for which y fails to exist, and no two different x-values give the same pair. The map x \mapsto (x, 5 - x) is a one-to-one correspondence between the real number line and the solution set, so the solution set is just as infinite as \mathbb{R}.
If you plotted all five sample dots, they would line up perfectly on the straight line that runs from the top-left corner of the first quadrant to the bottom-right, passing through (0, 5) and (5, 0). That line is the picture of all infinitely many solutions of x + y = 5.
Example 2: Plot three solutions of $3x - 2y = 6$
Pick x = 0, 2, 4 and solve for y each time.
- x = 0: -2y = 6 \implies y = -3. Point (0, -3).
- x = 2: 6 - 2y = 6 \implies y = 0. Point (2, 0).
- x = 4: 12 - 2y = 6 \implies 2y = 6 \implies y = 3. Point (4, 3).
Why these three: x = 2 is the x-intercept (set y = 0 and solve), y = -3 is the y-intercept (set x = 0). The third point is a verification — if it lands on the same line, your arithmetic is right.
The three sample dots prove the line; the line then promises infinitely many more. For instance, (1, -1.5) sits on it: 3(1) - 2(-1.5) = 3 + 3 = 6. ✓
Example 3: One variable vs two — the contrast that started everything
Compare three statements:
(a) One variable. 2x = 6.
Solve: x = 3. Exactly one solution. The "graph" of the solution set on a number line is a single dot at 3.
(b) Two variables, but one drops out. 2x + 0 \cdot y = 6.
Algebraically the y vanishes. The equation reduces to 2x = 6, so x = 3 — but now y is free to be anything at all. Why: the equation never constrains y. Whatever value y takes, the left side is still 2x = 2(3) = 6. So the solution set is \{(3, y) : y \in \mathbb{R}\} — every point with x = 3, which is the vertical line x = 3. Infinitely many solutions, even though the equation looks "one-dimensional".
(c) Two variables, both present. 2x + 3y = 6.
Now both x and y matter. Pick x freely and y is determined by y = (6 - 2x)/3. Solution set is the slanted line through (0, 2) and (3, 0). Infinitely many solutions, lying along a tilted line in the plane.
The big takeaway, which you will use throughout CBSE Class 9-10 algebra and graphing:
An equation in one unknown has one solution. An equation in two unknowns has a line of solutions.
The jump from "a number" to "a line" is the leap from Class 7 algebra to Class 9 coordinate geometry. Once you see that the solution set has a shape, you have started to think geometrically — and that is the gateway to everything that comes next: coordinate geometry, systems of linear equations, and the full study of straight lines.
Why this matters for your exam (and beyond)
CBSE Class 9 introduces linear equations in two variables explicitly so you can stop thinking of "solving an equation" as always meaning "finding the number". By Class 10 you are expected to handle pairs of such equations and find the single point where two lines meet. Without first seeing that one equation gives a line of solutions, the very idea of two lines crossing at a point would not make sense — you would not know what those two lines were lines of.
In Class 11-12 the same counting argument scales up: a single equation in three variables gives a plane; two give a line; three give a point. In linear algebra (BSc, JEE Advanced reach) it becomes the rank-nullity theorem. Every one of those generalisations is rooted in the picture you just lit up: dots that fill a line because one equation in two unknowns leaves one degree of freedom.