GoalMove between function machines and algebraic functions of the form y = mx + c, taking care with the order of operations.
New words
algebraic function · a function written with letters, such as y = 3x + 5coefficient · the number that multiplies a letter
Explanation
A function can be written as a machine or as an equation. The machine ‘× 3 then + 5’ is y = 3x + 5. The machine ‘+ 4 then × 3’ is y = 3(x + 4): the brackets show that the adding happens first. If you write y = x + 4 × 3 by mistake, the multiplication would be done first and you would get a different function. Test any algebraic function by choosing a simple input, such as x = 2, and checking it against the machine. Swapping the order of two operations usually gives a different function.
Worked examples
The function y = 3x + 5 is the machine ‘× 3 then + 5’. The input is x and the output is y. For x = 2, y = 3 × 2 + 5 = 11.
The machine ‘+ 4 then × 3’ is y = 3(x + 4) = 3x + 12. Check with x = 2: the machine gives (2 + 4) × 3 = 18, and 3 × 2 + 12 = 18. The incorrect version x + 4 × 3 gives 2 + 12 = 14, which does not match.
The function p = (q − 1)/5 is the machine ‘− 1 then ÷ 5’. Its inverse is ‘× 5 then + 1’, so q = 5p + 1. For q = 11, p = 10 ÷ 5 = 2, and 5 × 2 + 1 = 11.
Class activity
Function cards. Make eight cards: four with machines (such as ‘× 2 then + 7’) and four with algebra (such as y = 2x + 7). Turn them face down and play pairs: you can keep a pair if the machine and equation match. Include some where the order matters, such as y = 2(x + 7).
Practice
1
Write each equation as a machine: (a) y = 6x − 1, (b) y = x/5 + 2, (c) y = 4(x − 3), (d) y = (x + 8)/3.
(a) × 6 then − 1. (b) ÷ 5 then + 2. (c) − 3 then × 4. (d) + 8 then ÷ 3.
2
Write each machine as an algebraic function: (a) × 5 then − 2, (b) − 2 then × 5, (c) ÷ 2 then + 9, (d) + 3 then ÷ 4.
(a) y = 5x − 2. (b) y = 5(x − 2). (c) y = x/2 + 9. (d) y = (x + 3)/4.
3
The machines ‘× 3 then + 6’ and ‘+ 6 then × 3’ are made from the same two steps. Write both as algebra and find the output of each for the input 5. Are the two functions the same?
The first: y = 3x + 6, and for x = 5 the output is 21. The second: y = 3(x + 6) = 3x + 18, and for x = 5 the output is 33. The outputs differ, so the functions are not the same.
4
Three algebraic functions are y = 2(x + 3), y = 2x + 3 and y = 2x + 6. Two of them are the same. Which ones? Test with x = 4.
For x = 4: 2(4 + 3) = 14, 2 × 4 + 3 = 11 and 2 × 4 + 6 = 14. So y = 2(x + 3) and y = 2x + 6 are the same, because 2(x + 3) expands to 2x + 6.