A pair of linear equations in two variables asks one question: which values of and make both equations true at the same time? Drawing the two lines answers it visually, but a graph can only be read accurately when the crossing point sits on a neat grid point. When the answer is something like , no amount of careful drawing will show it exactly. The substitution method is the first of the algebraic methods in Chapter 3 of the NCERT Class 10 textbook. It works only with the equations themselves, always gives the exact answer, and also tells you honestly when there is no answer or when there are infinitely many. You will use it in word problems on ages, prices, fares, fractions and digits, and later in coordinate geometry whenever two lines meet.
What the substitution method is
The pair of equations
A pair of linear equations in two variables can always be written in the general form
where are real numbers, with and . A solution of the pair is an ordered pair that satisfies both equations. Geometrically, each equation is a straight line, and a solution is a point lying on both lines.
The idea in plain words
Use one equation to write one variable, say , entirely in terms of the other variable, . Then, wherever appears in the other equation, put in that expression instead. The second equation now contains only , so it can be solved like any ordinary equation in one variable. Once is known, go back and find .
Why it works
If satisfies both equations, then in particular it satisfies the rearranged first equation, say . Replacing by in the second equation therefore does not change which values of are possible: any solution of the pair must satisfy the new one-variable equation. Conversely, if satisfies the new equation and we define , then both original equations hold. So the one-variable equation carries exactly the same information as the pair. Nothing is lost and nothing extra is introduced, which is why the method is reliable.
The method in steps
- From either equation, express one variable in terms of the other. Choose the variable whose coefficient is or if you can, because this avoids fractions.
- Substitute this expression into the other equation. You now have one equation in one variable. Solve it. (If the variable cancels completely, read the special cases below.)
- Substitute the value just found into the expression from Step 1 to get the second variable.
- Check the pair in both original equations.
Worked examples
Example 1: a warm-up
Solve and .
Step 1. In the first equation has coefficient , so .
Step 2. Substitute into the second equation:
Step 3. .
Check. and . Both hold, so , .
Example 2: an answer no graph could show
Solve and .
Step 1. Equation (2) is easier to rearrange because has coefficient :
Step 2. Replace in equation (1) by :
Step 3. Put this value into equation (3):
Check. , and . So , .

Example 3: Aftab and his daughter
Aftab tells his daughter, "Seven years ago, I was seven times as old as you were then. Also, three years from now, I shall be three times as old as you will be." Find their present ages.
Let Aftab's present age be years and his daughter's be years.
Seven years ago their ages were and , so
Three years from now their ages will be and , so
From (2), . Substitute into (1):
Then .
Check against the words. Seven years ago Aftab was and his daughter , and . Three years from now they will be and , and . So Aftab is 42 years old and his daughter is 12.
Example 4: when every value works
In a shop, 2 pencils and 3 erasers cost ₹9, and 4 pencils and 6 erasers cost ₹18. Find the cost of one pencil and one eraser.
Let a pencil cost ₹ and an eraser ₹. Then
From (1), . Substitute into (2):
The variable has disappeared and what is left is always true. Every value of works, with . The reason is that equation (2) is just equation (1) multiplied by 2, so the shop has really given only one piece of information. The pair has infinitely many solutions, and the costs cannot be pinned down from these two statements alone.
Example 5: when nothing works
Two rails are represented by and . Will the rails cross?
From the first equation, . Substitute into the second:
This statement is false whatever is. So no pair satisfies both equations: the pair has no solution, and the rails never meet. That is exactly what railway tracks are built to do; they are parallel.
Reading the result: three possible outcomes
After substitution, the one-variable equation always falls into one of three types, and each type matches a picture of the two lines.
- A normal equation, such as : there is exactly one solution, and the lines intersect at one point. The pair is consistent.
- A statement that is always true, such as : the two equations describe the same line, the lines coincide, and there are infinitely many solutions. The pair is dependent (and consistent).
- A statement that is always false, such as : the lines are parallel and there is no solution. The pair is inconsistent.
You can predict the outcome before solving by comparing the ratios of the coefficients:
- : one solution (intersecting lines).
- : infinitely many solutions (coincident lines).
- : no solution (parallel lines).
For the pencils, , so the lines coincide. For the rails, but , so the lines are parallel. Substitution and the ratio test always agree.

Common mistakes
- Substituting the expression back into the same equation it came from. This always gives something like and tells you nothing. Substitute into the other equation.
- Forgetting brackets. is , not ; write the bracket first, then expand.
- Sign slips when moving terms: from we get , not .
- Stopping after finding one variable. The answer to a pair is always an ordered pair; find both values.
- Reading as "no solution" or as "infinitely many". A true statement means infinitely many solutions; a false one means none.
- Skipping the check. Put both values into both original equations, and in word problems check against the sentences, not only against your own equations.
Try these
- Solve and . Answer: , .
- Solve and . Answer: , .
- Solve and . Answer: infinitely many solutions, for any .
- Solve and . Answer: no solution (parallel lines).
- The sum of two numbers is 50 and one exceeds the other by 14. Find the numbers. Answer: 32 and 18.
- 5 pens and 2 notebooks cost ₹110, while 3 pens and 4 notebooks cost ₹136. Find the cost of each. Answer: a pen costs ₹12 and a notebook ₹25.
Key terms
- Pair of linear equations in two variables
- Two equations of the form in the same two variables, considered together.
- Solution of a pair
- An ordered pair that satisfies both equations; on a graph, a point common to both lines.
- Substitution method
- An algebraic method that expresses one variable in terms of the other from one equation and puts that expression into the other equation.
- Consistent pair
- A pair with at least one solution: either exactly one (intersecting lines) or infinitely many (coincident lines).
- Inconsistent pair
- A pair with no solution; its lines are parallel.
- Dependent pair
- A consistent pair with infinitely many solutions, where one equation is a multiple of the other.
- Coefficient
- The number multiplying a variable, such as in .
Common questions
Which variable should I express first?
Pick a variable whose coefficient is or . Then the expression has no fractions and the arithmetic stays simple. Any choice gives the same final answer.
Is substitution better than the graphical method?
For finding exact values, yes. A graph shows how many solutions there are and roughly where they lie, but substitution gives exact answers even when they are fractions or surds.
What does it mean when the variable disappears?
If what remains is true, such as , the equations describe the same line and there are infinitely many solutions. If it is false, such as , the lines are parallel and there is no solution.
Do I have to write the check in the exam?
It is not always required for marks, but it takes only a line and catches most sign errors. In word problems, checking against the original sentences is the surest test.
Can substitution be used when the equations have decimals or fractions?
Yes. It usually helps to multiply each equation by a suitable number first so that all coefficients become whole numbers.
References
- National Council of Educational Research and Training. Mathematics: Textbook for Class X. NCERT, New Delhi.
- Sharma, R. D. Mathematics for Class 10. Dhanpat Rai Publications.
- Aggarwal, R. S. Secondary School Mathematics for Class 10. Bharati Bhawan.