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

If $\text{y}=\frac{\text{x}}{\text{x}+2},$ show that $\text{x}\frac{\text{dy}}{\text{dx}}=(1-\text{y})\text{y}$
Find the equation of the plane that contains the line of intersection of the planes $\vec{\text{r}}\cdot(\hat{\text{i}}+2\hat{\text{j}}+3\hat{\text{k}})-4=0$ and $\vec{\text{r}}\cdot(2\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}})+5=0$ and which is perpendicular to the plane $\vec{\text{r}}\cdot(5\hat{\text{i}}+3\hat{\text{j}}-6\hat{\text{k}})+8=0.$
Evaluate the following:
$\int\frac{\text{x}}{\sqrt{\text{x}}+1}\text{dx}$
Hint: Put $\sqrt{\text{x}}=\text{z}$
Show that the points whose position vectors are $-2\hat{\text{i}}+3\hat{\text{j}},\hat{\text{i}}+2\hat{\text{j}}+3\hat{\text{k}}$ and $7\hat{\text{i}}-\hat{\text{k}}$ are collinear.
Using integration, find the area of the region bounded by the line 2y = 5x + 7, x-axis and the lines x = 2 and x = 8.
Evaluate the following integrals:
$\int\limits^1_{-1}|\text{x}\cos\pi\text{x}|\text{dx}$
Show that the derivative of the function f given by $f(x) = 2x^3 - 9x^2 + 12x + 9$, at $x = 1$ and $x = 2$ are equal.
To maintain one's health, a person must fulfil certain minimum daily requirements for the following three nutrients: calcium, protein and calories. The diet consists of only items I and II whose prices and nutrient contents are shown below:
  Food I Food II Minimum daily requirement
Calcium 10 4 20
Protein 5 6 20
Calories 2 6 12
Price Rs. 0.60 per unit Rs. 1.00 per unit  
Find the combination of food items so that the cost may be minimum.
A factory manufactures two types of screws A and B, each type requiring the use of two machines, an automatic and a hand-operated. It takes 4 minutes on the automatic and 6 minutes on the hand-operated machines to manufacture a packet of screws ‘A’ while it takes 6 minutes on the automatic and 3 minutes on the hand-operated machine to manufacture a packet of screws ‘B’. Each machine is available for at most 4 hours on any day. The manufacturer can sell a packet of screws ‘A’ at a profit of 70 paise and screws ‘B’ at a profit of Rs. 1. Assuming that he can sell all the screws he manufactures, how many packets of each type should the factory owner produce in a day in order to maximize his profit? Formulate the above LPP and solve it graphically and find the maximum profit.
If $\text{y}=\big\{\log_{\cos\text{x}}\sin\text{x}\big\}\big\{\log_{\sin\text{x}}\cos\text{x}\big\}^{-1}+\sin^{-1}\Big(\frac{2\text{x}}{1+\text{x}^2}\Big),$ find $\frac{\text{dy}}{\text{dx}}$ at $\text{x}=\frac{\pi}{4}$