Chapter 4  ·  Class 7 Maths

Expressions using Letter-Numbers

Variables, Expressions & Patterns — Topic by Topic

2x + 3
An algebraic expression
🔠
What are Letter-Numbers?

In maths, we sometimes don't know the value of a number — or we want a rule that works for any number. We use letters like x, y, a, b, n to represent such numbers. These are called letter-numbers or variables.

Example: "Think of a number and add 5." If the number is n, we write: n + 5

Different people may think of different numbers — that is why we call it a variable (it can vary!). The answer changes depending on what number n stands for.

👉 Translating Words to Letter-Numbers
Word StatementLetter-Number Expression
A number increased by 7n + 7
3 times a number3n
Half of a numbern / 2
A number decreased by 4n − 4
Square of a number
5 more than twice a number2n + 5
🏭 Did You Know? In ancient India, mathematician Brahmagupta used Sanskrit words like "yavattavat" (meaning "as much as") for unknowns — letters are just a modern shorthand for the same idea!
💡 Key Idea: A letter-number is just a placeholder — like a blank box □ — that can hold any value.
n can be 1 or 7 or 100 or any number!
🔢
Variables and Constants

🔄 Variable

A letter that can take different values.

Examples: x, y, a, b, n, m, p, q

x   y   n

🔒 Constant

A fixed number that never changes.

Examples: 3, 7, −5, 0, 100

3   7   −5

🔢 Coefficient

The number multiplied with a variable.

In 5x, coefficient is 5.

In −3y, coefficient is −3.

❓ Unknown

A variable whose value we want to find.

In "x + 5 = 8", x is the unknown.

x = 3

🔎 Identifying Parts of an Expression: 3x + 5
3x
Variable Term
Coeff = 3, Var = x
+
5
Constant Term
📋 Quick Reference Table
ExpressionVariableConstantCoefficient of Variable
4x + 7x74
3a − 2a−23
y + 10y101 (written as y, not 1y)
5nn5
88
Note: When the coefficient is 1, we write x, not 1x.
When the coefficient is −1, we write −x, not −1x.
📋
What is an Algebraic Expression?

An algebraic expression is a combination of variables, constants and operations (+, −, ×, ÷).

Examples:   2x + 3  |  5y − 7  |  a + b  |  3n²  |  4p − 2q + 1

📄 Forming Expressions from Word Statements
Word StatementExpression
7 more than xx + 7
4 less than yy − 4
Product of 3 and n, plus 23n + 2
5 times a number minus 85n − 8
Twice the sum of x and y2(x + y)
Square of a, decreased by 1a² − 1
Example 1: Writing an expression

Riya is x years old. Her brother is 3 years older.

Brother's age = x + 3

Example 2: Writing an expression

A box has n chocolates. 5 are eaten.

Remaining chocolates = n − 5

🧩 Types of Algebraic Expressions

Monomial

Expression with 1 term

Examples: 3x, 7y, −5a, 4xy

Binomial

Expression with 2 terms

Examples: 2x + 1, 3a − b

Trinomial

Expression with 3 terms

Examples: x + y + 2, 2a − b + 3

Polynomial

Expression with one or more terms

All of the above are polynomials!

📚 Word Origin: The word "algebra" comes from the Arabic al-jabr meaning "reunion of broken parts" — from the 9th century book by Al-Khwarizmi!
✍ Quick Practice
Q1. Write an expression: "9 more than twice a number n"
Answer: 2n + 9
Q2. Arjun has x rupees. He spends ₹50. Write an expression for money left.
Answer: x − 50
🧩
Terms, Coefficients and Factors

A term is a single part of an expression. Terms are separated by + or − signs.

In the expression 3x² + 5x − 7:
3x² + 5x 7

Term 1     Term 2     Term 3 (constant)

🔎 Click a Term to See Its Anatomy
3x + 5y −2
👉 Click any term above to see its coefficient, variable and factors.
📋 Term Reference Table
TermCoefficientVariable PartFactors
5x5x5, x
−3y−3y−3, y
7ab7ab7, a, b
−xy−1xy−1, x, y
44— (constant)4
Note: A term with no variable is called a constant term. Its value never changes regardless of what the variable equals.
👥
Like and Unlike Terms
💡 The Golden Rule: Only like terms can be added or subtracted!
The coefficients can be different — only the variable parts need to be identical.
Find like terms in: 2x + 3y + 5x − y

x-terms: 2x and 5x → LIKE (can be combined)

y-terms: 3y and −y → LIKE (can be combined)

