22. $(1+x)\frac{dy}{dx}-xy=1-x$
I.F. of $(1)$
Now, multiplying both sides of $(1)$ by $(1+x)e^{-x}$ we get,
23. $(1-x^2)\frac{dy}{dx}-xy=x^2$, given $y=2$ when $x=0.$
I.F. of $(1)$
Now, multiplying both sides of $(1)$ by $\sqrt{1-x^2}$ we get,
Now, $y(0)=2 \Rightarrow c=2$ [By (2)]
So, putting the value of $c$ in $(2)$ we get,
24. $\frac{dx}{dt}+x \cos t=\frac 12\sin2t$
I.F. of $(1)$
Now, multiplying both sides of $(1)$ by $e^{\sin t}$ we get,
25. $\frac{dy}{dx}+\left(\tan x+\frac 1x\right)y=\frac{\sec x}{x}$
I.F. of $(1)$
Now, multiplying both sides of $(1)$ by $x\sec x$ we get,
26. $\frac{dy}{dx}+2y\tan x=\sin x$; given $y=0$ when $x=\pi/3.$
I.F. of $(1)$
Now, multiplying both sides of $(1)$ by $\sec^2 x$ we get,
Now, $y(\pi/3)=0$ (given)
Finally, putting the value of $c$ in $(2)$ we get,
27. $\frac{dy}{dx}=\frac{x\sqrt{x^2-1}+y}{\sqrt{x^2-1}}$
I.F. of $(1)$
Now, multiplying both sides of $(1)$ by $(x-\sqrt{x^2-1})$ we get,
Now, $y(1)=1$ (given)
Finally, putting the value of $c$ in $(2)$ we get,
28. $x(1-x^2)dy+(2x^2y-y-5x^3)dx=0$
and it is of the form of $\frac{dy}{dx}+Py=Q,$ where $P=\frac{2x^2-1}{x(1-x^2)}$ and $Q=\frac{5x^2}{1-x^2}.$
At first, we calculate the following:
Now, $\displaystyle\int{P~dx}$
Now, multiplying both sides of $(1)$ by $\frac{1}{x\sqrt{1-x^2}}$ we get,

Please do not enter any spam link in the comment box