Algebra Fundamentals
Understanding Variables
Meet the Variable
In math, we often work with numbers we know. For example, $2 + 2 = 4$. But what if we don't know a number yet? Or what if we want to write a rule that works for any number?
This is where variables come in. A variable is a letter or symbol that acts as a placeholder for a value. Think of it like a labeled box. You can put different numbers in the box, but the label—the variable—stays the same.
variable
noun
A symbol, usually a letter, that represents a quantity that can change or is unknown.
We use variables to turn specific statements into general rules. Instead of just saying that a square with sides of length 3 has a perimeter of , we can create a general formula for the perimeter of any square.
If we let the letter represent the side length, the perimeter is always , or more simply, . Now, no matter what the side length is, we have a rule that works.
Variables let us write rules and formulas that apply to many different situations, not just one.
From Words to Expressions
A mathematical expression is a combination of numbers, variables, and operations like addition, subtraction, multiplication, and division. An expression doesn't have an equals sign; it just represents a value.
For example, is an expression. It means "a number plus seven." The value of this expression depends entirely on the value of . This process of building expressions is a core part of algebra.
| Verbal Phrase | Algebraic Expression |
|---|---|
| A number increased by five | |
| The product of three and a number | |
| Ten less than a number | |
| A number divided by two | or |
Notice that in algebra, we often write multiplication by placing a number and a variable next to each other, like , instead of using a multiplication sign (). This is to avoid confusion, since the letter 'x' is a very common variable.
Evaluating Expressions
Once you have an expression with a variable, you can find its value if you know what number the variable stands for. This is called substituting a value into the variable and then evaluating the expression.
Let's take our expression, . What is its value if ?
To find out, we replace every instance of with the number 3.
Now it's just a simple arithmetic problem. . So, when , the expression evaluates to 10.
Let's try another one. Evaluate the expression (which means ) when .
- Substitute: Replace with 5. The expression becomes .
- Evaluate: Calculate the result. .
The power of this is that we can use the same expression for any value of . If the side of our square was 10 inches (), the perimeter would be inches. If it was 2.5 feet (), the perimeter would be feet. The expression is a general tool, and substitution is how we use it for a specific case.
Let's see what you've learned about variables and expressions.
In mathematics, what is a variable?
Which of the following is a mathematical expression?