# Inverse functions and composite functions

Inverse functions are unique mathematical constructs that, when applied to an original function, return the original input. Composite functions, on the other hand, are formed when one function is applied to the result of another. They allow for complex relationships to be represented concisely.

Use Case: In the real world, inverse functions are fundamental to solving real-life problems such as calculating the time needed to reach a certain growth or decay level, converting between units of measure, or reversing engineered solutions. Composite functions are widely used in fields like physics and engineering to model complex situations using simpler, understandable parts.

Before we take a look at inverse functions and composite functions, we must know the difference between a mapping and a function and how to define the domain and range of a function.

A mapping is any algebraic equation or graph that transforms one set of numbers to another. The diagram shows an example of a many-to-one mapping. In a similar way, we also get one-to-many and one-to-one mappings. For a mapping to be a function, it must be either one-to-one or many-to-one. For the function to be invertible it must be one-to-one only. See more on Inverse Functions below.

## Domain & Range

We consider the DOMAIN of a function to be the full set of values that we can successfully enter into the function. Some functions to be aware of:

• SQUARE ROOTING – we can only square root non-negative numbers (this includes 0)
• LOGARITHMS – we can only log positive numbers (this doesn’t include 0) – see more on logs
• DIVISION BY 0 – we can only divide by numbers that are not zero.

The RANGE of a function is the full set of values that we can get out of the function. It follows that we determine the range from the domain. Note that we may restrict the domain, i.e. we may exclude some values from the domain that are otherwise fine to have. This will then have an effect on the range which will also be restricted. See Example 1 for more on domain, range and restrictions.

## Inverse Functions

As above, if a function is one-to-one, then it is invertible. We can think of the inverse function as the function that performs the reverse operations. For a one-to-one function , the inverse function is . For example, if then . Note that we perform the reverse operations in the reverse order.

The inverse function for more complicated functions can be found as follows:

1. Write the function in explicit form, i.e. equals expression in terms of .
2. Swap the s for s and the s for s.
3. Make the subject of this new expression.
4. Label it as . See Example 2.

Note that if we get the same function back when we find its inverse, the function is known as a self-inverse function. The reciprocal function (1/x) is an example of a self-inverse function.

The graphs of and are reflections of one another across the line . It follows that the domain of the inverse function is the range of the original function. Similarly, the domain of the original is the range of the inverse function. The diagram shows the graphs of (blue solid),   (red dotted) and (green dotted). Since snd are inverses of one another, their graphs are reflections of one another in the line . See Example 3 for another example.

Note that the graph of a self-inverse function will be the same when reflected in the line . For example, the graph of has reflectional symmetry in the line .

## Composite Functions

Composite functions are where we apply a function on top of another function. We often call these chains. For example, is a composite function since we can identify two separate functions: the function where we add 5, then the function where we sine the result.

Given two functions and . We can define the composite functions and . These are sometimes denoted and respectively. Note that we can think of as , that is, we apply after we apply to . Hence, we find the function of by applying to and applying afterwards. Usually the function , which we find by applying first then , is quite different from the function . This is because and are generally different functions. See Example 3.

Note that . We can see that if we apply to then apply the inverse of , or vice versa, we will get the original value back.

## Examples

1. What is the domain and range for the function ?
2. Find the domain and range for the function .
3. What is the range of the function with restricted domain ?

Solution:

1. This is an alternative notation to . Note that we cannot evaluate this function for all as we cannot square root negative numbers. Hence, we must have . It follows that the domain is . The values that come out of the function start from 0 when and increase as decreases. Hence, the range is .
2. We can only evaluate log functions for positive numbers and so we must have . It follows that the domain of this function is . We. can obtain all values of for this domain and so the range is .
3. We can evaluate the original function for all values of except but we have a domain that has been restricted to . Recall that has an asymptote at and so will have an asymptote at as . The value of the function at is and so the function decreases to 6 as increases from 5. Hence the restricted range is .

Find the inverse functions for , .

Solution:

1. Write the function as .
2. Swap the s and s: .
3. Make the subject by first multiplying both sides by , multiplying out the brackets and getting all the terms on one side: Factorising gives and so .
4. We have found the inverse function to be , to avoid division by 0.

We define the functions and as follows:

.

1. State the range of . State the domain of
2. Sketch and on the same graph.
3. Find the function .
4. Solve the equation .

Solution:

1. Any value of can be put into the function but only positive values come out. Hence, the range is .  It follows that the domain of the inverse function is .
2. See graph. can be seen in solid red and in solid green. Notice that they are reflections of one another in the line (blue dashed line).
3. and so we must solve . It follows that and so .

## Extra Resources

### Questions by Topic

A2InversesExamQuestions2