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}{cl}\frac{\left.x^{2}-(a+2) x+a\right)}{x-2} & x \neq 2 \\ 2 & , x=2\end{array} \quad\right.$ is continuous at $x=2$, then the value of $a$ is
MathematicsContinuity and DifferentiabilityKCETKCET 2012
Options:
  • A $-6$
  • B 0
  • C 1
  • D $-1$
Solution:
2682 Upvotes Verified Answer
The correct answer is: 0
Given, $\mathrm{f}(\mathrm{x})=\left\{\begin{array}{cc}\frac{\mathrm{x}^{2}-(\mathrm{a}+2) \mathrm{x}+\mathrm{a}}{\mathrm{x}-2}, & \mathrm{x} \neq 2 \\ 2 & , x=2\end{array}\right.$
$$
\begin{aligned}
&\lim _{x \rightarrow 2} \frac{x^{2}-(a+2) x+a}{x-2} \\
&=\lim _{x \rightarrow 2} \frac{2 x-(a+2)}{1} \text { (by L. Hospital's rule) } \\
&=2 \times 2-a-2 \\
&=2-a
\end{aligned}
$$
Since, $f(x)$ is continuous at $x=2$, therefore
$\lim _{x \rightarrow 2} f(x)=f(2)$
$\begin{aligned} \therefore & 2-a &=2 \\ \Rightarrow & a &=0 . \end{aligned}$

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.