Order changes the result, and units must fit — quick review
Picture a store applying a discount and a coupon.
Usually f(g(x)) ≠ g(f(x)) as functions. Check both orders rather than assuming equality.
For a meaningful composition, the inner output must be an acceptable outer input, including its units.
1. For each order, identify the function nearest the original input.
2. Evaluate or substitute that inner function into the other function.
3. Compare the resulting formulas and their domains. A different answer at one allowed input proves the functions differ.
4. For an application, label the starting input, intermediate output, and final output with units.
5. Check that the intermediate unit matches the outer function's expected input unit.
(a) Let f(x) = 2x + 5 and g(x) = . Find f(g(x)) and g(f(x)). Decide whether they are the same function. (b) A delivery van drives at a steady speed, so the distance it covers in t hours is D(t) = 60t miles. The van uses fuel according to G(d) = gallons for d miles driven. Find the meaningful composition that gives gallons used after t hours, and evaluate it at t = 3. Explain why the other order, D(G(d)), is not meaningful.
(a) f(g(x)) = 2 + 5 and g(f(x)) = 4 + 20x + 25. They are different functions, since at x = 1 the outputs are 7 and 49. (b) G(D(t)) = 2t gallons, and G(D(3)) = 6 gallons. D(G(d)) is not meaningful because G outputs gallons while D needs hours.
Treating a valid arithmetic calculation as proof that an application makes sense. Label the units as well as the numbers.
Find the combined formula inside first.
Set that final output equal to the requested number.
Solve for the original input, stating what it locates.
Check the original functions at that input.
Write each function as its input quantity → its output quantity. A unit is a named measure such as hours or miles.
Start with the function accepting the given input quantity; put it inside the other name.
Pass its output to a function accepting that output quantity.
For pure-number functions, calculate both formulas and their domains. One different output proves they differ; equality requires the same outputs everywhere and the same domain.
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.
Evaluate
Find the output of a function or the value of an expression for a given input.
Domain
All inputs for which a function is defined.
Inner function
The function evaluated first in a composition. Its output becomes the next function's input.
Outer function
The function evaluated second in a two-function composition. It receives the inner function's output.
Commutative
Describing an operation whose result stays the same when the order is reversed. Function composition usually does not have this property.
Unit
The named measure attached to a quantity, such as hours, miles, gallons, or dollars.
Substitution
Replacing a variable with a number or expression everywhere that variable appears. Parentheses hold a multi-term replacement together.
Square root
The nonnegative number whose square is the given nonnegative number. Here the √ symbol names that one nonnegative value.
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.
Real number
A number on the ordinary number line, including negatives, zero, fractions, and numbers such as .
Nonnegative
Greater than or equal to zero. Zero is included, while positive means greater than zero and excludes zero.
Fraction
One number divided by another nonzero number. The top is divided by the bottom; equal pieces give a picture of its size.
Intermediate answer
The in-between output of the first function, which becomes the next function’s input.
Linear
A formula built from a constant times the input plus a constant. Its graph is a straight line.
Solve
Find every input that makes a stated equality or inequality true. This differs from evaluating at a given input.
Equation
A statement that two expressions have equal values.