Linear Equations in Two Variables

Take the JEE Foundation test on this chapter · free, no sign-in needed

Foundation Class 9 Maths. Our own notes: the whole chapter, every rule explained, with solved examples and concept checks.

Class 9 is in the Class 9 school book. Foundation goes beyond the school book and is asked in Olympiads, NTSE and the JEE Foundation tests. Try each concept check before you open its answer. Questions to try at the end come from exams and practice books, and a few are our own; their answers are folded under them.

On this page

Linear equations in one variable Class 9

An equation says that two expressions are equal. A linear equation in one variable has one unknown, say , and appears only to the first power: is linear, and are not. Such an equation can always be written with , and it has exactly one solution, .

The rule for solving is one idea used repeatedly: do the same thing to both sides. Add or subtract the same number, multiply or divide by the same non-zero number. The equation stays true, and the solution does not change. Fractions are cleared by multiplying by the lowest common multiple of the denominators.

Example 1. Solve .

Solution. The LCM of 3 and 2 is 6. Multiply every term by 6: . Open the brackets: , so and . Check: . ✓

Why can we not multiply both sides of an equation by and call it “doing the same thing to both sides”?

Answer

Multiplying by turns every equation into , which is true whatever is. The step loses the information; it is not reversible. Only a non-zero multiplier keeps the solution unchanged.

Two variables: the standard form Class 9

Now let there be two unknowns, and . A linear equation in two variables is one that can be written as

“Linear” means each variable is only to the first power and the two are never multiplied together. So , and are linear: move every term to one side and each fits the form. But , and are not.

The numbers and are the coefficients and the constant. To put an equation in standard form, collect everything on the left. For : subtract and add to get , so , , .

The equation looks like one variable, but in the plane of two variables we write it : here . Likewise is . Both are linear equations in two variables.

Which of these are linear equations in two variables? (a) (b) (c) (d) (e) .

Answer

(a), (d) and (e). Each rearranges to ; in (e) . (b) has the product and (c) has , so neither is linear.

Calling linear because “it has only and “. The degree counts: is a product of two variables, which is degree 2.

Solutions of an equation Class 9

A solution of is a pair of values which makes the equation true. We write it as an ordered pair, first. For , the pair is a solution because , and is another because . The pair is not, since .

Give any value you like and (when ) the equation gives exactly one matching . For : . Since can be anything, there are infinitely many solutions. This is the sharp difference from one variable, where there is just one.

It is also true that the solutions are not all independent: knowing fixes . Multiplying or dividing the whole equation by a non-zero number does not change its solutions: and have the same solutions.

Example 2. Find four solutions of using a table.

Solution. Write and choose values that make whole: gives ; gives ; gives ; gives . So , , , are solutions. Check : . ✓ Choosing as a multiple of 3 is what keeps a whole number.

How many linear equations in and can be satisfied by , ?

Answer

Infinitely many. Any with works, for example , , , and so on.

The coordinate plane Class 9

Two number lines at right angles, the horizontal -axis and the vertical -axis, cross at the origin . A point is named by an ordered pair : the abscissa is how far to move right (left if negative), and the ordinate how far up (down if negative).

  • A point on the -axis has : it looks like .
  • A point on the -axis has : it looks like .
  • The axes cut the plane into four quadrants. In order, anticlockwise from the top right: I , II , III , IV .

Each solution of an equation becomes a point on this plane. That is the bridge between equations and pictures.

In which quadrant is ? What is the point ?

Answer

is in quadrant II (left, up). is on the -axis, five units below the origin; it is in no quadrant.

The graph is a straight line Class 9

Plot every solution of as a point and a pattern appears.

(0, 2)(3, 0)(−3, 4)(6, −2)Oxyarea 3
The line . Each of the four marked points is a solution; every point on the line is, and every solution is on the line. One square is one unit.

Two consequences matter. First, a point lies on the line if and only if its coordinates satisfy the equation. Second, since two points fix a straight line, two solutions are enough to draw the graph; a third is a useful check, because if the three points are not in a line, one of them is wrong.

