BetterGrades Precalculus · Unit 4 · Lesson

Composition as sequential processing

Interpret f composed with g as applying g first and then f, and explain why order generally matters.

Opening

Start with the situation

Composition represents an ordered chain in which the inner function acts first.

Many real models are built in stages—a conversion followed by a cost rule, or a measurement followed by a calibration. Composition records that order, while inverse reasoning asks whether the stages can be undone.

Before you begin

Prerequisite check

  • Evaluate function notation.
  • Determine domains from formulas.
  • Solve equations for a selected variable.
Core explanation

Explanation

Trace the original input through the first function, name the intermediate quantity, and feed it to the second function.

The intermediate output must lie in the outer function's domain and have compatible units.

A symbolic answer is not complete by itself. In this lesson, the same claim must also be readable through two-stage machine, order comparison, or another equivalent representation.

Conceptual reading

What the idea is really doing

Composition and inversion are about information flow. A composite sends an input through stages in a fixed order; an inverse reverses that flow only when each output identifies a unique input.

This lesson narrows that lens to one goal: interpret ff composed with gg as applying gg first and then f, and explain why order generally matters. The point is not to memorize an isolated trick; it is to know what evidence makes the conclusion valid and how a second representation can check it.

Reusable method

A reliable route through the problem

  1. Trace the original input through the first function.
  2. Name the intermediate quantity.
  3. Feed it to the second function.

Verification: Name the intermediate quantity, enforce its domain, and verify an inverse with composition. Units are especially useful because the output unit of one stage must match the input unit of the next.

Foundation walkthrough

Plan before calculating

Problem

Coupon d(p)=p20d(p)=p-20 and tax t(q)=1.06qt(q)=1.06q at p=100p=100.

Plan
Start by identifying the mathematical structure in the prompt. Then use the lesson method rather than guessing from appearance: Trace the original input through the first function, name the intermediate quantity, and feed it to the second function.
Conclusion
t(d(100))=84.80,t(d(100))=84.80, while d(t(100))=86d(t(100))=86.
Why the check works
A fixed coupon and percentage tax do not commute.
Worked examples

See the idea in three forms

foundation example

Coupon d(p)=p20d(p)=p-20 and tax t(q)=1.06qt(q)=1.06q at p=100p=100.

Solutiont(d(100))=84.80,t(d(100))=84.80, while d(t(100))=86d(t(100))=86.

A fixed coupon and percentage tax do not commute.

representation example

g(f(3))g(f(3))

Solution2626

This example expresses composition as sequential processing in a second form.

transfer example

Which acts first in f(g(x))?

Solutiongg

The intermediate output must lie in the outer function's domain and have compatible units.

Two-stage machine. Follow the foundation example from its given information to the conclusion. The labels identify the mathematical feature that makes the result valid: A fixed coupon and percentage tax do not commute.
Read this graph as text

Composition as sequential processing · Two-stage machine. Follow the foundation example from its given information to the conclusion. The labels identify the mathematical feature that makes the result valid: A fixed coupon and percentage tax do not commute. The figure uses concrete points, curves, arrows, intervals, or matrix structure instead of relying on color alone.

Labels, point shapes, line styles, arrows, and position carry the mathematical meaning; color is supplementary.

Why it matters: Use the mathematical objects in this figure to support the lesson outcome: Interpret f composed with g as applying g first and then f, and explain why order generally matters.

Anchor figure · Two-stage machine

Follow the foundation example from its given information to the conclusion. The labels identify the mathematical feature that makes the result valid: A fixed coupon and percentage tax do not commute.

Order comparison. Read the numbered reasoning path in order. Each stage preserves the quantities, restrictions, or structural conditions needed for composition as sequential processing.
Read this graph as text

Composition as sequential processing · Order comparison. Read the numbered reasoning path in order. Each stage preserves the quantities, restrictions, or structural conditions needed for composition as sequential processing. The figure uses concrete points, curves, arrows, intervals, or matrix structure instead of relying on color alone.

Labels, point shapes, line styles, arrows, and position carry the mathematical meaning; color is supplementary.

Why it matters: Use the mathematical objects in this figure to support the lesson outcome: Interpret f composed with g as applying g first and then f, and explain why order generally matters.

Mechanism figure · Order comparison

