Question
Solve the following initial value problems $\tan\text{x}\Big(\frac{\text{dy}}{\text{dx}}\Big)=2\text{x}\tan\text{x}+\text{x}^2-\text{y},\tan\text{x}\neq0$ given that y = 0 when $\text{x}=\frac{\pi}{2}$

Answer

We have,
$\tan\text{x}\Big(\frac{\text{dy}}{\text{dx}}\Big)=2\text{x}\tan\text{x}+\text{x}^2-\text{y}$
$\Rightarrow\frac{\text{dy}}{\text{dx}}+\frac{1}{\tan\text{x}}\text{y}=\frac{2\text{x}\tan\text{x}+\text{x}^2}{\tan\text{x}}$
$\Rightarrow\frac{\text{dy}}{\text{dx}}+(\cot\text{x})\text{y}=2\text{x}+\text{x}^2\cot\text{x}$
This is a linear differential equation of the form $\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
Integrating factor,
$\text{ I.F.}=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{\int\cot\text{x dx}}$
$=\text{e}^{\log\sin\text{x}}$
$=\sin\text{x}$
The solution of the given differential equation is given by
$\text{y}\times(\text{I.F.})=\int\text{Q}\times(\text{I.F.})\text{ dx}+\text{C}$
$\Rightarrow\text{y}\times\sin\text{x}=\int(2\text{x}+\text{x}^2\cot\text{x})\sin\text{x dx}+\text{C}$
$\Rightarrow\text{y}\sin\text{x}=\int2\text{x}\sin\text{x dx}+\int\text{x}^2\cos\text{x dx}+\text{C}$
$\Rightarrow\text{y}\sin\text{x}=\int2\text{x}\sin\text{x dx}+\Big[\text{x}^2\int\cos\text{x dx}-\int\Big(\frac{\text{d}}{\text{dx}}\text{x}^2\times\int\cos\text{x dx} \Big)\text{dx}\Big]$
$\Rightarrow\text{y}\sin\text{x}=\int2\text{x}\sin\text{x dx} +\text{x}^2\sin\text{x}-\int2\text{x}\sin\text{x dx}+\text{C}$
$\Rightarrow\text{y}\sin\text{x}=\text{x}^2\sin\text{x}+\text{C}$
$\Rightarrow\text{y}=\text{x}^2+\text{coses x}\times\text{C}\ ....(1)$
It is given that y = 0 when $\text{x}=\frac{\pi}{2}$
$\therefore\ 0=\big(\frac{\pi}{2}\Big)^2+\text{coses}\frac{\pi}{2}\times\text{C}$
$\Rightarrow\text{C}=-\frac{\pi^2}{4}$
Puttuing $\text{C}=-\frac{\pi^2}{4}$ in (1) we get
$\text{y}=\text{x}^2-\frac{\pi^2}{4}\text{coses x}$
Hence, $\text{y}=\text{x}^2-\frac{\pi^2}{4}\text{coses x}$ is the required solution.

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

$\text{Find:}\int \frac{\text{x}\ \text{dx}}{(2 + \text{x}^{\text{2}}) (4 + \text{e}^{4\text{}})}$
Evaluate $\int_{-1}^1 5 x^4 \sqrt{x^5+1} d x$.
Show that the following set of curves intersect orthogonally.
$x^3 - 3xy^2 = -2$ and $3x^2y - y^3 = 2$
Show that the points (3, 4), (-5, 16) and (5, 1) are collinear.
Evaluate the following integrals:
$\int\limits_{1}^{2}\frac{1}{\text{x}\big(1+\log\text{x}\big)^2}\text{ dx}$
Find the equation of the passing throught the point (1, 2, 1) and perpendicular to the joining the point (1, 4, 2) and (2, 3, 5). Find also the perpendicular distance of the origin from this plane.
Differentiate the following functions with respect to x:
$\log(\text{x}+\sqrt{\text{x}^2+1})$
Find the inverse of the following matrices by using elementry row transformation:$\begin{bmatrix}5 & 2 \\ 2 & 1 \end{bmatrix}$
Find the distance of the point (-1, -5, -10) from the point of intersection of the line $\vec{\text{r}}=2\hat{\text{i}}-\hat{\text{j}}+2\hat{\text{k}}+\lambda\Big(3\hat{\text{i}}+4\hat{\text{j}}+2\hat{\text{k}}\Big)$ and the plane $\vec{\text{r}}.\Big(\hat{\text{i}}-\hat{\text{j}}+\hat{\text{k}}\Big)=5.$
A company produces two types of goods, A and B, that require gold and silver. Each unit of type A requires 3gm of silver and 1 gm of gold while that of type B requires 1 gm of silver and 2gm of gold. The company can produce 9gm of silver and 8gm of gold. If each unit of type A brings a profit of Rs. 40 and that of type B Rs. 50, find the number of units of each type that the company should produce to maximize the profit. What is the maximum profit?