A Complete Guide – mathsathome.com (2024)

Composite Functions Video Lesson

How to Find Composite Functions

To find a composite function:

  1. Identify the outer and inner functions.
  2. Write the outer function.
  3. Substitute each 𝑥 with the inner function.
  4. Simplify if necessary.

For example, if A Complete Guide – mathsathome.com (1) and A Complete Guide – mathsathome.com (2), calculate A Complete Guide – mathsathome.com (3).

A Complete Guide – mathsathome.com (4)

1. Identify the outer and inner functions

For the composite function A Complete Guide – mathsathome.com (5), the A Complete Guide – mathsathome.com (6) is on the inside of A Complete Guide – mathsathome.com (7). It is the input to A Complete Guide – mathsathome.com (8).

When written like this as A Complete Guide – mathsathome.com (9), the outer function is the one written on the left and the inner function is on the right.

A Complete Guide – mathsathome.com (10) is the inner function and A Complete Guide – mathsathome.com (11) is the outer function.

2. Write the outer function

We write the outer function of A Complete Guide – mathsathome.com (12).

3. Substitute each 𝑥 with the inner function

Every 𝑥 found within A Complete Guide – mathsathome.com (13) must be substituted with the inner function of A Complete Guide – mathsathome.com (14).

A Complete Guide – mathsathome.com (15) and so, we replace the 𝑥 in A Complete Guide – mathsathome.com (16) with an 𝑥2.

A Complete Guide – mathsathome.com (17).

A Complete Guide – mathsathome.com (18)

In this next example, we will keep A Complete Guide – mathsathome.com (19) andA Complete Guide – mathsathome.com (20) but this time calculate A Complete Guide – mathsathome.com (21).

A Complete Guide – mathsathome.com (22)

1. Identify the outer and inner functions

For the composite function A Complete Guide – mathsathome.com (23), the A Complete Guide – mathsathome.com (24) is on the inside of A Complete Guide – mathsathome.com (25). It is the input to A Complete Guide – mathsathome.com (26).

When written as A Complete Guide – mathsathome.com (27), the outer function is the one written on the left and the inner function is on the right.

A Complete Guide – mathsathome.com (28) is the inner function and A Complete Guide – mathsathome.com (29) is the outer function.

2. Write the outer function

We write the outer function of A Complete Guide – mathsathome.com (30).

3. Substitute each 𝑥 with the inner function

Every 𝑥 found within A Complete Guide – mathsathome.com (31) must be substituted with the inner function of A Complete Guide – mathsathome.com (32).

A Complete Guide – mathsathome.com (33) and so, we replace the 𝑥 in A Complete Guide – mathsathome.com (34) with 𝑥+3.

We must square all of 𝑥+3 and so, we first put it in brackets: (𝑥+3).

A Complete Guide – mathsathome.com (35).

A Complete Guide – mathsathome.com (36)

The Order of Composite Functions

The order of composite functions matters because a different order results in an entirely different function. Always substitute the inner function on the right into the outer function on the left. For example, if f(𝑥)=𝑥+3 and g(𝑥)=𝑥2, f(g(𝑥))=𝑥2+3 and g(f(𝑥))=(𝑥+3)2.

Always substitute the rightmost function into the function on its left.

For example, A Complete Guide – mathsathome.com (37) means that A Complete Guide – mathsathome.com (38) is substituted as an input into A Complete Guide – mathsathome.com (39).

A Complete Guide – mathsathome.com (40) means that A Complete Guide – mathsathome.com (41) is substituted as an input into A Complete Guide – mathsathome.com (42).

A Complete Guide – mathsathome.com (43)
A Complete Guide – mathsathome.com (44)

To remember the order of composite functions, draw a backwards-facing arrow from the rightmost function to the leftmost function.

Always substitute the function on the right into the function on the left.

A Complete Guide – mathsathome.com (45)

Composite Functions with Numbers

Composite functions can be evaluated when a number is the input. Substitute the number into the functions from right to left. For example, if f(𝑥)=2𝑥+1 and g(𝑥)=𝑥2, then gf(3) is found by substituting 3 into f(𝑥)=2𝑥+1 to get 7. Then substitute 7 into g(𝑥)=𝑥2 to get 49. gf(3)=49.

A Complete Guide – mathsathome.com (46)

When the input to a composite function is a number, the resulting answer is also a number.

If the input to a composite function is 𝑥, the resulting answer will be another function.

When entering numbers into a composite function, it is important to evaluate each function from right to left.

In the example below, we first substitute 4 into g(𝑥) to get 2 and then substitute this output of 2 into f(𝑥) to get 11.

A Complete Guide – mathsathome.com (47)

What Are Composite Functions?

A composite function is a function that is within another function. One function is substituted as the input to another function. For example f[ g(𝑥) ] means that g(𝑥) is substituted into every 𝑥 in the function of f(𝑥). The composite function f[ g(𝑥) ] is pronounced as ‘f of g of 𝑥’.

