Clear Notion Academy

JEE Main 2021, 16 March Shift 2, Q88 Mathematics PYQ: Let f:R and g:R be defined as f(x)= cases x+a, & x<0 |x-1|, & x 0 cases and g(x)= cases…

Question

[JEE Main 2021, 16 March Shift 2, Q88] Let f:R→Rf:\mathbf{R}\to\mathbf{R} and g:R→Rg:\mathbf{R}\to\mathbf{R} be defined as f(x)={x+a,x<0∣x−1∣,x≥0f(x)=\begin{cases}x+a, & x<0\\|x-1|, & x\ge0\end{cases} and g(x)={x+1,x<0(x−1)2+b,x≥0g(x)=\begin{cases}x+1, & x<0\\ (x-1)^2+b, & x\ge0\end{cases} where a,ba,b are non-negative real numbers. If (g∘f)(x)(g\circ f)(x) is continuous for all x∈Rx\in\mathbf{R}, then a+ba+b is equal to ____

Answer

Answer: 1

Hint

Write g∘fg\circ f piecewise and check continuity at the break points x=−ax=-a (where ff changes sign for x<0x<0) and x=0x=0.

Solution

Deconstruction\textbf{Deconstruction}: g∘f(x)=g(f(x))g\circ f(x)=g(f(x)) depends on whether f(x)<0f(x)<0 or f(x)≥0f(x)\ge0. For x≥0x\ge0, f(x)=∣x−1∣≥0f(x)=|x-1|\ge0, so (g∘f)(x)=(∣x−1∣−1)2+b(g\circ f)(x)=(|x-1|-1)^2+b, which is continuous. Trouble can only occur for x<0x<0 and at x=0x=0. Strategy\textbf{Strategy}: Split x<0x<0 at x=−ax=-a, then match the one-sided limits at x=−ax=-a and at x=0x=0. Execution\textbf{Execution}: Step 1: For x<0x<0: f(x)=x+af(x)=x+a. If x+a<0x+a<0 (i.e. x<−ax<-a) then (g∘f)(x)=x+a+1(g\circ f)(x)=x+a+1. If x+a≥0x+a\ge0 (i.e. −a≤x<0-a\le x<0) then (g∘f)(x)=(x+a−1)2+b(g\circ f)(x)=(x+a-1)^2+b. Step 2: Case a>0a>0, continuity at x=−ax=-a: left limit =1=1, value =(0−1)2+b=1+b=(0-1)^2+b=1+b. So b=0b=0. Step 3: Continuity at x=0x=0: left limit =(a−1)2+b=(a-1)^2+b; for x≥0x\ge0 the value is g(f(0))=g(1)=bg(f(0))=g(1)=b. So (a−1)2+b=b⇒a=1(a-1)^2+b=b\Rightarrow a=1. Step 4: Hence a=1a=1, b=0b=0 and a+b=1a+b=1. Step 5: Case a=0a=0: for x<0x<0, f(x)=x<0f(x)=x<0 so (g∘f)(x)=x+1→1(g\circ f)(x)=x+1\to1 as x→0−x\to0^-, while (g∘f)(0)=g(1)=b(g\circ f)(0)=g(1)=b. Continuity gives b=1b=1, so again a+b=1a+b=1. Step 6: In every admissible case a+b=1a+b=1. Verification\textbf{Verification}: For (a,b)=(1,0)(a,b)=(1,0) and (a,b)=(0,1)(a,b)=(0,1) a numerical test of the one-sided limits at x=−ax=-a, 00 and 11 shows no jump; other choices such as (1,1)(1,1), (0,0)(0,0), (2,0)(2,0) give jumps. Final Answer\textbf{Final Answer}: 11

More questions from JEE Main 2021 Mathematics PYQ

Practise the full set: JEE Main Mathematics PYQs 2021