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}$

Solve the following differential equation
$\sqrt{\text{a}+\text{x}}\text{dy}+\text{x dx}=0$
An urn contains 25 balls of which 10 balls bear a mark 'X' and the remaining 15 bear a mark 'Y'. A ball is drawn at random from the urn, its mark is noted down and it is replaced. If 6 balls are drawn in this way, find the probability that.
  1. All will bear 'X' mark.
  2. Not more than 2 will bear 'Y' mark.
  3. At least one ball will bear 'Y' mark.
  4. The number of balls with 'X' mark and 'Y' mark will be equal.​​​​​​​
If $\text{x}=\text{a}\sin\text{t}\ \text{and}\ \text{y}=\text{a}(\cos\text{t}+\log\tan\frac{\text{t}}{2}),$ find $\frac{\text{d}^2\text{y}}{\text{dx}^2}$
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}.$
Show that if x2 – 5x + 6 = 0, then x = 3 or x = 2
Prove that the given vectors are non-coplanar:
$\hat{\text{i}}+2\hat{\text{j}}+3\hat{\text{k}},\ 2\hat{\text{i}}+\hat{\text{j}}+3\hat{\text{k}}$ and $\hat{\text{i}}+\hat{\text{j}}+\hat{\text{k}}$
Evaluate the following intregals:
$\int\frac{\text{x}}{\sqrt{\text{x}^2+6\text{x}+10}}\ \text{dx}$
Without expanding, show that the values of the following determinant are zero:
$\begin{vmatrix}1&\text{a}&\text{a}^2-\text{bc}\\1&\text{b}&\text{b}^2-\text{ac}\\1&\text{c}&\text{c}^2-\text{ab} \end{vmatrix}$
If $\text{f}(\text{a}+\text{b}-\text{x})=\text{f(x)},$ then prove that, $\int\limits^{\text{b}}_{\text{a}}\text{xf}(\text{x})\text{dx}=\Big(\frac{\text{a}+\text{b}}{2}\Big)\int\limits^{\text{b}}_{\text{a}}\text{f}(\text{x})\text{dx}$