Skip to content

← Grade 7 Math

Algebraic Expression

Unit 11 · CDC textbook pages 144–167

Hide the stories, facts, photos, activities and interactives, for revising before an exam
In this unit 11 sections
  1. 11.0 Review
  2. 11.1 Multiplying a binomial by a binomial
  3. 11.2 Multiplying a trinomial by a binomial
  4. Exercise 11.1
  5. 11.3 Dividing by a binomial
  6. Exercise 11.2
  7. 11.4 The square of a sum, (a+b)2 (a + b)^2 (a+b)2
  8. 11.5 The square of a difference, (a−b)2 (a - b)^2 (a−b)2
  9. Exercise 11.3
  10. Back to the vegetable bed
  11. Where this is used

Gyanu’s family grows vegetables in a square bed behind the house, 10 m on each side. This year they want a bigger bed: 2 m longer on each side, 12 m by 12 m.

Her little brother says: “The old bed is 102=100 10^2 = 100 square meters. We add 2 m to the side, so we add 22=4 2^2 = 4 square meters. Only 4 more square meters to dig!”

Is he right? How much new ground will they really dig? And is there a rule that would answer it for any square bed made longer by any amount?

The rule comes from cutting a square into pieces, and it is one of the most used rules in all of algebra: (a+b)2 (a + b)^2 . In this unit you will multiply expressions with two or three terms, divide one expression by another, and find that rule, and its partner (a−b)2 (a - b)^2 , from a square of paper. In Back to the vegetable bed you will see exactly where her brother went wrong.

11.0 Review

You met algebraic expressions in Grade 6. Talk about these with a friend first.

Here are the words used all through this unit.

  • A constant is a quantity whose value is fixed: 9, −4, 12 \frac{1}{2} .
  • A variable is a quantity that can take different values, written with a letter: x, y, a.
  • A term is a constant, a variable, or constants and variables joined by multiplication or division: 5, x, 7xy, 3ab \frac{3a}{b} . The terms of an expression are separated by + and − signs.
  • The coefficient is the number that multiplies the variables: 7 in 7xy, −2 in −2y, 1 in x.

Three rules from Grade 6 do most of the work in this unit:

  1. Like terms have the same variables with the same powers: 3x2 3x^2 and −5x2 -5x^2 are like; 3x2 3x^2 and 3x are unlike. Only like terms can be added or subtracted: 3x2−5x2=−2x2 3x^2 - 5x^2 = -2x^2 , but 3x2+3x 3x^2 + 3x stays as it is.
  2. Multiplying terms: multiply the coefficients and add the powers of each variable (the first law of indices, from Unit 10). The number goes in front: 2x×3x2=6x3 2x \times 3x^2 = 6x^3 , 5x × (−2y) = −10xy.
  3. Dividing terms: divide the coefficients and subtract the powers: 12x5÷4x2=3x3 12x^5 \div 4x^2 = 3x^3 .

Which pair are like terms?

Pick an answer to see why.

11.1 Multiplying a binomial by a binomial

A binomial has two terms (a + b, 2x − 3) and a trinomial has three (x + y + z, x2+7x+12 x^2 + 7x + 12 ). How do you multiply two binomials? Think of a rectangle.

So, to multiply two binomials, multiply each term of one by each term of the other, and add the products. Two terms times two terms make 2 × 2 = 4 products.

A rectangle can’t have a side of −2y, but the rule works for any signs. A grid of boxes keeps track of the products, signs and all: one box for each pair of terms.

Try it

Multiply box by box

Fill the boxes one at a time, then collect the like terms. In (5x − 2y)(7x − 2y), which two boxes are like terms? What sign does the last box get, and why?

×xy
aaxay
bbxby
Product
(a + b)(x + y) = ?

Each term of a + b times each term of x + y: 2 × 2 = 4 boxes to fill.

Answer

11.2 Multiplying a trinomial by a binomial

The rule is the same as before: each term of one expression multiplies each term of the other. Three terms times two terms make 3 × 2 = 6 products. Then like terms are collected.

In practice we write it in two steps: first break up one bracket, then multiply out each part.

(2x−y)(x+2y−3z)=2x(x+2y−3z)−y(x+2y−3z) \begin{aligned} &(2x - y)(x + 2y - 3z) \\ &= 2x(x + 2y - 3z) \\ &\quad - y(x + 2y - 3z) \end{aligned}

Then each part is a term times an expression, as in Grade 6.

Try b on the grid: six boxes, and only one pair of like terms.

Try it

Six boxes, one pair

Which two boxes of (2x − y)(x + 2y − 3z) are like terms? How many terms does the answer have?

×x2y−3z
2x2x²4xy−6xz
−y−xy−2y²3yz
Product
(2x − y)(x + 2y − 3z) = ?

