Skip to main content

Basic algebra concepts

What a variable is, how to write an expression from words, and how to evaluate it or simplify it by combining like terms and using the distributive property.

What you'll learn

  • Understand variables and their purpose
  • Write and evaluate algebraic expressions
  • Identify terms, coefficients, and constants
  • Translate words into algebraic expressions
  • Simplify expressions by combining like terms
  • Apply the distributive property

Introduction to variables

What are variables?

Variables are symbols (usually letters) that represent unknown values or quantities that can change.

Common variables

  • x, y, a, b, c (most common)
  • m, n (also common)
  • a letter that reminds you of the quantity (q for quarters)
  • t (for time, as in d = rt)

Variables in action

Example 1: Sharing crayons

A teacher has 3 boxes of 24 crayons to share equally among x tables. How many crayons does each table get?

Crayons in all = 3 × 24 = 72

Crayons for each table = 72 ÷ x, also written 72/x

First count all the crayons, then divide them among the x tables. With 6 tables, each table gets 72 ÷ 6 = 12 crayons.

Example 2: Glue sticks for the class

Glue sticks cost $0.75 each. How much do n glue sticks cost?

Cost = 0.75n dollars

Each glue stick costs $0.75, so multiply 0.75 by the number n. One glue stick for each of 20 students: 0.75(20) = $15.00.

Algebraic expressions

Parts of an expression

An algebraic expression is a mathematical phrase with numbers, variables, and operations.

3x + 2y − 5

Terms

3x, 2y, −5

Parts separated by + or -

Coefficients

3, 2

Numbers × variables

Constant

−5

Number without variable

Key vocabulary

  • Expression: mathematical phrase without an equals sign
  • Term: part of an expression separated by + or -
  • Coefficient: number multiplied by a variable
  • Constant: number that doesn't change

Writing expressions from words

"Five more than a number"

x + 5

"Three times a number"

3x

"A number decreased by 7"

x − 7

"Half of a number"

x/2 or ½x

Evaluating expressions

To evaluate an expression, substitute the given values for the variables and simplify.

Example 1: Single variable

Evaluate 3x + 7 when x = 4.

  1. Substitute 4 for x: 3(4) + 7
  2. Multiply: 12 + 7
  3. Add: 19

Example 2: Multiple variables

Evaluate 2a − 3b + 5 when a = 6 and b = 2.

  1. Substitute: 2(6) − 3(2) + 5
  2. Multiply: 12 − 6 + 5
  3. Simplify: 11

Simplifying expressions

Like terms

Like terms have the same variable raised to the same power. We can add or subtract like terms.

Like terms

  • 3x and 5x (both have x)
  • 2y and −7y (both have y)
  • 4 and 9 (both constants)

Not like terms

  • 3x and 3y (different variables)
  • 2x and 2x² (different powers)
  • 5 and 5x (one has a variable)
5x + 3x = 8x
7y − 2y + 4 = 5y + 4
3x + 2y + x − y = 4x + y

The distributive property

a(b + c) = ab + ac

Multiply the outside term by each term inside the parentheses.

3(x + 4) = 3x + 12
2(3y − 5) = 6y − 10
−4(x + 2) = −4x − 8 (Watch the signs.)

Translation keywords

Addition (+)

  • sum, plus
  • more than
  • increased by
  • total

Subtraction (−)

  • difference
  • less than
  • decreased by
  • subtracted from

Multiplication (×)

  • product, times
  • of (with fractions and percents)
  • twice, triple
  • double

Division (÷)

  • quotient
  • divided by
  • per, ratio
  • half

Common mistakes to avoid

x + x = x² (Wrong)

Right: x + x = 2x (addition)

Right: x × x = x² (multiplication)

"5 less than x" = 5 − x (Wrong)

Right: "5 less than x" = x − 5

3(x + 4) = 3x + 4 (Wrong)

Right: 3(x + 4) = 3x + 12 (distribute to all terms)

3x + 2y = 5xy (Wrong)

Right: 3x + 2y stays as 3x + 2y (unlike terms)

Practice problems

Writing expressions

  1. Write: "Seven more than twice a number"
  2. Write: "The product of 5 and a number, decreased by 3"
  3. Write: "One-third of a number plus 8"
Show the answers
  1. 2x + 7
  2. 5x − 3
  3. x/3 + 8

Evaluating expressions

  1. Evaluate 4x − 3 when x = 5
  2. Evaluate 2a + 3b when a = 4 and b = −2
  3. Evaluate x² + 2x − 1 when x = 3
Show the answers
  1. 17
  2. 2
  3. 14

Simplifying expressions

  1. Simplify: 5x + 3x − 2x
  2. Simplify: 2y + 4 + 3y − 1
  3. Simplify: 3(x + 2) + 2x
Show the answers
  1. 6x
  2. 5y + 3
  3. 5x + 6

What to remember

  • Variables: letters representing unknown values, making math flexible and general
  • Expressions: mathematical phrases with numbers, variables, and operations
  • Like terms: terms with the same variable and power that can be combined
  • Distributive property: a(b + c) = ab + ac (multiply all terms inside)

Test yourself

Answer these questions on the lesson you just read, then check your answers. Each answer comes with a short explanation and a link to the part of the lesson to reread.

Ms. Ortiz has n boxes of crayons with 8 crayons in each box. She gives 5 crayons to another class.

Question 1 of 3: Which expression shows how many crayons Ms. Ortiz has left?
Question 2 of 3: Evaluate 5a − 2b + 1 when a = 3 and b = 4.

A student simplifies 4(y + 3) + 2y and writes 6y + 3.

Question 3 of 3: Which response by the paraprofessional best helps the student?

Related lessons

Keep studying