Topics in this sectionFunctions3 topics
- Functional Notation
- Composite Functions
- Inverse Functions
A composite function is created when one function is applied to the result of another function. In this topic, you will learn how to combine two functions and why the order in which you apply them matters greatly.
When we have two functions, we can apply them one after another to create a new function. This new function is called a composite function.
If we have two functions f and g, the composite function "f followed by g" is written as (f∘g)(x). This means: first apply g to x, then apply f to the result.
The formal definition is:
(f∘g)(x)=f(g(x))
Here, g(x) is called the inner function because it is applied first, and f is called the outer function because it is applied to the result of the inner function.
One of the most important things to remember is that the order of functions in a composite function changes the result. In general:
(f∘g)(x)=(g∘f)(x)
This means f(g(x)) is usually different from g(f(x)). The order matters because you are performing different operations on different numbers.
Consider these two functions defined for a village market scenario:
- g(x)=x+200 — this could represent adding a transport cost of 200 SSP to the price of a bag of sorghum
- f(x)=2x — this could represent doubling the price to include profit
Find (f∘g)(x) and explain what it represents.
Solution
(f∘g)(x)=f(g(x))
First find g(x): g(x)=x+200
Now substitute this into f: f(g(x))=f(x+200)=2(x+200)
Simplify: (f∘g)(x)=2x+400
In this market context, this composite function tells us: first add 200 SSP for transport, then double the total to get the final selling price. For example, if a bag of sorghum costs x=500 SSP, the final price would be 2(500)+400=1,400 SSP.
Using the same functions f(x)=2x and g(x)=x+200, now find (g∘f)(x).
Solution
(g∘f)(x)=g(f(x))
First find f(x): f(x)=2x
Now substitute this into g: g(f(x))=g(2x)=2x+200
So (g∘f)(x)=2x+200
Comparing the Two Orders
- (f∘g)(x)=2x+400
- (g∘f)(x)=2x+200
These give different results! For x=500:
- (f∘g)(500)=2(500)+400=1,400 SSP
- (g∘f)(500)=2(500)+200=1,200 SSP
The difference of 200 SSP shows why the order matters in real calculations.
To check if you have constructed a composite function correctly, follow these steps:
- Identify the inner function — determine which function is applied to x first
- Substitute — replace x in the outer function with the entire inner function expression
- Simplify — combine like terms and simplify the expression
- Check the order — make sure you are not confusing (f∘g)(x) with (g∘f)(x)
- Composite function: A function formed by applying one function to the result of another
- Inner function: The function that is applied first in a composite function
- Outer function: The function that is applied second in a composite function
- Notation: (f∘g)(x) means apply g first, then apply f
In a small shop in Juba, a trader might use composite functions when pricing goods. If the cost of a sack of dura is x SSP, the trader first adds a transport fee g(x)=x+500, then marks up the price by 20% using f(x)=1.2x. Understanding composite functions helps the trader know exactly how pricing order affects the final cost to customers.
Question
What does the notation (f∘g)(x) mean?
Sign in to submit your answer and have it count toward your mastery.
Sign in to practiceTutor
Stuck? Ask me anything about this topic.
Sign in to ask the Sonza AI Tutor about this question.
Sign in to askDiscussions
No questions yet