Medium MCQ +4 / -1 PYQ · JEE Mains 2022

If $$f(x) = \left\{ {\matrix{ {x + a} & , & {x \le 0} \cr {|x - 4|} & , & {x > 0} \cr } } \right.$$ and $$g(x) = \left\{ {\matrix{ {x + 1} & , & {x < 0} \cr {{{(x - 4)}^2} + b} & , & {x \ge 0} \cr } } \right.$$ are continuous on R, then $(gof)(2) + (fog)( - 2)$ is equal to :

  1. A $-$10
  2. B 10
  3. C 8
  4. D $-$8 Correct answer

Solution

<p>$$f(x) = \left\{ {\matrix{ {x + a} & , & {x \le 0} \cr {|x - 4|} & , & {x > 0} \cr } } \right.$$ and $$g(x) = \left\{ {\matrix{ {x + 1} & , & {x < 0} \cr {{{(x - 4)}^2} + b} & , & {x \ge 0} \cr } } \right.$$</p> <p>$\because$ $f(x)$ and $g(x)$ are continuous on R</p> <p>$\therefore$ $a = 4$ and $b = 1 - 16 = - 15$</p> <p>then $(gof)(2) + (fog)( - 2)$</p> <p>$= g(2) + f( - 1)$</p> <p>$= - 11 + 3 = - 8$</p>

About this question

Subject: Mathematics · Chapter: Limits, Continuity and Differentiability · Topic: Limits and Standard Results

This question is part of PrepWiser's free JEE Main question bank. 162 more solved questions on Limits, Continuity and Differentiability are available — start with the harder ones if your accuracy is >70%.

Drill 25 more like these. Every day. Free.

PrepWiser turns these solved questions into a daily practice loop. Chapter-wise drills, full mocks, AI doubt chat. No auto-renew.

Start free →