Join the Most Relevant JEE Main 2025 Test Series & get 99+ percentile! Join Now
Search any question & find its solution
Question: Answered & Verified by Expert
Let $f(x)=\max \{x+|x|, x-[x]\}, \quad$ where $\quad \mid x]$ denotes the greateat integer $\leq x$. Then, the value of $\int_{-3}^{3} f(x) d x$ is
MathematicsDefinite IntegrationWBJEEWBJEE 2014
Options:
  • A 0
  • B $51 / 2$
  • C $21 / 2$
  • D 1
Solution:
2927 Upvotes Verified Answer
The correct answer is: $21 / 2$
Given, $f(x)=\max \{x+|x|, x-[x]\}$
$$
\begin{aligned}
=\left\{\begin{array}{ll}
2 x, & x \geq 0 \\
x-[x], & x \leq 0
\end{array}\right.\\
\begin{aligned}
\int_{-3}^{3} f(x) d x &=\int_{-3}^{0} x-[x] d x+\int_{0}^{3} 2 x d x \\
&=3 \int_{-1}^{0}(1+x) d x+2 \int_{0}^{3} x d x
\end{aligned}
\end{aligned}
$$
[$\because$ $x-[x]$ is a periodic function at $x=1]$
$$
\begin{array}{l}
=3\left[x+\frac{x^{2}}{2}\right]_{-1}^{0}+2\left[\frac{x^{2}}{2}\right]_{0}^{3} \\
=3\left[0-0-\left(-1+\frac{1}{2}\right)\right]+3^{2}-0 \\
=3\left[\frac{1}{2}\right]+9=\frac{3}{2}+9 \\
=\frac{21}{2}
\end{array}
$$

Looking for more such questions to practice?

Download the MARKS App - The ultimate prep app for IIT JEE & NEET with chapter-wise PYQs, revision notes, formula sheets, custom tests & much more.