asked 223k views
3 votes
Solve this differential equations using laplace transforms

1. y"+16y=4δ(t-π), y(0)=2, y'(0)=0
2. y"+4y'+5y=δ(t-1), y(0)=0, y'(0)=3

asked
User Zored
by
7.6k points

1 Answer

0 votes

To solve the given differential equations using Laplace transforms, we'll first take the Laplace transform of both sides of the equations and then solve for the Laplace transform of the unknown function. Finally, we'll use inverse Laplace transforms to obtain the solutions in the time domain.

1. For the differential equation
\displaystyle\sf y, where
\displaystyle\sf \delta(t) is the Dirac delta function, we have the initial conditions
\displaystyle\sf y(0)=2 and
\displaystyle\sf y'(0)=0.

Applying the Laplace transform to both sides of the equation, we get:


\displaystyle\sf s^(2)Y(s)-sy(0)-y'(0)+16Y(s)=4e^(-\pi s),

where
\displaystyle\sf Y(s) represents the Laplace transform of
\displaystyle\sf y(t).

Substituting the initial conditions, we have:


\displaystyle\sf s^(2)Y(s)-2s+16Y(s)=4e^(-\pi s).

Rearranging the equation, we obtain:


\displaystyle\sf (s^(2)+16)Y(s)=4e^(-\pi s)+2s.

Simplifying further:


\displaystyle\sf Y(s)=(4e^(-\pi s)+2s)/(s^(2)+16).

To find the inverse Laplace transform of
\displaystyle\sf Y(s), we can express
\displaystyle\sf Y(s) in partial fraction form:


\displaystyle\sf Y(s)=(4e^(-\pi s)+2s)/((s+4i)(s-4i)).

Using partial fractions, we can write:


\displaystyle\sf Y(s)=(A)/(s+4i)+(B)/(s-4i).

Solving for
\displaystyle\sf A and
\displaystyle\sf B, we find:


\displaystyle\sf A=(-2)/(8i) and
\displaystyle\sf B=(2)/(8i).

Thus,
\displaystyle\sf Y(s) can be written as:


\displaystyle\sf Y(s)=-(2)/(8i)\cdot(1)/(s+4i)+(2)/(8i)\cdot(1)/(s-4i).

Applying the inverse Laplace transform, we get the solution for
\displaystyle\sf y(t):


\displaystyle\sf y(t)=-(1)/(4i)e^(-4i t)+(1)/(4i)e^(4i t).

Simplifying further:


\displaystyle\sf y(t)=-(1)/(4i)(e^(4i t)-e^(-4i t)).

Using Euler's formula
\displaystyle\sf e^(ix)=\cos(x)+i\sin(x), we can rewrite the solution as:


\displaystyle\sf y(t)=(1)/(2)\sin(4t).

Therefore, the solution to the first differential equation is
\displaystyle\sf y(t)=(1)/(2)\sin(4t).

2. For the differential equation
\displaystyle\sf y, we have the initial conditions
\displaystyle\sf y(0)=0 and
\displaystyle\sf y'(0)=3.

Applying the Laplace transform to both sides of the equation, we get:


\displaystyle\sf s^(2)Y(s)-sy(0)-y'(0)+4(sY(s)-y(0))+5Y(s)=e^(-s).

Substituting the initial conditions, we have:


\displaystyle\sf s^(2)Y(s)-3+4sY(s)+5Y(s)=e^(-s).

Rearranging the equation, we obtain:


\displaystyle\sf (s^(2)+4s+5)Y(s)=e^(-s)+3.

Simplifying further:


\displaystyle\sf Y(s)=(e^(-s)+3)/(s^(2)+4s+5).

To find the inverse Laplace transform of
\displaystyle\sf Y(s), we need to consider the denominator
\displaystyle\sf s^(2)+4s+5.

The quadratic
\displaystyle\sf s^(2)+4s+5 has complex roots given by
\displaystyle\sf s=-2+1i and
\displaystyle\sf s=-2-1i.

Using partial fractions, we can write:


\displaystyle\sf Y(s)=(A)/(s-(-2+1i))+(B)/(s-(-2-1i)).

Solving for
\displaystyle\sf A and
\displaystyle\sf B, we find:


\displaystyle\sf A=(e^(-(-2+1i))+3)/((-2+1i)-(-2-1i))=(e^(1i)+3)/(2i) and
\displaystyle\sf B=(e^(-(-2-1i))+3)/((-2-1i)-(-2+1i))=(e^(-1i)+3)/(-2i).

Thus,
\displaystyle\sf Y(s) can be written as:


\displaystyle\sf Y(s)=(e^(i)+3)/(2i(s+2-1i))+(e^(-i)+3)/(-2i(s+2+1i)).

Applying the inverse Laplace transform, we get the solution for
\displaystyle\sf y(t):


\displaystyle\sf y(t)=(e^(t)\sin(t))/(2)+(e^(-t)\sin(t))/(2)+(3)/(2)\left(e^(-(t+2))\cos(t+2)+e^(-(t+2))\sin(t+2)\right).

Therefore, the solution to the second differential equation is
\displaystyle\sf y(t)=(e^(t)\sin(t))/(2)+(e^(-t)\sin(t))/(2)+(3)/(2)e^(-(t+2))\cos(t+2)+(3)/(2)e^(-(t+2))\sin(t+2).

answered
User Beloblotskiy
by
8.7k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.