Solving an ordinary differential equation: Prove if y'(t)+3y(t)=6t+5, y(0)=3, then y(t)=2e^{-3t}+2t+1.

Chris Cruz

Chris Cruz

Answered question

2022-01-22

Solving an ordinary differential equation:
Prove if y(t)+3y(t)=6t+5,y(0)=3, then y(t)=2e3t+2t+1.

Answer & Explanation

stomachdm

stomachdm

Beginner2022-01-22Added 33 answers

The given equation is a first order differential equation
y(t)+3y(t)=6t+5
can be solved by finding something called an integrating factor.
For a first order differential equation of the form
dydt+P(t)y=Q(t)
The integrating factor is ef(t) where
f(t)=P(t)dt
In this case, the integrating factor is e3t because
3dt=3t
Now multiply the given equation throughout by e3t to get
e3ty(t)+3e3ty(t)=e3t(6t+5)
The left hand side is
ddt(e3ty)
Therefore ddt(e3ty)=e3t(6t+5)
Integrate both sides now
(e3ty)=6te3tdt+5e3tdt
e3ty=6te3t36e3t3dt+53e3t
=6te3t3+e3t+constant
=2te3t+e3t+constant
But y(0)=3 therefore the constant factor is 2
e3ty(t)=2te3t+e3t+2
y(t)=2t+1+2e3t
SlabydouluS62

SlabydouluS62

Skilled2022-01-23Added 52 answers

Set y(t)=2e3t+2t+1+z(t) and substitute it to the equations:
y(t)+3y(t)=6t+5
y(0)=3
We get: 6e3t+2+z(t)+6e3t+6t+3+3z(t)=6t+5
3+z(0)=3
what simplifies to:
z(t)+3z(t)=0
z(0)=0,
but this simple ODE has only one solution, namely z(t)=0, and that completes the proof.
RizerMix

RizerMix

Expert2022-01-27Added 656 answers

First solve the homogeneous equation y+3y=0. This gives a homegeneous solution yh. It remains find to a particular solution yp. The solution to the ODE is then given by y=yh+yp. Since the non-homogeneous part of the equation is a polynomial of degree 1, try yp=t+c, where c is some constant. This constant is uniquely determined by the initial condition.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Differential Equations

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?