Lesson 4.1 · Expressions
Variables and expressions
A number like describes one situation. An expression like describes a whole family of situations at once: every value of gives a different result. Expressions are the language of algebra, so this lesson makes sure you can read them, write them and find their values.
Variables, terms and coefficients
Definition
Variable
A variable is a letter that stands for a number that can change or that you don't know yet. An algebraic expression combines numbers, variables and operations, like or . An expression has no equals sign.
A number written right next to a variable means multiplication: means , and means . Algebra uses a dot or no symbol at all, because is easy to confuse with the letter .
The parts of an expression that are added or subtracted are its terms. Look at
- The terms are , and . Each term keeps the sign in front of it.
- A coefficient is the number multiplying the variable part. The coefficient of is . The coefficient of is , because means .
- A term with no variable, like , is a constant term.
Writing expressions from words
Most word phrases turn into symbols in the order you read them. "The product of and " is . "The sum of and , divided by " is .
| operation | words that signal it |
|---|---|
| sum, plus, more than, increased by, added to | |
| difference, minus, less than, decreased by, subtracted from | |
| product, times, twice, triple, of | |
| quotient, divided by, per, half of |
Two phrases flip the order: "less than" and "subtracted from." "Nine less than " starts with and takes away, so it is .
Common mistake
Don't write " less than " as . Test it with a number: if , three less than is . That's , so the expression is .
When a phrase says to find a sum or difference first and then do something to it, use parentheses. "Twice the sum of and " is . Without the parentheses, means "four more than twice ," which is different.
Worked example: Translating phrases
Write an expression for each phrase.
- Ten more than the quotient of and .
- Four times the difference of and .
- Seven subtracted from the square of .
Solutions.
- The quotient of and is . Ten more than that is .
- The difference must come first: .
- "Subtracted from" flips the order. Start with and take away : .
Evaluating expressions
To evaluate an expression, substitute a value for each variable and simplify with the order of operations. Now that you know integer rules, the values can be negative.
Substitute with parentheses
When you replace a variable with a number, put the number in parentheses. Then follow the order of operations: grouping, exponents, multiplication and division, addition and subtraction.
Parentheses protect the sign. If , then . But means "the opposite of ," so .
Worked example: Two variables with integers
Evaluate when and .
Worked example: Exponents and a fraction bar
Evaluate when .
The fraction bar groups the top and bottom, so simplify each one first.
- Top: .
- Bottom: .
So the value is .
Expressions that model situations
An expression can describe a real rule. A bike rental shop charges a $6 helmet fee plus $4 per hour. For hours, the hourly part costs dollars, so the total is dollars. For a -hour ride, substitute : , so the ride costs $18.
Tip
When you build an expression from a situation, try it with a small number you can check in your head. If , the rental should cost $4 plus $6, which is $10, and .
Practice
How many terms does the expression have?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
What is the constant term of ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Which expression means "twelve less than twice a number "?
Write an expression for "half of the difference of and ."
Enter an expression, e.g. 3x^2 - 2x + 1
Evaluate when and .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Evaluate when .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Evaluate when and .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A phone plan costs $25 per month plus $0.10 for each text message. Write an expression for the monthly cost with texts, then find the cost in dollars for a month with texts.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.