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 equation of the line passing through the points $\hat{\text{i}}+\hat{\text{j}}-3\hat{\text{k}}$ and perpendicular to the lines $\vec{\text{r}}=\hat{\text{i}}+\lambda\big(2\hat{\text{i}}+\hat{\text{j}}-3\hat{\text{k}}\big)$ and $\vec{\text{r}}=\big(2\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}}\big)+\mu\big(\hat{\text{i}}+\hat{\text{j}}+\hat{\text{k}}\big).$
If $f : Q \rightarrow Q, g : Q \rightarrow Q$ are two functions defined by $f(x) = 2x$ and $g(x) = x + 2,$ show that $f$ and $g$ are bijective maps. Verify that $(gof)^{-1} = f^{-1}og^{-1}.$
Find the direction cosines of the sides of the triangle whose vertices are (3, 5, –4), (–1, 1, 2) and (–5, –5, –2).
By computing the shortest distance determine whether the following pairs of lines intersect or not:
$\frac{\text{x}-1}{2}=\frac{\text{y}+1}{3}=\text{z}$ and $\frac{\text{x}+1}{5}=\frac{\text{y}-2}{1};\text{z}=2$
A bank pays interest by continuous compounding, that is, by treating the interest rate as the instantaneous rate of change of principal. Suppose in an account interest accrues at 8% per year, compounded continuously. Calculate the percentage increase in such an account over one year.
If the co-ordinates of the vertices of an equilateral triangle with sides of length ‘a’ are $(x_1, y_1), (x_2, y_2)$ and $(x_3, y_3)$, then $\begin{vmatrix}\text{x}_1&\text{y}_1&1\\\text{x}_1&\text{y}_2&1\\\text{x}_2 &\text{y}_3&1\end{vmatrix}^2=\frac{3\text{a}^4}{4}.$
Find the general solution of $\left(1+x^{2}\right) d y+2 x y d x=\cot x d x(x \neq 0)$
Solve the following differential equation
$\text{e}^{\frac{\text{dy}}{\text{dx}}}=\text{x}+1;\text{y}(0)=3$
If for function $\phi(\text{x})=\lambda\text{x}^2+7\text{x}-4, \phi(5)=97,$ find $\lambda.$
In each of the show that the given differential equation is homogeneous and solve each of them. $(\text{x}-\text{y})\ \text{dy}- (\text{x}+\text{y})\ \text{dx}=0$