In the last chapter every equation had one unknown and one answer. Many real questions have two unknowns at once: the price of a pen and the price of a notebook, or the ages of two sisters. This lesson introduces linear equations in two variables, shows that each one has not one solution but infinitely many, and explains why all those solutions together draw a straight line.
The general form
A linear equation in two variables is an equation that can be written as
where and are the variables and , , are real numbers, with and not both zero. "Linear" means each variable appears only to the power : there is no , no and no .
Examples: , and are all linear equations in two variables. The last one can be rearranged into the general form by bringing every term to the left:
Solutions come in pairs
A solution of an equation in two variables is a pair of numbers, one value for and one for , that makes the equation true. We write a solution as an ordered pair , always with first.
Take the equation
It can be rearranged as . Now choose any value of and work out :
| solution |
Each pair is a solution. Check : . And there is nothing special about , and : any value of at all, including fractions and negatives, gives a matching . So a linear equation in two variables has infinitely many solutions.
Why the graph is a straight line
Each solution is also a point on a graph: go units along the -axis and units up the -axis. Plot the three points from the table, , and , on squared paper. They lie exactly in a line. Join them with a ruler and extend the line in both directions.
Every point on that line is a solution of , and every solution is a point on that line. So the line is a picture of the whole equation. This is true of every linear equation in two variables:
Remember. The graph of is always a straight line. Two points are enough to draw it; a third point is a useful check that you have not made a slip.
Example 1
Write in the form and state , and .
Bring every term to the left: . So , and .
Example 2
Make a table of solutions for and describe its graph.
First make the subject: .
The points , , and lie on one straight line. Each time goes up by , goes up by , so the line climbs steeply from left to right. It crosses the -axis at and the -axis at .
Example 3
Is a solution of ? Is ?
For : . Yes, it is a solution.
For : , not . No, it is not a solution, so the point is not on the line.
Example 4
Find if is a solution of .
Put and into the equation. That leaves a linear equation in one variable, :
Where a line meets the axes
Two points that are especially easy to find are where the line crosses the axes.
- On the -axis, .
- On the -axis, .
For : putting gives , so and the line crosses the -axis at . Putting gives , so and it crosses the -axis at . Plot these two points and join them, and you have the line.
Writing an equation in two variables
Example 5
The cost of pens and pencils is ₹40. Write this as an equation.
Let one pen cost rupees and one pencil cost rupees. Then .
This one equation cannot tell you both prices: works, and so does . To pin down a single answer you need a second fact, which gives a second equation. That is the subject of the rest of this chapter.
Practice
- Write in the form and state , and .
- Is a solution of ?
- Is a solution of ?
- Complete the table for when .
- For , find when , and , and write the three solutions as ordered pairs.
- Find if is a solution of .
- Where does the line cross the -axis and the -axis?
- Which of the points , and lie on the line ?
- A school bag costs rupees and a water bottle rupees. Three bags and two bottles cost ₹950. Write an equation.
- How many solutions does have? Give two of them.
Answers
Show answers
- , so , , . (Writing is the same equation.)
- Yes: .
- No: , not .
- , giving , , , .
- , giving , , .
- , so and .
- gives , so . gives , so .
- and . For , , not .
- Infinitely many. For example and ; any pair of numbers that add up to will do.