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.
Math guide: 23 lessons
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.
- Substitute 4 for x: 3(4) + 7
- Multiply: 12 + 7
- Add: 19
Example 2: Multiple variables
Evaluate 2a − 3b + 5 when a = 6 and b = 2.
- Substitute: 2(6) − 3(2) + 5
- Multiply: 12 − 6 + 5
- 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)
The distributive property
a(b + c) = ab + ac
Multiply the outside term by each term inside the parentheses.
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
- Write: "Seven more than twice a number"
- Write: "The product of 5 and a number, decreased by 3"
- Write: "One-third of a number plus 8"
Show the answers
- 2x + 7
- 5x − 3
- x/3 + 8
Evaluating expressions
- Evaluate 4x − 3 when x = 5
- Evaluate 2a + 3b when a = 4 and b = −2
- Evaluate x² + 2x − 1 when x = 3
Show the answers
- 17
- 2
- 14
Simplifying expressions
- Simplify: 5x + 3x − 2x
- Simplify: 2y + 4 + 3y − 1
- Simplify: 3(x + 2) + 2x
Show the answers
- 6x
- 5y + 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.