Result: (2x + 5x) + (3y − y) = 7x + 2y

✍ Are These Like or Unlike Terms?
Q1. Are 8a and −3a like or unlike terms? (type "like" or "unlike")
Like — both have variable a¹
Q2. Are 4xy and 4x like or unlike terms?
Unlike — 4xy has variable xy, 4x has variable x. Different!
Addition of Algebraic Expressions

To add algebraic expressions: (1) Write the expressions, (2) Group like terms together, (3) Add the coefficients of like terms.

Example 1: Add (3x + 2y) and (5x − y)

= (3x + 5x) + (2y − y)

= 8x + y

Example 2: Add (2a + 3b − 1) and (a − 2b + 4)

= (2a + a) + (3b − 2b) + (−1 + 4)

= 3a + b + 3

Column method:
+2a + 3b − 1
   a − 2b + 4
3a +  b + 3
Example 3: Add (4x² + 3x + 2) and (x² − 5x + 1)

= (4x² + x²) + (3x − 5x) + (2 + 1)

= 5x² − 2x + 3

✍ Quick Practice
Q1. Add (4x + 3) and (2x − 1). Answer: ___x + ___
Answer: 6x + 2  [4x+2x=6x; 3+(−1)=2]
Q2. Add (3a + 2b) and (a + 4b). Answer: ___a + ___b
Answer: 4a + 6b
Q3. Add (5p − 3q + 2) and (−2p + q − 5). Answer: ___p + ___q + ___
Answer: 3p − 2q − 3
Subtraction of Algebraic Expressions

When subtracting expressions, change the sign of EVERY term in the expression being subtracted, then add.

Example 1: (5x + 3y) − (2x + y)

= 5x + 3y − 2x − y   (change sign of 2x → −2x and y → −y)

= (5x − 2x) + (3y − y)

= 3x + 2y

Example 2: (4a − 2b + 1) − (a + 3b − 4)

= 4a − 2b + 1 − a − 3b + 4   (all signs of 2nd expression flipped)

= (4a − a) + (−2b − 3b) + (1 + 4)

= 3a − 5b + 5

Column method:
4a − 2b + 1
   a + 3b − 4
3a − 5b + 5
⚠ Most Common Mistake!
Wrong:  (5x + 3) − (2x − 1) = 5x + 3 − 2x − 1 = 3x + 2  ✗
Correct: (5x + 3) − (2x − 1) = 5x + 3 − 2x + 1 = 3x + 4  ✓
The −1 inside the bracket becomes +1 because the subtraction flips its sign!
✍ Quick Practice
Q1. Subtract (3x + 1) from (7x + 5).
Answer: (7x+5) − (3x+1) = 7x+5−3x−1 = 4x + 4
Q2. Subtract (2a − b) from (5a + 3b).
Answer: (5a+3b)−(2a−b) = 5a+3b−2a+b = 3a + 4b
🔄
Finding the Value — Substitution

To find the value of an expression, we substitute (replace) the variable with a given number, then calculate.

Example 1: Find value of 3x + 5 when x = 4

= 3(4) + 5 = 12 + 5 = 17

Example 2: Find value of 2a − b when a = 3, b = 7

= 2(3) − 7 = 6 − 7 = −1

Example 3: Find value of n² + 2n − 1 when n = 3

= (3)² + 2(3) − 1 = 9 + 6 − 1 = 14

Example 4: Find value of p + q + pq when p = 2, q = 5

= 2 + 5 + (2)(5) = 2 + 5 + 10 = 17

4x + 3
Enter x =
Result = ?
📋 Pattern: Expression Values
Expressionx = 1x = 2x = 3Pattern
2x + 1357Odd numbers!
149Perfect squares!
3x − 1258Add 3 each time
x(x + 1)2612Rectangular numbers!
💡 Remember: Order of operations (BODMAS) still applies after substitution — solve brackets first, then powers, then × and ÷, then + and −.
✍ Quick Practice
Q1. Find value of 5x − 3 when x = 4.
5(4) − 3 = 20 − 3 = 17
Q2. Find value of a² + 2a when a = 5.
25 + 10 = 35
Q3. Find value of 3p + 2q when p = 2, q = 3.
3(2) + 2(3) = 6 + 6 = 12
🌀
Patterns with Letter-Numbers

One of the most powerful uses of letter-numbers is describing patterns with a single formula!

🪶 Matchstick Patterns
Triangles (n)Matchsticks usedPattern
132(1) + 1
252(2) + 1
372(3) + 1
492(4) + 1
n2n + 1General formula!

