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 the function $f(x)=\left\{\begin{array}{cl}\frac{1-\cos x}{x^{2}}, & \text { for } x \neq 0 \\ k, & \text { for } x=0\end{array}\right.$ is continuous at $x=0$, then the value of $k$ is
MathematicsContinuity and DifferentiabilityCOMEDKCOMEDK 2020
Options:
  • A 0
  • B 1
  • C $-1$
  • D $1 / 2$
Solution:
1904 Upvotes Verified Answer
The correct answer is: $1 / 2$
We have,
$$
f(x)=\left\{\begin{array}{cl}
\frac{1-\cos x}{x^{2}}, & x \neq 0 \\
k, & x=0
\end{array}\right.
$$
Since, $f(x)$ is continuous at $x=0$, then
$f(0)=\lim _{x \rightarrow 0} f(x) \Rightarrow k=\lim _{x \rightarrow 0} \frac{1-\cos x}{x^{2}}$
$\Rightarrow \quad k=\lim _{x \rightarrow 0} \frac{\sin x}{2 x} \quad$ [using L' Hospital Rule]
$\Rightarrow \quad k=\frac{1}{2}$

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.