Compose Functions | Building Functions

Compose Functions

Building Functions: Combining Functions in a New Way

In this lesson:

  • Chain two functions together:
  • Check whether a chain has a value at an input
  • Write a real-world chain as one function
Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Four Things You'll Be Able to Do

You'll be able to:

  1. Compose two functions: apply first, then , to get
  2. Evaluate a composite from values or tables
  3. Find by substitution, compare both orders, and check whether it has a value at an input
  4. Write a composite from a real-world chain, with units
Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Does Temperature Depend on Time?

You already know: height depends on time, and temperature depends on height.

So... does temperature depend on time? Think about a weather balloon rising through the sky.

Recall (HSF.IF.A.2): is the output of at input — in a table, the entry in the row .

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Chase the Chain by Hand

Time (hours) Height (feet)
2 5,000
3 7,500
Height (feet) Temperature (degrees F)
5,000 32
7,500 23

Find the temperature at using both tables.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

You Just Composed Two Functions

Height at : . Temperature at that height: .

We write this chain as — read "T of h of t."

Two hours after launch, the air at the balloon is F.

Chain diagram showing t entering h, producing height, then height entering T, producing temperature

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

One Chain, Two Steps: Inside Out

: apply to , then to that result.

  • Also written : "f composed with g"
  • runs first; runs on 's output second
  • Read inside out: is written first, applied last

The inner output must work as an input for the outer function.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Watch the Chain Build, Step by Step

Flow diagram step 1: time arrow entering function h

Time enters .

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Height Comes Out of

Flow diagram step 2: time enters h, height emerges as h's output

gives height — the first link in the chain is complete.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Height Feeds Into , Temperature Comes Out

Flow diagram step 3: time enters h, height output feeds into T, temperature emerges as final output

: time in, temperature out — the full composition.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Worked Example: Chain Through Two Tables

(hours) 0 1 2 3
(feet) 0 2,500 5,000 7,500
(feet) 0 2,500 5,000 7,500
(degrees F) 50 41 32 23

Find : , then

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Quick Check: Chase This New Chain

Given and , find .

Chase the chain: what goes in, what comes out at each step?

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Your Turn: When the Tables Run Out

Use the two tables from the worked example.

  1. Find
  2. Suppose . Do the tables give ?

The tables give only when is an input listed in 's table.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Quick Recall: Two Tools You Already Have

Expression inputs (HSF.IF.A.2): replace every with the whole input, in parentheses.

Excluded values (HSA.REI.A.2): has no real value for ; has none at .

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

From Numbers to Symbols: Same Chase

, . Find , then .

Numeric: , so

Symbolic: , so

Same chase — now the "input" riding through the chain is a variable, not a number.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

The Substitution Rule: Whole Expression In

To find the rule of :

  1. Write the rule of with every replaced by , in parentheses
  2. Simplify

For , substitute the rule of into instead.

This is the chase you already know — written in algebra instead of arrows.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Worked Example: Substitute Step by Step

, . Find .

Step 1: Write with a blank:

Step 2: Fill the blank with

Step 3: Simplify

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Same Pair, Other Order: Swap the Roles

, . Now find .

Step 1: Write with a blank:

Step 2: Fill the blank with

Step 3: Simplify

Two computation panels side by side: f(g(x))=2x squared plus 3 on the left, g(f(x))=4x squared plus 12x plus 9 on the right

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Predict, Then See the Order Matter

, . Predict: will and match?

Not the same. Composition is not commutative: in general.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Predict First, Then Read Inside Out

, . What is ? Pick before advancing.

  • A.
  • B.
  • C.

Answer: B. . A applies first; C is — times, not of.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Second Example, Different Kind of Function

, . Find both compositions.

Different rules — and, as you'll check soon, one order can have a value at an input where the other has none.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

A Chain That Computes, Then Breaks

, , at : , but has no real value — so has no value.

Chain diagram with a visible break: 3 enters g cleanly, produces negative 2, but the arrow into f is shown broken because negative 2 cannot enter the square root function

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Two Checks, Not One, for a Value

has a value at only when both stages work:

  1. is an input of
  2. is an input of

At , check 1 passed but check 2 failed — so has no value.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Square-Root Pair: Two Checks at

Back to , .

( inside): , an input of , so

( inside): is not real, so no value

Same input, different order: one has a value, one has none.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Predict, Then Run Both Checks

, . Does have a value? Predict first.

Check 1: is an input of — passes

Check 2: . Is an input of ? No

No value, even though check 1 passed.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Your Turn: Both Orders, One Check

, .

  1. Find
  2. Find — are they equal?
  3. Does have a value? Run both checks.

Write your answers down before we move on.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Writing a Composite From a Real Chain

  1. Name the input, link, and output quantities
  2. Write each link as a function: inner, then outer
  3. Compose, outer of inner, and simplify
  4. State what the composite takes in and gives out, with units

The link is the inner output and outer input — units must agree.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Name the Chain: Balloon Volume

A balloon's radius after seconds is centimeters. A sphere's volume is .

Input Link Output
time (seconds) radius (centimeters) volume (cubic centimeters)

Inner function: . Outer function: .

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Compose: Volume as a Function of Time

Chain diagram: t feeds into r(t)=3t producing radius, radius feeds into V(r) producing volume, labeled with the final composed formula 36 pi t cubed

Takes a time in seconds, gives a volume in cubic centimeters.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Evaluate: Balloon Volume After Two Seconds

Chain check: centimeters, and

After 2 seconds, the balloon holds about cubic centimeters.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Same Structure: The Weather Balloon Chain

Input Link Output
time (hours) height (feet) temperature (degrees F)

takes a time in hours and gives a temperature in degrees Fahrenheit.

outputs feet, and takes feet — the link's units agree.

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Your Turn: A New Chain, No Scaffolding

Wind speed (miles per hour) depends on altitude (feet). Fuel burn (gallons per hour) depends on wind speed.

  1. Write fuel burn as a function of altitude
  2. Name the link; check units
  3. State its input and output
  4. , : evaluate at
Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Reveal: Fuel Burn Chain Resolved

  • Link: wind speed — outputs miles per hour, takes miles per hour
  • Takes in: altitude, in feet
  • Gives out: fuel burn, in gallons per hour
  • At feet, fuel burn is gallons per hour
Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

Four Mistakes Worth Watching For

⚠️ means put into , not times

⚠️ in general — order matters

⚠️ Read inside out: first, second

⚠️ A value needs two checks: an input of , then an input of

Grade 9 Math | HSF.BF.A.1.c
Compose Functions | Building Functions

What Composition Buys You Going Forward

Composition turns "this depends on that, which depends on something else" into one formula you can actually compute with.

Next: composition is how you'll check whether two functions are inverses of each other (HSF.BF.B.4.b) — and in calculus, the chain rule works on composites.

Grade 9 Math | HSF.BF.A.1.c

Click to begin the narrated lesson

Compose functions