Finding solution of ODE using Laplace transform with initial

Kendal Day

Kendal Day

Answered question

2022-04-08

Finding solution of ODE using Laplace transform
with initial condition y(0)=0.
y+2y=f(x) where f(x)=0 if x>1 and f(x)=1 if 0x1.
I applied Laplace transform on both sides which gets
sY(s)+2Y(s)=1essY(s)=1ess(s+2)=1s(s+2)ess(s+2)
Now I know inverse Laplace transform of 1s(s+2) but how to find inverse Laplace transform of second term? Or can we solve above ODE using different method?

Answer & Explanation

Mey9ci0

Mey9ci0

Beginner2022-04-09Added 14 answers

Step 1
The Laplace transform is a little bit of an overkill for tis equation. Variation of parameters does the trick:
The general solution of your equation is: y(x)=ce2x+e2x0xe2sf(s)ds
Step 2
Using your intial data and f (it is not clearly defined) we end up with
y(x)=e2x0min(x,1)e2sds =e2xe2min(x,1)12 =e2min(0,1x)e2x2
That being said of course you equation can be solved with Laplace transform. You could handle the second term with a partial fraction decomposition and than use a table of standard transformations.

Jameson Jensen

Jameson Jensen

Beginner2022-04-10Added 16 answers

Step 1
Assuming you still want to solve the problem using the method of Laplace transform. From your work, the Laplace transform Y(s) of y(t) satisfies
Y(s)=1ess(s+2)=1s(s+2)ess(s+2).
You can check that 1s(s+2)=12s12(s+2).
Step 2
To transform the second term, you would need to use the so-called Translation on the t-axis property: If the inverse Laplace transform of F(s) is f(t), then
L1{F(s)ecs}=f(tc)H(tc),
where H(tc) is the shifted Heaviside function. You can check that y(t) is given by
y(t)=1212e2tH(t1)[1212e2(t1)].

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?