Transformations and Combinations of Functions
Progress can't be saved in this browser, so this lesson's status can't be set.
Learning goals
- Describe shifts, reflections, and scaling by tracking changes to graph coordinates
- Construct transformed formulas and determine their domains from the original function
- Combine functions arithmetically while retaining all original restrictions and denominator exclusions
- Evaluate compositions in the stated order and find their exact domains
- Decompose nested expressions and match output units to the next function's input
Change an output or change an input
Adding to a function’s output moves its graph vertically. Changing its input can move the graph horizontally.
Suppose . The function has : the point becomes . But reaches the old output at , because . Its corresponding point is .
A transformation changes a function by modifying its inputs or outputs. In a vertical shift, , every output increases by . In a horizontal shift, , the new input must be larger to supply the same old input to .
Thus moves the graph up units when is positive and down units when is negative. The graph of moves right units when is positive and left units when is negative. To check the horizontal direction, solve for the new input rather than guessing from the sign.
Worked example 1 A starting point and the domain move together
Problem. Start with on . Shift its graph right units and up units. Find the new formula and domain.
Solution. The right shift replaces the root’s input by , and the upward shift adds to its output. Thus .
The old starting point is . The new input reaches the old input when , so its starting point moves to .
The expression under the square root must be nonnegative:
Therefore the domain is . The whole graph moves right and up , including its domain boundary.
Check your understanding
A function has domain . What is the domain of ?
The input supplied to must stay in its domain.
Subtract from all three parts.
The domain moves left units.
Scale and reflect coordinates
Multiplication outside a function scales heights; multiplication inside scales horizontal coordinates in the opposite way.
If is on the graph of , then is on . For , the same old input occurs when , so the corresponding point is . Doubling the input inside halves horizontal distances from the vertical axis. For , solve instead: the same point becomes . The negative input multiplier moves it to the other side of the vertical axis as well as halving its horizontal distance.
A vertical stretch multiplies heights by a factor greater than ; a vertical compression multiplies them by a positive factor less than . For with , the vertical factor is . A negative also reflects the graph across the horizontal axis because the output changes sign.
For with , the horizontal factor is . Values compress horizontally; values stretch horizontally. A negative also reflects across the vertical axis because the input changes sign. These reflections can leave a symmetric graph looking unchanged.
Worked example 2 Read a reflected and stretched root graph
Problem. Starting from on , describe the transformations producing . Find its domain and range, and the points corresponding to , , and on .
Solution. First supply to the square root. This moves the starting input from to .
Next multiply each square-root output by , reflecting across the horizontal axis and stretching heights by . Finally add .
Each old point therefore becomes :
| Point on | Corresponding point on |
|---|---|
The root requires , so the domain is .
Since takes every nonnegative value, takes every value at most . The range is .
A negative multiplier reverses the order of bounded endpoints too. If a function has range , the output rule sends the included endpoint to and the excluded endpoint to . The new range is . The endpoints reverse order, and each keeps its own included or excluded status.
The order matters. Reflecting across the horizontal axis gives , while shifting up gives .
Horizontal changes also depend on order. Reflecting the point across the vertical axis gives ; shifting right then gives . Shifting first gives , and reflecting that point gives . Reflecting the graph first and then shifting right produces ; reversing those steps produces .
For several changes together, follow one point. Suppose and . To use the old input , solve , which gives . The new output is . Thus becomes .
The same reasoning works for any old point . For nonzero real numbers and , the transformation
maps that point to
The old input must equal , so solving for gives ; the old output becomes . Nothing in this reasoning depends on the particular point chosen. The nonzero conditions make these genuine coordinate scalings. Multiplying an output by zero instead collapses all defined outputs to one height; it still does not make an undefined original value defined.
The domain consists exactly of inputs for which belongs to the original domain. Factor the inside expression before reading a shift: has shift parameter .
Check your understanding
If lies on , which corresponding point lies on ?
Match the old input by solving the inside equation.
Divide by , then add , to obtain . Transform the output separately.
The corresponding point is .
Combine values at the same input
Arithmetic combinations use two outputs at one shared input. If and , then , , , and .
In general, , , and . Their domains are the intersection of the original domains: both values must exist. For a quotient,
also exclude every input where . In a model, addition and subtraction also require compatible output units.
For example, requires and , so its domain is .
Worked example 3 Two domains and a denominator zero
Problem. Let for in , and let for in . Find the formula and exact domain of , then evaluate .
Solution. Both original values must exist at the same input, so begin with the intersection of the declared domains. The intersection, written , keeps the inputs in both sets:
The lower boundary comes from and the upper boundary from . Neither function’s domain alone gives all the restrictions.
The quotient formula is
Division also requires , so remove . This input lies inside the common interval, so it creates an additional exclusion. The exact domain is
You can also write . The symbol means to remove the listed value from the preceding set.
The input belongs to both original domains and does not make the denominator zero. Its numerator is and its denominator is , giving
The declared intervals still limit the quotient’s domain. Rewriting or simplifying a formula cannot add inputs forbidden by either original function.
Check your understanding
Let and . What is the domain of ?
The square root requires , so . The denominator must also be nonzero.
Remove from the root's domain, retaining the allowed endpoint . The result is .
Feed one output into the next function
Composition uses the output of one function as the input to another. Suppose converts hours of machine operation into meters of ribbon, and gives a numerical cost in dollars for meters under a simplified pricing model. At , first find , then . The cost is , not .
We write
Read this as ” composed with .” The inner function acts first. Substitution means replacing every input slot of with the entire expression , including parentheses where needed.
In a model, the output units of must match the input units expected by . The composite accepts the input units of and produces the output units of .
Worked example 4 Compare the two orders
Problem. Let and , both defined for every real number. Find and with their domains. Use one input to decide whether these two functions are equal.
Solution. In , subtract first and then square and add :
In , square and add first, then subtract :
Both compositions have domain , because both original polynomials accept every real input and output.
At , their values are and , so they are different functions. Composition need not give the same result when the order is reversed.
Worked example 5 Convert a temperature before using a response model
Problem. The conversion takes a numerical Fahrenheit temperature and returns degrees Celsius. A sensor’s response is milliamps for , where is a Celsius temperature.
Write the sensor response as a function of , find its Fahrenheit input domain, and evaluate it at . Compare the numerical reverse order and explain whether it describes the same physical process.
Solution. For the response after conversion, use first, because expects Celsius:
The original response domain requires . Multiplying by gives , hence the Fahrenheit domain is .
At , the conversion gives degrees Celsius. The sensor then gives milliamps.
For the numerical reverse order, would be a current in milliamps. Formally substituting its number into gives
This is different from , and it feeds current into a conversion that expects a Fahrenheit temperature. Thus the reverse numerical formula does not model the same physical process, even though both numerical evaluations exist.
Break a nested expression into stages
You can work backward from an expression to the functions that build it. Consider . At , the inside calculation gives , then its absolute value is , and adding and taking the reciprocal gives .
A decomposition writes a function as a composition of simpler functions. For this expression, choose the stages
Then . Both and accept every real input. The outer function excludes input , but the output of is always nonnegative, so every original real passes all three stages. Grouping the first two stages into one inner function gives another valid decomposition; the choice need not be unique.
Check your understanding
Which inner function and outer function give as ? All functions use their full real domains.
The expression first cubes the input and subtracts , then takes the absolute value. Thus the inner function is and the outer function is .
For example, input first produces , and the outer stage gives . Taking absolute value before the cube and subtraction would produce a different function.
Check both stages of a composition
A composite input must work at every stage. For and , the input works: , then . The input passes the square-root stage but produces , which the reciprocal cannot accept.
For any , first require to be in the domain of . Then require to be in the domain of . Here those conditions are and , giving
Declared domains matter even when formulas simplify. If for and for all real , then only for . The polynomial expression alone hides the restriction of .
Check your understanding
Let and , each with its full real domain. What is the domain of ?
The polynomial accepts every real input. Its output must then be nonnegative for .
This is , so . Both endpoints produce the allowed square-root input .