Math With AmarA C A D E M Y

Grade 9 · Preserve function-machine order · 730 of 750

Preserve function-machine order · practice 81

Let f(u) = 4u + (-1) and g(u) = u². Find f(g(2)) and g(f(2)). Follow the calculation, then test the quantities in the animated example.

Try the question, use a hint when you need one, and compare your reasoning with the worked solution. The animation starts with this chapter’s values; changing its controls explores a new case.

01 · Make a prediction

Your practice question

Let f(u) = 4u + (-1) and g(u) = u². Find f(g(2)) and g(f(2)).

Use this scratch space or work on paper. Your notes stay on this page and clear when you leave. Answers are for self-checking; they are not automatically graded.

02 · Explore the model

See the mathematical relationship move.

Use Play, Pause, and the timeline to inspect the construction. Reset restores the question’s original settings. The displayed assumptions describe where this model applies.

Watch the relationship

Paused
Preserve function-machine order · practice 81. Stage: Input. Current value: 2. f(g(x)): 15. g(f(x)): 49Function order changes the calculationInput2Square first4Then linear rule15Current stage value: 2Reversed order gives 49
Both functions are defined for all real inputs; no denominator or square-root domain restriction is hidden. Stage boxes represent ordered operations rather than a spatial graph. The readouts compare the same input in both orders.

Starts paused. Play once, pause anywhere, or use Step to inspect the mathematics. Playback stops when this panel leaves the screen.

Make it your experiment

Change one value. Notice what follows.

The controls adjust the model. Numbers below describe the current frame. Decimals are rounded.

Stage
Input
Current value
2
f(g(x))
15
g(f(x))
49

HD animation studio

From experiment to screen.

Present a crisp Canvas scene, save a full-HD image, or capture your model as a silent video.

The mathematical idea

Composition feeds one function's output into the next function's input. The order matters because squaring after a shift is not the same operation as shifting after a square. Tracking the intermediate value prevents treating composition as multiplication of the rules. Starting quantities: Outer multiplier a = 4; Outer shift b = -1; Input x = 2.

f(u)=au+b, g(u)=u²; f(g(x))=ax²+b

03 · Reflect and transfer

Explain what changes and why.

Can two different composed rules agree at one input without agreeing everywhere?

This is a distinct guided scenario using a reusable mathematical model. Similar-looking diagrams can represent different given values and conclusions; they are not different mathematical theories.