Question
Differential equation $\frac{\text{d}^2\text{y}}{\text{dx}^2}-2\frac{\text{dy}}{\text{dx}}+\text{y}=0,\text{y}(0)=1,\text{y}(0)=2$
Function $\text{y}=\text{xe}^\text{x}+\text{e}^{\text{x}}$

Answer

We have,
$\text{y}=\text{xe}^\text{x}+\text{e}^{\text{x}}\ ...(1)$
Differentiating both sides of (1) with respect to x, we get
$\frac{\text{dy}}{\text{dx}}=\text{xe}^{\text{x}}+\text{e}^{\text{x}}+\text{e}^{\text{x}}$
$\Rightarrow\frac{\text{dy}}{\text{dx}}=\text{xe}^{\text{x}}+2\text{e}^{\text{x}}...(2)$
Differentiating both sides of (2) with respect to x, we get
$\frac{\text{d}^{2}\text{y}}{\text{dx}^{2}}=\text{xe}^{\text{x}}+\text{e}^{\text{x}}+2\text{e}^{\text{x}}$
$\Rightarrow\frac{\text{d}^{2}\text{y}}{\text{dx}^{2}}=\text{xe}^{\text{x}}+3\text{e}^{\text{x}}$
$\Rightarrow\frac{\text{d}^{2}\text{y}}{\text{dx}^{2}}=2(\text{xe}^{\text{x}}+2\text{e}^{\text{x}})(\text{xe}^{\text{x}}+\text{e}^{\text{x}})$
$\Rightarrow\frac{\text{d}^{2}\text{y}}{\text{dx}^{2}}=2\frac{\text{dy}}{\text{dx}}-\text{y}$ [Using(1)and(2)]
$\Rightarrow\frac{\text{d}^{2}\text{y}}{\text{dx}^{2}}-2\frac{\text{dy}}{\text{dx}}+\text{y}=0$
$\frac{\text{d}^{2}\text{y}}{\text{dx}^{2}}-2\frac{\text{dy}}{\text{dx}}+\text{y}=0$
It is the given differential equation.
Thus, y = xex + ex
satisfies the given differential equation.
Also, when x = 0, y = 0 + 1 = 1, i.e. y(0) = 1
And, when x = 0, y' = 0 + 2 = 2, i.e. y'(0) = 2
Hence, y = xex + ex is the solution to the given initialvalue problem.

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 particular solution of the differential equation$\frac{\text{ dy}}{\text{dx}} = 1 +\text{x + y +xy},\text{ given that }\text{y} = 0 \text{ when x } = 1.$
Find the angle between the lines whose direction ratios are proportional to a, b, c and b - c, c - a, a - b.
Form the differential equation by eliminating A and B in Ax2 + By2 = 1.
Find the vector equation of a line passing through the point with position vector $\hat{\text{i}}-2\hat{\text{j}}-3\hat{\text{k}}$ and parallel to the line joining the points with position vectors $\hat{\text{i}}-\hat{\text{j}}+4\hat{\text{k}}$ and $2\hat{\text{i}}+\hat{\text{j}}+2\hat{\text{k}}.$ Also, find the cartesian equivalent of this equation.
Find a 2 × 2 matrix A such that.
$\text{A}\begin{bmatrix}1&-2\\1&4\end{bmatrix}=6\text{I}_2$
Show that the following system of linear equation is inconsistent:
3x − y − 2z = 2
2y − z = −1
3x − 5y = 3
If $\text{y}=(\sin\text{x})^{(\sin\text{x})^{(\sin\text{x})^{....\infty}}},$ prove that $\frac{\text{y}^2\cot\text{x}}{(1-\text{y}\log\sin\text{x})}$
Solve the following differential equations:
$\frac{\text{dy}}{\text{dx}}=1+\text{x}+\text{y}^2+\text{xy}^2$ when $\text{y}=0,\text{x}=0$
If $\text{x}=\text{a}\sin\text{t}-\text{b}\cos\text{t},\text{y}=\text{a}\cos\text{t}+\text{b}\sin\text{t},$ Prove that $\frac{\text{d}^2\text{y}}{\text{dx}^2}=-\frac{\text{x}^2+\text{y}^2}{\text{y}^2}$ 
Solve the following differential equation
$(\text{x}-1)\frac{\text{dy}}{\text{dx}}=2\text{xy}$