Lesson 3

Feeding f into itself

Step 1 of 3

Two passes through one machine

f(f(x)) is the machine fed its own output. At x = 2 the first pass gives 4, so the second pass computes f(4) = 10. Nothing is squared, and nothing is multiplied by f.

  1. 1f(f(2))the question
  2. 2f(3(2)−2)inside first
  3. 3f(4)first output
  4. 43(4)−2second pass
  5. 5=10output
input x2
graph f(x) f(f(x))
-3-2-11234-10-5510

The teal hollow dot is the same height read one step further along f: f(4) = 10.

the machine, run twice

x
2
first pass
3x−2
f(x)
4
second pass
3x−2
f(f(x))
10