algebraic foundations
Variables and Expressions
Overview
A variable is a symbol, usually a letter like x, y, or n, that stands in for a number whose value is unknown, unspecified, or free to vary. An expression combines variables, numbers, and operations (like +, −, ×, ÷) into a single mathematical phrase — but unlike an equation, it makes no claim of equality and cannot be 'solved,' only simplified or evaluated. Variables and expressions are the basic vocabulary of algebra: they let us write general statements about numbers instead of working with one specific number at a time.
Intuition
Think of a variable as a labeled box that can hold a number. If you write 'x + 3,' you're describing a recipe — 'take whatever number is in the box, and add 3' — without knowing yet what's in the box. The same expression can be evaluated for many different values: if x = 2, the expression becomes 5; if x = 10, it becomes 13. This is the whole power of algebra: one expression captures a pattern that would otherwise take infinitely many separate arithmetic statements to describe.
Formal Definition
A variable is a symbol representing an element of a specified set (often the real numbers). An algebraic expression is a combination of variables, constants, and operation symbols, built up according to the usual rules of arithmetic, that represents a number once every variable is assigned a value.
A variable x, a coefficient 3, and a constant term 5, combined by multiplication and addition
A polynomial expression in the single variable x
Notation
| Notation | Meaning |
|---|---|
| Common letters used as variables | |
| Coefficient 3 multiplied by the variable x (the multiplication symbol is omitted by convention) | |
| A variable expression viewed as a function of x |
Properties
Like terms
Condition: Terms with the same variable raised to the same power can be combined by adding their coefficients.
Distributive property
Condition: Used to expand or factor expressions containing parentheses.
Substitution / evaluation
Applications
Worked Examples
Substitute x = 3 into the expression.
Multiply first, following order of operations.
Answer: 19
Practice Problems
Evaluate 5x - 2 when x = 4.
Simplify: 6a + 3b - 2a + b.
Common Mistakes
Combining terms that are not actually 'like terms,' e.g. simplifying 3x + 2x² to 5x³ or 5x².
Only terms with the exact same variable part (same variable(s) raised to the same power) can be combined. 3x and 2x² have different powers of x and must stay as 3x + 2x².
Forgetting to distribute a coefficient to every term inside parentheses, e.g. writing 2(x + 3) as 2x + 3.
The distributive property requires multiplying the outside factor by EVERY term inside: 2(x + 3) = 2x + 6.
Summary
- A variable is a symbol that stands in for a number that can vary or is not yet known.
- An expression combines variables, numbers, and operations, but is not itself a statement of equality.
- Expressions are evaluated by substituting specific values for the variables.
- Like terms (same variable part) can be combined by adding their coefficients.
- The distributive property, a(b+c) = ab + ac, is essential for expanding and simplifying expressions.
Mathematics