C2.1, C2.5; E2.1, E2.5 - Letters, expressions and substitution
Letters let you describe a calculation before you know all its numbers. You will read algebraic notation, turn words into expressions and formulas, and find their values by substitution, including negative numbers and fractions.
Letters as generalised numbers
How can one short calculation describe the total price of three identical tickets, whatever one ticket costs? If a ticket costs dollars, the total is . At dollars, it is . Replace the changing price by the letter , and both calculations become , written .
The letter represents a number, rather than the word “price”. In this situation, is the price of one ticket in dollars. Writing what a letter measures, including its units, gives the expression a clear meaning.
Variable
A variable is a letter representing a number that can take different values. In one evaluation, repeated copies of the same letter have the same value. Different letters may have different values, or may happen to have the same value.
If , every in the calculation means . You cannot make one copy and another copy . A letter can also represent a fixed but unknown number; the context tells you how it is being used.
An expression is a number, a letter or a combination of numbers and letters joined by operations. It does not state that two quantities are equal. These conventions shorten expressions:
| Written form | Meaning | If and |
|---|---|---|
Write the number first in a product: , rather than . Unlike a two-digit numeral, means multiplication, not placing digits together. The small raised number is a power or index: . An index applies to the expression immediately before it; brackets can make that expression larger.
Watch out
and have different meanings. With , they are and . They happen to agree when , but that one agreement does not make them the same expression for every value.
The ticket expression works for many prices because only the price changes; the instruction “multiply by three” stays fixed.
Expressions and formulas from words
Translate the operations in a sentence, keeping their order. “Five less than ” starts with and subtracts , so it is . “Five minus ” is . With , these give and , so the order matters.
Brackets preserve a quantity that must be treated as one unit. “Three times the sum of and ” is . “Four more than three times ” is . Read your expression back into words to check it.
Formula
A formula is an equation showing a relationship between quantities. For example, says that total cost is three times price . The equals sign means that both sides have the same value.
An expression such as names a quantity; the formula tells you how that quantity relates to another one. You can construct a formula without knowing a particular price.
Worked example 1: a fixed charge and a rate
Question. A bicycle hire costs dollars plus dollars for each hour. Write a formula for the total cost dollars for hours.
Plan. Find the charge for all the hours, then add the fixed charge once.
Answer. , where .
Check. For , the words give . The formula gives .
Now keep the two rates but change which charge repeats: there is a separate fixed charge for each bicycle.
Worked example 2: the whole charge repeats
Question. Each bicycle costs dollars plus dollars per hour to hire. Write a formula for the total cost dollars of hiring bicycles for hours each.
Plan. Put one bicycle's complete charge in brackets, then multiply it by the number of bicycles.
Answer. , where is a positive integer and .
Check. Two bicycles hired for one hour cost dollars. The formula gives .
The algebra can accept many numbers, but a context may restrict them: a number of bicycles is a whole number, and a hire duration cannot be negative.
Watch out
For the second example, would charge the fixed dollars only once. The brackets in show that each bicycle has both charges.
Check the meaning of the brackets before doing any arithmetic.
Substituting positive and negative values
To substitute, replace every occurrence of a letter with its given number, then use the usual order of operations. Write a negative replacement inside brackets so its sign stays attached to it. The letter's value changes between evaluations; the expression's operations do not.
For example, if , then . By contrast, : the minus sign outside the square is still outside. In , substitution gives , a product.
Worked example 3: substituting a positive number
Question. Find the value of when .
Plan. Replace both copies of , calculate the square, then the products.
Answer. .
Check. Calculate the three original terms separately: , and . Their sum is .
Change only the sign of the input. The squared term stays positive, but the term changes sign.
Worked example 4: substituting a negative number
Question. Find the value of when .
Plan. Bracket each negative replacement before calculating powers and products.
Answer. .
Check. The squared term and constant are unchanged from the positive-input case. Replacing by increases the answer by : .
A fraction is a valid input too. Keep it exact. For , substitution of gives
The same method applies to a formula: substitute all the known quantities and calculate the remaining side. If a letter is in a denominator, its given value must not make that denominator zero.
Watch out
Writing loses the brackets' meaning. The square is , so . The expression would have a different value.
You can now answer the opening ticket question for any allowed ticket price by substituting that price into .
Quick Recap
- A letter represents a number; repeated copies use the same value within one evaluation.
- , and give different instructions.
- Translate words in order and use brackets to keep a whole quantity together.
- Substitute into every occurrence, bracket negative inputs and keep fractions exact.
Three identical tickets cost : one expression describes every possible ticket price .