📘 CodingMarble Learn

Algebraic Expressions: Variables, Terms and Simplifying

An algebraic expression uses letters (variables) and numbers joined by +, −, × and ÷, like 3x + 2. A variable stands for a number that can change. An expression is made of terms (3x and 2). In 3x, 3 is the coefficient; a term with no letter, like 2, is the constant. Like terms have exactly the same letter part (3x and 5x) and can be added; unlike terms (3x and 2, or x and x²) cannot. Substitution means putting a number in place of the letter to find the value. Expanding removes brackets: a(b + c) = ab + ac. Factorising is the reverse: take out the common factor. A formula is an expression that gives one quantity from others, and an identity is true for every value of the letter.

🎬 Step-by-step story

  1. A variable is a letter for a number that can change. The bar is x; its length changes.
  2. 3x + 2 has two terms. 3 is the coefficient of x and 2 is the constant.
  3. Like terms join: 2x + 3 + x + 1 becomes 3x + 4. You cannot add x to 1.
  4. Substitution: put a number for x. If x = 4, then 3x + 2 = 14.
  5. Expanding: 3(x + 2) is 3 rows of x + 2, which is 3x + 6.
  6. Free play: build a(x + b), read the expanded form, then factorise it back.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why do we use letters instead of numbers?

A letter lets one rule work for every number; watch the same x take many values.

Is the sign part of the term?

Yes. The sign in front belongs to the term: in 5 − 2x the term is −2x.

Why can't 3x + 4 become 7x?

x-bars and unit squares are different shapes; they cannot merge into one kind.

What does "value of an expression" mean?

The number you get after putting a number in place of each letter.

Why does the outside number multiply every term?

3(x + 2) means three full rows of x + 2, so each part appears 3 times.

How is factorising linked to expanding?

It is expanding backwards: from 2x + 6 you find the rectangle 2 rows of x + 3.

Variables and constants

A variable is a letter (x, y, n, a…) that stands for a number. Its value can change. A constant is a number whose value is fixed, like 5 or −2.

Why use letters? A letter lets us write one rule for many numbers. "A square has side s" gives perimeter 4s for every square: s = 3 cm gives 12 cm, s = 10 cm gives 40 cm.

An algebraic expression joins variables and constants with +, −, × or ÷. Examples: 3x + 2, 5a − 4b, x² + 7, n/2. An expression has no equals sign; an equation does (3x + 2 = 14).

Writing rules: 3 × x is written 3x (number first, no × sign); x × x is x²; 1x is just x.

Terms, coefficients and types of expressions

The parts of an expression joined by + or − are its terms. In 4x² − 3x + 7 the terms are 4x², −3x and 7. The sign in front belongs to the term.

Naming by number of terms

Reading the structure

Look at an expression as blocks. In 5(x + 2)², the whole (x + 2) is one block that is squared, then multiplied by 5. Seeing the blocks tells you what to do first and helps you spot, for example, that the value is never negative.

Like terms and simplifying

Like terms have exactly the same letters raised to the same powers: 3x and −5x; 2ab and 7ab; 4y² and y². Unlike terms differ: 3x and 3y; x and x²; x and 5.

To add or subtract like terms, add or subtract their coefficients and keep the letter part: 7x + 2x = 9x; 5ab − 8ab = −3ab. Unlike terms stay separate: 3x + 4 cannot become 7x.

Simplify = collect like terms. 2x + 3 + x + 1 = (2x + x) + (3 + 1) = 3x + 4. The two forms are equivalent: they give the same value for every x.

Multiplying terms

Multiply the numbers, then the letters: 3x × 4y = 12xy; 2a × 5a = 10a²; (−3m) × 2m² = −6m³.

Substitution: finding the value

To find the value of an expression, replace each letter by its number and work it out using the order of operations (brackets, powers, × and ÷, then + and −).

Example: 2a² − 3b when a = 3, b = −2: 2 × 3² − 3 × (−2) = 2 × 9 + 6 = 24.

A formula is an equation linking quantities: area of rectangle A = lw; speed v = d/t; simple interest I = PRT/100. Put numbers into the right side to get the left side. You can also rearrange a formula to make another letter the subject: from v = d/t we get d = vt.

Expanding brackets and factorising

Expanding uses the distributive law: a(b + c) = ab + ac. The outside term multiplies every term inside. 3(x + 2) = 3x + 6; −2(y − 5) = −2y + 10; x(x + 4) = x² + 4x.

