Question
Mathematics Question on Continuity and differentiability
Find the values of k so that the function f is continuous at the indicated point.
f(x)=\left\\{\begin{matrix} kx+1, &if\, x\leq\pi \\\ cos\,x,&if\,x>\pi \end{matrix}\right.\,at\,x=\pi
Answer
The given function is
f(x)=\left\\{\begin{matrix} kx+1, &if\, x\leq\pi \\\ cos\,x,&if\,x>\pi \end{matrix}\right.
The given function f is continuous at x=p, if f is defined at x=p and if the value of the f at x=p equals the limit of f at x=p.
It is evident that f is defined at x=p and f(π)=kπ+1
limx→π− f(x)=limx→π+f(x)=f(π)
\Rightarrow$$\lim_{x\rightarrow\pi^-}(kx+1)=limx→π+cosx=kπ+1
⇒kπ+1=cosπ=kπ+1
⇒kπ+1=-1=kπ+1
k=π−2
Therefore, the required value of k is π−2.