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

If A and B are two events such that,
$\text{P(A)}=\frac{6}{11},\text{P(B)}=\frac{5}{11}$ and $\text{P}(\text{A}\cap\text{B})=\frac{7}{11},$ then find $\text{P}(\text{A}\cap\text{B}),$ P(A|B) and P(B|A).
find the area of the region common to the circle x2 + y2 = 16 and the parabola y2 = 6x.
There are two types of fertilisers 'A' and 'B'. 'A' consists of 12% nitrogen and 5% phosphoric acid whereas 'B' consists of 4% nitrogen and 5% phosphoric acid. After testing the soil conditions, farmer finds that he needs at least 12kg of nitrogen and 12kg of phosphoric acid for his crops. If 'A' costs Rs. 10 per kg and 'B' cost Rs. 8 per kg, then graphically determine how much of each type of fertiliser should be used so that nutrient requiremnets are met at a minimum cost.
If $\text{A}=\begin{bmatrix} 1 & 2 & 2 \\ 2 & 1 & 2 \\ 2 & 2 & 1 \end{bmatrix},$ find A-1 and prove that A2 - 4A - 5I = 0.
If $\text{y}=\sin^{-1}\big(6\text{x}\sqrt{1-9\text{x}^2}\big), -\frac{1}{3\sqrt{2}}<\text{x}<\frac{1}{3\sqrt{2}},$ then find $\frac{\text{dy}}{\text{dx}}.$
Find matrix A such that
$\begin{bmatrix} 2& -1\\[0.3em] 1 & 0 \\[0.3em] -3 & 4 \end{bmatrix}\text{A}=\begin{bmatrix} -1& -8\\[0.3em] 1 & -2 \\[0.3em] 9 & 22 \end{bmatrix}$
Solve the following systems of linear equations by cramer's rule:
3x + y + z = 2,
2x - 4y + 3z = -1,
4x + y - 3z = -11
Find one-parameter families of solution curves of the following differential equation: (or solve the following differential equation)

$\frac{\text{dy}}{\text{dx}}\cos^2\text{x}=\tan\text{x}-\text{y}$

Prove the following results:
$\sin^{-1}\frac{12}{13}+\cos^{-1}\frac{4}{5}+\tan^{-1}\frac{63}{16}=\pi$
If $\text{f(x)}=\log\Big\{\frac{\text{u(x)}}{\text{v(x)}}\Big\},\text{u}(1)=\text{v}(1)$ and u'(1) = v'(1) = 2, then find the value of f(1).