Skip to content

← Grade 7 Math

Equation, Inequality and Graph

Unit 12 · CDC textbook pages 168–184

Hide the stories, facts, photos, activities and interactives, for revising before an exam
In this unit 10 sections
  1. 12.0 Review
  2. 12.1 Linear equations in two variables
  3. Exercise 12.1
  4. 12.2 Inequalities on the number line
  5. Exercise 12.2
  6. 12.3 Graph of a linear equation in two variables
  7. Exercise 12.3
  8. Miscellaneous exercise
  9. Back to the shop
  10. Where this is used

Anish runs a small stationery shop near his school in Dhulikhel. A customer buys two pens and a copy and pays Rs 60. Later Anish wants to write the prices on his shelf, but he has forgotten what each one costs. All he remembers is that sale.

Can he work out the price of a pen from it? Try a few guesses. A pen at Rs 20 and a copy at Rs 20 fits: 2 × 20 + 20 = 60. But a pen at Rs 25 and a copy at Rs 10 fits too, and so does a pen at Rs 15 and a copy at Rs 30. One sale, many answers.

In this unit you write sums like this one as an equation in two variables, and you find out why it has so many answers, and how all of them together make a straight line on a graph. On the way you solve inequalities, sentences with < or > that are true for a whole stretch of numbers. In Back to the shop Anish remembers one more sale, and that is enough to fix both prices.

12.0 Review

Read each question, discuss it with a friend and answer it.

a.

Is the sum of 5 and 7 equal to 11?

Answer
b.

If x − 3 = 5, what is the value of x?

Answer
c.

If 3a = 18, what is the value of a?

Answer
d.

If 3x5=12 \frac{3x}{5} = 12 , what is the value of x?

Answer
e.

If the sum of x and 10 is 18, what is the value of x?

Answer
f.

Is −10 > −15 true?

Answer
g.

If x − 4 < 8, what is the solution set of x?

Answer

12.1 Linear equations in two variables

Two unknowns, one sum

Each of these equations has two variables, each to the power 1 (no x2 x^2 or y2 y^2 ), joined by an equals sign. An equation like this is called a linear equation in two variables. Examples: x + y = 30, 2x + y = 60, 2x = 3y.

The word “linear” comes from “line”. You will see why in 12.3: the answers of such an equation all lie on a straight line.

Which of these is a linear equation in two variables?

Pick an answer to see why.

Many answers, then one

An equation in one variable, like x + 4 = 8, has one answer. An equation in two variables has many pairs of answers. To get one answer, you need to know one of the two numbers; then the equation gives the other.

Exercise 12.1

Question 1

Write whether each sentence is true or false.

a.

x + 4 = 8 is an equation in two variables.

Answer
b.

2x = 3y is an equation in two variables.

Answer
c.

An equation with two variables and an equals sign is called an equation in two variables.

Answer
d.

3x = 12 is an equation in two variables.

Answer

Question 2

A plot of land is x m long and y m broad. Its perimeter is 240 m.

a.

Write the equation for its perimeter.

Answer
b.

If the length is 70 m, find the breadth.

Answer

Question 3

A path 5 m wide runs all round a rectangular pond. The perimeter of the outside edge of the path is 210 m.

a.

Write an equation for the pond’s length and breadth.

Answer
b.

If the breadth of the pond is 40 m, find its length.

Answer

Question 4

4.

The sum of two consecutive odd numbers is 56. Find the numbers.

Answer

Question 5

5.

There are 75 students in a class. The number of boys is double the number of girls. Find the number of boys and of girls.

Answer

Question 6

6.

The sum of the present ages of Lhamu and her son Tenzing is 40 years. Lhamu is three times as old as Tenzing. Find their present ages.

Answer

Question 7

There are 42 students in a class.

a.

Write an equation for all the students.

Answer
b.

What could the numbers of boys and girls in the class be?

Answer

12.2 Inequalities on the number line

Bigger, smaller or equal

A sentence with <, >, ≤ or ≥ is an inequality. Read them as:

