Expressions Using Letter-Numbers

Chapter 4 · Mathematics · Class 7 26 min read

Why This Matters

Think about your age and your friend’s age.

Suppose your friend Aftab is some age. His sister Shabnam is always 3 years older than him. If Aftab is 10, Shabnam is 13. If Aftab is 18, Shabnam is 21.

Now here is the question. Can you write one short rule that works for every age Aftab could be? You don’t want to make a fresh sum each time. You want one rule that handles all cases at once.

That is exactly what this chapter teaches. We will learn a clever trick: use a letter to stand for a number. With this trick, a whole pattern fits into a tiny piece like a + 3.

This is your first step into algebra. It might feel new and strange. But it is just shorthand. It is a faster, smarter way to say things you already know. Once you get it, you will use it in maths for the rest of your life. Let’s go slow and make it click.

The Big Idea

When we don’t know a number yet, or when we want one rule to work for many numbers at once, we use a letter to stand for the number. A short maths phrase built with such a letter — like a + 3 or 2n — is called an expression. The letter is just a box waiting for a number. Put a number in, and the expression turns into an ordinary answer. One small expression can capture a pattern that goes on forever.

Let’s Break It Down

A letter that stands for a number (a variable) — and WHY this is useful

Here is the new idea. We are going to let a letter stand for a number.

For example, we can write the letter n and say: “n is some number.” We don’t fix what n is right now. It could be 1. It could be 2. It could be 100. The letter n is like an empty box. We can drop any number we like into that box.

A letter used this way — to stand for a number — is called a letter-number. (You may also hear the word variable. It means the same thing. It is called a variable because its value can vary, that is, change.)

The picture below shows the idea. The letter n is one box, and we can put many different numbers inside it.

The letter n drawn as a box that can hold any number, shown holding 1, 2, 3 and 5 in turn.
Figure 4.1 — The letter n is like one empty box. By itself it does not have a fixed value. We are free to put any number inside it — here it holds 1, then 2, then 3, then 5. That is why we call it a letter-number or a variable: the number it stands for can change.

So why is this useful? Why not just use plain numbers?

Here is the reason. Go back to Aftab and Shabnam. Shabnam is always 3 years older. Without letters, you would have to write a separate sum for each age:

  • Aftab is 4 → Shabnam is 4 + 3
  • Aftab is 10 → Shabnam is 10 + 3
  • Aftab is 23 → Shabnam is 23 + 3

That is a never-ending list. But look at the right-hand side. Every line is “Aftab’s age, then + 3.” Only the first number changes. The ”+ 3” never changes.

So let’s use the letter a for Aftab’s age. Then Shabnam’s age, for any value of a, is just:

a + 3

That one short thing replaces the whole endless list. That is the power of a letter-number. It captures the whole pattern in one go. Figure 4.2 below shows the same table, ending in the letter row.

A table of Aftab's age and Shabnam's age: 4 and 4+3, 10 and 10+3, 23 and 23+3, and finally a and a+3.
Figure 4.2 — The table shows Aftab's age on the left and Shabnam's age on the right. In every row, Shabnam's age is Aftab's age plus 3. The bottom yellow row is the key one: when Aftab's age is the letter a, Shabnam's age is a + 3. This single rule, a + 3, covers every possible age at once.

An expression that contains a letter-number, like a + 3, is called an algebraic expression. “Algebraic” just means “uses letters for numbers.” Don’t let the long word scare you — you already understand the idea.

We can pick any letter we like. We used a for Aftab’s age. We could have used x, or k, or t. The letter is just a name for the unknown number. People often pick a letter that reminds them of the thing — a for age, l for length, n for a number of things.

Concept check

Why is the rule 'a + 3' more useful than writing out '4 + 3', '10 + 3', '23 + 3' one by one?

Writing an expression from a situation or a pattern

Once you can use a letter for a number, you can turn a real-life situation or a picture pattern into a short expression. The trick is always the same:

  1. Describe the rule in plain words first.
  2. Then choose a letter for the unknown number.
  3. Then write the rule using that letter.

Let’s try it with a matchstick pattern. Parthiv makes L shapes out of matchsticks. Each L uses 2 matchsticks. He places them in a row.

  • 1 L needs 2 matchsticks (that is 2 × 1).
  • 2 Ls need 4 matchsticks (that is 2 × 2).
  • 3 Ls need 6 matchsticks (that is 2 × 3).