🪶 Matchstick Triangle Builder

Click below to build triangles
🔢 Number Patterns

1, 4, 7, 10… (add 3)

nth term = 3n − 2

n=1: 1, n=2: 4, n=3: 7 ✓

2, 4, 6, 8… (even)

nth term = 2n

n=1: 2, n=2: 4, n=3: 6 ✓

1, 4, 9, 16… (squares)

nth term =

n=1: 1, n=2: 4, n=3: 9 ✓

1, 3, 5, 7… (odd)

nth term = 2n − 1

n=1: 1, n=2: 3, n=3: 5 ✓

🌿 Fun in Nature: The Fibonacci sequence 1, 1, 2, 3, 5, 8, 13… appears in sunflower seeds, pinecones, and nautilus shells! Can you write a rule for it? (Hint: each term = sum of previous two!)
✍ Quick Practice
Q1. Using the formula for triangles: how many matchsticks for 8 triangles?
2(8) + 1 = 16 + 1 = 17 matchsticks
Q2. For the pattern 3, 6, 9, 12… the nth term is ___n.
3n (multiply n by 3)
📐
Formulas using Letter-Numbers

Formulas are expressions that describe relationships between real quantities. Variables in formulas stand for measurable things.

▢ Square

Perimeter = 4s

Area =

s = side length

▭ Rectangle

Perimeter = 2(l + b)

Area = lb

l = length, b = breadth

△ Triangle

Perimeter = a + b + c

a, b, c = three sides

🚗 Speed

Distance = S × T

Simple Interest = PRT/100

P=principal, R=rate, T=time

Example 1: Perimeter of rectangle (l = 6.5 cm, b = 4.2 cm)

P = 2(l + b) = 2(6.5 + 4.2) = 2 × 10.7 = 21.4 cm

Example 2: Area of square (s = 7 cm)

A = s² = 7² = 49 cm²

Example 3: Distance = 60t. Find D when t = 3.5 hours.

D = 60 × 3.5 = 210 km

Example 4: Simple Interest when P = ₹5000, R = 8%, T = 3 years

SI = PRT/100 = (5000 × 8 × 3)/100 = 120000/100 = ₹1200

Note: Variables in formulas represent real quantities. Always include the units (cm, m, km, ₹, etc.) in your final answer!
Practice: MCQs & Mixed Questions
📝 Multiple Choice Questions
Q1. Which of the following is a variable?
  • 7
  • x
  • 3 + 2
  • 100
x is a variable — it can take any value. 7, 3+2, and 100 are all constants.
Q2. The coefficient of y in the expression 9y − 5 is:
  • 9
  • −5
  • y
  • 5
The coefficient of y is the number multiplied with y, which is 9.
Q3. 3x and 5x² are:
  • Like terms
  • Unlike terms
  • Constants
  • Equal terms
Unlike — 3x has power 1, 5x² has power 2. Different powers → unlike terms.
Q4. The value of 2a + 3b when a = 4, b = 2 is:
  • 14
  • 12
  • 10
  • 18
2(4) + 3(2) = 8 + 6 = 14
Q5. Add (4x + 2y) and (3x − y). The result is:
  • 7x + y
  • 7x + 3y
  • 7x − y
  • x + 3y
(4x+3x) + (2y−y) = 7x + y
Q6. Subtract (2x − 1) from (5x + 3). The result is:
  • 3x + 2
  • 3x + 4
  • 7x + 2
  • 3x − 2
(5x+3) − (2x−1) = 5x+3−2x+1 = 3x + 4. Note: −(−1) = +1!
Q7. In the expression 3x² − 7x + 4, the constant term is:
  • 3
  • 7
  • 4
  • −7
The constant term has no variable — it is 4.
Q8. Which expression represents "8 less than 3 times a number n"?
  • 3 − 8n
  • 8 − 3n
  • 3n − 8
  • 3n + 8
3 times n = 3n. "8 less than 3n" means 3n − 8.
🔢 Fill in the Blanks
Q9. The expression for perimeter of a square with side s is ___
4s (perimeter = 4 × side)
Q10. 5x + 3x = ___
8x (add coefficients: 5+3=8)
Q11. If a = 5, then 2a² − 3a + 1 = ___
2(25) − 15 + 1 = 50 − 15 + 1 = 36
Q12. 7ab − 3ab = ___
4ab (7−3=4, same variable ab)
Q13. Number of matchsticks for n triangles (in a row sharing sides) = ___
2n + 1
🔗

Share These Notes

Link Copied!