For example, in the composite function below, A Complete Guide – mathsathome.com (48) is substituted into A Complete Guide – mathsathome.com (49) to form A Complete Guide – mathsathome.com (50).

A composite function is different to the functions it is composed of.

A Complete Guide – mathsathome.com (51)

Composite Function Notation

Composite functions can be written in different notations.

A function, A Complete Guide – mathsathome.com (52) substituted as the input to another function, A Complete Guide – mathsathome.com (53) can be written as:

  • A Complete Guide – mathsathome.com (54)
  • A Complete Guide – mathsathome.com (55)
  • A Complete Guide – mathsathome.com (56)
  • A Complete Guide – mathsathome.com (57)

In mathematics, the circle symbol ∘ is used to indicate the composition of functions. For example (f∘g)(𝑥) means to take the output of g and substitute it into f.

A Complete Guide – mathsathome.com (58) is read as ‘f of g’ ‘f composed with g’, ‘f circle g’, ‘f round g’ or ‘f about g’.

Composite Function Arrow Diagram

An arrow diagram can be used to explain composite functions. The inputs to the first function are listed on the left. Arrows connect these inputs to their outputs in the middle. These outputs are then the inputs to the next function which has its outputs shown on the right.

For example, to find A Complete Guide – mathsathome.com (59) using the arrow diagram below, follow the input of 2 shown with the red arrow.

The first arrow shows the function of A Complete Guide – mathsathome.com (60). When we square 2 we get 4.

The second arrow leaves the 4 and reaches an output of 7. This is because the function A Complete Guide – mathsathome.com (61) tells us to add three to the previous output. 4 + 3 = 7.

Therefore A Complete Guide – mathsathome.com (62)=7.

A Complete Guide – mathsathome.com (63)

Properties of Composite Functions

Composite functions have the following properties:

  • The inverse of the composition of functions is equal to the composition of the inverse of both functions. (f∘g)-1 = g-1∘f-1.
  • The composition of one-to-one functions is also one-to-one.
  • The composition of onto functions is also an onto function.
  • Composite functions are assosciative. That is f∘(g∘h) = (f∘g)∘h.
  • The composition of functions is generally not commutative. It cannot be assumed that f[g(x)] = g[f(x)].
  • A composite function containing at least one even function will be even.
  • A composite function composed of entirely odd functions will also be odd.

Composite Functions with 3 Functions

To find a composite function made of three functions, substitute the rightmost function into the middle function and then substitute this into the leftmost function. For example, if g(𝑥)=𝑥2, f(𝑥)=3𝑥+1 and h(𝑥)=1/𝑥 then h(g(f(𝑥)))=1/(3𝑥+1)2.

A Complete Guide – mathsathome.com (64)

Arrows can be drawn from right to left to help remember the order of composite functions. In the example of h(g(f(𝑥))), the f function is substituted into the g function to form g(f(𝑥)).

g(f(𝑥)) = (3𝑥-1)2.

This is then substituted into the h function of 1/𝑥. We replace the 𝑥 with (3𝑥-1)2.

h(g(f(𝑥))) = 1/(3𝑥-1)2.

Composite Function Examples

Composite Function Example with Square Roots

If g(𝑥) = 𝑥2 + 5𝑥 and f(𝑥) = √𝑥, calculate g(f(𝑥)). Substitute 𝑥 into every 𝑥 found in the g(𝑥) function. g(f(𝑥)) = (𝑥)2+5𝑥. Here the 𝑥 and square operation cancel out to leave g(f(𝑥)) = 𝑥+5𝑥.

A Complete Guide – mathsathome.com (65)

Composite Function Example with Fractions

If g(𝑥)=1/𝑥 and f(𝑥)=1-𝑥, find g(f(𝑥)). Substitute the f function into the 𝑥 in the g function. g(f(𝑥))=1/(1-𝑥). This composite function is written as a fraction.

A Complete Guide – mathsathome.com (66)

Composite Function Example with Sin(𝑥)

If g(𝑥) = 2𝑥 + 1 and f(𝑥) = sin(𝑥), calculate f(g(𝑥)). Substitute 2𝑥+1 into every 𝑥 found in the f(𝑥) function. f(g(𝑥)) = sin(2𝑥+1).

A Complete Guide – mathsathome.com (67)

Composite Function Example with e𝑥

e𝑥 and ln(𝑥) are inverse functions. When written as a composite function, these two functions cancel each other out. If g(𝑥)=e𝑥 and f(𝑥)=ln(𝑥)-𝑥, calculate f(g(𝑥)). Each 𝑥 in f(𝑥) is replaced with e𝑥 and so f(g(𝑥))=ln(e𝑥)-e𝑥. This simplifies to 𝑥-e𝑥.

A Complete Guide – mathsathome.com (68)

