Question
Find the general solution $ x \frac { d y } { d x } + y - x + x y \cot x = 0 \ (x \neq 0)$.

Answer

Given differential equation is,
$ x \frac { d y } { d x } + y - x + x y \cot x = 0$
Above equation can be written as
$ x \frac { d y } { d x } + y (1 + x \cot x ) = x$
On dividing both sides with x, we get
$ \frac { d y } { d x } + y \left( \frac { 1 + x \cot x } { x } \right) = 1$
$ \Rightarrow \frac { d y } { d x } + y \left( \frac { 1 } { x } + \cot x \right) = 1$
which is a linear differential equation of the form $ \frac { d y } { d x } + P y = Q$,
where $ P = \frac { 1 } { x } + \cot x$ and $ Q = 1.$
we know that , 
$\mathrm { IF } = e ^ { \int { Pdx } } = e ^ { \int \left( \frac { 1 } { x } + \cot x \right) d x } = e ^ { \log | x | + \log \sin x }$
$= e ^ { \log | x \sin x | } [ \because \log m + \log n = \log m n ]$
$ \Rightarrow$ IF = x sin x
$y \times { IF } = \int ( Q \times {I F } ) d x + C$
$\therefore \quad y \times x \sin x = \int 1 \times x \sin x d x + C$
$ \Rightarrow yx\sin x = \int {\mathop x\limits_I } \mathop {\sin }\limits_{II} xdx + C$
$\Rightarrow y \cdot x \sin x = x \int \sin x d x$ $- \int \left( \frac { d } { d x } ( x ) \int \sin x d x \right) d x + C$ [using integration by parts]
$\Rightarrow y x \sin x = - x \cos x - \int 1 ( - \cos x ) d x + C$
$\Rightarrow y x \sin x = - x \cos x + \int \cos x d x + C$
$ \Rightarrow y x \sin x = - x \cos x + \sin x + C$
On dividing both sides by x sin x, we get
$y = \frac { - x \cos x + \sin x + C } { x \sin x }$
$ \therefore y = - \cot x + \frac { 1 } { x } + \frac { C } { x \sin x }$
which 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

Find the local maximum and local minima, of the function $\text{f(x)} = \sin x - \cos x, 0< x < 2\pi.$ Also find the local maximum and local minimum values.
Solve the following differential equation
$(\sin\text{x}+\cos\text{x})\text{dy}+(\cos\text{x}+\sin\text{x})\text{dx}=0$
Prove that:
$\begin{vmatrix}(\text{b}+\text{c})^2&\text{a}^2&\text{bc}\\\text{c}+\text{a})^2&\text{b}^2&\text{ca} \\\text{a}+\text{b})^2&\text{c}^2&\text{ab}\end{vmatrix}$ $=(\text{a}-\text{b})(\text{b}-\text{c})(\text{c}-\text{b})(\text{a}+\text{b}+\text{c})(\text{a}^2+\text{b}^2+\text{c}^2)$
Find the foot of the perpendicular from (0, 2, 7) on the line $\frac{\text{x}+2}{-1}=\frac{\text{y}-1}{3}=\frac{\text{z}-3}{-2}.$
Find the integrals of the functions in Exercises:
$\frac{1}{\cos(\text{x}-\text{a})\cos(\text{x}-\text{b})}$
Evaluate the following definite integrals:
$\int_{1}^\limits{4}\frac{\text{x}^2+\text{x}}{\sqrt{2\text{x}+1}}\text{ dx}$
Find the angle between the pairs of lines with direction ratios proportional toa, b, c and b - c, c - a, a - b.
Solve the following differential equations $(1+\text{x}^2)\frac{\text{dy}}{\text{dx}}+(1+\text{y}^2)=0,$ given that $\text{y}=1,$ when $\text{x}=0.$
If the lines $\frac{\text{x}-1}{-3}=\frac{\text{y}-2}{-2\text{k}}=\frac{\text{z}-3}{2}$ and $\frac{\text{x}-1}{\text{k}}=\frac{\text{y}-2}{1}=\frac{\text{z}-3}{5}$ are perpendicular, find the value of $k$ and, hence find the equation of the plane containing these lines.
If A = $\left[\begin{array}{lll} {3} & {\sqrt{3}} & {2} \\ {4} & {2} & {0} \end{array}\right] \text { and } B=\left[\begin{array}{rrr} {2} & {-1} & {2} \\ {1} & {2} & {4} \end{array}\right]$ verify that
  1. (A′)′ = A
  2. (A + B)′ = A′ + B′
  3. (kB)′ = kB′, where k is any constant.