Question
Find the value of a and b so that the function f(x) defind by $\text{f(x)}=\begin{cases}\text{x}+\text{a}\sqrt{2}\sin\text{x},&\text{if }0\leq\text{x}<\frac{\pi}{4}\\2\text{x}\cot\text{ x}+\text{b},&\text{if }\frac{\pi}{4}\leq\text{x}<\frac{\pi}{2}\\\text{a}\cos2\text{x}-\text{b}\sin\text{x},&\text{if }\frac{\pi}{2}\leq\text{x}\leq\pi\end{cases}$ becomes continuous on $[0,\pi]$

Answer

Given, f is continuous on $[0,\pi]$
$\therefore$ f is continuous at $\text{x }\frac{\pi}{4}$ and $\frac{\pi}{2}$
At $\text{x}=\frac{\pi}{4},$ we have
$\lim\limits_{\text{x}\rightarrow\frac{\pi}{4}^-}\text{f(x)}=\lim\limits_{\text{h}\rightarrow0}\Big(\frac{\pi}{4}-\text{h}\Big)\\=\lim\limits_{\text{h}\rightarrow0}\Big[\Big(\frac{\pi}{4}-\text{h}\Big)+\text{a}\sqrt{2}\sin\Big(\frac{\pi}{4}-\text{h}\Big)\Big]\\=\Big[\frac{\pi}{4}+\text{a}\sqrt{2}\sin\Big(\frac{\pi}{4}\Big)\Big]=\Big[\frac{\pi}{4}+\text{a}\Big]$
$\lim\limits_{\text{x}\rightarrow\frac{\pi}{4}^+}\text{f(x)}=\lim\limits_{\text{h}\rightarrow0}\Big(\frac{\pi}{4}+\text{h}\Big)\\=\lim\limits_{\text{h}\rightarrow0}\Big[2\Big(\frac{\pi}{4}+\text{h}\Big)\cot\Big(\frac{\pi}{4}+\text{h}\Big)+\text{b}\Big]\\=\Big[\frac{\pi}{2}\cot\Big(\frac{\pi}{4}\Big)+\text{b}\Big]=\Big[\frac{\pi}{2}+\text{b}\Big]$
At $\text{x}=\frac{\pi}{2},$ we have
$\lim\limits_{\text{x}\rightarrow\frac{\pi}{2}^-}\text{f(x)}=\lim\limits_{\text{h}\rightarrow0}\Big(\frac{\pi}{2}-\text{h}\Big)\\=\lim\limits_{\text{h}\rightarrow0}\Big[2\Big(\frac{\pi}{2}-\text{h}\Big)\cot\Big(\frac{\pi}{2}-\text{h}\Big)+\text{b}\Big]=\text{b}$
$\lim\limits_{\text{x}\rightarrow\frac{\pi}{2}^+}\text{f(x)}=\lim\limits_{\text{h}\rightarrow0}\Big(\frac{\pi}{2}+\text{h}\Big)\\=\lim\limits_{\text{h}\rightarrow0}\Big[\text{a}\cos2\Big(\frac{\pi}{2}+\text{h}\Big)-\text{b}\sin\Big(\frac{\pi}{2}+\text{h}\Big)\Big]=-\text{a}-\text{b}$
Since f is continuous at $\text{x}=\frac{\pi}{4}$ and $\text{x}=\frac{\pi}{2},$ we have
$\lim\limits_{\text{x}\rightarrow\frac{\pi}{2}^-}\text{f(x)}=\lim\limits_{\text{x}\rightarrow\frac{\pi}{2}^+}\text{f(x)}$ and $\lim\limits_{\text{x}\rightarrow\frac{\pi}{4}^-}\text{f(x)}=\lim\limits_{\text{x}\rightarrow\frac{\pi}{4}^+}\text{f(x)}$
$\Rightarrow-\text{b}-\text{a}=\text{b}$ and $\frac{\pi}{4}+\text{a}=\frac{\pi}{2}+\text{b}$
$\Rightarrow\text{b}=\frac{-\text{a}}{2}\ ...(\text{i})$ and $\frac{-\pi}{4}=\text{b}-\text{a}\ ...(\text{ii})$
$\Rightarrow\frac{-\pi}{4}=\frac{-3\text{a}}{2}$ [Substituting the value of b in eq. (ii)]
$\Rightarrow\text{a}=\frac{\pi}{6}$
$\Rightarrow\text{b}=\frac{-\pi}{12}$ [From eq. (i)]

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

Find the angle between the following pairs of lines:$\frac{\text{x}-2}{3}=\frac{\text{y}+3}{-2},\text{z}=5$ and $\frac{\text{x}+1}{1}=\frac{2\text{y}-3}{3}=\frac{\text{z}-5}{2}$
A bag contains $(2n + 1)$ coins. It is known that n of these coins have a head on both sides where as the rest of the coins are fair. A coin is picked up at random from the bag and is tossed. If the probability that the toss results in a head is $\frac{31}{42},$ determine the value of n.
Find the direction cosines of the line $\frac{\text{x}+2}{2}=\frac{2\text{y}-7}{6}=\frac{5-\text{z}}{6}.$ Also, find the vector equation of the line through the point A(-1, 2, 3) and parallel to the given line.
Differentiate the following functions with respect to x:
$\text{x}^{\text{x}^2-3}+(\text{x}-3)^{\text{x}^2}$
Find the inverse of the following matrices by using elementry row transformation:$\begin{bmatrix} 0 & 1 & 2 \\ 1 & 2 & 3 \\ 3 & 1 & 1 \end{bmatrix}$
Show that the maximum volume of the cylinder which can be inscribed in a sphere of radius $5\sqrt{3}\text{cm}$ is $500\pi\text{cm}^{3}$ .
Find the particular solution of the differential equation $\frac{\text{dy}}{\text{dx}}+2\text{y}\ \tan\text{x}=\sin\text{x},$ given that $\text{y}=0\ \text{when x}=\frac{\pi}{3}.$
Differentiate $\sin^{-1}\Big(2\text{x}\sqrt{1-\text{x}^2}\Big)$ with respect to $\sec^{-1}\Big(\frac{1}{\sqrt{1+\text{x}^2}}\Big),$ if:
$\text{x}\in\Big(0,\frac{1}{\sqrt{2}}\Big)$
Evaluate the following integrals:
$\int\limits^{\pi}_0\text{x}\log\sin\text{x}\text{ dx}$
Find $\text{y}=\text{Ae}^{-\text{kt}}\cos\text({pt}+\text{c})$prove that $\frac{\text{d}^2\text{y}}{\text{dt}^2}+2\text{k}\frac{\text{dy}}{\text{dt}}+\text{n}^2\text{y}=0,$Where $\text{n}^2=\text{p}^2+\text{k}^2.$