In words: the number of matchsticks is 2 times the number of Ls. Figure 4.3 below shows this growing pattern.

Matchstick L shapes: one L uses 2 sticks, two Ls use 4 sticks, three Ls use 6 sticks, leading to the rule 2 times n.
Figure 4.3 — Each L shape is made from 2 matchsticks. One L uses 2 sticks, two Ls use 4 sticks (2 × 2), and three Ls use 6 sticks (2 × 3). So the number of matchsticks is always 2 times the number of Ls. If we call the number of Ls 'n', the rule becomes 2 × n, which we write as 2n.

Now choose a letter. Let n stand for the number of Ls. Then:

Number of matchsticks = 2 × n

This little expression, 2 × n, tells us the matchsticks needed for any number of Ls. Need 45 Ls? Just put 45 in place of n: 2 × 45 = 90 sticks. You didn’t have to count.

Here is another situation. Krithika buys coconuts and jaggery. A coconut costs ₹35. One kilogram of jaggery costs ₹60. If she buys some coconuts and some jaggery, what is the total cost?

Describe it in words: cost of coconuts plus cost of jaggery. Cost of coconuts is (number of coconuts × 35). Cost of jaggery is (number of kg × 60).

Now choose letters. Let c be the number of coconuts and j be the number of kg of jaggery. The total cost is:

c × 35 + j × 60

Put in any values and you get the bill. For 7 coconuts and 4 kg jaggery: 7 × 35 + 4 × 60 = 245 + 240 = ₹485. A rule like this, which describes a real relationship, is also called a formula.

What 3n, n + 2 and 2n − 1 mean

You will see expressions like 3n, n + 2, and 2n − 1 all the time. Let’s read each one carefully, slowly, so there is no confusion.

First, a key shortcut. When we multiply a number and a letter, we drop the multiplication sign. We write the number first, then the letter, stuck together.

So 3 × n is written simply as 3n. The number and the letter sit side by side. This does not mean “3 and then n” like a code. It means 3 times n — nothing else.

Now let’s read three common expressions:

  • 3n means 3 × n → “three times the number n.” If n is 5, then 3n = 3 × 5 = 15.
  • n + 2 means “the number n, with 2 added on” → 2 more than n. If n is 5, then n + 2 = 7.
  • 2n − 1 means (2 × n) − 1 → “double the number, then take away 1.” If n is 5, then 2n − 1 = 10 − 1 = 9.

Notice the order of operations in 2n − 1. We do the multiply first (2 × n), then subtract 1. We do not subtract first.

A nice way to picture an expression is as a little machine. You feed a number in. The machine does its job. An answer comes out. Figure 4.4 below shows the machine for 2n − 1.

A number machine for 2n minus 1: input n equals 4, the machine doubles to 8 and subtracts 1, output is 7.
Figure 4.4 — The expression 2n − 1 works like a machine. You put a number in at the top — here n = 4. The machine first doubles it (2 × 4 = 8), then takes away 1 (8 − 1 = 7). The answer, 7, comes out at the bottom. Feed in a different n and you get a different answer, but the machine always follows the same rule: double, then subtract one.
Concept check

What does 4k mean, and what is its value when k = 6?

Finding the value of an expression for a given number

An expression is not a fixed number on its own. 3n could be 6, or 15, or 300 — it depends on what n is. But the moment you are told what the letter equals, the expression turns into one definite number.

The way to find it is called substitution. That is a big word for a simple action: replace the letter with the given number, then work out the sum.

Look at Figure 4.5 below. We replace the letter m by the number 2, everywhere it appears, and then just do the arithmetic.

Substituting m equals 2 into 5m plus 3: it becomes 5 times 2 plus 3, which equals 13.
Figure 4.5 — To find the value of 5m + 3 when m = 2, we substitute — we put 2 in place of m. Remember 5m means 5 × m, so it becomes 5 × 2 + 3. Working it out: 5 × 2 = 10, then 10 + 3 = 13. So the expression takes the value 13. Different values of m would give different answers, but the steps stay the same.

Let’s do one fully, step by step.

We want the value of 5m + 3 when m = 2. Remember that 5m means 5 × m, and we do the multiply before the add.

Worked example

Find the value of the expression 5m + 3 when m = 2.

Let’s try one more, with a subtraction. Find the value of 2r + 1 when r = 8.

Worked example

Find the value of 2r + 1 when r = 8.

Like terms and simplifying

