
How do you compute $\left( {f \circ g} \right)$ and $\left( {g \circ f} \right)$ if $g(x) = {x^2} - 8$ , $f(x) = {\left( { - x + 1} \right)^{\dfrac{1}{2}}}$ ?
Answer
540k+ views
Hint: Here we will compute the given function by using composition of a function. Let there be two functions $f$ and $g$. Let us note that the co domain of $f$ and the domain of $g$ are the same. Let us cut off $g$ and paste it on the function $f$.
Let $f:X \to Y$ and $g :Y \to Z$ be two functions. Then the function $h :X \to Z$ defined as $h(x) = g\left( {f(x)} \right)$ for every $x \in X$ is called the composition of $f$ with $g$. It is denoted by $g \circ f$ (Read this as $f$ composite with $g$ ).
Complete step-by-step solution:
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.
Let us understand what we need to do for $\left( {f \circ g} \right)(x)$ and $\left( {g \circ f} \right)(x)$. Before moving ahead let us understand evaluating a function.
We can see for evaluating we just plug in place of $x$ ,
$f\left( {g(x)} \right)$ is same as $\left( {f \circ g} \right)(x)$
$\left( {f \circ g} \right)(x) = f\left( {g(x)} \right)$-------(1)
$\left( {g \circ f} \right)(x) = g\left( {f(x)} \right)$-------(2)
Let us use the same thing on our problem,
$f(x) = {\left( { - x + 1} \right)^{\dfrac{1}{2}}}$ and $g(x) = {x^2} - 8$
Using (1) we get,
$\left( {f \circ g} \right)(x) = {\left( { - g(x) + 1} \right)^{\dfrac{1}{2}}}$
Now we substitute the value of $g(x) = {x^2} - 8$ in above equation we get,
$ \Rightarrow {\left( { - ({x^2} - 8) + 1} \right)^{\dfrac{1}{2}}}$
$ \Rightarrow {\left( { - {x^2} + 8 + 1} \right)^{\dfrac{1}{2}}}$
$\left( {f \circ g} \right)(x) = {\left( { - {x^2} + 9} \right)^{\dfrac{1}{2}}}$
Now the other composition $\left( {g \circ f} \right)(x)$ ,
$\left( {g \circ f} \right)(x) = {\left( {f(x)} \right)^2} - 8$
$ \Rightarrow {\left( {{{( - x + 1)}^{\dfrac{1}{2}}}} \right)^2} - 8$
Simplified the above term we get,
$ \Rightarrow - x + 1 - 8$
$ \Rightarrow - x - 7$
$\left( {g \circ f} \right)(x) = - \left( {x + 7} \right)$
Therefore $\left( {f \circ g} \right)(x) = {\left( { - g(x) + 1} \right)^{\dfrac{1}{2}}}$ and $\left( {g \circ f} \right)(x) = - \left( {x + 7} \right)$.
Note: Combining two functions by substituting one function’s formula in place of each $x$ in the other function’s formula. The composition of functions $f$ and $g$ is written $f \circ g$. And it read “ $f$ composed with $g$ “. Sometimes forget where each of the functions is defined before composing functions, which can lead to non-existing results. We also sometimes forget that composition is not a commutative operation that is $f \circ g \ne g \circ f$.
Let $f:X \to Y$ and $g :Y \to Z$ be two functions. Then the function $h :X \to Z$ defined as $h(x) = g\left( {f(x)} \right)$ for every $x \in X$ is called the composition of $f$ with $g$. It is denoted by $g \circ f$ (Read this as $f$ composite with $g$ ).
Complete step-by-step solution:
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.
Let us understand what we need to do for $\left( {f \circ g} \right)(x)$ and $\left( {g \circ f} \right)(x)$. Before moving ahead let us understand evaluating a function.
We can see for evaluating we just plug in place of $x$ ,
$f\left( {g(x)} \right)$ is same as $\left( {f \circ g} \right)(x)$
$\left( {f \circ g} \right)(x) = f\left( {g(x)} \right)$-------(1)
$\left( {g \circ f} \right)(x) = g\left( {f(x)} \right)$-------(2)
Let us use the same thing on our problem,
$f(x) = {\left( { - x + 1} \right)^{\dfrac{1}{2}}}$ and $g(x) = {x^2} - 8$
Using (1) we get,
$\left( {f \circ g} \right)(x) = {\left( { - g(x) + 1} \right)^{\dfrac{1}{2}}}$
Now we substitute the value of $g(x) = {x^2} - 8$ in above equation we get,
$ \Rightarrow {\left( { - ({x^2} - 8) + 1} \right)^{\dfrac{1}{2}}}$
$ \Rightarrow {\left( { - {x^2} + 8 + 1} \right)^{\dfrac{1}{2}}}$
$\left( {f \circ g} \right)(x) = {\left( { - {x^2} + 9} \right)^{\dfrac{1}{2}}}$
Now the other composition $\left( {g \circ f} \right)(x)$ ,
$\left( {g \circ f} \right)(x) = {\left( {f(x)} \right)^2} - 8$
$ \Rightarrow {\left( {{{( - x + 1)}^{\dfrac{1}{2}}}} \right)^2} - 8$
Simplified the above term we get,
$ \Rightarrow - x + 1 - 8$
$ \Rightarrow - x - 7$
$\left( {g \circ f} \right)(x) = - \left( {x + 7} \right)$
Therefore $\left( {f \circ g} \right)(x) = {\left( { - g(x) + 1} \right)^{\dfrac{1}{2}}}$ and $\left( {g \circ f} \right)(x) = - \left( {x + 7} \right)$.
Note: Combining two functions by substituting one function’s formula in place of each $x$ in the other function’s formula. The composition of functions $f$ and $g$ is written $f \circ g$. And it read “ $f$ composed with $g$ “. Sometimes forget where each of the functions is defined before composing functions, which can lead to non-existing results. We also sometimes forget that composition is not a commutative operation that is $f \circ g \ne g \circ f$.
Recently Updated Pages
A man running at a speed 5 ms is viewed in the side class 12 physics CBSE

The number of solutions in x in 02pi for which sqrt class 12 maths CBSE

State and explain Hardy Weinbergs Principle class 12 biology CBSE

Write any two methods of preparation of phenol Give class 12 chemistry CBSE

Which of the following statements is wrong a Amnion class 12 biology CBSE

Differentiate between action potential and resting class 12 biology CBSE

Trending doubts
What are the major means of transport Explain each class 12 social science CBSE

Which are the Top 10 Largest Countries of the World?

Draw a labelled sketch of the human eye class 12 physics CBSE

How much time does it take to bleed after eating p class 12 biology CBSE

Explain sex determination in humans with line diag class 12 biology CBSE

Explain sex determination in humans with the help of class 12 biology CBSE

