Wave equation solution
Heat equation
Apply to a PDE, ut⁡t=a2⁡ux⁡x for 0<x<π, t>0, with initial conditions u(x,0)=-sin⁡3x, ut(x,0)=0, boundary conditions u(0,t)=u(π,t)=0.
Apply Laplace transform, obtain a family of ODEs labeled by s
Solve the ODE ⇒U(x,s)=c1es⁡x/a+c2⁡e-s⁡x/a-s⁡sin(3x)/(s2+(3a)2)
Inverse Laplace transform and apply boundary conditions
Apply to a PDE, ut=a2⁡ux⁡x for 0<x<π, t>0, with initial conditions u(x,0)=-sin⁡3x, boundary conditions u(0,t)=u(π,t)=0.
Solve the ODE ⇒U(x,s)=c1es⁡x/a+c2⁡e-s⁡x/a-⁡sin(3x)/(s+(3a)2)
Inverse Laplace transform requires consideration of complex plane extension for general BCs. For homogeneous Dirichlet, c1=c2=0