Question
Solve the following differential equation:
$(1+\text{x}^2)\frac{\text{dy}}{\text{dx}}+\text{y}=\text{e}^{\tan^{-1}\text{x}}$

Answer

We have,
$(1+\text{x}^2)\frac{\text{dy}}{\text{dx}}+\text{y}=\text{e}^{\tan^{-1}\text{x}}$
$\Rightarrow\ \frac{\text{dy}}{\text{dx}}+\frac{\text{y}}{1+\text{x}^2}=\frac{\text{e}^{\tan^{-1}\text{x}}}{1+\text{x}^2}\ \dots(1)$
Clearly, it is a linear differential equation of the form
$\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
where
$\text{P}=\frac{1}{1+\text{x}^2}$
$\text{Q}=\frac{\text{e}^{\tan^{-1}\text{x}}}{1+\text{x}^2}$
$\therefore$ I.F. $=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{\int\frac{1}{1+\text{x}^2}\text{dx}}$
Multiplying both sides of (1) by $\text{e}^{\tan^{-1}\text{x}},$ we get
$\text{e}^{\tan^{-1}\text{x}}\Big(\frac{\text{dy}}{\text{dx}}+\frac{\text{y}}{1+\text{x}^2}\Big)=\text{e}^{\tan^{-1}\text{x}}\frac{\text{e}^{\tan^{-1}\text{x}}}{1+\text{x}^2}$
$\Rightarrow\ \text{e}^{\tan^{-1}\text{x}}\frac{\text{dy}}{\text{dx}}+\frac{\text{y}\text{e}^{\tan^{-1}\text{x}}}{1+\text{x}^2}=\text{e}^{\tan^{-1}\text{x}}\frac{\text{e}^{\tan^{-1}\text{x}}}{1+\text{x}^2}$
Integrating both sides with respect to x, we get
$\text{y}\text{e}^{\tan^{-1}\text{x}}=\int\frac{\text{e}^{2\tan^{-1}\text{x}}}{1+\text{x}^2}\text{dx + C}$
$\Rightarrow\ \text{y}\text{e}^{\tan^{-1}\text{x}}=\text{I + C}\ \dots(2)$
Here,
$\text{I}=\int\frac{\text{e}^{2\tan^{-1}\text{x}}}{1+\text{x}^2}\text{dx}$
Putting $\tan^{-1}\text{x}=\text{t},$ we get
$\frac{1}{1+\text{x}^2}\text{dx}=\text{dt}$
$\therefore\ \text{I}=\int\text{e}^{2\text{t}}\text{dt}$
$=\frac{\text{e}^{2\text{t}}}{2}$
$=\frac{\text{e}^{2\tan^{-1}\text{x}}}{2}$
Putting the value of I in (2), we get
$\text{y}\text{e}^{\tan^{-1}\text{x}}=\frac{{\text{e}^{2\tan^{-1}\text{x}}}}2+\text{C}$
$\Rightarrow\ 2\text{y}\text{e}^{\tan^{-1}\text{x}}=\text{e}^{2\tan^{-1}\text{x}}+2\text{C}$
$\Rightarrow\ 2\text{y}\text{e}^{\tan^{-1}\text{x}}=\text{e}^{2\tan^{-1}\text{x}}+\text{K}$ (where K = 2C)
Hence, $2\text{y}\text{e}^{\tan^{-1}\text{x}}=\text{e}^{2\tan^{-1}\text{x}}+\text{K}$ 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

Determine whether the following pair 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$
Let $\text{f : W}\rightarrow\text{W}$ be defined as
$\text{f(n)} = \begin{cases} \text{n -1}, & \text{if n is odd} \\ \text{n+1}, &\text{if n is even} \end{cases}$
Show that f is invertible and find the inverse of f. Here, W is the set of all whole numbers.
Differentiate $\tan^{-1}\Big(\frac{2\text{x}}{1-\text{x}^2}\Big)$ with respect to $\cos^{-1}\Big(\frac{1-\text{x}^2}{1+\text{x}^2}\Big),$ if 0 < x < 1.
Differentiate the following functions with respect to x:
$\log\Big(\frac{\sin\text{x}}{1+\cos\text{x}}\Big)$
If $\text{y}=\text{x}^3\log\text{x},$ Prove that $\frac{\text{d}^4\text{y}}{\text{dx}^4}=\frac{6}{\text{x}}$
Prove that:
$\begin{vmatrix}1&1+\text{p}&1+\text{p}+\text{q}\\2&3+2\text{p}&4+3\text{p}+2\text{p}\\3&6+3\text{p}&10+6\text{p}+3\text{q}\end{vmatrix}=1$
Show that the lines $\vec{\text{r}}=(\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}})+\lambda(3\hat{\text{i}}-\hat{\text{j}})\ \text{and}\ \vec{\text{r}}=({4\hat{\text{i}}-\hat{\text{k}})+\mu(2\hat{\text{i}}+3\hat{\text{k}}})$intersect. Also find their point of intersection.
$\int\frac{\text{x}-1}{\sqrt{\text{x}+4}}\ \text{dx}$
Show that the following system of linear equation is inconsistent:
x + y − 2z = 5
x − 2y + z = −2
−2x + y + z = 4
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.$