Composite Functions – Explanation & Examples (2024)

Composite Functions – Explanation & Examples (1)In mathematics, a function is a rule which relates a given set of inputs to a set of possible outputs. The important point to note about a function is that each input is related to exactly one output.

The process of naming functions is known as function notation. The most commonly used function notation symbols include: “f(x) = …”, “g(x) = …”, “h(x) = …,” etc.

In this article, we will learn what composite functions are and how to solve them.

What is a Composite Function?

If we are given two functions, we can create another function by composing one function into the other. The steps required to perform this operation are similar to when any function is solved for any given value. Such functions are called composite functions.

A composite function is generally a function that is written inside another function. Composition of a function is done by substituting one function into another function.Composite Functions – Explanation & Examples (2)

For example, f [g (x)] is the composite function of f (x) and g (x). The composite function f [g (x)] is read as “f of g ofx”. The function g (x) is called an inner function and the function f (x) is called an outer function. Hence, we can also read f [g (x)] as “the function g is the inner function of the outer function f”.Composite Functions – Explanation & Examples (3)

How to Solve Composite Functions?

Solving a composite function means, finding the composition of two functions. We use a small circle (∘) for the composition of a function. Here are the steps on how to solve a composite function:

  • Rewritethecomposition in adifferent form.

For example

(f ∘ g) (x) = f [g (x)]

(f ∘ g) (x) =f [g (x)]

(f ∘ g) (x²)= f [g (x²)]

  • Substitute the variable x that is in the outsidefunction with theinsidefunction.
  • Simplify the function.

Note: The order in the composition of a function is important because (f ∘ g) (x) is NOT the same as (g ∘ f) (x).

Let’s look at the following problems:

Example 1

Given the functions f (x) =x2+ 6 and g (x) = 2x– 1, find (f ∘ g) (x).

Solution

Substitute x with 2x– 1 in the function f(x) =x2+ 6.
(f ∘ g) (x) = (2x– 1)2+ 6 = (2x – 1) (2x – 1) + 6

Apply FOIL
= 4x2– 4x+ 1 + 6
= 4x2– 4x+ 7

Example 2

Given the functions g (x) = 2x– 1 and f (x) =x2+ 6, find (g ∘ f) (x).

Solution

Substitute x with x2+ 6 in the function g (x) = 2x– 1
(g ∘ f) (x) = 2(x2+ 6) – 1

Use the distributive property to remove the parentheses.
= 2x2+ 12 – 1
= 2x2+ 11

Example 3

Given f (x) = 2x + 3, find (f ∘ f) (x).

Solution

(f ∘ f) (x) =f[f(x)]

=2(2x + 3) + 3

= 4x + 9

Example 4

Find(g∘f) (x) given that,f (x) = 2x+ 3andg (x) = –x2+ 5

⟹ (g∘ f) (x) =g [f (x)]

Replace x in g(x) = –x2+ 5 with 2x+ 3
= – (2x+ 3)2+ 5
= – (4x2+ 12x+ 9) + 5
= –4x2– 12x– 9 + 5
=–4x2– 12x– 4

Example 5

Evaluatef [g (6)] given that, f (x) = 5x + 4and g (x) = x – 3

Solution

First, find the value of f(g(x)).

⟹ f (g (x)) = 5(x – 3) + 4

= 5x – 15 + 4

= 5x – 11

Now substitute x in f(g(x)) with 6

⟹5(6) – 11

⟹ 30 – 11

= 19

Therefore, f [g (6)] = 19

Example 6

Find f [g (5)] given that, f (x) = 4x + 3 and g (x) = x – 2.

Solution

Begin by finding the value of f [g (x)].

⟹ f(x) = 4x + 3

⟹ g(x) = x – 2

f[g(x)] = 4(x – 2) + 3

= 4x – 8 + 3

= 4x – 5

Now, evaluate f [g (5)] by substituting x in f[g(x)] with 5.

f [g (x)] = 4(5) – 5

= 15

Hence, f [g (5)] = 15.

Example 7

Given g (x) = 2x + 8 and f (x) = 8x², Find (f ∘ g) (x)

Solution

(f ∘g) (x)= f [g(x)]

Replace x in f(x) = 8x² with (2x + 8)

⟹ (f ∘g) (x)= f [g(x)]=8(2x + 8) ²

⟹ 8 [4x² + 8² + 2(2x) (8)]

⟹8 [4x² + 64 + 32x]

⟹ 32x² + 512 + 256 x

⟹ 32x² + 256 x + 512

Example 8

Find (g ∘ f) (x) if, f(x) = 6 x²and g(x) = 14x + 4

Solution

⟹ (g ∘ f) (x) = g [f(x)]

Substitute x in g(x) = 14x + 4 with 6 x²

⟹g [f(x)] =14 (6 x²) + 4

= 84x² + 4

Example 9

Calculate (f ∘ g) (x) using f(x) = 2x + 3 and g(x) = -x2+ 1,

Solution

(f ∘ g) (x) = f(g(x))
= 2 (g(x)) + 3
= 2(-x2+ 1) + 3
= – 2 x2+ 5

Example 10

Given f(x) = √ (x + 2) and g(x) = ln (1 – x2), find domain of (g∘ f) (x).

Solution

⟹ (g∘ f) (x) = g(f(x))
⟹ ln (1 – f(x)2) = ln (1 – √ (x + 2)2)
⟹ ln (1 – (x + 2))
= ln (- x – 1)

Set x + 2 to ≥ 0

Therefore, domain: [-2, -1]

