Solveeit Logo

Question

Question: Find the value of k such that the function ‘f’ defined by \(f(x) = \left\\{ \begin{gathered} \df...

Find the value of k such that the function ‘f’ defined by f(x) = \left\\{ \begin{gathered} \dfrac{{k\cos x}}{{\pi - 2x}},x \ne \dfrac{\pi }{2} \\\ 3,x = \dfrac{\pi }{2} \\\ \end{gathered} \right. is continuous at x=π2x = \dfrac{\pi }{2}

Explanation

Solution

The function is said to be continuous at any given point means the function is defined at that point. We will find the right-hand limit and the left-hand limit of the function and they must be equal to the value of the function at the given point.

Complete step-by-step answer:
We have given a piecewise function:
f(x) = \left\\{ \begin{gathered} \dfrac{{k\cos x}}{{\pi - 2x}},x \ne \dfrac{\pi }{2} \\\ 3,x = \dfrac{\pi }{2} \\\ \end{gathered} \right.
The goal of the problem is to value kk, that makes the given function continuous.
As defined in the function if xπ2x \ne \dfrac{\pi }{2}, then the function is taken as:
f(x)=kcosxπ2xf\left( x \right) = \dfrac{{k\cos x}}{{\pi - 2x}}
First, we find the left-hand limit of the given function atx=π2x = \dfrac{\pi }{2}. That is,
LHL=limh0f(π2h)\mathop {LHL = \lim }\limits_{h \to 0} f\left( {\dfrac{\pi }{2} - h} \right)
Now choose the function at this argument:
LHL=limh0kcos(π2h)π2(π2h)LHL = \mathop {\lim }\limits_{h \to 0} \dfrac{{k\cos \left( {\dfrac{\pi }{2} - h} \right)}}{{\pi - 2\left( {\dfrac{\pi }{2} - h} \right)}}
Now, we can apply the following trigonometric identity:
cos(π2h)=sinh\cos \left( {\dfrac{\pi }{2} - h} \right) = \sinh
After putting the value we get:
LHL=limh0ksinh2hLHL = \mathop {\lim }\limits_{h \to 0} \dfrac{{k\sinh }}{{2h}}
Now, apply the following standard result of limits:
limh0sinhh=1\mathop {\lim }\limits_{h \to 0} \dfrac{{\sinh }}{h} = 1
After applying the result, we get the left hand limit as:
LHL=k2LHL = \dfrac{k}{2}
Now, we need to show that the left hand limit of the function is equal to the value of the function at the given point. SO, find the value of the function at x=π2x = \dfrac{\pi }{2}. As given in the problem that when x=π2x = \dfrac{\pi }{2}, then the function is given as f(x)=3f\left( x \right) = 3. Now, set the value of the function equal to the left hand limit.
LHL=Value of the function at π2LHL = {\text{Value of the function at }}\dfrac{\pi }{2}
Substitute the values:
k2=3\dfrac{k}{2} = 3
Now, we solve the equation and get the value of kk.
k=3×2=6k = 3 \times 2 = 6
So, the given function is continuous when k=6k = 6.

Note: While finding the right hand or the left-hand limit we must choose the correct function as the given function is a piecewise function. Any function has a limit at any point if the left hand limit and the right hand limit of the function is equal at that point.