Sign Read it as Example
> is greater than x > 4
< is less than x < 3
≥ is greater than or equal to x ≥ 2
≤ is less than or equal to x ≤ 1

An equation like x + 2 = 5 is true for one number. An inequality like x > 4 is true for a whole stretch of numbers, so we show it on a number line.

Showing an inequality on a number line

Try it here. Choose a sign, and drag the yellow point to test numbers: the sentence says whether each one makes the inequality true.

Try it

Test an inequality

Change the sign and watch the circle at 4 turn hollow or filled, and the arrow turn round.

−4−2024681012x > 4x = 3 ✗
Statement
x > 4
For 3
3 > 4 is false

x > 4: x is greater than 4. The dot at 4 is hollow: 4 itself doesn’t count (4 > 4 is false). x = 3: false.

Which inequality has a filled circle at −2 and an arrow to the right?

Pick an answer to see why.

Rules of inequality

Solving an inequality is like solving an equation: you do the same thing to both sides. But one move behaves differently. Play with it first.

Try it

What happens to the order?

Choose two numbers and what to do to both. Which values of z turn the order round?

Before: 1 < 4After: 2 < 8−12−8−404812−12−8−4048121428
The smaller one
1 × 2 = 2
The bigger one
4 × 2 = 8

Multiplying by 2 stretches the line 2 times away from 0, but both numbers stay on their own side of 0, so the order stays: 2 < 8.

Let x, y and z be integers with x > y. Then:

  • a.x + z > y + z: the addition axiom, adding the same number to both sides.
  • b.x − z > y − z: the subtraction axiom, subtracting the same number from both sides.
  • c.xz > yz when z is positive: the multiplication axiom, multiplying by a positive number.
  • d.xz>yz \frac{x}{z} > \frac{y}{z} when z is positive: the division axiom, dividing by a positive number.
  • e.xz < yz when z is negative: the multiplication axiom, multiplying by a negative number.
  • f.xz<yz \frac{x}{z} < \frac{y}{z} when z is negative: the division axiom, dividing by a negative number.

So: multiplying or dividing both sides by a negative number turns the sign round (> becomes <, and ≥ becomes ≤). Every other move keeps it.

Why? Take 5 > 2. Multiply both by −1: you get −5 and −2. But −5 is to the left of −2, so −5 < −2. Multiplying by a negative number flips every number to the other side of 0, and the bigger one ends up further left.

6 > 3. Both sides are divided by −3. Which is true?

Pick an answer to see why.

Solving inequalities

Exercise 12.2

Question 1

1, 2 and −3 are integers. Is each of these true, by the trichotomy law?

a.

1 + (−3) = 2 + (−3)

Answer
b.

2 − 3 < 1 + 2

Answer
c.

2 − 1 > −3 − 1

Answer
d.

1 − 3 < 1 + 2

Answer
e.

1−3>2−3 \frac{1}{-3} > \frac{2}{-3}

Answer
f.

(−3) × 1 ≥ 2 × (−3)

Answer

Question 2

Solve each inequality and show it on a number line.

a.

x + 1 > 2

Answer
b.

x − 3 ≤ 4

Answer
c.

x + 2 < 4

Answer
d.

x − 2 ≤ 3

Answer
e.

3 − x ≥ 1

Answer
f.

4 − 2x ≥ 6

Answer
g.

3x + 2 ≥ x − 6

Answer
h.

5x − 3 ≥ 12

Answer
i.

7x − 4 ≤ 17

Answer
j.

5x − 7 ≤ 2x + 5

Answer

Question 3

Write the inequality shown on each number line.

a.

What inequality does number line (a) show?

−5−4−3−2−1012
Figure 12.19
Answer
b.

What inequality does number line (b) show?

−3−2−1012345
Figure 12.20
Answer
c.

What inequality does number line (c) show?

−2−1012345
Figure 12.21
Answer
d.

What inequality does number line (d) show?

−101234567
Figure 12.22
Answer
e.

What inequality does number line (e) show?

−3−2−1012345
Figure 12.23
Answer
f.

What inequality does number line (f) show?

−3−2−1012345
Figure 12.24
Answer

Question 4

