Intermediate level

Algebraic expressions

An algebraic expression is a piece of notation where letters stand beside numbers. Learn the variable, the term and the coefficient, collect like terms, multiply brackets out and evaluate an expression for a given number.

Before you start

This topic builds on earlier ideas. Before you start, it's worth working through the lessons below — they'll make everything click:

All formulas

  • Collecting like terms

    ax+bx=(a+b)xax + bx = (a + b)x

    add the coefficients, the letter stays as it is

  • The distributive law

    a(b+c)=ab+aca(b + c) = ab + ac

    multiply every term inside the bracket

  • Distributing over a difference

    a(bc)=abaca(b - c) = ab - ac

    the same rule, with a minus sign

  • A minus in front of a bracket

    (b+c)=bc-(b + c) = -b - c

    flips the sign of every term inside

  • Adding vs. multiplying letters

    xx=x2,x+x=2xx \cdot x = x^2, \quad x + x = 2x

    two different operations — do not mix them up

An algebraic expression is notation where letters stand beside numbers: 3x+53x + 5, 2(ab)2(a - b), x21\frac{x}{2} - 1. A letter stands for a number — one we do not know yet, or one that is allowed to change. That way a single expression describes a whole family of situations instead of one case at a time.

A ticket costs 12 units and a seat reservation 5. The cost of buying xx tickets with one reservation is:

12x+512x + 5

This one line answers the question for any number of tickets — just substitute a number for xx.

Term, coefficient, variable

An expression is built from terms — the parts separated by plus and minus signs. In 12x+512x + 5 the terms are 12x12x and 55.

  • variable — the letter standing for a number (xx),
  • coefficient — the number in front of the variable (1212),
  • constant term — a term with no variable (55).

Writing 12x12x means multiplication: 12x12 \cdot x. The multiplication sign between a number and a letter is dropped, because nothing else could be meant.

Like terms and how to collect them

Like terms are terms with the same letter raised to the same power. 3x3x and 7x7x are like terms; 3x3x and 3x23x^2 are not, and neither are 3x3x and 3y3y.

Like terms can be merged into one — that is collecting like terms. Only the coefficients are added; the letter stays as it is:

ax+bx=(a+b)xax + bx = (a + b)x

This is not a new rule but the distributive law read right to left: 3x+2x=(3+2)x=5x3x + 2x = (3 + 2)x = 5x. Three apples and two apples make five apples — not "five apples squared".

Collect like terms: 5x + 8 + 3x − 2.

Collecting terms does not "work anything out". It writes the same object more briefly — and a shorter expression is easier to evaluate and harder to get wrong.

The distributive law

Multiplying a number by a sum means multiplying it by every term:

a(b+c)=ab+aca(b + c) = ab + ac

The area of a rectangle shows why: a rectangle with sides aa and b+cb + c can be cut into two rectangles of areas abab and acac. The same rule holds for subtraction: a(bc)=abaca(b - c) = ab - ac.

Expand: 3(2x + 4).

A minus in front of a bracket

A minus in front of a bracket is multiplication by 1-1, so every term inside flips its sign — including one that was already negative:

(b+c)=bc(x3)=x+3-(b + c) = -b - c \qquad -(x - 3) = -x + 3

This is where a sign gets lost most often. When a bracket is being subtracted, expand first and collect terms afterwards.

Simplify: 7x − 2(x − 5).

The value of an expression

To evaluate an expression, substitute a number for the letter and carry out the operations in the usual order. For 8x+68x + 6 with x=4x = 4:

84+6=32+6=388 \cdot 4 + 6 = 32 + 6 = 38

Simplifying an expression never changes its value — 5x+8+3x25x + 8 + 3x - 2 with x=4x = 4 also gives 3838. That is the simplest way to check a rearrangement: substitute the same number into both forms and compare.

The exercises below ask for an expression. What counts is its value, not how you write it: 5x+105x + 10, 10+5x10 + 5x and 5x+105 \cdot x + 10 are one and the same answer. Copying the question back is not — the point is the simpler form.

Practice

Work through a set of exercises — they get harder as you go. At the end you'll see your score and the mistakes worth reviewing.

Exercise 1 of 8Score: 0
simplify 6x + 8x

Common mistakes

  • Adding unlike terms3x+43x + 4 is already the answer; there is no "7x7x" to be had.
  • Confusing adding with multiplying lettersx+x=2xx + x = 2x, but xx=x2x \cdot x = x^2.
  • Losing a sign after a minus in front of a bracket(x3)-(x - 3) is x+3-x + 3, not x3-x - 3.
  • Expanding only the first term — in 3(2x+4)3(2x + 4) the three multiplies both terms, so 6x+126x + 12, not 6x+46x + 4.

Formula card

Topic: Algebraic expressions

  • Collecting like terms

    ax+bx=(a+b)xax + bx = (a + b)x

    add the coefficients, the letter stays as it is

  • The distributive law

    a(b+c)=ab+aca(b + c) = ab + ac

    multiply every term inside the bracket

  • Distributing over a difference

    a(bc)=abaca(b - c) = ab - ac

    the same rule, with a minus sign

  • A minus in front of a bracket

    (b+c)=bc-(b + c) = -b - c

    flips the sign of every term inside

  • Adding vs. multiplying letters

    xx=x2,x+x=2xx \cdot x = x^2, \quad x + x = 2x

    two different operations — do not mix them up

Frequently asked questions

Related articles