A term is one piece of an expression. In 18c + 11d, there are two terms: 18c and 11d. Terms are joined by + or − signs.

Now, some terms can be combined to make the expression shorter and tidier. Making an expression shorter like this is called simplifying.

Here is the key rule. Like terms are terms that use the same letter. They can be added together. Unlike terms use different letters, and they cannot be added into one term.

Think about it with fruit. 5 mangoes + 3 mangoes = 8 mangoes — easy, same fruit. But 8 mangoes + 11 apples cannot become “19 somethings.” They are different fruits. You just leave it as “8 mangoes and 11 apples.”

Letters work the same way. Suppose a shop sells pencils. Each pencil costs c rupees. On three days it sells 5, then 3, then 10 pencils. The money from pencils is:

5c + 3c + 10c

All three are groups of c — they are like terms. So we just add the counts: 5 + 3 + 10 = 18. The total is 18c. We turned three terms into one.

But what if the shop also sells erasers at d rupees each, earning 11d in total? Then the full expression is 18c + 11d. Here c and d are different letters — unlike terms. We cannot join them. So 18c + 11d is already as short as it gets. Figure 4.6 below shows both cases side by side.

On the left, 5c plus 3c plus 10c combine into 18c because they share the letter c. On the right, 18c plus 11d cannot be combined because the letters differ.
Figure 4.6 — On the left, 5c, 3c and 10c all count the same letter c, so they are like terms — we add their counts (5 + 3 + 10 = 18) to get 18c. On the right, 18c and 11d use different letters, so they are unlike terms and cannot be joined; the expression 18c + 11d stays as it is. The rule: same letter, add them up; different letters, keep them apart.

So simplifying just means: gather the like terms and add them up, and leave unlike terms separate.

Let’s simplify a longer one step by step: 7p + 8p + 6p.

Worked example

Simplify the expression 7p + 8p + 6p.

Equal (equivalent) expressions

Sometimes two expressions look different but are really the same. They give the same answer for every value of the letter. We call them equal or equivalent expressions.

Here is a clear example. The perimeter of a rectangle is length + breadth + length + breadth. Using l for length and b for breadth, the perimeter is:

l + b + l + b

But l + l = 2l, and b + b = 2b. So this is the same as:

2l + 2b

These two look different. But they are equal. Let’s check by putting in numbers. Take l = 3 and b = 4:

  • l + b + l + b = 3 + 4 + 3 + 4 = 14
  • 2l + 2b = 2 × 3 + 2 × 4 = 6 + 8 = 14

Same answer. Try any other l and b — they will always match. So l + b + l + b and 2l + 2b are equal expressions. The shorter one, 2l + 2b, is the simplified form.

But be careful — not everything that looks similar is equal. Take 5u and 5 + u. These are not equal. 5u means 5 times u. 5 + u means 5 added to u. Check with u = 2:

  • 5u = 5 × 2 = 10
  • 5 + u = 5 + 2 = 7

Different answers, so they are different expressions. Two expressions are equal only when they match for every value of the letter, not just for one lucky value.

Concept check

Are the expressions 2n and n + n equal? How can you be sure?

Common Mistakes

These are the slip-ups almost every student makes at first. Spot them now and you will avoid them forever.

⚠️ Common mistake
What students think

3n means '3 and then n' — like writing the digit 3 next to the letter n, the way 3 and 5 make 35.

Why it seems right

With plain numbers, writing digits next to each other does mean 'join them up' — 3 next to 5 really is thirty-five. So it feels natural to read 3n the same way, as if the letter were just stuck on after the 3.

What actually happens

When a number sits next to a letter, the hidden operation is multiply, not join. 3n means 3 × n. If n = 4, then 3n = 3 × 4 = 12, not '34'.

⚠️ Common mistake
What students think

2n is the same as 2 + n.

Why it seems right

Both have a 2 and an n in them and look short and similar, so it is tempting to think they must mean the same thing.

What actually happens

2n means 2 × n (double the number), while 2 + n means 2 added to the number. They are different. If n = 5, then 2n = 10 but 2 + n = 7.

⚠️ Common mistake
What students think

In 5m + 3, you can add the 3 to the 5 first to get 8m.

Why it seems right

The 5 and the 3 are both plain numbers sitting close together, so it feels like they should combine, the way 5 + 3 = 8 in ordinary arithmetic.

What actually happens

5m and 3 are unlike terms — 5m has a letter, 3 does not. They cannot be joined. The 5 is tied to m (it means 5 × m). 5m + 3 is already in its simplest form.

