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 = xe^x + e^x$
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 = xe^x + e^x$​​​​​​​ 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

A bag contains 20 tickets, numbered from 1 to 20. Two tickets are drawn without replacement. What is the probability that the first ticket has an even number and the second an odd number.
Find the shortest distance between the lines:
$\vec{\text{r}}=(\hat{\text{i}}+2\hat{\text{j}}+\hat{\text{k}})+\lambda(\hat{\text{i}}-\hat{\text{j}}+\hat{\text{k}})\ \text{and}\ $
$\vec{\text{r}}=2\hat{\text{i}}-\hat{\text{j}}-\hat{\text{k}}+\mu(2\hat{\text{i}}+\hat{\text{j}}+2\hat{\text{k}})$
Find the area bounded by the curve $x = 4y$ and the line $x = 4y - 2$.
Evaluate the following integrals as limit of sum:
$\int\limits^3_1(3\text{x}-2)\text{dx}$
Find the distance of the point (1, -2, 3) from the plane x - y + z = 5 measured along a line parallel to $\frac{\text{x}}{2}=\frac{\text{y}}{3}=\frac{\text{z}}{-6}.$
A manufacturer produces two products A and B. Both the products are processed on two different machines. The available capacity of first machine is 12 hours and that of second machine is 9 hours per day. Each unit of product A requires 3 hours on both machines, and each unit of product B requires 2 hours on first machine and 1 hour on second machine. Each unit of product A is sold at 7 profit and that of B at a profit of 4. Find the production level per day for maximum profit graphically.
Show that the differential equation $x^{2} d y+\left(x y+y^{2}\right) d x=0$ is homogenous and find the particular solution, given that $y = 1$ when $x = 1$.
A manufacturer makes two types of toys A and B. Three machines are needed for this purpose and the time (in minutes) required for each toy on the machines is given below:
Type of Toys
Machine
 
I
II
III
A
12
18
6
B
6
0
9
Each machine is available for a maximum of 6 hours per day. If the profit on each toy of type A is Rs. 7.50 and that on each toy of type B is Rs. 5, show that 15 toys of type A and 30 toys of type B should be manufactured in a day to get maximum profit.
Find the equation of the tangent line to the curve $y = x^2 - 2x + 7$ which is perpendicular to the line $5y - 15x = 13.$
$\text{Evaluate} \lim\limits_{x \rightarrow\frac{\pi}{4}} \bigg( \frac{ \sin x - \cos x}{x- \frac{\pi}{4}} \bigg)$