In the 3D, 3(x + 2) is a rectangle 3 units tall and x + 2 long: its area is 3x + 6.

Factorising is the reverse: find the highest common factor of all terms and take it outside. 6x + 9 = 3(2x + 3); 4a² − 10a = 2a(2a − 5). Check by expanding back.

Identities

An identity is true for every value of the letters, for example 2(x + 3) = 2x + 6, or (a + b)² = a² + 2ab + b². An equation like 2x = 6 is true only for x = 3. Identities are studied in more depth in the lesson on algebraic identities.

Try it: tile algebra at home

Cut strips of paper for x (say 6 cm) and small squares for 1 (1 cm). Lay out 2x + 3 + x + 1, then push like pieces together. Count: 3 strips and 4 squares. Now lay 3 rows of "one strip + two squares" to see 3(x + 2) = 3x + 6. In the 3D free-play step, set a and b and predict the expanded form before you look.

Key formulas and definitions

Worked examples

1. Write the terms and the coefficient of y in 5y² − 7y + 4.

Terms: 5y², −7y, 4. Coefficient of y = −7 (the sign goes with it). Constant = 4.

2. Simplify 4a + 3b − a + 5b − 2.

Group like terms: (4a − a) + (3b + 5b) − 2 = 3a + 8b − 2.

3. Find the value of 3x + 2 when x = 4.

3 × 4 + 2 = 12 + 2 = 14.

4. Find the value of 2p² − 3q when p = −2 and q = 5.

p² = (−2)² = 4. So 2 × 4 − 3 × 5 = 8 − 15 = −7.

5. Expand and simplify 3(2x + 1) − 2(x − 4).

3(2x + 1) = 6x + 3; −2(x − 4) = −2x + 8. Add: 6x − 2x + 3 + 8 = 4x + 11.

6. Factorise 12m² − 18m.

HCF of 12 and 18 is 6; both terms have m. So 12m² − 18m = 6m(2m − 3). Check: 6m × 2m = 12m², 6m × 3 = 18m. ✓

7. A taxi charges a fixed ₹50 plus ₹12 per km. Write an expression for the fare for d km and find it for 15 km.

Fare = 50 + 12d. For d = 15: 50 + 180 = ₹230.

Common mistakes

Practice quiz

1. Which pair are like terms?
2. The coefficient of x in 8 − 5x is…
3. 2(x + 5) expands to…
4. Value of 4n − 3 when n = 5 is…
5. Factorise 5a + 15.

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is an algebraic expression?

A combination of variables (letters) and numbers using +, −, × and ÷, with no equals sign, like 3x + 2.

What are like and unlike terms?

Like terms have the same letters with the same powers (3x, −5x). Unlike terms differ (3x, 3y or x, x²). Only like terms can be added.

What is the difference between an expression and an equation?

An expression has no equals sign (3x + 2). An equation says two expressions are equal (3x + 2 = 14) and can be solved.

Where this is taught

Canada (Ontario)Grade 11A. Characteristics of Functions
NetherlandsVWO 2 (onderbouw)Numbers and quantities
NetherlandsHAVO 4 (bovenbouw, 2e fase)Algebra and counting
NetherlandsHAVO 4 (bovenbouw, 2e fase)Relationships (part 1)
NetherlandsVWO 4 (bovenbouw, 2e fase)Algebra and counting
NetherlandsVWO 4 (bovenbouw, 2e fase)Algebra and counting
PolandSzkoła podstawowa, klasa VIIBuilding algebraic expressions
RomaniaClasa a VIII-aAlgebraic calculation in ℝ
Spain2º ESOAlgebraic sense
Spain3º ESOAlgebraic sense
Spain4º ESOAlgebraic sense
Spain4º ESOAlgebraic sense
USA (Common Core, NGSS, AP)Grade 9Relationships between quantities and reasoning with equations
USA (Common Core, NGSS, AP)Grade 9Relationships between quantities
USA (Common Core, NGSS, AP)Grade 11Polynomial, rational and radical relationships
USA (Common Core, NGSS, AP)Grade 11Polynomial, rational and radical relationships
Japan中学2年Numbers and expressions
FranceQuatrièmeNumbers and calculations
Russia7 классAlgebraic expressions
Russia7 классAlgebraic expressions

Learn first

Learn next

Related lessons

All Maths lessons