Algebra ยท Part 1 of 10
Variables and expressions
What a variable is, how to read and write algebraic expressions, and how to evaluate and simplify them.
Algebra4 min read
Algebra is arithmetic with a twist: some of the numbers are not known yet, or can change. Instead of a number we write a letter, and the letter stands in for it. This lesson gives you the vocabulary you will use in every later lesson.
Variables
A variable is a letter (usually , , or ) that stands for a number. It is "variable" because it can take different values in different situations.
Why bother? Because a letter lets us describe a whole family of situations at once. A taxi charges a fixed fee of 3 plus 2 per kilometre. For 5 km the price is , for 8 km it is . With a variable for the distance, one formula covers every trip:
Expressions
An algebraic expression combines numbers, variables and operations (+, โ, ร, รท, powers). Some examples:
An expression is not a sentence that is true or false; it is a recipe that gives a number once the variables have values. (An equation, with an equals sign, comes in the next lesson.)
Some vocabulary, using :
| Word | Meaning | Here |
|---|---|---|
| Term | A piece separated by + or โ | , , |
| Coefficient | The number multiplying the variable | and |
| Constant | A term with no variable |
Multiplication is usually written without a sign: means , and means .
Evaluating an expression
To evaluate an expression, replace each variable by its value and compute, respecting the order of operations: brackets, then powers, then multiplication and division, then addition and subtraction.
Example 1. Evaluate for .
Example 2. Evaluate for , . This is the average of two numbers:
Careful with negatives. For , the expression is , not . Put the value in brackets when you substitute.
Simplifying: combining like terms
Like terms have exactly the same variable part, so they can be added together: , because three of something plus five of the same thing is eight of it. But cannot be combined, since and are different things.
Example 3. Simplify .
Group like terms: .
The distributive property
Multiplying a bracket distributes the factor over each term:
Example 4. Simplify .
Check by trying a value: for , the original is and the result is . Substituting a test value is a quick way to catch mistakes.
Translating words into expressions
| In words | Expression |
|---|---|
| Five more than a number | |
| Twice a number, minus three | |
| The square of a number, divided by four | |
| Three consecutive integers, starting at |
Common mistakes
- Writing . The terms and are not alike; the expression stays as it is.
- Forgetting to distribute to every term: , not .
- Treating and as equal. The first is ; the second is .
Practice
- Evaluate for and for .
- Simplify .
- Simplify .
- Write an expression for "the perimeter of a rectangle whose length is more than its width ".
Answers
- and .
- .
- .
- .
Next: now that we can write expressions, we can ask when two of them are equal: Solving linear equations.