MATHEMATICS · Single correct · CBSE · Mathematics · Relations and Functions · Relations and Functions
Problem
Let f(x)=∣x∣ and g(x)=x−2. Why does (f∘g)(1) differ from (g∘f)(1)?
(a) Because subtraction commutes with the absolute value function
(b) Because the absolute value is applied after subtraction in (f∘g) but before subtraction in (g∘f)
(c) Because ∣x∣ is undefined for negative numbers
(d) Because (g∘f) can be evaluated only for x>2, so it fails at x=1