Question Video: Composition of Three Functions | Nagwa Question Video: Composition of Three Functions | Nagwa

Question Video: Composition of Three Functions Mathematics • Second Year of Secondary School

Given 𝑓(𝑥) = 𝑥 − 4, 𝑔(𝑥) = 𝑥², and ℎ(𝑥) = 2𝑥, evaluate 𝑓(𝑔(ℎ(3))).

02:52

Video Transcript

Given 𝑓 of 𝑥 equals 𝑥 minus four, 𝑔 of 𝑥 equals 𝑥 squared, and ℎ of 𝑥 equals two 𝑥, evaluate 𝑓 of 𝑔 of ℎ of three.

In this question, three functions, 𝑓, 𝑔, and ℎ of 𝑥, have been defined. We’ve been asked to evaluate 𝑓 of 𝑔 of ℎ of three. But what does this mean? Well, 𝑓 of 𝑔 of ℎ of 𝑥 is a composite function. When we write composite functions like this, we work from right to left, from the function closest to the input backwards. So, this notation is asking us to take an input value of three, apply the function ℎ to it, then apply the function 𝑔 to the result, and finally apply the function 𝑓 to the result of this. We can do this step by step.

Let’s begin then by evaluating ℎ of three. ℎ of 𝑥 is the function two 𝑥; it takes an input value and multiply it by two. So, ℎ of three is two times three, which is equal to six. Next, we’re going to apply the function 𝑔. But we’re going to apply it to the value of ℎ of three. ℎ of three was six. So, 𝑔 of ℎ of three is the same as 𝑔 of six. Now, 𝑔 of 𝑥 is the function which takes an input value and squares it. So, 𝑔 of six is six squared, which is 36.

We’ve now found then that 𝑔 of ℎ of three is 36. And we just need to apply the function 𝑓. So, applying 𝑓 to this value of 𝑔 of ℎ of three gives 𝑓 of 36. 𝑓 is the function which takes its input value and subtracts four. So, 𝑓 of 36 is 36 minus four, which is 32. So, by taking the input value three, applying the function ℎ, then the function 𝑔, and then the function 𝑓, we found that 𝑓 of 𝑔 of ℎ of three for the three given functions is 32.

It’s worth mentioning that we could also have taken a different approach to this question. We could have found an algebraic expression for the composite function 𝑓 of 𝑔 of ℎ of 𝑥 by composing the three functions algebraically. And we could then have substituted 𝑥 equals three at the end and evaluated this. But this would’ve been more complicated, and there would’ve been more room for error than the method we chose, which was to substitute 𝑥 equals three at the beginning and then apply each function. Once again, we found that 𝑓 of 𝑔 of ℎ of three is equal to 32.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy