Question
Solve the initial value problem : $\frac{d y}{d x}+ y \tan x =2 x + x ^2 \tan x , y (0)=1$

Answer

The given differential equation is,
$\frac{d y}{d x}+y \tan x=2 x+x^2 \tan x, y(0)=1$
It is a linear differential equation. Comparing it with,
$\frac{d y}{d x}+P y=Q$
$P=\tan x, Q=2 x+x^2 \tan x$
$\text { L.F. }=e^{\int p d x}$
$=e^{\int \tan x d x}$
$=e^{\log |\sec x|}$
Solution of the equation is given by,
$y \times(\text { I.F. })=\int Q \times(\text { I.F. }) d x+c$
$y \sec x=\int\left(2 x+x^2 \tan x\right) \sec d\ x+c$
$=\int 2 x \sec x \ d x+\int x^2 \sec \tan x\ d x+c$
$=\int 2 x \times \sec x\ d x+\left[x^2 \times \int \sec x \tan x\ d x-\int\left(2 x \int \sec \tan x\ d x\right) d x\right]+c$
$y \sec x=\int 2 x \sec d x+x^2 \sec x-\int 2 x \sec x\ d x+c$
$y \sec x=x^2 \sec x+c \ldots \text { (i) }$
Put $x =0, y =1$
$1=0+c$
$c=1$
Put $c =1$ in equation $(i),$
$y \sec x=x^2 \sec x+1$
$y=x^2+\frac{1}{\sec x}$
$y=x^2+\cos x$

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

Prove that : $\tan^{-1}2\text{x}+\tan^{-1}\frac{4\text{x}}{1-4\text{x}^2}=\tan^{-1}\Bigg(\frac{6\text{x}-8\text{x}^3}{1-12\text{x}^2}\Bigg);|\text{x}|<\frac{1}{2\sqrt3}$
Write a value of $\int\frac{1+\log\text{x}}{3+\text{x}\log\text{x}}\text{ dx}$
$\text{If y}=\cos^{-1}\text{x},\text{ Find }\frac{\text{d}^2\text{y}}{\text{dx}^2}\text{ in terms of y alone}.$
Evaluate the following integrals:
$\int\limits^{2\pi}_0\cos^{-1}(\cos\text{x})\text{dx}$
Differentiate the following w.r.t. x:
$\log\big[\log(\log\text{x}^5)\big]$
Write the equation of the normal to the curve $\text{y}=\text{x}+\sin\text{x}\cos\text{x}\text{ at }\text{x}=\frac{\pi}{2}.$
Find the mean and standard deviation of the following probability distributions:
$\text{x}_\text{i}$
$0$
$1$
$2$
$3$
$4$
$5$
$\text{p}_\text{i}$
$\frac{1}{6}$
$\frac{5}{18}$
$\frac{2}{9}$
$\frac{1}{6}$
$\frac{1}{9}$
$\frac{1}{18}$
Find the shortest distance between the lines $l_1$ and $l_2$ whose vector equations are
$\vec r = \hat i + \hat j + \lambda (2\hat i - \hat j + \hat k) ...(1)  $
and $\vec r = 2\hat i + \hat j - \hat k + \mu (3\hat i - 5\hat j + 2\hat k) ...(2)$
If $a_1, a_2, a_3, ...,$ ar are in $G.P.,$ then prove that the determinant $\begin{bmatrix}\text{a}_{\text{r}+1}&\text{a}_{\text{r}+5}&\text{a}_{\text{r}+9}\\\text{a}_{\text{r}+7}&\text{a}_{\text{r}+11}&\text{a}_{\text{r}+15}\\\text{a}_{\text{r}+11}&\text{a}_{\text{r}+17}&\text{a} _{\text{r}+21}\end{bmatrix}$ is independent of $r.$
Find the inverse of the following matrices:
$\begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}$