Drawing by intercepts

The two easiest points are where the line meets the axes. Put to get the -intercept; put to get the -intercept. For : gives , so the line cuts the -axis at ; gives , so it cuts the -axis at . The shaded triangle in the figure has legs 3 and 2, so its area is .

In general, for with the intercepts are on the -axis and on the -axis, and the triangle has area .

Example 3. Draw the graph of and find the area of the triangle it forms with the axes.

Solution. Table: ; ; third point , . Join , , in a line. The right-angled triangle has legs and : area square units. By the formula, . ✓

Joining the points of a graph with a short segment. The graph is the whole line, going on in both directions with arrows at the ends; the solutions you tabulated are only a few of its points.

Special lines Class 9

When or is zero, or is zero, the line has a special position.

(3, 2)x = 3y = 2y = xx-axis: y = 0y-axis: x = 0O
The line is vertical, is horizontal, and slants through the origin. One square is one unit.
  • (that is ): every point has abscissa whatever is. A vertical line, parallel to the -axis, at distance from it. The -axis itself is .
  • : a horizontal line, parallel to the -axis, at distance from it. The -axis itself is .
  • (no constant term): passes through the origin, since satisfies it. has on it; has .

The lines and meet at , and with the axes enclose a rectangle .

Example 4. Write the equation of the line through the points , and .

Solution. In each point is the negative of . So , that is . It passes through the origin, as it should.

Example 5. A line is parallel to the -axis and 4 units below it. Write its equation. Where does it meet ?

Solution. Every point of it has ordinate , so the equation is . It meets at .

How many solutions has as an equation in and , and what does its graph look like?

Answer

with free: infinitely many solutions . The graph is the vertical line through , parallel to the -axis. (As an equation in alone it has just one solution.)

Drawing as a vertical line. In the ordinate is fixed, so the points are across the page: horizontal. Vertical is .

Points on and off a line Class 9 Foundation

To test whether a point is on a line, substitute its coordinates; the equation must come out true. To find an unknown constant in an equation when a point is given on it, substitute and solve the one-variable equation that results.

Example 6. If is a solution of , find .

Solution. Put , : .

Example 7. If the point lies on the graph of , find .

Solution. , so and .

Example 8. Find the point on whose ordinate is times its abscissa.

Solution. The condition says . Substitute: , so and , . The point is ; check . ✓

Where lines meet the axes, and equal coordinates Foundation

A line meets the -axis where and the -axis where . For the -intercept is at , the point . A point with equal coordinates lies on when . For with the solution : gives .

For what value of does the line pass through ? Does the answer depend on ?

Answer

for every . The point is the -intercept, and removes from the equation, so every such line passes through it.

Writing the point as . In an ordered pair the abscissa always comes first; swapping gives a different point.

Forming an equation from a situation Class 9

Many real facts link two changing quantities by a straight-line relation. To write the equation: name the two unknowns, say what each stands for, then say in words how they are tied and translate.

Example 9. The Celsius and Fahrenheit scales are connected by . At what temperature do the two readings agree?

Solution. Put : , so , that is and . At degrees both scales read the same. In the plane this is where the line meets the line .

Example 10. An auto-rickshaw charges ₹10 for the first kilometre and ₹4 for every kilometre after that. Write the fare for a journey of km () and find the fare for 5 km.

Solution. The first km costs 10; the other km cost . So , a linear equation . For : , a fare of ₹26. Check: . ✓

A force on a cart is directly proportional to its acceleration . Write this as a linear equation.

Answer

for a constant , that is . It is of the form : a line through the origin.

A pair of equations Foundation

One equation in two unknowns has infinitely many solutions. To pin down one pair we need a second equation: a pair of linear equations,

A solution of the pair is a point lying on both lines. So the solution is where the lines meet.

(3, 2)(6, 0)(0, 4)2x + 3y = 12x − y = 1O
Solving and by graphs: the lines cross at , so , .

Graph solving is clear but only as exact as your drawing; when the crossing is not on grid points, use algebra (next section). Algebra also tells us how many solutions to expect before we start (the section after).