Write each sentence as an inequality, solve it and show it on a number line.

a.

One fourth of a number is subtracted from 3, and the result is greater than or equal to 2.

Answer
b.

13 is subtracted from double a number, and the result is less than or equal to 3.

Answer
c.

9 is subtracted from four times a number, and the result is less than or equal to −3.

Answer
d.

7 is added to three times a number, and the result is less than 13.

Answer

12.3 Graph of a linear equation in two variables

The answers line up

This is true of every linear equation in two variables: its pairs of answers, plotted, lie on one straight line, and every point on that line is an answer. The line is called the graph of the equation. (For balls, only the whole-number points make sense: the head teacher can’t buy 2.5 volleyballs. The line still shows where they all are.)

Build one yourself. Choose x with the slider, add the pair to the table, and watch where the dots fall. Then drag the yellow point onto the line and off it again, and see when the equation is true.

Try it

The answers make a line

Fill the table with at least three pairs, then test points on and off the line.

2468101224681012Oxy
x
y
When x = 3
y = 11 − 3 = 8
Yellow point (8, 5)
8 + 5 = 13 ✗

Choose a value of x with the slider. The equation then fixes y: 11 − 3 = 8. Add the pair to the table.

Which point lies on the graph of x + y = 4?

Pick an answer to see why.

Exercise 12.3

Question 1

Make a table of values of x and y for each equation.

a.

3x + y = 6

Answer
b.

x + y = 4

Answer
c.

3x − y = 7

Answer

Question 2

Draw the graph of each equation.

a.

2x + y = 8

Answer
b.

3x + 2y = 6

Answer
c.

x + y + 3 = 0

Answer
d.

x + 2y = 10

Answer
e.

y = 4x − 1

Answer
f.

2x + y − 3 = 0

Answer

Miscellaneous exercise

These questions bring together this unit and Units 10 and 11, Indices and Algebraic Expression.

Question 1

Write each product as a power.

a.

23×23×23×23×23 \frac{2}{3} \times \frac{2}{3} \times \frac{2}{3} \times \frac{2}{3} \times \frac{2}{3}

Answer
b.

ab×ab×ab×ab×ab×ab \frac{a}{b} \times \frac{a}{b} \times \frac{a}{b} \times \frac{a}{b} \times \frac{a}{b} \times \frac{a}{b}

Answer

Question 2

If a = 1, b = 2 and c = −3, find the value of each. First notice that a + b + c = 1 + 2 − 3 = 0.

a.

(xyz)a+b+c (xyz)^{a + b + c}

Answer
b.

(a+b+c)100 (a + b + c)^{100}

Answer
c.

xcx−a×x−b \frac{x^c}{x^{-a} \times x^{-b}}

Answer
d.

za×zb×zc z^a \times z^b \times z^c

Answer

Question 3

If a = 3, b = 1 and c = −4, find the value of each.

a.

2a2+3b−4bc 2a^2 + 3b - 4bc

Answer
b.

a2+b2−c2 a^2 + b^2 - c^2

Answer
c.

a+bc \frac{a + b}{c}

Answer
d.

a+b−c2ab \frac{a + b - c}{2ab}

Answer

Question 4

Divide.

a.

(x2−7x+12)÷(x−3) (x^2 - 7x + 12) \div (x - 3)

Answer
b.

(x4−81y4)÷(x2−9y2) (x^4 - 81y^4) \div (x^2 - 9y^2)

Answer
c.

(15x2+11x−12)÷(3x+4) (15x^2 + 11x - 12) \div (3x + 4)

Answer

Question 5

5.

A cricket stadium is (2x + y) m long and (x − 2y) m broad. Find its area.

Answer

Question 6

The floor of a seminar hall has an area of (2x2−7x+6) (2x^2 - 7x + 6) m². It is to be covered by a carpet (x − 2) m broad.

a.

How long must the carpet be to cover it?

Answer
b.

If x = 5, find its length, its breadth and its area.

Answer
c.

Find the cost of the carpet at Rs 400 per square meter.

Answer
d.

If x is increased by 1, from 5 to 6, by what percent does the cost increase?

