Lesson 5.3 · Expressions
Writing expressions
A movie ticket costs $9. Two tickets cost dollars and five tickets cost dollars. But what if you don't know yet how many tickets you need? Algebra lets you write one expression that works for any number of tickets. The secret is a letter called a variable.
Variables
Definition
Variable
A variable is a letter that stands for a number. The number might change, or you might not know it yet.
If stands for the number of tickets, the cost is dollars. In algebra, a number written right next to a variable means multiply, so you can write this as . You can also use a dot, . Algebra avoids the sign because it looks so much like the letter .
Division is usually written as a fraction. " divided by 4" is written or .
An expression is a combination of numbers, variables and operation signs, like , or . An expression has no equals sign.
Words that mean each operation
| operation | words and phrases | example | expression |
|---|---|---|---|
| add | sum, plus, more than, increased by, total | 6 more than | |
| subtract | difference, minus, less than, decreased by, fewer | decreased by 6 | |
| multiply | product, times, of, twice, triple | the product of 6 and | |
| divide | quotient, divided by, per, split equally | the quotient of and 6 |
Common mistake
Watch out for "less than." It flips the order. "6 less than " means you start with and take 6 away, so it is , not .
Check with a number: if , then "6 less than 10" is 4. And , so is right.
Worked example: Translating phrases
Write an expression for each phrase.
- 8 more than a number
- the quotient of a number and 3
- 5 less than twice a number
Solutions.
- "More than" means add: .
- "Quotient" means divide, with first: .
- "Twice " is . Taking 5 less than that gives .
When you need parentheses
Some phrases ask you to do one operation to a whole group. Words like "the sum of" or "the difference of" tell you to make that group first, so wrap it in parentheses.
Worked example: Parentheses make a difference
Write expressions for "3 times the sum of and 4" and "4 more than 3 times ."
- In the first phrase, you find the sum first and then triple it: .
- In the second phrase, you triple first and then add 4: .
Try : but . Different phrases, different values.
Naming the parts of an expression
Mathematicians use special words to talk about the pieces of an expression. Look at
- The terms are the parts that are added or subtracted: , and . This expression has 3 terms.
- A coefficient is the number multiplying a variable. The coefficient of is 4. The coefficient of is 1, since means .
- A constant is a term that is just a number: 7.
The words sum, difference, product and quotient can describe a whole expression, too. For example, is a product of two factors, 3 and . The second factor is itself a sum of two terms.
Expressions from real situations
Worked example: A phone plan
A phone plan costs $15 a month plus $2 for every gigabyte of data used. Write an expression for the monthly cost when gigabytes are used.
Each gigabyte costs $2, so gigabytes cost dollars. Add the $15 base price: the cost is dollars.
Practice
Write an expression for "12 more than a number ."
Enter an expression, e.g. 3x^2 - 2x + 1
Which expression means "7 less than a number "?
Write an expression for "the quotient of a number and 5."
Enter an expression, e.g. 3x^2 - 2x + 1
How many terms are in the expression ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
What is the coefficient of in the expression ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Write an expression for "twice the sum of a number and 9."
Enter an expression, e.g. 3x^2 - 2x + 1
Leo has some baseball cards. His sister has 4 fewer than 3 times as many cards as Leo. If Leo has cards, which expression shows how many cards his sister has?
Tickets to a school play cost $6 each, and there is an $8 charge for the whole order. Write an expression for the total cost, in dollars, of tickets.
Enter an expression, e.g. 3x^2 - 2x + 1