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? ›

What is an example of a composite function? Given f(x) = 2x and g(x) = x+4, f(g(x)) = 2(x+4) = 2x + 8. The function f(g(x)) is called a composite function.

What is a composite function with examples? ›

We can define the composition function as the application of one function into another. Let us take two functions f(y) and g(y). Suppose the result of f(y) is sent through g(y). Then it can be written as (g º f )(y) which indicates the compose function is g(f(y)).

What is an example of a composition of functions in real life? ›

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 does it mean to be a composite function give an example of a composite function and identify the outside and inside function? ›

A composite function is a function whose argument is another function.For example, (2x-5)3 is a composite function where 2x-5 is the "inside" function and x3 is the "outside" function.Consider the composite function cos(x2+1).

How to explain composite functions? ›

Given two functions, we can combine them in such a way so that the outputs of one function become the inputs of the other. This action defines a composite function.

What is a composite function for dummies? ›

The composition of two functions g and f is the new function we get by performing f first, and then performing g. 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)) .

Can you simplify composite functions? ›

You can use your substitution abilities to simplify a composition of functions! When we're simplifying f(g(x)), we substitute our g(x) function into our f(x) function. In other words, everywhere we see an x in our f(x) function, we plug in our g(x) function!

What does composite mean in math? ›

In Mathematics, composite numbers are numbers that have more than two factors. These numbers are also called composites. Composite numbers are just the opposite of prime numbers which have only two factors, i.e. 1 and the number itself.

How do we use composite functions in real life? ›

Where are composite and inverse functions used in the real world? These functions are used in a lot of places! For example, in physics, we might use a composite function to model the motion of a falling object. In economics, we might use an inverse function to model the relationship between supply and demand.

What are some examples of functions? ›

A few more examples of functions are: f(x) = sin x, f(x) = x2 + 3, f(x) = 1/x, f(x) = 2x + 3, etc. There are several types of functions in maths. Some important types are: Injective function or One to one function: When there is mapping for a range for each domain between two sets.

How to write composite functions? ›

The notation for function composition is h = f • g or h(x) = (f • g)(x) and is read as 'f of g of x'. The procedure is called composition because the new function is composed of the two given functions f and g, where one function is substituted into the other.

What kind of math is composite functions? ›

Composition is a binary operation that takes two functions and forms a new function, much as addition or multiplication takes two numbers and gives a new number. However, it is important not to confuse function composition with multiplication because, as we learned above, in most cases f(g(x))≠f(x)g(x).

What is the difference between composite and composition functions? ›

By definition, f∘g is the function such that for all x, (f∘g)(x)=f(g(x)). The RHS is the composition of f and g. The LHS is the composite function: the result of meshing f and g into a single function.

References

Top Articles
Latest Posts
Article information

Author: Cheryll Lueilwitz

Last Updated:

Views: 5857

Rating: 4.3 / 5 (74 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Cheryll Lueilwitz

Birthday: 1997-12-23

Address: 4653 O'Kon Hill, Lake Juanstad, AR 65469

Phone: +494124489301

Job: Marketing Representative

Hobby: Reading, Ice skating, Foraging, BASE jumping, Hiking, Skateboarding, Kayaking

Introduction: My name is Cheryll Lueilwitz, I am a sparkling, clean, super, lucky, joyous, outstanding, lucky person who loves writing and wants to share my knowledge and understanding with you.