
Function composition is the process of combining two or more functions to create a new function. If we have two functions f : A → B f:...
Function composition is the process of combining two or more functions to create a new function. If we have two functions and , their composition, denoted , is a function from set to set , defined by:
This means that you first apply the function to , and then apply the function to the result of .
Let and be two functions. The composition of and , denoted as , is a function from to defined by:
Here, produces an element in , and then produces an element in .
For the composition to be defined:
Let’s consider two functions:
To find , we first apply and then apply to the result of :
Thus, the composition is:
Function composition has several important properties that are useful in mathematical proofs and problem-solving:
Function composition is associative, meaning that if we have three functions , , and , then:
This property allows us to compose multiple functions without worrying about the grouping of functions.
The identity function on a set is the function that maps every element to itself. It has the property that for any function :
Thus, composing a function with the identity function leaves the original function unchanged.
Function composition is not commutative, meaning that in general:
In other words, the order in which we apply the functions matters. Changing the order can lead to different results.
If the functions and are composed, we are guaranteed that the domain of is , and the codomain of is . However, sometimes you might want to compose functions with different domains and codomains:
Let’s say and are two functions with different domains and codomains. In order to compose them, you need to find a suitable domain and codomain such that composition is valid. This is less common but can occur in specialized contexts.
If is a bijection, meaning it is both injective (one-to-one) and surjective (onto), it has an inverse function . The composition of a function with its inverse satisfies:
This shows that the inverse function "undoes" the operation of the original function, essentially returning the original input.
Let’s take an example where is defined by , and its inverse function is .
In both cases, the result is just , confirming that the composition of a function with its inverse gives the identity function.
Function composition is widely used in many areas, including:
Function composition is a fundamental concept in mathematics that allows the combination of functions to create new ones. It is essential for building more complex relationships between variables, solving problems, and understanding how different mathematical structures interact. Function composition is associative, involves inverse functions, and has important applications in various fields such as mathematics, computer science, and economics.
Open this section to view and download past papers
Click on Show Past Papers to load available exam papers.