Definite IntegrationmediumFree

∫ max(x+|x|, x−[x]) dx from −2 to 2 | JEE

JEE Maths question with a full step-by-step solution.

Question
22max(x+x, x[x])dx\displaystyle\int_{-2}^{2}\max\big(x+|x|,\ x-[x]\big)\,dx, where [x][x] denotes the greatest integer x\le x, equals
A44
B55correct
C66
D88
Solution
Step 1: Simplify each candidate. We have x+x={2x,x00,x<0x+|x|=\begin{cases}2x,&x\ge 0\\[2pt]0,&x<0\end{cases}, and x[x]={x}x-[x]=\{x\}, the fractional part, which always lies in [0,1)[0,1). Step 2: Determine the maximum on each side. For x0x\ge 0, 2xx{x}2x\ge x\ge\{x\}, so the maximum is 2x2x. For x<0x<0, x+x=0x+|x|=0 while {x}0\{x\}\ge 0, so the maximum is {x}\{x\}. Hence
max(x+x, x[x])={2x,x0{x},x<0.\max\big(x+|x|,\ x-[x]\big)=\begin{cases}2x,&x\ge 0\\[2pt]\{x\},&x<0.\end{cases}
Step 3: Integrate the x0x\ge 0 part:
022xdx=[x2]02=4.\int_{0}^{2}2x\,dx=\big[x^{2}\big]_{0}^{2}=4.
Step 4: Integrate the x<0x<0 part using {x}=x+2\{x\}=x+2 on [2,1)[-2,-1) and {x}=x+1\{x\}=x+1 on [1,0)[-1,0):
21(x+2)dx+10(x+1)dx=[x22+2x]21+[x22+x]10=12+12=1.\int_{-2}^{-1}(x+2)\,dx+\int_{-1}^{0}(x+1)\,dx=\left[\dfrac{x^{2}}{2}+2x\right]_{-2}^{-1}+\left[\dfrac{x^{2}}{2}+x\right]_{-1}^{0}=\dfrac12+\dfrac12=1.
Adding the two parts, 22max()dx=4+1=5.\displaystyle\int_{-2}^{2}\max(\cdots)\,dx=4+1=5. Correct answer: (2)
Still stuck on this question?Ask your doubt on WhatsApp
Similar questions

Solve more, learn faster

Sign up free to solve more JEE Maths questions and explore doMath — timed drills, mastery sprints, bookmarks, and chapter-wise progress tracking.