Read the numbered reasoning path in order. Each stage preserves the quantities, restrictions, or structural conditions needed for composition as sequential processing.

Unit compatibility. Compare the valid path with the tempting shortcut. The figure shows why reading f composed with g from left to right as though f acts first leads to a false conclusion.
Read this graph as text

Composition as sequential processing · Unit compatibility. Compare the valid path with the tempting shortcut. The figure shows why reading f composed with g from left to right as though f acts first leads to a false conclusion. The figure uses concrete points, curves, arrows, intervals, or matrix structure instead of relying on color alone.

Labels, point shapes, line styles, arrows, and position carry the mathematical meaning; color is supplementary.

Why it matters: Use the mathematical objects in this figure to support the lesson outcome: Interpret f composed with g as applying g first and then f, and explain why order generally matters.

Comparison and error figure · Unit compatibility

Compare the valid path with the tempting shortcut. The figure shows why reading ff composed with gg from left to right as though ff acts first leads to a false conclusion.

Common mistake

Find the first invalid move

A frequent error is reading ff composed with gg from left to right as though ff acts first.

Check yourself

f=x+10,g=2xf=x+10,g=2x; f(g(3))f(g(3)).

Write a complete attempt before opening the exact answer.

Attempt once to unlock the answer

Complete a substantive attempt before revealing the server-held answer.

Practice

Ten concrete questions

Practice 101

f=x+10,g=2xf=x+10,g=2x; f(g(3))f(g(3)).

Write a complete attempt before opening the exact answer.

Attempt once to unlock the answer

Complete a substantive attempt before revealing the server-held answer.

Practice 202

g(f(3))g(f(3))

Write a complete attempt before opening the exact answer.

Attempt once to unlock the answer

Complete a substantive attempt before revealing the server-held answer.

Practice 303

Which acts first in f(g(x))?

Write a complete attempt before opening the exact answer.

Attempt once to unlock the answer

Complete a substantive attempt before revealing the server-held answer.

Practice 404

Write hh then gg then ff.

Write a complete attempt before opening the exact answer.

Attempt once to unlock the answer

Complete a substantive attempt before revealing the server-held answer.

Practice 505

Explain why this conclusion is valid: t(d(100))=84.80,t(d(100))=84.80, while d(t(100))=86d(t(100))=86. Use the foundation problem as evidence: Coupon d(p)=p20d(p)=p-20 and tax t(q)=1.06qt(q)=1.06q at p=100p=100.

Write a complete attempt before opening the exact answer.

Attempt once to unlock the answer

Complete a substantive attempt before revealing the server-held answer.

Practice 606

Solve the representation example, then name the feature of composition as sequential processing that it illustratesg(f(3))g(f(3))

Write a complete attempt before opening the exact answer.

Attempt once to unlock the answer

Complete a substantive attempt before revealing the server-held answer.

Practice 707

Correct this reasoning and identify the first unsafe assumption: A frequent error is reading ff composed with gg from left to right as though ff acts first.

Write a complete attempt before opening the exact answer.

Attempt once to unlock the answer

Complete a substantive attempt before revealing the server-held answer.

Practice 808

Connect two representations for this example: Coupon d(p)=p20d(p)=p-20 and tax t(q)=1.06qt(q)=1.06q at p=100p=100. Describe what a graph, table, mapping, or algebraic form would have to show.

Write a complete attempt before opening the exact answer.

Attempt once to unlock the answer

Complete a substantive attempt before revealing the server-held answer.

Practice 909

Create a nearby example by changing one number or condition in this prompt: Which acts first in f(g(x))? Predict the effect, solve your new example, and compare it with the original.

Write a complete attempt before opening the exact answer.

Attempt once to unlock the answer

Complete a substantive attempt before revealing the server-held answer.

Practice 1010

Write a short verification checklist for composition as sequential processing, then apply it to one worked example from this lesson.

Write a complete attempt before opening the exact answer.

Attempt once to unlock the answer

Complete a substantive attempt before revealing the server-held answer.

Lesson close

Connect forward

The next lesson, Composition from formulas, uses this result as part of a larger structure.

Source record

Original BetterGrades manuscript, rights-separated references.

  • Lippman and Rasmussen, Precalculus Volume 1
  • Utah College Algebra
  • AP Precalculus framework

No long source passage is reproduced.