Question:medium

If \(f:R\rightarrow R\) and \(g:R\rightarrow R\) are defined as \(f(x) = 2x-|x|\) and \(g(x) = 2x+|x|\), then

Show Hint

Write \(f\) and \(g\) piecewise, then evaluate the compositions.
Updated On: Oct 1, 2026
  • \((fog)(2)+(gof)(2) = 0\)
  • \((fog)(2)-(gof)(-2) = 0\)
  • \((fog)(2)-(fog)(-2) = 0\)
  • \((gof)(2)+(gof)(-2) = 0\)
Show Solution

The Correct Option is D

Solution and Explanation

Step 1: Simplify the compositions
For $x>0$: $g(f(x))=g(x)=3x$. For $x<0$: $g(f(x))=g(3x)=3x$. So $g\circ f(x)=3x$ for all $x$.

Step 2: Check (D)
$(g\circ f)(2)+(g\circ f)(-2)=6+(-6)=0$, so option (D) is true.

Final Answer:
Only (D) gives zero, option (D). \[ \boxed{\text{(D)}} \]
Was this answer helpful?
0