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
If $f(x)=\left\{\begin{array}{cc}{[x]+[-x],} & x \neq 2 \\ K, & x=2\end{array}\right.$, then $f(x)$ is continuous at $x=2$, provided $K$ is equal to
MathematicsContinuity and DifferentiabilityJEE Main
Options:
  • A 2
  • B $1 \quad$
  • C $-1 \quad$
  • D 0
Solution:
1161 Upvotes Verified Answer
The correct answer is: $-1 \quad$
$f(x)=\left\{\begin{array}{cc}{[x]+[-x],} & x \neq 2 \\ K, & x=2\end{array}\right.$
Since, $f(x)$ is continuous at $x=2$
$\therefore \lim _{x \rightarrow 2^{-}} f(x)=\lim _{x \rightarrow 2^{+}} f(x)=f(2)$
Now, $\lim _{x \rightarrow 2^{-}} f(x)=\lim _{x \rightarrow 2}[x]+[-x]$
$=1+(-2)=-1$
$\quad \lim _{x \rightarrow 2^{+}} f(x)=\lim _{x \rightarrow 2^{+}}[x]+[-x]=2-3=-1$
$\Rightarrow \quad K=-1$

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.