Solveeit Logo

Question

Question: If \(f(x) = \sqrt x \), \(x > 0\) and \(g(x) = {x^2} - 1\) are two real functions, find \(fog\) and ...

If f(x)=xf(x) = \sqrt x , x>0x > 0 and g(x)=x21g(x) = {x^2} - 1 are two real functions, find fogfog and gofgof. Is fog=gof?fog = gof?

Explanation

Solution

This is a problem which deals with composite functions in mathematics. A composite function is generally a function that is written inside another function. Composite of a function is done by substituting one function into another function. For example, f(g(x))f\left( {g(x)} \right) is the composite function of f(x)f(x) and g(x)g(x). The composite function f(g(x))f\left( {g(x)} \right) is read as “ff of gg of xx”. Similarly g(f(x))g\left( {f(x)} \right) is the composite function of g(x)g(x) and f(x)f(x). The composite function g(f(x))g\left( {f(x)} \right)is read as “gg of ff of xx”.

Complete step-by-step answer:
Given the function f(x)=xf(x) = \sqrt x , and here given that x>0x > 0, which means that the function f(x)f(x)is only defined for the numbers which are greater than zero. Here xx is any number which is greater than zero. And hence f(x)f(x) is a real function.
Also given that the function g(x)=x21g(x) = {x^2} - 1, and here given that g(x)g(x) is also a real function.
Here we have to find the composite functions which are fogfog and gofgof.
Here fogfog is a composite function, and is defined as the function f(x)f(x) of the function g(x)g(x) which is a function of x.x. This composite function is mathematically expressed below:
fog(x)=f(g(x))\Rightarrow fog(x) = f\left( {g(x)} \right)
Similarly gofgof is a composite function, and is defined as the function g(x)g(x) of the function f(x)f(x) which is a function of x.x. This composite function is mathematically expressed below:
gof(x)=g(f(x))\Rightarrow gof(x) = g\left( {f(x)} \right)
Now given that f(x)=xf(x) = \sqrt x and g(x)=x21g(x) = {x^2} - 1, substituting these functions in the composite functions.
Finding the composite function fogfog here, as given below:
fog(x)=f(g(x))\Rightarrow fog(x) = f\left( {g(x)} \right)
fog(x)=f(x21)\Rightarrow fog(x) = f\left( {{x^2} - 1} \right)
fog(x)=x21\Rightarrow fog(x) = \sqrt {{x^2} - 1}
Here substituting the function g(x)=x21g(x) = {x^2} - 1, inside the function f(x)f(x), and since the function of f(x)f(x) is root function, hence anything inside f(x)f(x) will be inside the root, as the defined function f(x)f(x).
Now finding the composite function gofgof here, as given below:
gof(x)=g(f(x))\Rightarrow gof(x) = g\left( {f(x)} \right)
gof(x)=g(x)\Rightarrow gof(x) = g\left( {\sqrt x } \right)
gof(x)=(x)21\Rightarrow gof(x) = \sqrt {{{\left( {\sqrt x } \right)}^2} - 1}
Here the expression (x)2=x{\left( {\sqrt x } \right)^2} = x, substituting this gives:
gof(x)=x1\Rightarrow gof(x) = \sqrt {x - 1}
Here substituting the function f(x)=xf(x) = \sqrt x , inside the function g(x)g(x), and since the function of g(x)g(x) is an under root function, hence anything inside g(x)g(x)will be inside the root, as the defined function g(x)g(x)
Hence the composite functions are obtained as given below:
fog(x)=x21\Rightarrow fog(x) = \sqrt {{x^2} - 1} ;
gof(x)=x1\Rightarrow gof(x) = \sqrt {x - 1}
foggof\therefore fog \ne gof

The composite functions are fog(x)=x21fog(x) = \sqrt {{x^2} - 1} and gof(x)=x1gof(x) = \sqrt {x - 1} , here foggoffog \ne gof.

Note:
Here while solving this problem please note that a composite function is 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.