Skip to content
dronacharya.ai
JEE Main 2022MathematicsSingle correct+4 / -1

JEE Main 2022 Maths Q8: Composition and inverse functions

From the JEE Main 2022 · 26 Jul · Shift 1 paper. Try it, check your answer, then read the worked solution below.

If f(x)={x+a,x≤0∣x−4∣,x>0f(x)=\begin{cases}x+a, & x\le0\\|x-4|, & x>0\end{cases} and g(x)={x+1,x<0(x−4)2+b,x≥0g(x)=\begin{cases}x+1, & x<0\\(x-4)^2+b, & x\ge0\end{cases} are continuous on R\mathbf R, then (g∘f)(2)+(f∘g)(−2)(g\circ f)(2)+(f\circ g)(-2) is equal to :

Choose one option

Answer and worked solution

Try it yourself first, then check your working against this.

Official answerD

Worked solution

Continuity. ff: a=4a=4. gg: 1=16+b1=16+b, b=−15b=-15.

Values. g(f(2))=g(2)=4−15=−11g(f(2))=g(2)=4-15=-11; f(g(−2))=f(−1)=3f(g(-2))=f(-1)=3. Sum −8-8.

(D)

Concepts used: piecewise composition

Practise this topic

Every past question tagged to the same part of the syllabus, with solutions.

Similar questions from other papers

Past questions on the same topic (Composition and inverse functions), each with a worked solution.

full papers
217
questions
18,571
worked solutions
18,550

Sit a paper tonight. See exactly where you stand.

Timed, in the real format, and marked the moment you submit.