Solveeit Logo

Question

Question: How do you find \(\left[ {fog} \right]\left( x \right)\) and \(\left[ {gof} \right]\left( x \right)\...

How do you find [fog](x)\left[ {fog} \right]\left( x \right) and [gof](x)\left[ {gof} \right]\left( x \right) given f(x)=2x3f\left( x \right) = 2x - 3 and g(x)=x22xg\left( x \right) = {x^2} - 2x?

Explanation

Solution

Remember [fog](x)\left[ {fog} \right]\left( x \right) is nothing but the composite function in other words it is the product of f and g. [fog](x)\left[ {fog} \right]\left( x \right) can be written as f(g(x))f\left( {g\left( x \right)} \right). First substitute the value of g and then substitute the value in f.

Complete step-by-step answer:
The objective of the problem is to find the [fog](x)\left[ {fog} \right]\left( x \right) and [gof](x)\left[ {gof} \right]\left( x \right).
Given functions are , f(x)=2x3f\left( x \right) = 2x - 3 , g(x)=x22xg\left( x \right) = {x^2} - 2x
Before finding the [fog](x)\left[ {fog} \right]\left( x \right) and [gof](x)\left[ {gof} \right]\left( x \right) let us know about the functions and composite functions.
About functions : Let A and B be two non empty sets. A function f from A to B , denoted by f:ABf:A \to B is a rule that assigns each member of A an unique member of B. here A is called the domain off while B is called the co domain of f . the set of all those members of B that are assigned by the rule f to some member of A is called the range of f.
Composite function : Suppose f is a mapping from A into B , and g is mapping from B into C. Let aAa \in A , then f(a)Bf\left( a \right) \in B. Therefore, f(a)f\left( a \right) is an element in the domain of g. we can find the g image of f(a)f\left( a \right) which is written as g(f(a))g\left( {f\left( a \right)} \right). So g(f(a))g\left( {f\left( a \right)} \right) is defined. We therefore have a rule to assign each aAa \in A, uniquely g(f(a))g\left( {f\left( a \right)} \right) in C. thus we have a new function from A into C. this new function is called the composite function of f and g is defined by gofgof . The composite function is also called the product of f and g.
Now we find [fog](x)\left[ {fog} \right]\left( x \right)
We can write [fog](x)\left[ {fog} \right]\left( x \right) as f(g(x))f\left( {g\left( x \right)} \right).
Substitute the value g(x)=x22xg\left( x \right) = {x^2} - 2x , we get
f(g(x))=f(x22x)f\left( {g\left( x \right)} \right) = f\left( {{x^2} - 2x} \right)
Now substitute x22x{x^2} - 2x in the place of x in f(x)=2x3f\left( x \right) = 2x - 3, we get
f(g(x))=f(x22x) =2(x22x)3  f\left( {g\left( x \right)} \right) = f\left( {{x^2} - 2x} \right) \\\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, = 2\left( {{x^2} - 2x} \right) - 3 \\\
On simplifying above equation we get
2x24x3\Rightarrow 2{x^2} - 4x - 3
Therefore , [fog](x)=2x24x3\left[ {fog} \right]\left( x \right) = 2{x^2} - 4x - 3
Similarly we now find [gof](x)\left[ {gof} \right]\left( x \right)
We can write [gof](x)\left[ {gof} \right]\left( x \right) as g(f(x))g\left( {f\left( x \right)} \right).
Substitute the value f(x)=2x3f\left( x \right) = 2x - 3 , we get
g(f(x))=g(2x3)g\left( {f\left( x \right)} \right) = g\left( {2x - 3} \right)
Now substitute 2x32x - 3 in the place of x ing(x)=x22xg\left( x \right) = {x^2} - 2x, we get
g(f(x))=g(2x3) =[2x3]22[2x3]  g\left( {f\left( x \right)} \right) = g\left( {2x - 3} \right) \\\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, = {\left[ {2x - 3} \right]^2} - 2\left[ {2x - 3} \right] \\\
On simplifying above equation we get
[2x3]22[2x3] (2x)22(2x)(3)+(3)22(2x)+2(3) 4x212x+94x+6 4x216x+15  \Rightarrow {\left[ {2x - 3} \right]^2} - 2\left[ {2x - 3} \right] \\\ \Rightarrow {\left( {2x} \right)^2} - 2\left( {2x} \right)\left( 3 \right) + {\left( 3 \right)^2} - 2\left( {2x} \right) + 2\left( 3 \right) \\\ \Rightarrow 4{x^2} - 12x + 9 - 4x + 6 \\\ \Rightarrow 4{x^2} - 16x + 15 \\\
Therefore , [gof](x)=4x216x+15\left[ {gof} \right]\left( x \right) = 4{x^2} - 16x + 15.

Note: In the product function gofgof the co domain of f is the domain of g. The domain of gofgof is the domain of f. The co domain of gofgof and g is the same set.