Question
Question: If the function \[f(x) = \left\\{ {\begin{array}{*{20}{c}} {\dfrac{{\sqrt {2 + cosx} - 1}}{{{{(\...
If the function f(x) = \left\\{ {\begin{array}{*{20}{c}}
{\dfrac{{\sqrt {2 + cosx} - 1}}{{{{(\pi - x)}^2}}}}&{;x \ne \pi } \\\
k&{;x = \pi }
\end{array}} \right. is continuous atx=π, then k equals:
A) 0
B) 21
C) 2
D) 41
Solution
Here first we will evaluate the limit at x=π of the function f(x) when x=π and then equate it with k to get its value as the given function is continuous.
L’ hospital rule states that if on evaluating the limit of a function we get an indeterminate form i.e. 00or∞∞ then we need to differentiate the numerator and the denominator of the function separately and then apply the limit to get the answer.
Complete step-by-step answer:
The given function is:-
= \dfrac{{\sqrt 1 - 1}}{{{{(\pi - \pi )}^2}}} \\
= \dfrac{0}{0} \\
\dfrac{d}{{dx}}\left( {{x^n}} \right) = n{x^{n - 1}} \\
\dfrac{d}{{dx}}\left( {\cos x} \right) = - \sin x \\
\mathop {\lim }\limits_{x \to \pi } \dfrac{{\sqrt {2 + cosx} - 1}}{{{{(\pi - x)}^2}}} = \mathop {\lim }\limits_{x \to \pi } \dfrac{{\sin x}}{{2\sqrt {2 + cosx} .\left( {2\left( {\pi - x} \right)} \right)}} \\
\Rightarrow \mathop {\lim }\limits_{x \to \pi } \dfrac{{\sqrt {2 + cosx} - 1}}{{{{(\pi - x)}^2}}} = \mathop {\lim }\limits_{x \to \pi } \dfrac{{\sin x}}{{4\sqrt {2 + cosx} .\left( {\pi - x} \right)}} \\
Now since the given function is continuous at x=π
Therefore, we will equate the value so obtained with the value of function when x=π
On equating we get:-
k=41
Therefore, option D is the correct option.
Note: Students should take note that:
A function f is continuous when, for every value a in its domain the function is defined i.e.
f(a) is defined and x→alimf(x)=f(a).
Also, we have to apply the L’ hospital rule until the indeterminate form gets removed on evaluating the limit.