Substitution and elimination Foundation

Substitution. Solve one equation for one variable; put that expression into the other equation, leaving one unknown.

Example 11. Solve and .

Solution. From the second, . Put into the first: , so and . Then . Check: and . ✓ The same crossing point as the graph.

Elimination. Multiply the equations by suitable numbers so that one variable has equal (or opposite) coefficients, then add or subtract to remove it. It is the better method when neither equation solves neatly for a variable.

Example 12. If and , find , and then and .

Solution. Add the equations: , so . Subtract the second from the first: , so . Adding and gives , , and . Check: and . ✓ Adding and subtracting first often gives the asked sum or difference at once, without finding and .

Example 13. Solve and .

Solution. The coefficients are swapped, so add and subtract. Adding: , so . Subtracting the second from the first: , so . Hence , . Check: . ✓ Without the add-and-subtract idea this looks like heavy arithmetic.

Which variable would you eliminate from and , and how?

Answer

: its coefficients are and , so add the equations: , ; then gives .

Subtracting a whole equation but changing the sign of only its first term. When you subtract, every term of the second equation, including the constant, changes sign.

How many solutions? Foundation

Two straight lines in a plane can be placed in exactly three ways, so a pair of linear equations has exactly one of three outcomes.

cross: one solutionparallel: no solutionsame line: infinitea₁/a₂ ≠ b₁/b₂a₁/a₂ = b₁/b₂ ≠ c₁/c₂a₁/a₂ = b₁/b₂ = c₁/c₂
The three cases for and , read from the ratios of the coefficients.

Why. The slope of (with ) is . Equal ratios mean equal slopes, so the lines are parallel or the same line. If also is the same ratio, the second equation is the first multiplied by a number, so the lines coincide. Otherwise they are parallel and never meet.

A pair with at least one solution is consistent; with none, inconsistent.

Example 14. (a) For which does , have no solution? (b) For which , does , have infinitely many, and what is ?

Solution. (a) Parallel needs , so ; and the constants must differ: . ✓ So . (b) All three ratios equal: . Then and , . So .

Example 15. The lines and meet at . Find .

Solution. The point is on both lines. First: , so . Second: , so . Hence .

How many pairs satisfy and ?

Answer

Infinitely many. The second equation is the first, so the ratios are : one line, counted twice.

Writing “no solution” the moment . Look at the constants too: if they match as well, the lines coincide and there are infinitely many solutions.

Equations that become linear Foundation

Some pairs are not linear in and but become linear after a change of letters, usually the reciprocals. If and appear, set and ; if products such as appear, divide by the product.

Example 16. Solve and .

Solution. If , divide each equation by : and . Let , : and . So and , giving , . Hence , . Check: ✓; ✓. Also fits both equations; it was lost when we divided by , so always say what you assumed.

Turn and into a pair of linear equations.

Answer

With , : and . Solve for (here , ), then , .

Word problems with two unknowns Foundation

Steps: (1) let two letters stand for the two things asked; (2) find two separate facts in the story; (3) write one equation for each; (4) solve; (5) check the answer against the story, not just the equations (ages and counts must be positive, whole where needed).

Example 17. A man is thrice as old as his son. After 14 years he will be twice as old as his son. Find the son’s present age.

Solution. Let the son be and the man . Then and . So and , . After 14 years: . ✓

Example 18. (a) The sum of the digits of a two-digit number is 7; adding 9 to the number swaps its digits. Find it. (b) A fraction has denominator 8 more than the numerator; subtracting 1 from both gives . Find it. (c) Harry has ₹2 and ₹5 coins, 33 coins worth ₹120. How many of each?

Solution. (a) Tens digit , ones digit . and , so , . Then , , : the number is ( ✓). (b) Numerator , denominator : , so , . The fraction is ( ✓). (c) coins of ₹2 and of ₹5: , . Then , so , , . Value . ✓ He has 15 two-rupee and 18 five-rupee coins.

The sum of two numbers is 10 and their difference is 4. Find the larger.

Answer

Adding and : , so the larger is (and the smaller is ).

