Follow a composition across two graphs
Quick review (2 minutes)
A graph draws a function's input-output pairs as points.
For f(g(a)): read the y-value of g at x = a; use that number as the x-value on f; read f's y-value.
A point (a, b) on g means g(a) = b.
1. Choose the inner graph from the function nearest the starting input.
2. Locate that input on the inner graph's x-axis and move vertically to its curve.
3. Read the curve's y-coordinate as the intermediate output.
4. Locate that number on the outer graph's x-axis and move vertically to its curve.
5. Read the outer y-coordinate as the final answer. Check each graph's own scale.
The first picture is g(x) = x + 2 and the second is f(x) = . Use the labeled points to find f(g(2)). The input is 2 on g; the resulting height selects the input on f. Plan: read the inner curve at the starting horizontal input, then carry its height to the outer x-axis.
f(g(2)) = 16.
Using the first graph's output as a height on the second graph. Move it to the second x-axis before finding the outer output.
1. Rewrite the request with nested parentheses and choose the graph nearest the starting input.
2. Put your pencil at the starting input on that graph’s x-axis. Move vertically to the curve, then horizontally to read its y-axis value.
3. Write the in-between answer on a separate line.
4. Place that number on the outer graph’s x-axis. Move vertically to its curve and horizontally to read its output.
5. Check each numbered scale. Give exact values at clear grid intersections and describe uncertain readings as estimates.
Function
A rule that gives exactly one output for each input it accepts.
Input
The starting value you give a function. It goes inside the parentheses in function notation.
Output
The answer a function produces from an accepted input.
Undefined
Having no permitted output under the rule being used, as with division by zero or a negative real square-root radicand.
Outer function
The function evaluated second in a two-function composition. It receives the inner function's output.
Intersection
The values shared by all the sets or conditions being combined.
Ordered pair
Two coordinates written (x, y). The first gives horizontal position and the second gives vertical position.
x-axis
The horizontal number line of a coordinate graph. A function's inputs are read here.
y-axis
The vertical number line of a coordinate graph. A function's outputs are read here.
Formula
A written rule using numbers, symbols, and operations to describe how a quantity is calculated.
Graph
A picture of coordinate pairs. A function graph shows each input horizontally and its output vertically.
Nonnegative
Greater than or equal to zero. Zero is included, while positive means greater than zero and excludes zero.
Nested
Placed inside another expression, like one pair of parentheses inside another.
Solve
Find every input that makes a stated equality or inequality true. This differs from evaluating at a given input.
1 In plain words
A graph draws a function's input-output pairs as points. Think of it as a map: the horizontal address is the input and the vertical address is the output. For one function, start at the input on the x-axis, find the graph directly above or below it, and read the height on the y-axis. A composition uses two maps. The height you read on the first map becomes a horizontal address on the second map. You do not carry the first point across unchanged. You carry its output number, then use that number as the next input.
2 Picture it
Reminder
Reminder: Ordered pair, Axes, Negative squares, Composition
- Ordered pair. (2, 4) means input 2 and output 4; the first coordinate is horizontal.
- Axes. The x-axis runs horizontally; the y-axis runs vertically.
- Negative squares.
- Composition. f(g(2)) uses g's output as f's input.
3 Why
An ordered pair (a, b) on a function graph means that input a produces output b. The first graph therefore turns the starting x-coordinate into an intermediate y-coordinate. The definition of composition makes this intermediate output the outer input, so it must be located along the second graph's horizontal axis. Reading the height there finishes the second function evaluation. The graphs can have different scales, so read their numbered axes instead of comparing the physical heights on the page.
4 The rule
For f(g(a)): read the y-value of g at ; use that number as the x-value on f; read f's y-value.
A point (a, b) on g means .
The same idea, five ways
f of g of two
Read g’s height at horizontal input 2, then use that number as f’s horizontal input.
- g(2) = 4
- f(4) = 16
- f(g(2)) = 16
- On g: (2, 4); on f: (4, 16)
Use the destination on one map as the starting address on a second map.
The same idea, other ways
The first map sends horizontal address 2 to vertical address 4. The second map starts at horizontal address 4 and sends it to vertical address 16.
The pair (2, 4) says g(2) = 4. The pair (4, 16) says f(4) = 16. The output coordinate of the first pair matches the input coordinate of the second.
On g: (2, 4)
On f: (4, 16)
Match the middle 4
Part 1: Read the inner graph
The inner graph handles the original input. An output can be below zero, and it still becomes a valid next input if the outer function accepts it. In this part, g(x) = x + 2 and f(x) = are the two rules you will connect.
- Read input horizontally and output vertically.
- A point below the x-axis gives a negative output.
Worked example
A negative intermediate output
Using g(x) = x + 2, find the first graph reading for f(g(−3)). You only need the output of g at input −3. Plan: read the inner curve at the starting horizontal input, then carry its height to the outer x-axis.
Show the steps and the answer
- Find on g, so .The point records input −3 and output −1.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- A point below the x-axis has a negative output. Keep its minus sign at the handoff.
Part 2: Move to the outer graph
The outer graph starts from the intermediate number on its own horizontal axis. Its height is the final answer. A negative input is a location to the left of zero, not a negative height you must keep.
- f(−1) is read at horizontal input −1.
- For the square graph, input −1 gives output 1.
Worked example
Finish the negative-input path
The inner graph gave −1, and f(x) = . Find the final output in f(g(−3)). You now read f at input −1. Plan: the first reading is already −1. Put −1 on the outer x-axis and read the curve’s height there.
Show the steps and the answer
- Locate on f's x-axis and read the point .The intermediate value is now the outer input.
- .The point's vertical coordinate is the final output.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Move the first output to the second x-axis before reading the next height.
Part 3: Read the unlabeled curve from the grid
An exam graph may give a grid with no printed answer beside its points. Count along the numbered x-axis to your input. Travel straight up or down to the curve. Then read across to the y-axis. A height of 0 means the curve is on the x-axis. It is an answer, rather than a failed lookup.
- A point’s horizontal coordinate is its input and its vertical coordinate is its output.
- Two graphs may use different scales. Read their numbers separately.
Worked example
Read both orders from the grid
Use these graphs of g(x) = 4 − x and f(x) = without labeled answer points. Find f(g(2)) and g(f(2)). You start at 2 in each order. Plan: find the first curve’s height from the grid, then carry that number to the other x-axis.
Show the steps and the answer
- At horizontal input 2 on g, the line meets height 2, so .The grid crossing pairs input 2 with output 2.
- At input 2 on f, the curve meets height 4, so .The first output 2 becomes the second input.
- For the reverse order, from the curve.The innermost f receives 2 first.
- At input 4 on g, the line meets the x-axis at height 0, so .A point on the x-axis has output 0, which is a valid numerical answer.
- f(g(2)) = 4.
- g(f(2)) = 0.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Pencil on the x-axis, vertically to the curve, then horizontally to the y-axis.
5 How
- Choose the inner graph from the function nearest the starting input.
- Locate that input on the inner graph's x-axis and move vertically to its curve.
- Read the curve's y-coordinate as the intermediate output.
- Locate that number on the outer graph's x-axis and move vertically to its curve.
- Read the outer y-coordinate as the final answer. Check each graph's own scale.
Read a two-graph composition
- Rewrite the request with nested parentheses and choose the graph nearest the starting input.
- Put your pencil at the starting input on that graph’s x-axis. Move vertically to the curve, then horizontally to read its y-axis value.
- Write the in-between answer on a separate line.
- Place that number on the outer graph’s x-axis. Move vertically to its curve and horizontally to read its output.
- Check each numbered scale. Give exact values at clear grid intersections and describe uncertain readings as estimates.
6 Worked example
Worked example
A line feeds a square graph
The first picture is g(x) = x + 2 and the second is f(x) = . Use the labeled points to find f(g(2)). The input is 2 on g; the resulting height selects the input on f. Plan: read the inner curve at the starting horizontal input, then carry its height to the outer x-axis.
Show the steps and the answer
- On g, find the labeled point (2, 4), so .The point's horizontal coordinate is the input and its vertical coordinate is the output.
- Move to input 4 on f's horizontal axis.g's output becomes f's input, rather than staying a height.
- Read the labeled point (4, 16), so .The outer graph gives the final output at the intermediate input.
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 5
Two clear labeled points
The graphs show g(x) = x + 2 and f(x) = . Find f(g(0)). The starting input is 0; you want the final height after visiting both graphs. Plan: read the height on g first, then use that number as the horizontal input on f.
Show the steps and the answer
- At horizontal input 0, g has point (0, 2), so .The first coordinate is input, and the second coordinate is output.
- Move the output 2 to f’s horizontal axis. The point (2, 4) gives .Composition makes the first height the second input.
- .The second height is the final output.
Rung 2 of 5
Carry a height to a new horizontal position
Using g(x) = x + 2 and f(x) = , find f(g(2)) from the graphs. The input is 2; the first height tells you where to start on the second graph. Plan: read g at 2, carry the height across, then read f at that new input.
Show the steps and the answer
- On g, (2, 4) means .The graph’s height over input 2 is 4.
- On f, start at horizontal input 4. Its point (4, 16) gives .The handoff 4 becomes a horizontal coordinate, not a requested height.
- .The completed two-stage path ends at height 16.
Rung 3 of 5
A negative handoff can work
Using g(x) = x + 2 and f(x) = , find f(g(−3)). The input is negative, and the first output is also negative. You want the second graph’s output at that handoff. Plan: read g at −3, then start on f to the left of zero.
Show the steps and the answer
- On g, the point gives .A point below the horizontal axis has a negative output.
- Put on f’s horizontal axis. The point gives .Negative inputs are positions to the left of zero; their square is nonnegative.
- .The final output is the second graph’s height, not the first output’s sign.
Rung 4 of 5
Reverse which graph receives the start
Using g(x) = x + 2 and f(x) = , find g(f(2)) and compare it with the earlier f(g(2)). The same input now enters f first. Plan: restart at 2 on f, carry its height to g, and compare the final heights.
Show the steps and the answer
- On f, (2, 4) gives .f is now inside the parentheses and receives the starting input.
- On g, horizontal input 4 gives point (4, 6), so .The first output becomes g’s input.
- , while the earlier .Changing the first graph changes the route even when the first handoff happens to be 4 in both cases.
- g(f(2)) = 6.
- f(g(2)) = 16.
- The two orders differ at input 2.
Rung 5 of 5
Solve backward and keep every matching path
The graphs show g(x) = x + 2 and f(x) = , both accepting every real input. Solve f(g(x)) = 4. The final height is supplied; you want every starting input that leads to it. Plan: find every input where the outer f graph has height 4, then find the g inputs that produce those numbers.
Show the steps and the answer
- On f, height 4 meets the curve at and (2, 4). The outer input can be or 2.Both a negative and a positive number square to 4, so both intersections must be read.
- On g, output occurs at point , so one starting input is .The first function must produce the chosen outer input −2.
- On g, output 2 occurs at point (0, 2), so another starting input is 0.The second matching outer input requires another backward path.
- Check forward: and .Every claimed start must finish at the requested height after both graphs.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Say horizontal, vertical, horizontal, vertical as you trace a graphical composition.
- Use labeled points for exact values. If a graph reading is estimated, label the answer as an estimate.
- Know cold: across on the x-axis, up or down to the curve, read the height, then carry the height to the next x-axis.
7 The trap
Using the first graph's output as a height on the second graph. Move it to the second x-axis before finding the outer output.