Question
Solve the following differential equation:
$\text{x}\frac{\text{dy}}{\text{dx}}+2\text{y}=\text{x}\cos\text{x}$

Answer

Here, $\frac{\text{dy}}{\text{dx}}+\frac{2\text{y}}{\text{x}}=\cos\text{x}$ It is a linear differential equation. Comparing it with, $\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$ $\text{P}=\frac{2}{\text{x}},\text{Q}=\cos\text{x}$ I.F. $=\text{e}^{\int\text{Pdx}}$ $=\text{e}^{2\int\frac{1}{\text{x}}\text{dx}}$ $=\text{e}^{2\log|\text{x}|}$ $=\text{x}^2$Solution of the equation is given by,
$\text{y}\times(\text{I.F.}=\int\text{Q}\times(\text{I.F.})\text{dx + C}$ $\text{y}(\text{x}^2)=\int\cos\text{x}(\text{x}^2)\text{dx + C}$ $\text{yx}^2=\int\text{x}^2\cos\text{xdx + C}$ $=\text{x}^2\int\cos\text{x}-\int(2\text{x}\times\int\cos\text{xdx})\text{dx + C}$ Usind integration by parts $\text{yx}^2=\text{x}^2\sin\text{x}-\int2\text{x}\sin\text{xdx + C}$ $=\text{x}^2\sin\text{x}-2\big[\text{x}\times\int\sin\text{xdx}-\int(1\times\int\sin\text{xdx})\text{dx}\big]+\text{C}$ $=\text{x}^2\sin\text{x}+2\text{x}\cos\text{x}-2\int\cos\text{xdx + C}$ $\text{yx}^2=\text{x}^2\sin\text{x}+2\text{x}\cos\text{x}-2\sin\text{x + C}$ $\text{y}=\sin\text{x}+\frac{2}{\text{x}}\cos\text{x}-\frac{2}{\text{x}^2}\sin\text{x}+\frac{\text{C}}{\text{x}^2}$

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

Show that aii curve for which the slope at any point (x, y) on its is $\frac{\text{x}^{2}+\text{y}^{2}}{\text{2xy}}$ are rectangular hyperbola.
Find the direction cosines of the lines, connected by the relations: $l + m + n = 0$ and $\frac{2}{\text{m}}+\frac{2}{\text{n}}-\text{mn}=0$.
Without expanding, show that the values of the following determinant are zero:
$\begin{vmatrix}0&\text{x}&\text{y}\\-\text{x}&0&\text{z}\\-\text{y}&-\text{z}&0\end{vmatrix}$
Find two positive integers $x$ and $y$ such that their sum is $35$ and the product $x^2 y^5$ is a maximum.
Show that the plane vector equation is $\vec{\text{r}}\cdot(\hat{\text{i}}+2\hat{\text{j}}-\hat{\text{k}})=1$ and the line whose vector equation is $\vec{\text{r}}=(-\hat{\text{i}}+\hat{\text{j}}+\hat{\text{k}})+\lambda(2\hat{\text{i}}+\hat{\text{j}}+4\hat{\text{k}})$ are parallel. Also, find the distance between them.
Prove that the function
$\text{f}\text{(x)}=\begin{cases}\frac{\text{x}}{|\text{x|+2}\text{x}^2}, &\text{ x}\neq0\\\text{k}, &\text{ x}=0\end{cases}$
remains discontinuous at x = 0, regardless the choice of k.
Find the equatoion of the passing through the points (1, -1, 2) and (2, -2, 2) and which is perpendicular to the plane 6x - 2y + 2z = 9.
Solve the following differential equation:
$\text{x}\frac{\text{dy}}{\text{dx}}-\text{y + x}\sin\Big(\frac{\text{y}}{\text{x}}\Big)=0$
If $\cos ^{-1} \frac{x}{a}+\cos ^{-1} \frac{y}{b}=\alpha$ then prove that$
\frac{x^2}{a^2}-\frac{2 x y}{a b} \cos \alpha+\frac{y^2}{b^2}=\sin ^2 \alpha
$
An item is manufactured by three machines $A , B$ and $C$ . Out of the total number of items manufactured during a specified period, $50 \%$ are manufactured on $A , 30 \%$ on B and $20 \%$ on C. $2 \%$ of the items produced on A and $2 \%$ of items produced on B are defective, and $3 \%$ of these produced on $C$ are defective. All the items are stored at one godown. One item is drawn at random and is found to be defective. What is the probability that it was manufactured on machine A?