Home

Function composition calculator | Create a new function by composition of functions

Function composition calculator



f(x) = 

g(x) = 
Processing









We substitute x for in







If you want to solve the expression for a given value, enter the value of x and press the "Calculate" button.
x = 











The Function Composition Calculator is an excellent tool to obtain functions composed from two given functions, (f∘g)(x) or (g∘f)(x). To perform the composition of functions you only need to perform the following steps:

  1. Select the function composition operation you want to perform, being able to choose between (f∘g)(x) and (g∘f)(x).
  2. Enter the functions f(x) and g(x) in their respective fields. You can check below the list of functions that you can use to write the functions.
  3. Then you need to press the Calculate button. The solution explained step by step will automatically be displayed.
  4. In the solution, the option of evaluating the resulting composite function for a given value of x is given.

Following is the list of functions that you can use in the function composition calculator:

Arithmetic operators:

Table of Contents

What is a composite function? | Composite function definition

Function composition, also known by the term composite function, consists of combining two or more functions in such a way that one function becomes the argument of the other. If we have two or more functions that are contained one inside the other, we call them composite functions.

The notation used for function composition is:

(f ∘ g)(x)=f(g(x))

Function Composition

The value of the composite function at x is equal to the function f evaluated at g(x).

How to do composite functions

We now proceed to explain how to obtain a composite function from two functions using the following example:

Example 01: Determine the composite function (f∘g)(x) if f(x)=x2+1 and g(x)=2x+3.

As we said, the composition (f∘g)(x) implies substituting the independent variable of the function f(x) by the function g(x), that is, (f∘g)(x)=f(g(x)), therefore, in x2+1 we will replace the variable x with the expression 2x+3. The result is as follows:

If we now want to determine the composite function (g∘f)(x), what we do is work with 2x+3, substituting the value of x for x2+1:

Composite functions worksheet

Here is a worksheet so you can practice composition of functions. The solutions of each exercise are located on the last page of the document.

practice composition of functions
Download composite functions worksheet
x Close