DoAssignment.ca
D2.8 · Express transformations as compositions
Learn to express transformations as compositions through clear examples and targeted practice.
Ontario Grade 12 Mathematics
Characteristics of Functions
Write a transformed function as a sequence of function operations
A transformation changes the graph of a function. A composition describes how functions act in sequence: one function’s output becomes the next function’s input. This lets us express a transformed function by naming the operations that happen before and after the original function. The order matters, so we will connect the symbols to the graph changes they describe.
What you will learn
- Explain what it means to express functions as a composition.
- Identify how an input function changes the graph of a given function.
- Represent combined horizontal and vertical transformations using composition notation.
- Read a composition in the correct order.
1. Prerequisite bridge: functions and transformations
A function takes an input and produces an output. For example, if , then the input produces the output . The input is often called the independent variable, and the output is the dependent variable.
A graph transformation changes the position, shape, or orientation of a graph. For example, replacing by moves the graph of two units right. Adding to the function’s output moves the graph four units up.
These changes can be described as new functions. The input function changes the input before the original function acts. The output function changes the result afterward. The letters and just show which quantity each function receives.
- Changing the input affects the graph horizontally.
- Changing the output affects the graph vertically.
- A transformation can be represented by a function.
2. Plain language: what composition means
A composition is a function built by applying one function and then another. The notation means “apply to , then apply to the result.” The small circle is read as “composed with.”
Composition notation is read from right to left. In , acts first because it is closest to . Then acts on the value produced by . This order matches the steps used to calculate the output.
For a transformed function, there may be an input change, the original function, and an output change. If changes the input and changes the output, the whole function can be written as . This means: apply , then , then V.
For example, the form combines several familiar changes. The expression inside changes the input. The factor and the addition of change the output. A negative value of reflects the graph across the horizontal axis; a negative value of reverses the input direction. These descriptions follow from how the input or output values are changed.
- In a composition, the function nearest the input acts first.
- An input function acts before the original function.
- An output function acts after the original function.
3. Multiple representations: words, operations, and symbols
A useful way to read a transformed function is to separate its input and output operations. For , the input operation is . The original function then evaluates that changed input. The output operation is .
The symbols show the same sequence as the words: start with , apply , apply , and apply . This is why the composition is , not . The latter would apply the output change to the starting input instead.
A table can make the order visible. In the final column, the functions appear in the order in which they act. The composition notation itself is written in the reverse order, because its rightmost function acts first.
When identifying a transformation, keep the original function unchanged in the middle. Define one function for the input operation and one for the output operation. Then place them around the original function in the composition.
- Words describe the changes; functions name the changes.
- The order of action and the written order of composition run in opposite directions.
- Keep track of whether each operation changes the input or the output.
4. Guided example and application
Suppose the original function is , and a new function is . We can express as a composition by separating the input change from the output change.
The input to is , so define . The output of is then multiplied by and increased by , so define . Since acts first, the complete composition is .
This also describes the graph changes. In the input, shifts the graph one unit left, and the factor inside the input compresses it horizontally by a factor of one-half. The output operations stretch it vertically by a factor of and move it up three units. Reading the operations this way confirms that the input change belongs inside and the output change belongs outside it.
- Identify the complete expression that is substituted into the original function.
- Define the output operation using the value produced by the original function.
- Check the composition by substituting the input function into the original, then applying the output function.
Sequence of operations for a transformed function
| Order of action | Operation | Role |
|---|---|---|
| First | Changes the input | |
| Second | Evaluates the original function | |
| Third | Changes the output | |
| Composition notation | Read from right to left |
Worked example
Separate input and output transformations
Let and . Express as a composition using an input function , the original function , and an output function . State the graph changes.
- Identify the input changeThe input to the square function is . Define the input function to produce exactly this expression from .
- Identify the output changeAfter the square function has produced a value, that value is multiplied by and then increased by . Define the output function using as the value being changed.
- Write the compositionThe input function acts first, followed by , followed by the output function. Composition notation places the first function on the right.
- Verify the expressionSubstitute into , then apply . The result matches the stated rule for .
- Describe the graph changesThe input change shifts the graph one unit left and compresses it horizontally by a factor of one-half. The output change stretches it vertically by a factor of and moves it up three units.
Answer: , where and . The resulting function is .
Check: Evaluating does not give the same function as . The stated problem’s input is , not . Therefore the correct input function is , and the composition is with . This gives .
Common mistakes and how to avoid them
Reading from left to right and applying first.
Correction: Start at the right. Apply first, then , then .
Putting an output change inside the original function.
Correction: Changes to the output happen after the original function, so represent them with a function composed on the left.
Treating the factor inside the input as a vertical stretch.
Correction: A factor applied to the input changes the graph horizontally. A factor applied to the output changes it vertically.
Using an input function that does not reproduce the expression inside the original function.
Correction: Compare directly with the complete input shown inside before writing the composition.
Lesson summary
- A composition expresses functions acting in sequence.
- In , the input function acts first, then , then the output function .
- Input changes are represented before the original function acts; output changes are represented afterward.
- Verify a composition by substituting each function in its correct order.
Check your understanding
Question 1
Let , , and . Which composition represents applying , then , then ?
Show answer and explanation
The function acting first is written on the right. Thus acts first, second, and last.
Question 2
If is composed with an original function , where does act?
- After , changing its output
- Before , changing its input
- Both before and after
- It does not change the function
Show answer and explanation
Before , changing its input
The composition means acts first, so it changes the input supplied to .
Question 3
Let and . Which input and output functions express as a composition?
- ,
- ,
- ,
- ,
Show answer and explanation
,
The expression inside is , and the output is decreased by . Therefore for the functions in the first option.
Key terms
- Function
- A rule that assigns an output to each allowed input.
- Transformation
- A change to a graph, such as a shift, stretch, compression, or reflection.
- Composition
- A function formed by applying one function and then another.
- Input function
- A function applied to the starting input before the original function.
- Output function
- A function applied to the result after the original function.
Continue through MHF4U
View the complete MHF4U Ontario Grade 12 Mathematics curriculum and lessons
- D1.1 · Interpret rates of change in multiple representations
- D1.2 · Distinguish zero, constant, and changing rates
- D1.3 · Sketch graphs from verbal rate descriptions
- D1.4 · Calculate and interpret average rate of change
- D1.5 · Compare instantaneous and average rates of change
- D1.6 · Approximate instantaneous rates numerically
About this lesson and its review
Published by DoAssignment. This AI-assisted lesson follows Ontario Grade 12 Mathematics (MHF4U), expectation D2.8. It is a study resource, not an official curriculum publication.
Before publication, the draft is checked for structure, mathematical or chemical notation, calculations, course boundaries, and readability, and then requires administrator approval. Errors can still occur, so corrections are welcomed.