Question
Solve the differential equation $\frac{\text{dy}}{\text{dx}}+2\text{xy}=\text{y}.$

Answer

We have $\frac{\text{dy}}{\text{dx}}+2\text{xy}=\text{y}$
$\Rightarrow\frac{\text{dy}}{\text{dx}}+2\text{xy}-\text{y}=0$
$\Rightarrow\frac{\text{dy}}{\text{dx}}+(2\text{x}-1)\text{y}=0$
$\Rightarrow\frac{\text{dy}}{\text{dx}}=\text{y}(1-2\text{x})\text{dx}$
$\Rightarrow\frac{\text{dy}}{\text{y}}=(1-2\text{x})\text{dx}$
Integrating both sides we get,
$\int\frac{\text{dy}}{\text{y}}=\int(1-2\text{x})\text{dx}$
$\Rightarrow\log\text{y}=\text{x}-\text{x}^2+\log\text{C}$
$\Rightarrow\log\text{y}-\log\text{C}=\text{x}-\text{x}^2$
$\Rightarrow\log\frac{\text{y}}{\text{C}}=\text{x}-\text{x}^2$
$\Rightarrow\frac{\text{y}}{\text{C}}=\text{e}^{\text{x}-\text{x}^2}$
$\Rightarrow\text{y}=\text{C}\text{e}^{\text{x}-\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

Find the absolute maximum and minimum values of the function of given by 
$\text{f}(\text{x})=\cos^{2}\text{x}+\sin\text{x}, \text{x}\in[0,\pi]$
By computing the shortest distance determine whether the following pairs of lines intersect or not:
$\vec{\text{r}}=\big(\hat{\text{i}}-\hat{\text{j}}\big)+\lambda\big(2\hat{\text{i}}+\hat{\text{k}}\big)$ and $\vec{\text{r}}=\big(2\hat{\text{i}}-\hat{\text{j}}\big)+\mu\big(\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}}\big)$
A farmer mixes two brands P and Q of cattle feed. Brand P, costing Rs. 250 per bag, contains 3 units of nutritional element A, 2.5 units of element B and 2 units of element C. Brand Q costing Rs. 200 per bag contains 1.5 units of nutritional element A, 11.25 units of element B and 3 units of element C. The minimum requirements of nutrients A, B and C are 18 units, 45 units and 24 units respectively. Determine the number of bags of each brand which should be mixed in order to produce a mixture having a minimum cost per bag? What is the minimum cost of the mixture per bag?
Let A = {– 1, 0, 1, 2}, B = {– 4, – 2, 0, 2} and f, g: A → B be functions defined by $f(\text{x})=\text{x}^2-\text{x},\ \text{x}\in\text{A}\ \text{and }\text{g(x)}=2\Big|\text{x}-\frac{1}{2}\Big|,\ \text{x}\in\text{A}.$ Are f and g equal? Justify your answer. (Hint: One may note that two functions f: A → B and g: A → B such that $f(\text{a}) = \text{g(a)}\ \forall \text{a} \in \text{A},$ are called equal functions).
$\int\frac{\text{x}}{\sqrt{\text{x}+\text{a}}-\sqrt{\text{x}+\text{b}}}\text{dx}$
Show that $\text{A}=\begin{bmatrix} 5 & 3 \\-1 & -2 \end{bmatrix}$ satisfies the equation x2 - 3x - 7 = 0. Thus, find A-1.
Check the commutativity and associativity of the following binary operations:
'*' on N defined by a * b = gcd(a, b) for all a, b ∈ N.
Differentiate the following functions with respect to x:
$\cos^{-1}\Big\{\frac{\cos\text{x}+\sin\text{x}}{\sqrt{2}}\Big\},-\frac{\pi}{4}<\text{x}<\frac{\pi}{4}$
Prove that:
$\begin{vmatrix}\text{a}^2&2\text{ab}&\text{b}^2\\\text{b}^2&\text{a}^2&2\text{ab}\\2\text{ab}&\text{b}^2&\text{a}^2\end{vmatrix}=(\text{a}^3+\text{b}^3)^2$
Solve the differential equation $\cos ^2 x \frac{d y}{d x}+y=\tan x\left(0 \leq x \leq \frac{\pi}{2}\right)$