No history yet

Introduction to Variables and Expressions

Letters in Math

In arithmetic, we work with numbers we know. For example, $3 + 5 = 8$. It’s straightforward. But what if we don't know one of the numbers? What if you know you have some money in your wallet, and a friend gives you $5, but you don't count the new total yet?

This is where algebra begins. We use a symbol to hold the place of an unknown amount. This symbol is called a variable. Most of the time, we use a letter like $x$ or $y$ as a variable.

variable

noun

A symbol, usually a letter, that represents an unknown or changing value.

So, the money in your wallet could be represented by the variable mm. The total amount after your friend's gift is m+5m + 5. This combination of variables, numbers, and operations (like addition, subtraction, multiplication, and division) is called an algebraic expression.

An expression is like a phrase. It tells you what to do with the numbers and variables, but it doesn't have an equals sign to make it a full sentence.

Here are a few more examples of expressions:

  • x10x - 10 (10 less than some number)
  • 4y4y (Some number multiplied by 4)
  • z2+1\frac{z}{2} + 1 (Some number divided by 2, plus 1)

Building Expressions

We can translate everyday situations into algebraic expressions. The key is to identify the unknown quantity and the operations involved.

Let's say you buy a ticket to a movie for $12 and some snacks. If you don't know the cost of the snacks, you can use a variable, like ss, to represent it. The total cost for your trip would be:

12+s12 + s

In algebra, we often omit the multiplication sign between a number and a variable. If a box of pens costs $3 and you buy several boxes, you could write the total cost as 3×b3 \times b, where bb is the number of boxes. But it's more common to just write 3b3b.

When a number is directly in front of a variable, it means multiplication. This number is called a coefficient.

Simplifying Expressions

Sometimes, expressions can look long and complicated. We can often make them simpler by combining "like terms." Like terms are parts of the expression that have the same variable raised to the same power. Numbers without variables are also like terms.

For example, in the expression 5x+2+3x5x + 2 + 3x, the terms 5x5x and 3x3x are like terms because they both have the variable xx. We can combine them.

5x+3x=8x5x + 3x = 8x

Imagine you have 5 apples and your friend gives you 3 more apples. You now have 8 apples. It's the same idea. If xx represents an apple, then 5x+3x5x + 3x is just 8x8x.

The full expression 5x+2+3x5x + 2 + 3x simplifies to 8x+28x + 2. We can't combine the 8x8x and the 22 because they are not like terms. One has a variable, and the other doesn't.

Original ExpressionLike TermsSimplified Expression
7y2y+57y - 2y + 57y7y and 2y-2y5y+55y + 5
4a+6+a24a + 6 + a - 24a,a4a, a and 6,26, -25a+45a + 4
10+2b5+8b10 + 2b - 5 + 8b10,510, -5 and 2b,8b2b, 8b10b+510b + 5

Notice that when a variable stands alone, like aa, its coefficient is 1. So, 4a+a4a + a is the same as 4a+1a4a + 1a, which equals 5a5a. Simplifying expressions by combining like terms makes them easier to work with later on.

Ready to check your understanding? Let's try a few questions.

Quiz Questions 1/5

What is the primary purpose of a variable in algebra?

Quiz Questions 2/5

You have a bag with an unknown number of marbles, 'm'. You add 10 more marbles to the bag. Which algebraic expression represents the new total number of marbles?

Mastering variables and expressions is your first big step into the world of algebra. It's the language we use to solve all kinds of interesting problems.