Algebraic Expressions
Algebraic Expressions
Algebraic Expressions
Chapter 12
Algebraic
Expressions
12.1 INTRODUCTION
We have already come across simple algebraic expressions like x + 3, y – 5, 4x + 5,
10y – 5 and so on. In Class VI, we have seen how these expressions are useful in formulating
puzzles and problems. We have also seen examples of several expressions in the chapter on
simple equations.
Expressions are a central concept in algebra. This Chapter is devoted to algebraic
expressions. When you have studied this Chapter, you will know how algebraic
expressions are formed, how they can be combined, how we can find their values and
how they can be used.
(Later, when you study the chapter ‘Exponents and Powers’ you will realise that x2
may also be read as x raised to the power 2).
In the same manner, we can write x × x × x = x3
Commonly, x3 is read as ‘x cubed’. Later, you will realise that x3 may also be read
as x raised to the power 3.
x, x2, x3, ... are all algebraic expressions obtained from x.
(ii) The expression 2y 2 is obtained from y: 2y 2 = 2 × y × y
Here by multiplying y with y we obtain y 2 and then we multiply y2 by the constant 2.
(iii) In (3x2 – 5) we first obtain x2, and multiply it by 3 to get 3x2.
TRY THESE From 3x2, we subtract 5 to finally arrive at 3x2 – 5.
Describe how the (iv) In xy, we multiply the variable x with another variable y. Thus,
following expressions x × y = xy.
are obtained: (v) In 4xy + 7, we first obtain xy, multiply it by 4 to get 4xy and add
2 2
7xy + 5, x y, 4x – 5x 7 to 4xy to get the expression.
Coefficients
We have learnt how to write a term as a product of factors.
One of these factors may be numerical and the others algebraic
(i.e., they contain variables). The numerical factor is said to be TRY THESE
the numerical coefficient or simply the coefficient of the term. 1. What are the terms in the
It is also said to be the coefficient of the rest of the term (which following expressions?
is obviously the product of algebraic factors of the term). Thus Show how the terms are
in 5xy, 5 is the coefficient of the term. It is also the coefficient formed. Draw a tree diagram
of xy. In the term 10xyz, 10 is the coefficient of xyz, in the for each expression:
term –7x 2 y 2, –7 is the coefficient of x 2 y 2.
8y + 3x2, 7mn – 4, 2x2y.
When the coefficient of a term is +1, it is usually omitted.
For example, 1x is written as x; 1 x2y2 is written as x2y2 and 2. Write three expression each
so on. Also, the coefficient (–1) is indicated only by the having 4 terms.
2 2
minus sign. Thus (–1) x is written as – x; (–1) x y is
written as – x2 y2 and so on.
Sometimes, the word ‘coefficient’ is used in a more general way. Thus
we say that in the term 5xy, 5 is the coefficient of xy, x is the coefficient of 5y
and y is the coefficient of 5x. In 10xy 2, 10 is the coefficient of xy 2, x is the TRY THESE
2 2
coefficient of 10y and y is the coefficient of 10x. Thus, in this more general Identify the coefficients
way, a coefficient may be either a numerical factor or an algebraic factor or of the terms of following
a product of two or more factors. It is said to be the coefficient of the expressions:
product of the remaining factors.
4x – 3y, a + b + 5, 2y + 5, 2xy
EXAMPLE 1 Identify, in the following expressions, terms which are not
constants. Give their numerical coefficients:
xy + 4, 13 – y2, 13 – y + 5y2, 4p2q – 3pq2 + 5
232 MATHEMATICS
S OLUTION
S. No. Expression Term (which is not Numerical
a Constant) Coefficient
(i) xy + 4 xy 1
(ii) 13 – y2 – y2 –1
(iii) 13 – y + 5y2 –y –1
5y2 5
(iv) 4p2q – 3pq2 + 5 4p2q 4
– 3pq2 –3
EXAMPLE 2
(a) What are the coefficients of x in the following expressions?
4x – 3y, 8 – x + y, y2x – y, 2z – 5xz
(b) What are the coefficients of y in the following expressions?
4x – 3y, 8 + yz, yz2 + 5, my + m
SOLUTION
(a) In each expression we look for a term with x as a factor. The remaining part of that
term is the coefficient of x.
S. No. Expression Term with Factor x Coefficient of x
(i) 4x – 3y 4x 4
(ii) 8–x+y –x –1
2 2
(iii) yx–y yx y2
(iv) 2z – 5xz – 5xz – 5z
(b) The method is similar to that in (a) above.
S. No. Expression Term with factor y Coefficient of y
(i) 4x – 3y – 3y –3
(ii) 8 + yz yz z
(iii) yz2 + 5 yz2 z2
(iv) my + m my m
Following simple steps will help you to decide whether the given terms are like
or unlike terms:
(i) Ignore the numerical coefficients. Concentrate on the algebraic part of the
terms.
(ii) Check the variables in the terms. They must be the same.
(iii) Next, check the powers of each variable in the terms. They must be the same.
Note that in deciding like terms, two things do not matter (1) the numerical
coefficients of the terms and (2) the order in which the variables are multiplied in the
terms.
EXERCISE 12.1
1. Get the algebraic expressions in the following cases using variables, constants and
arithmetic operations.
(i) Subtraction of z from y.
(ii) One-half of the sum of numbers x and y.
(iii) The number z multiplied by itself.
(iv) One-fourth of the product of numbers p and q.
(v) Numbers x and y both squared and added.
(vi) Number 5 added to three times the product of numbers m and n.
(vii) Product of numbers y and z subtracted from 10.
(viii) Sum of numbers a and b subtracted from their product.
2. (i) Identify the terms and their factors in the following expressions
Show the terms and factors by tree diagrams.
(a) x – 3 (b) 1 + x + x2 (c) y – y3
(d) 5xy2 + 7x2y (e) – ab + 2b2 – 3a2
(ii) Identify terms and factors in the expressions given below:
(a) – 4x + 5 (b) – 4x + 5y (c) 5y + 3y2
(d) xy + 2x2y2 (e) pq + q (f) 1.2 ab – 2.4 b + 3.6 a
ALGEBRAIC EXPRESSIONS 235
3 1
(g) x+ (h) 0.1 p2 + 0.2 q2
4 4
3. Identify the numerical coefficients of terms (other than constants) in the following
expressions:
(i) 5 – 3t2 (ii) 1 + t + t2 + t3 (iii) x + 2xy + 3y
2 2
(iv) 100m + 1000n (v) – p q + 7pq (vi) 1.2 a + 0.8 b
(vii) 3.14 r2 (viii) 2 (l + b) (ix) 0.1 y + 0.01 y2
4. (a) Identify terms which contain x and give the coefficient of x.
(i) y2x + y (ii) 13y2 – 8yx (iii) x + y + 2
(iv) 5 + z + zx (v) 1 + x + xy (vi) 12xy2 + 25
(vii) 7x + xy2
(b) Identify terms which contain y2 and give the coefficient of y2.
(i) 8 – xy2 (ii) 5y2 + 7x (iii) 2x2y – 15xy2 + 7y2
5. Classify into monomials, binomials and trinomials.
(i) 4y – 7z (ii) y2 (iii) x + y – xy (iv) 100
2 2
(v) ab – a – b (vi) 5 – 3t (vii) 4p q – 4pq (viii) 7mn
(ix) z2 – 3z + 8 (x) a2 + b2 (xi) z2 + z
(xii) 1 + x + x2
6. State whether a given pair of terms is of like or unlike terms.
5
(i) 1, 100 (ii) –7x, x (iii) – 29x, – 29y
2
(iv) 14xy, 42yx (v) 4m2p, 4mp2 (vi) 12xz, 12x2z2
7. Identify like terms in the following:
(a) – xy2, – 4yx2, 8x2, 2xy2, 7y, – 11x2, – 100x, – 11yx, 20x2y,
– 6x2, y, 2xy, 3x
(b) 10pq, 7p, 8q, – p2q2, – 7qp, – 100q, – 23, 12q2p2, – 5p2, 41, 2405p, 78qp,
13p2q, qp2, 701p2
marbles and Ameena’s marbles, and to this sum add 3, that is, we take the sum of
x, x + 10 and 3.
2. Ramu’s father’s present age is 3 times Ramu’s age. Ramu’s grandfather’s age is 13
years more than the sum of Ramu’s age and Ramu’s father’s age. How do you find
Ramu’s grandfather’s age?
Since Ramu’s age is not given, let us take it to be y years. Then his father’s age is
3y years. To find Ramu’s grandfather’s age we have to take the sum of Ramu’s age (y)
and his father’s age (3y) and to the sum add 13, that is, we have to take the sum of
y, 3y and 13.
3. In a garden, roses and marigolds are planted in square plots. The length of the
square plot in which marigolds are planted is 3 metres greater than the length of the
square plot in which roses are planted. How much bigger in area is the marigold plot
than the rose plot?
Let us take l metres to be length of the side of the rose plot. The length of the side of
the marigold plot will be (l + 3) metres. Their respective areas will be l2 and (l + 3)2.
The difference between (l 2 + 3)2 and l 2 will decide how much bigger in area the
marigold plot is.
In all the three situations, we had to carry out addition or subtraction of algebraic
expressions. There are a number of real life problems in which we need to use
expressions and do arithmetic operations on them. In this section, we shall see how
algebraic expressions are added and subtracted.
TRY THESE
Think of atleast two situations in each of which you need to form two algebraic
expressions and add or subtract them
z Subtract a – b from 3a – b + 4
The difference = 3a – b + 4 – (a – b) Note, just as
= 3a – b + 4 – a + b – (5 – 3) = – 5 + 3,
Observe how we took (a – b) in brackets and took – (a – b) = – a + b.
care of signs in opening the bracket. Rearranging the The signs of algebraic
terms to put like terms together, terms are handled in the
same way as signs of
The difference = 3a – a + b – b + 4 numbers.
= (3 – 1) a + (1 – 1) b + 4
The difference = 2a + (0) b + 4 = 2a + 4
or 3a – b + 4 – (a – b) = 2a + 4
We shall now solve some more examples on addition and subtraction of expression
for practice.
EXAMPLE 4 Collect like terms and simplify the expression:
12m2 – 9m + 5m – 4m2 – 7m + 10
SOLUTION Rearranging terms, we have
12m2 – 4m2 + 5m – 9m – 7m + 10
= (12 – 4) m2 + (5 – 9 – 7) m + 10
TRY THESE
Add and subtract = 8m2 + (– 4 – 7) m + 10
(i) m – n, m + n = 8m2 + (–11) m + 10
(ii) mn + 5 – 2, mn + 3 = 8m2 – 11m + 10
EXAMPLE 6 From the sum of 2y2 + 3yz, – y2 – yz – z2 and yz + 2z2, subtract the
sum of 3y2 – z2 and –y2 + yz + z2.
EXERCISE 12.2
1. Simplify combining like terms:
(i) 21b – 32 + 7b – 20b
(ii) – z2 + 13z2 – 5z + 7z3 – 15z
(iii) p – (p – q) – q – (q – p)
(iv) 3a – 2b – ab – (a – b + ab) + 3ab + b – a
(v) 5x2y – 5x2 + 3yx2 – 3y2 + x2 – y2 + 8xy2 – 3y2
(vi) (3y2 + 5y – 4) – (8y – y2 – 4)
2. Add:
(i) 3mn, – 5mn, 8mn, – 4mn
(ii) t – 8tz, 3tz – z, z – t
(iii) – 7mn + 5, 12mn + 2, 9mn – 8, – 2mn – 3
(iv) a + b – 3, b – a + 3, a – b + 3
(v) 14x + 10y – 12xy – 13, 18 – 7x – 10y + 8xy, 4xy
(vi) 5m – 7n, 3n – 4m + 2, 2m – 3mn – 5
(vii) 4x2y, – 3xy2, –5xy2, 5x2y
240 MATHEMATICS
SOLUTION Putting x = 2
(i) In x + 4, we get the value of x + 4, i.e.,
x+4=2+4=6
ALGEBRAIC EXPRESSIONS 241
(ii) In 4x – 3, we get
4x – 3 = (4 × 2) – 3 = 8 – 3 = 5
(iii) In 19 – 5x2, we get
19 – 5x2 = 19 – (5 × 22) = 19 – (5 × 4) = 19 – 20 = – 1
(iv) In 100 – 10x3, we get
100 – 10x3 = 100 – (10 × 23) = 100 – (10 × 8) (Note 23 = 8)
= 100 – 80 = 20
SOLUTION
(i) Putting the value of n = – 2, in 5n – 2, we get,
5(– 2) – 2 = – 10 – 2 = – 12
(ii) In 5n2 + 5n – 2, we have,
for n = –2, 5n – 2 = –12
and 5n2 = 5 × (– 2)2 = 5 × 4 = 20 [as (– 2)2 = 4]
Combining,
5n2 + 5n – 2 = 20 – 12 = 8
(iii) Now, for n = – 2,
5n2 + 5n – 2 = 8 and
n3 = (–2)3 = (–2) × (–2) × (–2) = – 8
Combining,
n3 + 5n2 + 5n – 2 = – 8 + 8 = 0
We shall now consider expressions of two variables, for example, x + y, xy. To work
out the numerical value of an expression of two variables, we need to give the values of
both variables. For example, the value of (x + y), for x = 3 and y = 5, is 3 + 5 = 8.
EXAMPLE 9 Find the value of the following expressions for a = 3, b = 2.
(i) a + b (ii) 7a – 4b (iii) a2 + 2ab + b2
(iv) a3 – b3
EXERCISE 12.3
1. If m = 2, find the value of:
(i) m – 2 (ii) 3m – 5 (iii) 9 – 5m
5m
(iv) 3m2 – 2m – 7 (v) 4
2
2. If p = – 2, find the value of:
(i) 4p + 7 (ii) – 3p2 + 4p + 7 (iii) – 2p3 – 3p2 + 4p + 7
3. Find the value of the following expressions, when x = –1:
(i) 2x – 7 (ii) – x + 2 (iii) x2 + 2x + 1
(iv) 2x2 – x – 2
4. If a = 2, b = – 2, find the value of:
(i) a2 + b2 (ii) a2 + ab + b2 (iii) a2 – b2
5. When a = 0, b = – 1, find the value of the given expressions:
(i) 2a + 2b (ii) 2a2 + b2 + 1 (iii) 2a2b + 2ab2 + ab
(iv) a2 + ab + 2
6. Simplify the expressions and find the value if x is equal to 2
(i) x + 7 + 4 (x – 5) (ii) 3 (x + 2) + 5x – 7
(iii) 6x + 5 (x – 2) (iv) 4(2x – 1) + 3x + 11
7. Simplify these expressions and find their values if x = 3, a = – 1, b = – 2.
(i) 3x – 5 – x + 9 (ii) 2 – 8x + 4x + 4
(iii) 3a + 5 – 8a + 1 (iv) 10 – 3b – 4 – 5b
(v) 2a – 2b – 4 – 5 + a
8. (i) If z = 10, find the value of z3 – 3(z – 10).
(ii) If p = – 10, find the value of p2 – 2p – 100
9. What should be the value of a if the value of 2x2 + x – a equals to 5, when x = 0?
10. Simplify the expression and find its value when a = 5 and b = – 3.
2(a2 + ab) + 3 – ab
ALGEBRAIC EXPRESSIONS 243
z Perimeter formulas
1. The perimeter of an equilateral triangle = 3 × the length of its side. If we denote the
length of the side of the equilateral triangle by l, then the perimeter of the equilateral
triangle = 3l
2. Similarly, the perimeter of a square = 4l
where l = the length of the side of the square.
3. Perimeter of a regular pentagon = 5l
where l = the length of the side of the pentagon and so on.
z Area formulas
1. If we denote the length of a square by l, then the area of the square = l 2
2. If we denote the length of a rectangle by l and its breadth by b, then the area of the
rectangle = l × b = lb.
3. Similarly, if b stands for the base and h for the height of a triangle, then the area of the
b × h bh
triangle = = .
2 2
Once a formula, that is, the algebraic expression for a given quantity is known, the
value of the quantity can be computed as required.
For example, for a square of length 3 cm, the perimeter is obtained by putting the value
l = 3 cm in the expression of the perimeter of a square, i.e., 4l.
The perimeter of the given square = (4 × 3) cm = 12 cm.
Similarly, the area of the square is obtained by putting in the value of
l (= 3 cm) in the expression for the area of a square, that is, l 2;
Area of the given square = (3)2 cm2 = 9 cm2.
DO THIS
Take (small) line segments of equal length such as matchsticks, tooth pricks or
pieces of straws cut into smaller pieces of equal length. Join them in patterns as
shown in the figures given:
1. Observe the pattern in Fig 12.1.
It consists of repetitions of the shape
made from 4 line segments. As you see for
one shape you need 4 segments, for two
shapes 7, for three 10 and so on. If n is the
number of shapes, then the number of
segments required to form n shapes is given
by (3n + 1).
You may verify this by taking n = 1, 2,
3, 4, ..., 10, ... etc. For example, if the
number of letters formed is 3, then
the number of line segments required
is 3 × 3 + 1 = 9 + 1 = 10, as seen from Fig 12.1
the figure.
2. Now, consider the pattern in Fig 12.2. Here
the shape is repeated. The number of
segments required to form 1, 2, 3, 4, ...
shapes are 3, 5, 7, 9, ... respectively. If n
stands for the shapes formed, the number of
segments required is given by the expression
(2n + 1). You may check if the expression is
correct by taking any value of n, say n = 4.
Then (2n + 1) = (2 × 4) + 1 = 9, which is
indeed the number of line segments
required to make 4 s.
Fig 12.2
ALGEBRAIC EXPRESSIONS 245
TRY THESE
Make similar pattern with basic figures as shown
(The number of segments required to make the figure is given to the right. Also,
the expression for the number of segments required to make n shapes is also given).
Go ahead and discover more such patterns.
DO THIS 1
Make the following pattern of dots. If you take a graph paper or a dot paper, it will 4
be easier to make the patterns.
Observe how the dots are arranged in a square shape. If the number of dots in a
9
row or a column in a particular figure is taken to be the variable n, then the number of
dots in the figure is given by the expression n × n = n2. For example, take n = 4. The
number of dots for the figure with 4 dots in a row (or a column) is 4 × 4 = 16, as is
indeed seen from the figure. You may check this for other values of n. The ancient 16
Greek mathematicians called the number 1, 4, 9, 16, 25, ... square numbers.
z Pattern in geometry
y y
What is the number of diagonals we can draw from one vertex of a quadrilateral? y y
y y
Check it, it is one. n2
246 MATHEMATICS
E D F E
D C
C A D
A
A B
B B C
From one vertex of a hexagon? It is 3.
The number of diagonals we can draw from one vertex of a polygon of n sides is
(n – 3). Check it for a heptagon (7 sides) and octagon (8 sides) by drawing figures.
What is the number for a triangle (3 sides)? Observe that the diagonals drawn from any
one vertex divide the polygon in as many non-overlapping triangles as the number of
diagonals that can be drawn from the vertex plus one.
EXERCISE 12.4
1. Observe the patterns of digits made from line segments of equal length. You will find
such segmented digits on the display of electronic watches or calculators.
2. Use the given algebraic expression to complete the table of number patterns.
S. Expression Terms
st nd rd th th
No. 1 2 3 4 5 ... 10th … 100th …
(i) 2n – 1 1 3 5 7 9 - 19 - - -
(ii) 3n + 2 2 5 8 11 - - - - - -
(iii) 4n + 1 5 9 13 17 - - - - - -
(iv) 7n + 20 27 34 41 48 - - - - - -
(v) n2 + 1 2 5 10 17 - - - - 10,001 -
9. In situations such as solving an equation and using a formula, we have to find the
value of an expression. The value of the expression depends on the value of the
variable from which the expression is formed. Thus, the value of 7x – 3 for x = 5 is
32, since 7(5) – 3 = 35 – 3 = 32.
10. Rules and formulas in mathematics are written in a concise and general form using
algebraic expressions:
Thus, the area of rectangle = lb, where l is the length and b is the breadth of the
rectangle.
The general (nth) term of a number pattern (or a sequence) is an expression in n.
Thus, the nth term of the number pattern 11, 21, 31, 41, . . . is (10n + 1).