Each term of 2x − y times each term of x + 2y − 3z: 2 × 3 = 6 boxes to fill.

Answer

That check is worth remembering: putting a number in before and after multiplying must give the same answer. If it doesn’t, there is a slip somewhere.

What is (x + 3)(x − 5)?

Pick an answer to see why.

A rectangle is (2x + 1) cm long and (x + 4) cm broad. How many terms does its area have, once like terms are collected?

Pick an answer to see why.

Exercise 11.1

Question 1

Simplify:

a.

3x(x + 3) − 2x(2x + 1) + 8x(x − 1)

Answer
b.

a(3a2−2)−5a2(a+1)−3(a3−1) a(3a^2 - 2) - 5a^2(a + 1) - 3(a^3 - 1)

Answer
c.

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

Answer
d.

a3(a+2)−a2(a−1)−2a+3 \frac{a}{3}(a + 2) - \frac{a}{2}(a - 1) - 2a + 3

Hint
Answer

Question 2

Multiply:

a.

(3x − 2y)(4x + 3y)

Answer
b.

(2y − 1)(3 + 2y)

Answer
c.

(7x + 2y)(7x − 2y)

Answer
d.

(x − y + z)(x + y)

Answer
e.

(3x+2)(x2−2x+1) (3x + 2)(x^2 - 2x + 1)

Answer
f.

(x2−2x)(3x2+2x+3) (x^2 - 2x)(3x^2 + 2x + 3)

Answer

Question 3

Find the area of each rectangle.

a.
(5a − 3) m(2a + 3) m
Figure 11.4
Answer
b.
(a + 2) m(5a − 3) m
Figure 11.5
Answer
c.
(a2 + a + 1) m(a − 1) m
Figure 11.6
Answer
d.
(2x + 3y − 2) m(x − y) m
Figure 11.7
Answer
e.
(x2 + x + 3) m(7x − 2) m
Figure 11.8
Answer

Question 4

a.

A rectangular piece of land is (3x + 2) m long and (2x − 7) m broad. Find its area.

Answer
b.

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

Answer

Question 5

Find the area of each rectangle from its parts.

a.
7x2yx3y
Figure 11.9
Answer
b.
3a2b3cab
Figure 11.10
Answer
c.
2xy13x
Figure 11.11
Answer
d.
2y3xxy
Figure 11.12
Answer

Question 6

6.

Find the product of (3x + 2) and (2x − 1). Find its value when x = 20.

Answer

Question 7

7.

Find the product of (7x − 5y) and (x + y − 2). Find its value when x = 10 and y = 5.

Answer

11.3 Dividing by a binomial

Division undoes multiplication. If you know a rectangle’s area and one side, the other side is the area divided by that side.

Long division of expressions works exactly like long division of numbers, with terms in place of digits:

  1. Write both expressions in order, the highest power first. Like terms go in one column.
  2. Divide the first term of what is left by the first term of the divisor. That is the next term of the quotient.
  3. Multiply the whole divisor by it and write the product under the like terms.
  4. Subtract: change the sign of each term of the product (written small under it) and add.
  5. Repeat with what is left, until it is 0 or has a lower power than the divisor. That is the remainder.

Not every division comes out exactly. Then something is left over, as with numbers.

What is (x2+9x+20)÷(x+4) (x^2 + 9x + 20) \div (x + 4) ?

Pick an answer to see why.

Dividing an expression by (x + 2) gives quotient (x + 3) and remainder 4. What was the expression?

Pick an answer to see why.

Exercise 11.2

Question 1

Divide:

a.

(4a2+12a)÷(2a+6) (4a^2 + 12a) \div (2a + 6)

Answer
b.

(4x2−9)÷(2x+3) (4x^2 - 9) \div (2x + 3)

Answer
c.

(2a2−7a+6)÷(2a−3) (2a^2 - 7a + 6) \div (2a - 3)

Answer
d.

(x2+4x+4)÷(x+2) (x^2 + 4x + 4) \div (x + 2)

Answer
e.

(15x2+4xy−4y2)÷(3x+2y) (15x^2 + 4xy - 4y^2) \div (3x + 2y)

Answer
f.

(35a2−ab−12b2)÷(5a−3b) (35a^2 - ab - 12b^2) \div (5a - 3b)

Answer
g.

(x3−27y3)÷(x−3y) (x^3 - 27y^3) \div (x - 3y)

Answer
h.

(8x3+27y3)÷(2x+3y) (8x^3 + 27y^3) \div (2x + 3y)

Answer
i.

(6x4−5x2y2−6y4)÷(3x2+2y2) (6x^4 - 5x^2y^2 - 6y^4) \div (3x^2 + 2y^2)

Answer
j.

(a4−b4)÷(a−b) (a^4 - b^4) \div (a - b)

