What is it about?
An expression (term) is a meaningful calculation made of numbers, variables, operators and brackets, e.g. . The expression tree shows how it is built: the numbers are at the top, the operations below. Each operation joins two parts; at the very bottom is the last operation carried out – it gives the value of the expression.
Order of operations:
- Work out what is in brackets first (with several brackets, the innermost first).
- Powers before and before and .
- Otherwise work from left to right: .
Type of expression: An expression is named after its last operation:
| last operation | type | parts |
|---|---|---|
| sum | first addend second addend | |
| difference | minuend subtrahend | |
| product | first factor second factor | |
| quotient | dividend divisor | |
| raising to a power | power | base |
So is a difference: the difference of the sum of and and the product of and .
Careful with signs and powers: is the opposite of , so . But . In the same way, means – not .
Variables: If you substitute a number for a variable, you get a value of the expression. Negative numbers are put in brackets: for , .
Try it
- Compare the trees of 3 + 4 · 5 and (3 + 4) · 5. Which operation is at the bottom? What type of expression is it?
- Press Next step and watch the values flow through the tree. The line above the tree shows the working.
- In 4 · 5 + 2³ tap the multiplication first. The simulation allows it – why does the result not change? Then tap the addition before everything above it has been worked out.
- −3² or (−3)²? Where is the sign in the tree?
- Compare 2x² and (2x)². Move the slider for .
- Calculate with fractions: the simulation works exactly, .
- Type your own expressions. What does the simulation say for , for or for ?
Tasks
Task 1: Type of expression
Load task Find the type of , name its two parts and work out its value. Then check with the tree.
Show solution
The last operation is a subtraction, so the expression is a difference. Minuend: the sum , subtrahend: the product .
Task 2: Order of operations
Work out step by step: . What type of expression is it? Load task
Show solution
Innermost bracket first, then the other brackets, then the power, then and before and , finally from left to right:
The last operation is an addition – the expression is a sum.
Task 3: From words to an expression
Write as an expression and work it out: “the difference of the product of 7 and 8 and the sum of 15 and 9”.
Show solution
. The brackets are needed because the whole sum is subtracted. Show tree
Task 4: Inserting brackets
Insert brackets into so that the value is , or . How does the tree change each time? Without brackets
Task 5: Values
Work out the value of for and for . Load task
Show solution
:
: . So for the expression has the value . The table of values below the tree shows more values.
Task 6: Find the mistakes
Tim calculates: and . Explain his mistakes using the expression tree.
Show solution
- : First square, then take the opposite: . Only .
- : Operations of the same rank are done from left to right: . Tim calculated – that is a different tree.
Ideas for the classroom
- Use: About grade 5 (structure of expressions, multiplication and division before addition and subtraction), grade 6 (structure of expressions with rational numbers) and grade 7 (expressions with variables, values, naming the structure).
- Input:
*or·for multiplication,:for division,^or²for powers, brackets( )and[ ]. A slash between two whole numbers (3/4) stands for a fraction (one number), otherwise for a division. Allowed variables: . Your own expressions can be shared as a link or QR code with Share. - Display: As in many textbooks, the numbers are at the top and the result at the bottom; under “Display” you can turn the tree upside down. The operations have different colours (addition and subtraction blue, multiplication and division green, powers orange).
- Order and structure: “Next step” follows the rules. If you tap another possible operation yourself, it is carried out and commented on: independent parts may be worked out in any order – the rules fix the structure, not the order within independent parts.
- Calculation: exact with fractions; decimals are shown as decimals if they occur in the expression or in a variable. A sign directly after an operator is not accepted (as in class): instead of . and division by are not defined.
- Common stumbling blocks:
- Working strictly from left to right: .
- and .
- Naming the type after the first operator instead of the last operation carried out.
- Task mode: With
names=0and_hide=1(see Task 1) the types and results are hidden at first.