Rattu / Learn / Class 9 / Maths
Two Variables, One Line Class 9: MCQs with Answers, Notes and Diagram Practice
Chapter 13: linear equations in two variables, slope, y = mx + d, and solving a pair by substitution, elimination and graphs. Try the quiz, then read the notes.
What is a linear equation in two variables?
It is an equation that can be written as ax + by + c = 0, where a, b and c are real numbers and a and b are not both zero. Each variable appears only to the power 1, and there is no product of the variables. Examples are 3x + 2y = 12 and 5y = 7.
Two Variables, One Line MCQs: practice quiz
Tap or drag to answer. Nothing is saved or sent.
This page follows the 2026-27 NCERT Class 9 Maths Chapter 13, Two Variables, One Line (Ganita Manjari, Part II). It covers ground that older editions taught in the Class 9 chapter Linear Equations in Two Variables, and it also solves pairs of equations, which older books left to Class 10.
In one line: a linear equation in two variables has infinitely many solutions that all lie on one straight line, the slope tells you how steep that line is, and two such equations together can be solved by substitution, elimination or by seeing where their lines meet.
This chapter builds on the linear patterns and linear polynomials of Part I. It first studies one equation, its solutions, its graph and its slope, and then studies two equations at once. In older books this was the Class 9 chapter Linear Equations in Two Variables, and solving a pair continued in Class 10.
Linear equation in two variables: standard form
Any equation that can be written as ax + by + c = 0, where a, b and c are real numbers and a and b are not both zero, is a linear equation in two variables. Here a and b are the coefficients of x and y, and c is the constant term.
- Mangoes at 60 per kg and bananas at 50 per kg, bought for 280 in all, give 60x + 50y = 280.
- Coefficients may be fractions. To clear them, multiply by a suitable number: x/3 + y/2 − 1 = 0 times 6 gives 2x + 3y − 6 = 0.
- An equation like 3y = 5 is also allowed: it is 0·x + 3y − 5 = 0, with a = 0, b = 3, c = −5.
Worked example: 2x − 5y = 8 becomes 2x − 5y − 8 = 0, so a = 2, b = −5, c = −8.
Solutions of a linear equation and its graph
A solution is a pair of values of x and y that satisfies the equation, written as an ordered pair (x, y). The order matters: for x + 2y = 11, (3, 4) works but (4, 3) does not.
- Choose any value for x, substitute, and solve for y. This gives infinitely many solutions.
- Plot the solutions and they lie on a straight line. Every point on the line is a solution and every solution is a point on the line.
- To draw it, put x = 0 to find where it meets the y-axis, and y = 0 to find where it meets the x-axis. For 4x + 3y = 12 these are (0, 4) and (3, 0).
- If c = 0, the line passes through the origin. The equation x = 0 is the y-axis, and y = 0 is the x-axis.
Slope of a line: rise over run
Slope (gradient) measures steepness. For two points (x1, y1) and (x2, y2): slope = rise ÷ run = (y2 − y1)/(x2 − x1).
- Positive slope: the line goes up from left to right. Negative slope: it goes down.
- Zero slope: a horizontal line such as y = 5. Undefined slope: a vertical line such as x = 2, because its run is 0.
- The slope is the same for any two points on the line, and does not change if you swap the order of the points.
Worked example: through (0, 5) and (2, 1): slope = (1 − 5)/(2 − 0) = −2. A ramp that rises 3 m over a run of 12 m has slope 3/12 = 1/4.
Slope-intercept form: y = mx + d
In y = mx + d, m is the slope and d is the y-intercept: the line cuts the y-axis at (0, d). It works because two points on the line give (mx2 + d − mx1 − d)/(x2 − x1) = m.
- To convert ax + by + c = 0 (with b ≠ 0): by = −ax − c, so m = −a/b and d = −c/b.
- 4x + y = 6 becomes y = −4x + 6: slope −4, y-intercept 6. For every 1 unit increase in x, y falls by 4.
- Lines with the same slope but different intercepts are parallel.
Pair of linear equations in two variables
Two equations a1x + b1y + c1 = 0 and a2x + b2y + c2 = 0 form a pair. A solution of the pair is an ordered pair that satisfies both.
Forming the pair: if 3 pens and 2 notebooks cost 70, and 1 pen and 4 notebooks cost 60, then 3x + 2y = 70 and x + 4y = 60. A two-digit number with tens digit x and units digit y is 10x + y, and its reverse is 10y + x.
Substitution method
- From one equation, write one variable in terms of the other.
- Substitute it in the other equation and solve the one-variable equation.
- Put the value back to find the other variable, and check in both.
Worked example: x = y + 1 and x + 2y = 7. Then y + 1 + 2y = 7, so y = 2 and x = 3.
Elimination method
Multiply the equations so one variable has equal coefficients, then add or subtract to cancel it. Multiply every term, including the right-hand side.
Worked example: 2x + 3y = 12 and 5x + 6y = 27. Double the first: 4x + 6y = 24. Subtract: x = 3. Then 6 + 3y = 12 gives y = 2.
When the coefficients of x and y are swapped between the equations, such as 7x + 4y = 58 and 4x + 7y = 52, add them (x + y = 10) and subtract them (x − y = 2) to get x = 6, y = 4.
Solving linear systems is very old: it appears on Babylonian tablets (about 2000 BCE), in the Chinese Nine Chapters (the chapter fangcheng, solved with counting rods), and in work by Aryabhata and Brahmagupta.
Unique, no or infinitely many solutions (graphical method)
Each equation is a line, and a solution is a point on both lines. Compare the ratios a1/a2, b1/b2 and c1/c2:
- a1/a2 ≠ b1/b2: the lines intersect, giving one solution.
- a1/a2 = b1/b2 ≠ c1/c2: the lines are parallel, giving no solution. Elimination ends with an impossible statement like 0 = 5.
- a1/a2 = b1/b2 = c1/c2: the lines coincide, giving infinitely many solutions. Elimination ends with 0 = 0.
Graphical method: find two points for each equation, plot both lines and read the coordinates where they meet. For x + y = 7 and x − y = 3 the lines meet at (5, 2).
A word problem: gym X charges 300 plus 20 per class, gym Y charges 160 plus 40 per class. They cost the same when 300 + 20n = 160 + 40n, so n = 7.
Two Variables, One Line short notes: quick revision list
- Standard form: ax + by + c = 0, with a and b not both zero
- A linear equation in two variables has infinitely many solutions, and its graph is a straight line
- Slope = rise/run = (y2 − y1)/(x2 − x1)
- Horizontal line: slope 0. Vertical line: slope undefined
- y = mx + d: slope m, y-intercept d, line cuts y-axis at (0, d)
- From ax + by + c = 0: slope m = −a/b, y-intercept d = −c/b
- a1/a2 ≠ b1/b2: one solution, lines intersect
- a1/a2 = b1/b2 ≠ c1/c2: no solution, lines parallel
- a1/a2 = b1/b2 = c1/c2: infinitely many solutions, lines coincide
- Substitution: express one variable, substitute, solve, back-substitute
- Elimination: equalise one coefficient (multiply every term), add or subtract, solve, back-substitute
- Two-digit number: 10x + y, reversed 10y + x
Common mistakes in Two Variables, One Line
Students lose marks on these most often. Read each pair once before the test.
- Not this: Writing the slope as run ÷ rise, for example 4/6 for a line that rises 6 over a run of 4.
Say this: Slope is rise ÷ run, the change in y over the change in x: 6/4 = 3/2. - Not this: Reading the slope of 5x + y = 3 as 5 because 5 is the number in front of x.
Say this: Rewrite first as y = mx + d. Here y = −5x + 3, so the slope is −5. In ax + by + c = 0 the slope is −a/b. - Not this: Saying a vertical line such as x = 2 has slope 0.
Say this: A horizontal line (y = 5) has slope 0. A vertical line has run 0, so dividing by it makes the slope undefined. - Not this: In elimination, multiplying only the left side of an equation to match coefficients.
Say this: Multiply every term, including the right-hand side. 2x + 3y = 12 doubled is 4x + 6y = 24, not 4x + 6y = 12. - Not this: Deciding a pair has infinitely many solutions just because a1/a2 = b1/b2.
Say this: Check the constants too. If a1/a2 = b1/b2 but c1/c2 is different, the lines are parallel and there is no solution.
Two Variables, One Line: assertion-reason questions
Options: (a) A and R are both true and R explains A. (b) Both are true but R does not explain A. (c) A is true, R is false. (d) A is false, R is true. Open each to see the answer.
1. Assertion (A): The pair x + y = 4 and 2x + 2y = 9 has no solution.
Reason (R): The ratios a1/a2 and b1/b2 are both 1/2, while c1/c2 is 4/9, which is different.
Answer: (a)
Equal coefficient ratios with a different constant ratio mean parallel lines, so R is true and it is exactly why A holds.
2. Assertion (A): The line y = 4 has an undefined slope.
Reason (R): The slope of a vertical line is undefined because its run is zero.
Answer: (d)
y = 4 is a horizontal line with slope 0, so A is false. R is a true statement about vertical lines.
3. Assertion (A): The line y = 2x + 1 has slope 2.
Reason (R): The pair 2x + 3y = 5 and 4x + 6y = 10 has infinitely many solutions.
Answer: (b)
In y = mx + d the slope is m = 2, so A is true. R is also true (the second equation is twice the first), but it says nothing about slope and does not explain A.
Two Variables, One Line: case study question
A school canteen sells samosas and cups of tea. On Monday, 2 samosas and 1 cup of tea cost 40 rupees in all. On Tuesday, 1 samosa and 2 cups of tea cost 35 rupees. Let a samosa cost x rupees and a cup of tea cost y rupees.
1. Which pair of equations models the two days?
- 2x + y = 40 and x + 2y = 35
- x + 2y = 40 and 2x + y = 35
- 2x + 2y = 40 and x + y = 35
- x + y = 40 and x + y = 35
Answer: 2x + y = 40 and x + 2y = 35
Monday gives 2 samosas and 1 tea, so 2x + y = 40. Tuesday gives 1 samosa and 2 teas, so x + 2y = 35.
2. What is the price of one cup of tea, in rupees?
- 10
- 15
- 20
- 25
Answer: 10
Doubling the first equation gives 4x + 2y = 80. Subtracting x + 2y = 35 leaves 3x = 45, so x = 15, and then y = 40 − 30 = 10.
Two Variables, One Line questions and answers
Prefer to read? Open a question to see the answer and why.
1. Which of these is a linear equation in two variables?
- 3x + 2y = 9
- x² + y = 4
- xy = 6
- 2/x + y = 5
Answer: 3x + 2y = 9
Only 3x + 2y = 9 has each variable to the power 1 and no product of the variables, so it fits ax + by + c = 0.
2. Sort each ordered pair by whether it is a solution of x + y = 5.
- (2, 3) → Solution
- (5, 0) → Solution
- (−1, 6) → Solution
- (1, 5) → Not a solution
- (4, 2) → Not a solution
2 + 3, 5 + 0 and −1 + 6 all make 5, while 1 + 5 = 6 and 4 + 2 = 6.
3. Put the steps for drawing the graph of a linear equation in order.
- Put x = 0 and find y
- Put y = 0 and find x
- Plot the two points
- Draw the straight line through them
The two axis points give two solutions. Plot them, then join them with a straight line.
4. Match each kind of slope with the line it describes.
- Positive slope → Line rises left to right
- Negative slope → Line falls left to right
- Zero slope → Horizontal line
- Undefined slope → Vertical line
The sign of the slope tells the direction, zero means flat, and undefined means straight up and down.
5. On the line y = −3x + 4, y decreases by 3 whenever x increases by 1.
Answer: True
The slope −3 means each step of 1 to the right takes y down by 3.
90 more questions in the Rattu app
This page plays the first 5. The app holds all 95 for this chapter: practice another 9 quiz formats across 10 topics.
Free to start. Android today; iPhone is coming.
Two Variables, One Line: common questions
What is a linear equation in two variables?
It is an equation that can be written as ax + by + c = 0, where a, b and c are real numbers and a and b are not both zero. Each variable appears only to the power 1, and there is no product of the variables. Examples are 3x + 2y = 12 and 5y = 7.
How many solutions does a linear equation in two variables have?
It has infinitely many solutions. A solution is an ordered pair (x, y) that satisfies the equation, and you can choose any value of x and solve for y. All these solutions lie on one straight line, which is the graph of the equation.
What is the slope of a line and how do you find it?
The slope is the steepness of the line: rise divided by run, or (y2 − y1)/(x2 − x1) for two points on it. It is the same for any two points on the line. In y = mx + d, the slope is m and the line cuts the y-axis at (0, d).
How do you solve a pair of linear equations in two variables?
You can use substitution (write one variable in terms of the other and put it into the second equation), elimination (make a coefficient equal and add or subtract to cancel a variable), or the graphical method (find where the two lines meet). All three give the same solution.
How do you tell if a pair of linear equations has a unique solution, no solution or infinitely many?
Compare a1/a2, b1/b2 and c1/c2. If a1/a2 is not equal to b1/b2 there is one solution. If all three ratios are equal there are infinitely many. If the first two are equal and the third differs there is no solution. This is the old Class 9 topic Linear Equations in Two Variables, and it carries on into Pair of Linear Equations in Two Variables in Class 10.
What are the important questions in Two Variables, One Line Class 9?
Practise one set of questions for each topic in the notes: Linear equation in two variables: standard form, Solutions of a linear equation and its graph, Slope of a line: rise over run, Slope-intercept form: y = mx + d, Pair of linear equations in two variables, Substitution method, Elimination method, Unique, no or infinitely many solutions (graphical method). Then try the assertion-reason and case study questions on this page, which are the question styles that now come in school and board papers. The Rattu app has all 95 questions for this chapter.
Are there assertion-reason and case study questions for Two Variables, One Line?
Yes. This page has three assertion-reason questions and one case study question with answers and short explanations, written for Class 9 Maths Two Variables, One Line.
Where can I find short notes and a quick revision list for Two Variables, One Line?
Read the notes on this page topic by topic. The last section, Two Variables, One Line short notes: quick revision list, has the key points in a few lines for the day before the test.
Sources and credits
This page follows the topics of NCERT, Ganita Manjari: Textbook of Mathematics for Grade 9, Part II, Chapter 13, Two Variables, One Line (2026-27 syllabus). The notes, questions and explanations on this page are written by Rattu, are not published by NCERT, and do not reproduce its text or figures.
Found a mistake? Please tell us at hello@rattu.app.
More Class 9 Maths chapters
- Ch 1: Orienting Yourself: The Use of Coordinates
- Ch 2: Introduction to Linear Polynomials
- Ch 3: The World of Numbers
- Ch 4: Exploring Algebraic Identities
- Ch 5: I'm Up and Down, and Round and Round
- Ch 6: Perimeter and Area
- Ch 7: Introduction to Probability
- Ch 8: Predicting What Comes Next
- Ch 9: Propositions and their Converses
- Ch 10: How Quantities Combine: Understanding Data
- Ch 11: The World of Algorithms
- Ch 12: Quadrilaterals
- Ch 14: Surface Area and Volume