Answer

Question 2

Find the unknown side of each rectangle.

a.

Breadth = (x − y) m, area =(x2−y2) = (x^2 - y^2) m²

Answer
b.

Length = (2x + 5y) m, area =(2x2+3xy−5y2) = (2x^2 + 3xy - 5y^2) m²

Answer
c.

Breadth = (2a − b) m, area =(2a2+5ab−3b2) = (2a^2 + 5ab - 3b^2) m²

Answer
d.

Length = (a + 3) m, area =(a3+27) = (a^3 + 27) m²

Answer

Question 3

Find the unknown side in each figure.

a.
(7x + 4y) cmb = ?A = (35x2 − xy − 12y2) cm2​
Figure 11.35
Answer
b.
l = ?(x − 2) cmA = (2x2 − 7x + 6) cm2​
Figure 11.37
Answer
c.
l = ?(2a + 3) cmA = (8a3 + 27) cm2​
Figure 11.39
Answer
d.
(a2 + b2) cmb = ?A = (a4 − b4) cm2​
Figure 11.41
Answer

Question 4

a.

The product of two expressions is (2a2+13a−24) (2a^2 + 13a - 24) . One of them is (a + 8). Find the other.

Answer
b.

What do you get when (9x4−4y4) (9x^4 - 4y^4) is divided by (3x2−2y2) (3x^2 - 2y^2) ?

Answer

Question 5

5.

The floor of Kapil’s family’s prayer room has area (15x2+4xy−4y2) (15x^2 + 4xy - 4y^2) m² and breadth (5x − 2y) m.

  • a.Find its length.
  • b.If x = 1 and y = 2, find the real length, breadth and area of the floor.
Answer

Question 6

6.

What do you get when (x2+19x+54) (x^2 + 19x + 54) is divided by (x + 3)? If x = 1, find the real values of the dividend, divisor and quotient.

Answer

Question 7

Divide, then test the relation Dividend = Divisor × Quotient + Remainder.

a.

(a2+7a+13)÷(a+3) (a^2 + 7a + 13) \div (a + 3)

Answer
b.

(2a2−5a+23)÷(2a−3) (2a^2 - 5a + 23) \div (2a - 3)

Answer

11.4 The square of a sum, (a+b)2 (a + b)^2

Now Gyanu’s question. A square’s side is made longer: what happens to its area?

The two rectangles are what Gyanu’s brother forgot. Try it with numbers:

Try it

Cut the square

Set a = 8 and b = 2. How big is the whole square? How big are a2 a^2 and b2 b^2 together? Where is the rest?

a²ababb²a = 5b = 3a = 5b = 3
Square:
Whole square
8² = 64
The four pieces
25 + 15 + 15 + 9 = 64

A square of side 5 + 3 = 8: its area is 8² = 64, not 5² + 3² = 34.

(a + b)² = a² + 2ab + b²(a − b)² = a² − 2ab + b²

Answer

Multiplying gives the same rule, with no picture:

(a+b)2=(a+b)(a+b)=a(a+b)+b(a+b)=a2+ab+ab+b2=a2+2ab+b2 \begin{aligned} (a + b)^2 &= (a + b)(a + b) \\ &= a(a + b) + b(a + b) \\ &= a^2 + ab + ab + b^2 \\ &= a^2 + 2ab + b^2 \end{aligned}

In words: the square of a sum is the square of the first, plus twice the product of the two, plus the square of the second.

11.5 The square of a difference, (a−b)2 (a - b)^2

There is a quicker way to see it. Take two whole strips a by b off the big square, one down the side and one along the bottom. The little corner b by b was in both strips, so it was taken off twice; put it back once.

Try it

Take the strips off

Press the button three times. After both strips are off, the sum says a2−2ab a^2 - 2ab . Why is that less than the square that is left? What does putting back b2 b^2 fix?

(a − b)²a = 7a − b = 4b = 3
Square:
Square wanted
4² = 16
So far
49

A square of side 7, area 49. Inside it, the square of side 7 − 3 = 4 that we want.

(a + b)² = a² + 2ab + b²(a − b)² = a² − 2ab + b²

Answer

By multiplying:

(a−b)2=(a−b)(a−b)=a(a−b)−b(a−b)=a2−ab−ab+b2=a2−2ab+b2 \begin{aligned} (a - b)^2 &= (a - b)(a - b) \\ &= a(a - b) - b(a - b) \\ &= a^2 - ab - ab + b^2 \\ &= a^2 - 2ab + b^2 \end{aligned}

What is (x+5)2 (x + 5)^2 ?

Pick an answer to see why.

What is (2y−3)2 (2y - 3)^2 ?

Pick an answer to see why.

Using the formulae

The two formulae are linked. Take them away from each other:

