Find gof and fog, if

(i) f (x) = | x | and g(x) = | 5x – 2 |

(i) f(x) = |x| and g(x) = |5x -2|

Then, (gof)(x) = g (f(x)) = g(|x|) = |5|x|-2|


(fog)(x) = f(g(x)) = f (|5x -2 |) = ||5x -2 || = |5x -2 |


3