y"+3y'+2y=2 if 0<t<5 y(0)=0 and y'(0)=0

Answered question

2022-04-30

y"+3y'+2y=2 if 0<t<5 y(0)=0 and y'(0)=0

Answer & Explanation

alenahelenash

alenahelenash

Expert2023-05-02Added 556 answers

The given differential equation is:
y+3y+2y=2
To solve this, we can first find the homogeneous solution by solving the related homogeneous equation:
yh+3yh+2yh=0
The characteristic equation is:
r2+3r+2=0
Factoring, we get:
(r+1)(r+2)=0
Therefore, the roots are r=1 and r=2. The homogeneous solution is:
yh(t)=c1et+c2e2t
where c1 and c2 are constants determined by the initial conditions.
Next, we need to find a particular solution to the non-homogeneous equation. A guess for a particular solution is:
yp(t)=A
where A is a constant to be determined.
Substituting this into the differential equation, we get:
A+3(0)+2A=2
Solving for A, we get:
A=1
Therefore, the particular solution is:
yp(t)=1
The general solution to the non-homogeneous equation is the sum of the homogeneous and particular solutions:
y(t)=yh(t)+yp(t)=c1et+c2e2t+1
Using the initial condition y(0)=0, we get:
c1+c2+1=0
Using the initial condition y(0)=0, we get:
c12c2=0
Solving this system of equations, we get:
c1=23 and c2=53
Therefore, the solution to the differential equation is:
y(t)=23et53e2t+1 for 0<t<5.
y(0)=2353+1=0 and y(0)=23+103=0, so the initial conditions are satisfied.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?