(a+b)2−(a−b)2=4ab \begin{aligned} &(a + b)^2 - (a - b)^2 = 4ab \end{aligned}

So (a+b)2=(a−b)2+4ab (a + b)^2 = (a - b)^2 + 4ab and (a−b)2=(a+b)2−4ab (a - b)^2 = (a + b)^2 - 4ab . With these, if you know a sum (or difference) and a product, you can find the other.

If x + y = 7 and xy = 10, what is x2+y2 x^2 + y^2 ?

Pick an answer to see why.

Exercise 11.3

Question 1

Find the square of each expression three ways: using the formula, without the formula, and with a figure.

a.

(x + 3)

Answer
b.

(x − 1)

Answer
c.

(a + 4)

Answer
d.

(a − 5)

Answer

Question 2

Find the square of each expression.

a.

(3x2+2) (3x^2 + 2)

Answer
b.

(5x − 2y)

Answer
c.

(3x2−13y) \left(3x^2 - \frac{1}{3y}\right)

Answer
d.

(x2+12x) \left(x^2 + \frac{1}{2x}\right)

Answer
e.

(x − y + z)

Answer
f.

(x2+y2+z2) (x^2 + y^2 + z^2)

Answer

Question 3

Find the square of each number using the formulae.

a.

98

Answer
b.

102

Answer
c.

999

Answer

Question 4

Write each expression as a whole square.

a.

x2−2+1x2 x^2 - 2 + \frac{1}{x^2}

Hint
Answer
b.

4x2−20xy+25y2 4x^2 - 20xy + 25y^2

Answer
c.

9x2+12xy+4y2 9x^2 + 12xy + 4y^2

Answer
d.

81a4+72a2b2+16b4 81a^4 + 72a^2b^2 + 16b^4

Answer
e.

a2b2+10abxy+25x2y2 a^2b^2 + \frac{10ab}{xy} + \frac{25}{x^2y^2}

Answer

Question 5

Simplify:

a.

(2c−5d)2−(5d−2c)2 (2c - 5d)^2 - (5d - 2c)^2

Answer
b.

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

Answer
c.

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

Answer
d.

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

Answer

Question 6

If a+1a=10 a + \frac{1}{a} = 10 , find the value of:

a.

a2+1a2 a^2 + \frac{1}{a^2}

Answer
b.

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

Answer

Question 7

If m−1m=6 m - \frac{1}{m} = 6 , find the value of:

a.

m2+1m2 m^2 + \frac{1}{m^2}

Answer
b.

(m+1m)2 \left(m + \frac{1}{m}\right)^2

Answer

Question 8

If x + y = 9 and xy = 8, find the value of:

a.

x2+y2 x^2 + y^2

Answer
b.

x − y

Answer

Question 9

9.

If a2+b2=17 a^2 + b^2 = 17 and ab = 4, find the value of a + b.

Answer

Question 10

10.

If p2+1p2=7 p^2 + \frac{1}{p^2} = 7 , find the value of p+1p p + \frac{1}{p} .

Answer

Back to the vegetable bed

Gyanu’s bed grows from 10 m to 12 m a side. With a = 10 and b = 2:

(10+2)2=102+2×10×2+22=100+40+4=144 \begin{aligned} (10 + 2)^2 &= 10^2 + 2 \times 10 \times 2 + 2^2 \\ &= 100 + 40 + 4 \\ &= 144 \end{aligned}

The new bed is 144 m², so they dig 144 − 100 = 44 m² of new ground, not 4. Her brother counted only the little corner b2=4 b^2 = 4 . He forgot the two strips along the sides, 10 × 2 = 20 m² each, which are most of the new ground.

In general, making a square of side a longer by b adds 2ab+b2 2ab + b^2 : for a small b, mostly the two strips.

Where this is used

  • Mental arithmetic. Squares near a round number, such as 512=2601 51^2 = 2601 and 992=9801 99^2 = 9801 , are quick with (a±b)2 (a \pm b)^2 .
  • Land and building. A plot’s, a room’s or a wall’s area with sides in letters is a product of expressions; a path or border round a square bed adds 2ab+b2 2ab + b^2 .
  • Checking work. Putting a number into both sides of a product or a division, as in Example 6 and Example 2 of 11.3, catches mistakes.
  • More algebra. Factorizing (Grade 8), solving quadratic equations and finding distances in coordinate geometry all lean on (a+b)2=a2+2ab+b2 (a + b)^2 = a^2 + 2ab + b^2 .
Where these facts come from
  • Euclid, Elements, Book II, Proposition 4 (“If a straight line is cut at random, then the square on the whole equals the sum of the squares on the segments plus twice the rectangle contained by the segments”), in D. E. Joyce’s online edition, Clark University, 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.