Answer

Question 7

7.

Divide (56x2+106x−30) (56x^2 + 106x - 30) by (7x + 15). Find the quotient and the remainder.

Answer

Question 8

Find the square of each expression by the formula, by multiplying without the formula, and with a drawing of squares and rectangles.

a.

(y + 4)

Answer
b.

(y + 5)

Answer
c.

(b − 2)

Answer

Question 9

Find the square of each number by writing it as a sum or a difference of two numbers.

a.

28

Answer
b.

296

Answer
c.

502

Answer

Question 10

Simplify.

a.

(2a−3b)2−(2a+3b)2 (2a - 3b)^2 - (2a + 3b)^2

Answer
b.

(1a+a)2+(a−1a)2 \left(\frac{1}{a} + a\right)^2 + \left(a - \frac{1}{a}\right)^2

Answer
c.

(m2+n2)2−(m2−n2)2 (m^2 + n^2)^2 - (m^2 - n^2)^2

Answer

Question 11

If p+1p=12 p + \frac{1}{p} = 12 , find the value of each.

a.

p2+1p2 p^2 + \frac{1}{p^2}

Answer
b.

(p−1p)2 \left(p - \frac{1}{p}\right)^2

Answer

Question 12

If x + y = 15 and xy = 8, find the value of each.

a.

x2+y2 x^2 + y^2

Answer
b.

(x−y)2 (x - y)^2

Answer

Question 13

If b−1b=8 b - \frac{1}{b} = 8 , find the value of each.

a.

b2+1b2 b^2 + \frac{1}{b^2}

Answer
b.

(b−1b)2 \left(b - \frac{1}{b}\right)^2

Answer

Question 14

Make a table of values of x and y for each equation.

a.

x + y = 2

Answer
b.

2x − y = 4

Answer

Question 15

Draw the graph of each equation.

a.

2x + y = 5

Answer
b.

4x + 3y = 6

Answer
c.

3x − 2y = 7

Answer

Back to the shop

Anish’s first sale gives him one equation. Let a pen cost Rs x and a copy Rs y:
2x+y=60 2x + y = 60
It has many answers: (20, 20), (25, 10), (15, 30), (10, 40)… all on one straight line.

Then Anish remembers a second sale: a pen and a copy for Rs 35. That is a second equation:
x+y=35 x + y = 35
The first sale had one more pen than the second, and it cost Rs 25 more. So that extra pen cost Rs 25, and a copy costs 35 − 25 = Rs 10. Check: 2 × 25 + 10 = 60 ✓ and 25 + 10 = 35 ✓

On a graph, each sale is a line, and the answer is the one point on both lines: where they cross.

1020301020304050XYO(25, 10)2x + y = 60x + y = 35
Figure 12.40 The two sales’ lines cross at (25, 10): a pen costs Rs 25, a copy Rs 10.

One equation in two variables has many answers; two equations together usually have one. Solving two equations at once is the start of Grade 8, Equation and Graph.

Where this is used

  • Thermometers. A temperature in degrees Fahrenheit, used in the United States, is F=95C+32 F = \frac{9}{5}C + 32 for a temperature of C degrees Celsius: a linear equation in two variables, whose graph is a straight line. Water boils at 100 °C, which is 212 °F.
  • Spending money. Economists draw a budget line: with Rs 60 to spend on pens at Rs 25 and copies at Rs 10, every mix you can just afford lies on the line 25x + 10y = 60, and every mix you can afford at all satisfies the inequality 25x + 10y ≤ 60.
Where these facts come from
  • Celsius and Fahrenheit: Wikipedia, “Fahrenheit” (the conversion f = 1.8c + 32, and water boiling at 212 °F), read November 2026.
  • The signs < and >: Wikipedia, “Thomas Harriot” (credited with their first widespread use; his Artis Analyticae Praxis published after his death, in 1631), read November 2026.
  • Budget line: Wikipedia, “Budget constraint”, read November 2026.

A companion to your textbook, not a replacement for it: study from the book your school uses, and where the two differ, follow your teacher. Found a mistake? Please tell us.