6.05a - Inverse and composite functions

6.05a - Inverse and composite functions

An inverse function reverses a rule, while a composite function applies rules in succession. Use words, expressions and machine diagrams to build these processes, keep their order straight and decide when a reverse rule gives one unambiguous answer.

Higher only.

Reversing a function

Can you undo “subtract 4, then multiply by 3” by adding 4 and dividing by 3 in that order? Start at 6: the forward rule gives (6−4)×3=6(6-4)\times3=6. Adding 4 and then dividing by 3 gives 10÷310\div3, so it has not recovered the input. We must reverse the order as well as the operations.

The forward process turns the input into an output. Reversing it starts from that output and recovers the original input. For this machine, first divide by 3, then add 4. Starting from output 6 gives 6÷3+4=66\div3+4=6, as required.

Inverse function

An inverse function reverses a function: it takes an original output back to its original input. It must give exactly one recovered input for each original output being considered. Operations are undone in reverse order.

We can express the inverse directly in terms of the given output, without special function notation.

Worked example 1: undoing a two-step rule

Question. A function subtracts 4 from its input and then multiplies by 3. Its output is uu. Write an expression for its original input in terms of uu.

Plan. Divide the output by three, then undo subtracting four.

u⟶u3undo multiplying by 3⟶u3+4undo subtracting 4\begin{aligned} u&\longrightarrow\frac{u}{3} &&\text{undo multiplying by 3} \\ &\longrightarrow\frac{u}{3}+4 &&\text{undo subtracting 4} \end{aligned}

Answer. The original input is u3+4\frac{u}{3}+4.

Check. Put this input into the original rule: 3(u3+4−4)=u3\left(\frac{u}{3}+4-4\right)=u. Also, output 15 gives input 9, and 3(9−4)=153(9-4)=15.

Change only the sign of the first operation: add four rather than subtract four. The reverse order remains the same, but the last inverse operation changes.

Worked example 2: a changed first operation

Question. A function adds 4 to its input and then multiplies by 3. Its output is uu. Write an expression for the original input.

Plan. Undo multiplication first, then undo adding four.

u⟶u3divide by 3⟶u3−4subtract 4\begin{aligned} u&\longrightarrow\frac{u}{3} &&\text{divide by 3} \\ &\longrightarrow\frac{u}{3}-4 &&\text{subtract 4} \end{aligned}

Answer. The original input is u3−4\frac{u}{3}-4.

Check. 3(u3−4+4)=u3\left(\frac{u}{3}-4+4\right)=u. At output 15, the recovered input is 1, and 3(1+4)=153(1+4)=15.

An equation gives the same result. If the first rule is y=3(x−4)y=3(x-4), divide both sides by 3 and add 4 to obtain x=y3+4x=\frac{y}{3}+4. Here xx remains the original input and yy remains its output; naming the variables clearly avoids swapping their roles by accident.

Watch out

The inverse of a rule is not its reciprocal. Reversing 3(x−4)3(x-4) does not mean writing 13(x−4)\frac{1}{3(x-4)}. It means recovering the input by undoing the operations.

Write a reverse expression using a new coefficient and constant.

Putting functions in sequence

The output of one function can become the input of another. Treat the whole first output as the next input, including its brackets.

Composite function

A composite function applies one function and then another. The second function acts on the first function's output. State the order explicitly: “A followed by B” means A acts first.

Let function A add 2, and function B multiply by 5. At input 3, A then B gives (3+2)×5=25(3+2)\times5=25, but B then A gives 3×5+2=173\times5+2=17. Using the same two functions does not guarantee the same composite.

[DIAGRAM: asset_name: Order in a composite function; asset_slug: composite-function-order; caption: A followed by B applies the whole output of A to B.; description: Two machine chains use function A add two and function B multiply by five. The upper chain applies A then B to input x, producing x plus two and then five times the bracket x plus two. The lower chain applies B then A, producing five x and then five x plus two. At input three the respective outputs are twenty-five and seventeen.]
A followed by B applies the whole output of A to B.

Worked example 3: A followed by B

Question. Function A adds 2. Function B multiplies by 5. Write the rule for A followed by B as an expanded expression in input xx.

Plan. Write A's whole output as B's input, then expand.

x⟶x+2apply A⟶5(x+2)apply B to all of it=5x+10expand\begin{aligned} x&\longrightarrow x+2 &&\text{apply A} \\ &\longrightarrow5(x+2) &&\text{apply B to all of it} \\ &=5x+10 &&\text{expand} \end{aligned}

Answer. The output is 5x+105x+10: multiply the original input by 5, then add 10.

Check. With x=−1x=-1, the two-stage machine gives −1+2=1-1+2=1, then 5. The combined expression gives 5(−1)+10=55(-1)+10=5.

Change only the order of the functions. The multiplication no longer acts on the added two.

Worked example 4: B followed by A

Question. Using the same functions, write the rule for B followed by A as an expression in input xx.

Plan. Multiply first, then feed that whole output to the adding function.

x⟶5xapply B⟶5x+2apply A\begin{aligned} x&\longrightarrow5x &&\text{apply B} \\ &\longrightarrow5x+2 &&\text{apply A} \end{aligned}

Answer. The output is 5x+25x+2.

Check. With x=−1x=-1, the original two functions give −5-5, then −3-3. The expression 5(−1)+2=−35(-1)+2=-3 agrees. It is 8 below the first composite at every input because (5x+10)−(5x+2)=8(5x+10)-(5x+2)=8.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account