Example 11

Given two functions: f = {(-2, 1), (0, 3), (4, 5)}and g = {(1, 1), (3, 3), (7, 9)}, find (g∘ f) and determine its domain and range.

Solution

⟹ (g∘f) (-2) = g [f (-2)] = g (1) = 1
⟹ (g∘f) (0) = g [f (0)] = g(3) = 3
⟹ (g∘f)(4) = g[f(4)] = g(5) = undefined

Hence, g∘f = {(-2, 1), (0, 3)}

Therefore, Domain: {-2, 0} and Range: {1, 3}

Composite Functions – Explanation & Examples (2024)

FAQs

Composite Functions – Explanation & Examples? ›

In mathematics, the composition of a function is a step-wise application. For example, the function f: A→ B & g: B→ C can be composed to form a function which maps x in A to g(f(x)) in C. All sets are non-empty sets. A composite function is denoted by (g o f) (x) = g (f(x)).

What is an example of a composite function with answers? ›

Composite Function Examples

Example 1: If f(x) = √(x - 2) and g(x) = ln (1 + x2), find the composition of functions (g ∘ f)(x). Solution: (g ∘ f)(x) is found by substituting f(x) into g(x). Answer: (g ∘ f)(x) = ln (x - 1).

How to explain composite function? ›

A composite function is a complex function created by two or more functions. The output of the inner function becomes the input of the outer function.

What is a real life example of a composite function? ›

An example of a real-life composite function is where you're calculating the amount of money you'll have to spend on petrol. The first function will calculate the amount of petrol required by dividing the distance to be travelled (input variable) by the distance that the car can travel per litre(constant).

What is the simple definition of composition of functions? ›

In Maths, the composition of a function is an operation where two functions say f and g generate a new function say h in such a way that h(x) = g(f(x)). It means here function g is applied to the function of x. So, basically, a function is applied to the result of another function.

How to solve composite functions step by step? ›

Finding the Composition
  1. rewrite f ∘ g as f ( g ( x ) ) ;
  2. replace with the function that it represents;
  3. evaluate by replacing every with the function that represents; and.
  4. finally, if given a numerical value of , evaluate the new function at this value by replacing all remaining with the given value.

What is the simplest composite function? ›

The composition of two functions means that the output from one function is substituted as the input for another function. For example, if f ( x ) = x + 3 and g ( x ) = 2 x , we can find the composition of g ( f ( 3 ) ) like so: f ( x ) = x + 3 The function f of some input x adds 3 to the input.

What is the rule for composite functions? ›

The composite function rule shows us a quicker way. If f(x) = h(g(x)) then f (x) = h (g(x)) × g (x). In words: differentiate the 'outside' function, and then multiply by the derivative of the 'inside' function. To apply this to f(x)=(x2 + 1)17, the outside function is h(·)=(·)17 and its derivative is 17(·)16.

How do you write expressions for composite functions? ›

We write an expression in math by using numbers or variables and mathematical operators which are addition, subtraction, multiplication, and division. For example, the expression of the mathematical statement "4 added to 2", will be 2+4.

What is a practical example of composition of functions? ›

One common everyday life example is unit conversion. If I know how many miles and hours I have been walking, but want to decide what my average speed is in feet per second, generally what ends up happening is I combine several functions to get my result.

What is a simple definition of a composite function? ›

: a function whose values are found from two given functions by applying one function to an independent variable and then applying the second function to the result and whose domain consists of those values of the independent variable for which the result yielded by the first function lies in the domain of the second.

What is an example of a composite function with a solution? ›

For example, if we let f be the function given by f(x) = x2 and let g be the function given by g(x) = x + 3, then the composition of g with f is called gf and is worked out as gf(x) = g(f(x)) . gf(x) = g(f(x)) = g(x2) = x2 + 3 .

What are the conditions for a composite function to exist? ›

Composite functions exist when another function is wrapped inside another function. Functions are built by replacing one function with another one. The composite function combining f (x) and g (x) is, for example, f [g (x)] (x).

Which one is an example of function composition? ›

Examples. Concrete example for the composition of two functions. Composition of functions on a finite set: If f = {(1, 1), (2, 3), (3, 1), (4, 2)}, and g = {(1, 2), (2, 3), (3, 1), (4, 2)}, then g ∘ f = {(1, 2), (2, 1), (3, 2), (4, 3)}, as shown in the figure. (g ∘ f)(x) = g(f(x)) = g(2x + 4) = (2x + 4)3.

What are the examples of composite in mathematics? ›

Examples of composite numbers include:
  • 4, as it has three factors: 1,2 and 4.
  • There are 5 composite numbers between 10: 4, 6, 8, 9, 10.

Which of the following is an example of composite? ›

Typical engineered composite materials include: Reinforced concrete and masonry. Composite wood such as plywood. Reinforced plastics, such as fibre-reinforced polymer or fiberglass.

Top Articles
Latest Posts
Article information

Author: Sen. Emmett Berge

Last Updated:

Views: 5604

Rating: 5 / 5 (60 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Sen. Emmett Berge

Birthday: 1993-06-17

Address: 787 Elvis Divide, Port Brice, OH 24507-6802

Phone: +9779049645255

Job: Senior Healthcare Specialist

Hobby: Cycling, Model building, Kitesurfing, Origami, Lapidary, Dance, Basketball

Introduction: My name is Sen. Emmett Berge, I am a funny, vast, charming, courageous, enthusiastic, jolly, famous person who loves writing and wants to share my knowledge and understanding with you.