A Function Composed of Itself

A function, f(𝑥) can be composed with itself to form f(f(𝑥)), which can also be written as f2(𝑥). This means that the function is placed as the input to itself. For example if f(𝑥)=5𝑥-2, then in f(f(𝑥)), the 𝑥 in f(𝑥)=5𝑥-2 will be replaced with 5𝑥-2. f(f(𝑥))=5(5𝑥-2)-2, which simplifies to 25𝑥-12.

A Complete Guide – mathsathome.com (69)

The Domain of Composite Functions

To calculate the domain of a composite function gf(𝑥):

  1. Find the values that are excluded from the domain of the outer function, g(𝑥).
  2. Set f(𝑥) equal to these excluded values and solve for 𝑥 to find the values that must be excluded from the domain.
  3. Find any further values that are excluded from the domain of the inner function, f(𝑥).
  4. Combine these results to form the overall domain of the composite function.

For example if A Complete Guide – mathsathome.com (70) and A Complete Guide – mathsathome.com (71), find the domain of A Complete Guide – mathsathome.com (72).

Step 1. Find the values that are excluded from the domain of g(𝑥)

In the function g(𝑥) , there cannot be a denominator of 0.

x≠0 as we cannot divide by 0.

Step 2. Set f(𝑥) equal to these excluded values and solve for 𝑥

A Complete Guide – mathsathome.com (73).

We solve this for 𝑥 to find any further values that must be excluded from the domain.

We square both sides of the equation.

A Complete Guide – mathsathome.com (74)

We then see that A Complete Guide – mathsathome.com (75).

A Complete Guide – mathsathome.com (76)

Step 3. Find any values that are excluded from the inner function, f(𝑥)

A Complete Guide – mathsathome.com (77). We cannot square root a negative number.

Therefore A Complete Guide – mathsathome.com (78).

Step 4. Combine these results to determine the domain of the composite function

In A Complete Guide – mathsathome.com (79), the domain is that A Complete Guide – mathsathome.com (80).

However in step 2 we run into problems if A Complete Guide – mathsathome.com (81) because this leads to a denominator of zero in the composite function.

Therefore the final domain of the composite function is A Complete Guide – mathsathome.com (82).

Composite Functions From Graphs

To find the value of a composite function from a graph:

  1. Use the input of the composite function to read the output from the graph of the inner function.
  2. Use this output as the input of the graph of the outer function.

For example the functions of f(𝑥) and g(𝑥) are shown below.

Use the graphs to calculate the value of the composite function, g(f(5)).

A Complete Guide – mathsathome.com (83)

Step 1. Use the input of the composite function to read the output from the graph of the inner function

The number input to the composite function is 5.

We read the graph of the inner function of f(𝑥) at the point where 𝑥 = 5.

When 𝑥 = 5, the f(𝑥) function has an output of 4.

Step 2. Use this output as the input of the graph of the outer function

We use the output of 4 from the first graph as the input to the outer function, g(𝑥).

When 𝑥 = 4, g(𝑥) has an output of 5.

Therefore, g(f(𝑥)) = 5.

Here is another example.

A Complete Guide – mathsathome.com (84)

To calculate g(f(2)), we first substitute 2 as an input into the f(𝑥) graph.

This gives us an output of 2 on the y-axis.

We then use this output of 2 from the f(𝑥) graph as an input to the g(𝑥) graph.

When 𝑥 = 2, g(𝑥) has an output of 7.

Therefore g(f(2)) = 7.

Composite Functions Using a Table

To calculate the value of a composite function from a table:

  1. Read the output of the inner function from its table at the value required.
  2. Use this output as the input in the table of the outer function and read the new output.

For example, calculate the value of the composite function, g(f(3)) using the tables below.

A Complete Guide – mathsathome.com (85)

Step 1. Read the output of the inner function from its table at the value required

The input of the composite function is 𝑥 = 3.

From the first table, when 𝑥 = 3 the value of f(𝑥) = 5.

Step 2. Use this output as the input in the table of the outer function and read the new output

The output of the f(𝑥) table was 5.

This is used as the input in the g(𝑥) table.

When 𝑥 = 5, g(𝑥) = 17.

Therefore g(f(3)) = 17.

A Complete Guide – mathsathome.com (2024)
Top Articles
Latest Posts
Article information

Author: Duane Harber

Last Updated:

Views: 6101

Rating: 4 / 5 (71 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Duane Harber

Birthday: 1999-10-17

Address: Apt. 404 9899 Magnolia Roads, Port Royceville, ID 78186

Phone: +186911129794335

Job: Human Hospitality Planner

Hobby: Listening to music, Orienteering, Knapping, Dance, Mountain biking, Fishing, Pottery

Introduction: My name is Duane Harber, I am a modern, clever, handsome, fair, agreeable, inexpensive, beautiful person who loves writing and wants to share my knowledge and understanding with you.