Trusting the equations and skipping the story. A coin problem that gives coins, or a digit problem that gives a digit of 12, means an equation was copied wrongly.

The chapter on one page

  • A linear equation in two variables: (, not both zero). No , no squares.
  • One variable: one solution. Two variables: infinitely many solutions ; each is a point.
  • The graph is a straight line; every point of it is a solution and every solution is on it. Two points draw it; find the intercepts by putting and .
  • is vertical, is horizontal, passes through the origin. Axes: and .
  • To test a point or find a constant: substitute the coordinates.
  • A pair of equations: the solution is the crossing of two lines. Substitution or elimination solves it; add and subtract first for symmetrical pairs.
  • : one solution. : none. All three equal: infinitely many.
  • Reciprocals or products: substitute to make the pair linear.
  • Word problems: two letters, two facts, solve, and check against the story.

Ten mistakes to avoid

  1. Calling or linear.
  2. Saying a linear equation in two variables has one solution.
  3. Writing the point as .
  4. Drawing vertical (it is horizontal).
  5. Joining plotted points with a segment instead of a full line.
  6. Forgetting that gives the -intercept and the -intercept (swapping them).
  7. Changing the sign of only one term when subtracting equations.
  8. Declaring “no solution” without comparing the constants , .
  9. Dividing by a quantity that may be zero (, ) and losing a solution.
  10. Not checking a word-problem answer against the story.

Questions to try

Class 9

NCERT · 1 mark

Any solution of the linear equation in two variables is of the form

Answer

Answer: (a)

gives , while can be any real number . So every solution is . The answer is option (A).

NCERT · 1 mark

If is a solution of the linear equation , then the value of is

  1. 4
  2. 6
  3. 5
  4. 2
Answer

Answer: (a) 4

Substitute : . The answer is option (A).

NCERT · 1 mark

The graph of the linear equation cuts the -axis at the point

Answer

Answer: (d)

On the -axis , so and . The point is . The answer is option (D).

NCERT · 1 mark

If a linear equation has solutions , and , then it is of the form

Answer

Answer: (b)

In each solution the sum of the coordinates is : , , . So the equation is . Option (B).

Practice question · 1 mark

If is a solution of the equation , then the value of is

  1. -3
  2. 3
  3. 7
  4. 5
Answer

Answer: (b) 3

NCERT · 1 mark

If the point lies on the graph of , then find the value of .

Answer

Answer:

Substitute , : .

NCERT · 2 marks

Determine the point on the graph of the linear equation , whose ordinate is times its abscissa.

Answer

Answer: (2, 3)

Ordinate is times abscissa, so . Substituting: , so . The point is .

Foundation

Practice question · 1 mark

If and , then the value of is _____.

Answer

Answer: 3

Practice question · 1 mark

The sum of the digits of a two digit number is 7. If 9 is added to the number, the digits interchange their places. Find the number.

Answer

Answer: 34

Practice question · 1 mark

Harry has ₹2 and ₹5 coins with him. If he has a total of 33 coins worth ₹120 with him, how many ₹5 coins does he have?

Answer

Answer: 18

Practice question · 1 mark

How many pairs of and satisfy the equations and ?

  1. 0
  2. 1
  3. Infinite
  4. None of these
Answer

Answer: (c) Infinite

Practice question · 1 mark

Find the value of for which the system of linear equations and has zero solutions.

  1. None of these
Answer

Answer: (a)

Practice question · 1 mark

If is the point of intersection of the lines and , then find the value of .

  1. 2
  2. 3
  3. 4
Answer

Answer: (b) 3

Challenge (Olympiad)

Practice question · 1 mark

The system of equations and has infinite solutions. The value of is

Answer

Answer: (a)

Practice question · 1 mark

If and , then

Answer

Answer: (d)

Read the notes? Test yourselfA short quiz on this chapter, free, no sign-in needed. Sign in free afterwards to keep your score and try the JEE Foundation test. Your score at once.
Try it yourself: live simulations for this chapter. Move the sliders and watch what happens.Every simulation in the Lab

Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full

Subscribe