Grade 9 · Algebra
Start with what an equation in two variables actually means, learn to graph it, then build up to slope and intercepts before trying the interactive Explorer.
An equation in two variables — usually called x and y — is a statement that relates two unknown quantities using an equals sign. For example: x + y = 7, or 2x − 3y = 12.
A solution is an ordered pair (x, y) that makes the equation true when you substitute the values in.
Compare this to an equation in one variable, like x + 3 = 10, which has exactly one solution (x = 7). An equation in two variables usually has infinitely many solutions — because for almost any value you pick for x, there's a matching value of y that makes the equation true, and there are infinitely many numbers to choose from.
Take x + y = 7. Here are just a few of its infinitely many solutions:
| x | 0 | 1 | 2 | 3 | 7 | −1 |
|---|---|---|---|---|---|---|
| y | 7 | 6 | 5 | 4 | 0 | 8 |
To graph an equation in two variables:
For example, here's y = 2x − 1 plotted from four solutions:
Equations in two variables show up constantly in real life — anywhere one quantity depends on another:
Check your understanding of parts 1a and 1b.
Two special cases of straight lines are worth knowing before we get to slope-intercept form:
📎 Note: slope and intercepts aren't formally part of the NCERT Class 9 Chapter 4 syllabus — they're introduced properly in later classes. We cover them here as enrichment because they deepen your understanding of the same graphs and give you a head start. See the Formula Sheet later in this page for a clear core-vs-enrichment breakdown.
Slope (m) measures how steep a line is and which way it tilts. It's the ratio of vertical change to horizontal change between any two points on the line:
A positive slope rises left to right, a negative slope falls, and a slope of zero is a flat, horizontal line.
Y-intercept (b) is the point where the line crosses the y-axis — where x = 0. In slope-intercept form y = mx + b, it's simply the constant term b.
X-intercept is the point where the line crosses the x-axis — where y = 0. Solve 0 = mx + b for x to get x = −b/m.
This example line is y = 2x − 4: slope 2 (rise 4 over run 2), y-intercept (0, −4), x-intercept (2, 0).
Check your understanding of parts 2 and 3.
So far we've written lines in slope-intercept form, y = mx + b. There's another handy way to write a line when you know both intercepts directly — the intercept form:
Here, a is the x-intercept (the line crosses the x-axis at (a, 0)) and b is the y-intercept (the line crosses the y-axis at (0, b)).
A line has x-intercept 4 and y-intercept 3. Its intercept form is x/4 + y/3 = 1. Multiplying every term by 12 clears the fractions: 3x + 4y = 12, which rearranges to slope-intercept form as y = −0.75x + 3.
Take y = 2x − 4. Set y = 0 to find the x-intercept: 0 = 2x − 4 → x = 2, so a = 2. The y-intercept is already b = −4. So the intercept form is x/2 + y/(−4) = 1, i.e. x/2 − y/4 = 1.
A one-page recap before you head into practice. Each item is labeled so you know exactly what's core NCERT syllabus versus useful extra depth.
| Idea | Formula / Fact |
|---|---|
| General form | ax + by + c = 0 (a, b not both zero) |
| Solutions | Infinitely many ordered pairs (x, y) |
| Graph | Plot solutions, join with a straight line |
| Line parallel to x-axis | y = k |
| Line parallel to y-axis | x = k |
Slope, y/x-intercepts, and intercept form aren't part of the official Class 9 Chapter 4 syllabus — they're introduced properly in later classes. We cover them here because they deepen understanding of the same graphs and give you a head start.
| Idea | Formula / Fact |
|---|---|
| Slope | m = (y₂ − y₁)/(x₂ − x₁) = rise/run |
| Slope-intercept form | y = mx + b |
| Y-intercept | (0, b) |
| X-intercept | (−b/m, 0) |
| Intercept form | x/a + y/b = 1 |
Part 6 · Interactive Tool
Drag the sliders to build a line, drag the dot to trace it, then test yourself in Challenge Mode.
This uses the graph above — the dashed target line will appear on it.
| x |
|---|
| y |
📊 This graph depicts this problem's situation — it's not interactive. It plots the line (and any given points) to help you visualize what's being asked; after you answer or reveal the solution, it marks the answer point too.
Phrased the way your textbook and exam papers actually ask — including the classic "find the missing coefficient" and real NCERT example problems.
📊 This graph depicts this problem's situation — it's not interactive.
Six multi-step problems that combine two or three skills at once. Take your time.
📊 This graph depicts this problem's situation — it's not interactive. Some tough problems also show the original line dashed, so you can compare it to the one you're solving for.
Three fixed 20-mark papers, structured like a real CBSE test — Section A (1 mark) through Section D (4 marks), increasing in difficulty. Pick one below.