Question
Solve the following differential equation:

$\frac{\text{dy}}{\text{dx}}+2\text{y}=4\text{x}$

Answer

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

One kind of cake requires 200g of flour and 25g of fat, and another kind of cake requires 100g of flour and 50g of fat. Find the maximum number of cakes which can be made from 5kg of flour and 1kg of fat assuming that there is no shortage of the other ingredients used in making the cakes.
A man, 2m tall, walks at the rate of $1\frac{2}{3}\text{m/s}$ towards a street light which is $5\frac{1}{3}\text{m}$ above the ground. At what rate is the tip of his shadow moving? at what rate is the length of the shadow changing when he is $3\frac{1}{3}\text{m}$ from the base of the light?
Evalute the following integrals:
$\int\frac{1}{\cos(\text{x}+\text{a})\cos(\text{x}+\text{b})}\text{dx}$
Evaluate the following integrals:
$\int\frac{1}{\cos\text{x}(5-4\sin\text{x})}\ \text{dx}$
A toy company manufactures two types of dolls, A and B. Market tests and available resources have indicated that the combined production level should not exceed 1200 dolls per week and the demand for dolls type B is at most half of that for dolls of types A. Further, the production level of dolls of type A can exceed three times the production of dolls of other type by at most 600 units. If the company makes profit of  Rs. 12 and Rs. 16 per doll respectively on dolls A and B, how many of each should be produced weekly in order to maximize the profit ?
Show that the function $\text{f}:\text{R}_\ast\rightarrow\text{R}_\ast$ defined by $\text{f(x)}=\frac{1}{\text{x}}$ is one-one and onto, where $\text{R}_\ast$ is the set of all non-zero real numbers. Is the result true, if the domain $\text{R}_\ast$ is replaced by N with co-domain being same as $\text{R}_\ast?$
Solve the following differential equation
$\frac{\text{dy}}{\text{dx}}=\text{x}^5\tan^{-1}(\text{x}^3)$
The surface area of a balloon being inflated, changes at a rate proportional to time t. If initially its radius is 1 unit and after 3 seconds it is 2 units, find the radius after time t.
A bag contains 25 tickets, numbered from 1 to 25. A ticket is drawn and then another ticket is drawn without replacement. Find the probability that both tickets will show even numbers.
Find the vector equations of the following planes in scalar product form $(\vec{\text{r}}\cdot\vec{\text{n}}=\text{d}):$
$\vec{\text{r}}=(1+\text{s}-\text{t})\hat{\text{t}}+(2-\text{s})\hat{\text{j}}+(3-2\text{s}+2\text{t})\hat{\text{k}}$