# Nakafa Framework: LLM
URL: /en/subject/high-school/11/mathematics/function-composition-inverse-function/properties-of-function-composition
Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/11/mathematics/function-composition-inverse-function/properties-of-function-composition/en.mdx
Output docs content for large language models.
---
export const metadata = {
  title: "Properties of Function Composition",
  description: "Explore function composition properties: non-commutative order, associative grouping, and identity elements. Master (f∘g) rules with proofs.",
  authors: [{ name: "Nabil Akbarazzima Fatih" }],
  date: "04/27/2025",
  subject: "Function Composition and Inverse Function",
};
## Properties of Function Composition
Function composition, which involves combining functions sequentially, has several important properties we need to know. Let's study these properties using the following example functions:
  
  
  
### Non-Commutative Property
The first and most common property is that the order in which functions are composed **matters**. Changing the order of functions usually results in a different composite function.
In general,  is **not equal to** .
**Example:**
Let's compare  and .
1.  **Calculating :**
    
      
      
    
2.  **Calculating :**
    
      
      
    
Since , it is proven that . This property also applies to other compositions, for example  and .
### Associative Property
If we compose three or more functions, the order of **performing** the composition does not affect the final result, as long as the order of the **functions** remains the same.
Mathematically, for functions , , and , the following holds:
This means we can compose  with  first, and then compose the result with . Alternatively, we can compose  with  first, and then compose  with the result. The outcome will be the same.
**Example:**
Let's check if .
1.  **Calculating :**
    We already know .
    
      
      
    
2.  **Calculating :**
    First, find :
    
      
      
    
    Now, compose  with this result:
    
      
      
    
Since both results are the same (), the associative property is proven to hold: .
This associative property also applies to other combinations of function order, such as  and .
### Identity Element
There is a special function called the **identity function**, denoted by , which is defined as . This function does not change its input.
If a function  is composed with the identity function  (from either the left or the right), the result is the function  itself.
  
  
**Example:**
With :
- 
- 
Both result in the function  again.