⚠️ Common mistake
What students think

You can simplify 18c + 11d into one term, like 29cd.

Why it seems right

You have just learned that 5c + 3c becomes 8c, so it seems like every two terms should always join into one neat term.

What actually happens

Only like terms (same letter) can be added. 18c and 11d use different letters, so they are unlike terms and stay separate. 18c + 11d cannot be made shorter.

Quick Check

Test yourself. Read each question, decide your answer, then tap to see if you’re right.

What does the expression 4k mean?

Find the value of 2n − 1 when n = 6.

Which of these can be simplified into a single term?

Which pair of expressions is equal (gives the same value for every number)?

Practice Problems

Try each problem on your own first. Then reveal the full solution to check your steps.

Easy

Easy

A pencil costs ₹p. Write an expression for the cost of 6 such pencils.

Easy

Find the value of n + 7 when n = 12.

Easy

Simplify: 4a + 9a.

Medium

Medium

A square has each side of length q. Write an expression (a formula) for its perimeter. Then find the perimeter when q = 7 cm.

Medium

Find the value of the expression 3x + 2y when x = 5 and y = 4.

Medium

Simplify: 5c + 3c + 10c + 11d. Can it be made into a single term?

Challenge

Challenge

Munirathna has a pipe 20 m long. He joins another pipe of length k metres to it. Write an expression for the total length. Then find the total length if the new pipe is 35 m long.

Challenge

Are the expressions 10y − 3 and 10(y − 3) equal? Test them with y = 2 and explain.

Challenge

Charu's score in one quiz round is 7p − 3q, where p is the points for a correct answer and q is the penalty for a wrong answer. Find her score in this round if p = 4 and q = 1.

Summary

  • A letter-number (also called a variable) is a letter used to stand for a number. It is like an empty box: any number can go inside it.
  • We use letters because one short rule with a letter can describe a whole pattern at once — for example, Shabnam’s age is a + 3 for any value of Aftab’s age a.
  • An algebraic expression is a maths phrase built with letter-numbers, like a + 3, 2n, or 3x + 2y.
  • When a number sits next to a letter, the hidden operation is multiply: 3n means 3 × n, not “3 and then n”, and not 3 + n.
  • To find the value of an expression, substitute (replace the letter with the given number) and then do the arithmetic — multiplications before additions or subtractions.
  • Like terms use the same letter and can be added together (5c + 3c = 8c). Unlike terms use different letters and cannot be joined (18c + 11d stays as it is). Combining like terms is called simplifying.
  • Two expressions are equal (equivalent) when they give the same value for every number — like l + b + l + b and 2l + 2b. But 5u and 5 + u are not equal, because they do different things.

What’s Next

You’ve taken your first big step into algebra. Letters standing for numbers will come back again and again, so the comfort you built here will pay off for years.

Next, in Chapter 5 — Parallel and Intersecting Lines, we switch from numbers to shapes. You’ll explore how lines meet, cross, or run side by side forever, and the special angles that appear when they do. It’s a fresh, visual change of pace — see you there.

Frequently Asked Questions

What is a variable or letter-number in class 7 maths?

A variable (called a letter-number in Ganita Prakash) is a letter like n or x that stands for a number whose value we have not fixed. It is like an empty box — you can put any number inside it. We use variables when we want one rule to cover many different situations at once.

What does an expression like 3n or n + 5 mean?

3n means 3 times whatever number n stands for. If n = 4 then 3n = 12. n + 5 means 5 more than n. If n = 7 then n + 5 = 12. The letter just holds the place of the unknown number until you decide what it is.

How do you find the value of an expression when you know the variable?

Replace the letter with the given number and then calculate as normal. For example, to find the value of 2n - 1 when n = 6, write 2 x 6 - 1 = 12 - 1 = 11. This is called 'substituting' the value.

What are like terms and how do you simplify them?

Like terms have the same variable part — for example, 3n and 5n are like terms because both are 'n times something'. You can add or subtract like terms: 3n + 5n = 8n. Unlike terms such as 3n and 5 cannot be combined because they represent different kinds of quantities.

How do you write an algebraic expression from a real-life pattern or situation?

Look at the pattern and describe it in words first, then translate each word into maths symbols. For example, if a box always has 6 more items than the number of trays n, the expression is n + 6. If there are n rows each with 4 chairs, the expression for total chairs is 4n.