One Inside Another
Part of the Functions & Transformations section of Coddy's Algebra 2 journey. Lesson 18 of 55.
A composition feeds one function's output into another function. means: work out f(x), then use that result as the input of g. It reads "g of f of x", and books also write it as (g ∘ f)(x).
Take and , and work out . Inner first: f(2) is 6. Then g(6) is 18. Written out, f's rule turns the problem into , then g's rule gives , and the arithmetic finishes it.
Why the inside first? g needs a number to work on, and that number is whatever f produces. Code runs the same way: in g(f(2)), the computer calls f before g has an argument.
Challenge
For and , work out . Use the inner rule first, then the outer one, then type the arithmetic line by line.
Try it yourself
Simplify
Given
All lessons in Functions & Transformations
4Combining Functions
Adding FunctionsSubtracting FunctionsMultiplying FunctionsAt a Single NumberRecap: Combining10Functions in Stories
Writing the RuleUsing the RuleWorking BackwardUndoing a ConversionRecap: Stories5Composition
One Inside AnotherOrder MattersA Function of ItselfComposing RulesBreaking ApartRecap: Composition8Stretching and Flipping
Taller and FlatterFlipping OverFlip, Then ShiftReading the RuleRecap: Stretch and Flip