Using inverse Laplace transform to solve differential equation

708 Views Asked by At

The differential equation is as follows-

$$\frac{d^2 x}{dt^2} + 5 \frac{dx}{dt} + 6x = e^t $$

I use laplace transform to make it to become - $$X(s) = \frac{1}{(s-1)(s+3)(s+2)}$$ where $X(s)$ is the Laplace transform of $X(t)$

So now I am trying to find $X(t)$ using inverse transform.

From partial fractions-

$X(s) = \frac{1}{(s-1)(s+3)(s+2)} = \frac{A}{s-1} + \frac{B}{s+3} + \frac{C}{s+2} $

Numerator - $ 1 = A(s+3)(s+2) + B(s-1)(s+2) + C(s-1)(s+3) $

I am stuck from here on how to carry on this partial fraction

Can I sub all s values to be 0 ?

For example

$1 = A(0+3)(0+2)$

$1= B(0-1)(0+2) $

$1 = C (0-1)(0+3) $

3

There are 3 best solutions below

6
On BEST ANSWER

So, if we have that $$1 = A(s+3)(s+2) + B(s-1)(s+2) + C(s-1)(s+3)$$ We can expand everything to get $$1=A(s^2+5s+6)+B(s^2+s-2)+C(s^2+2s-3)$$ $$1=s^2(A+B+C)+s(5A+B+2C)+1(6A-2B-3C)$$ So we must have that $A+B+C=0$, $5A+B+2C=0$ and $6A-2B-3C=1$.

Or alternatively: $$1 = A(s+3)(s+2) + B(s-1)(s+2) + C(s-1)(s+3)$$ If we substitute $s=1$ we get that $$1=A(1+3)(1+2)$$ With $s=-2$ we get that $$1=C(-2-1)(-2+3)$$ And with $s=-3$ we get that $$1=B(-3-1)(-3+2)$$

And here is a video about the partial fraction decomposition, you might find it helpful.

5
On

$ s=0$ is not the best choice

There are three values to assign to $s$ which makes our life very easy.

$$1 = A(s+3)(s+2) + B(s-1)(s+2) + C(s-1)(s+3)$$

$$ s=1 \implies 12A=1 \implies A=\frac {1}{12}$$

$$ s=-3 \implies 4B=1 \implies B=\frac {1}{4}$$

$$ s=-2 \implies -3C=1 \implies C=\frac {-1}{3}$$

Now you proceed with the inverse Laplace Transform.

0
On

$$X(s) = \frac{1}{(s-1)(s+3)(s+2)}$$ Substitute $k=s+2$ $$F(k) = \frac{1}{(k-3)(k+1)k}$$

$$F(k) = \frac{1}{(k-3)}\left(\frac 1 {(k+1)k} \right)$$ $$F(k) = \frac{1}{(k-3)}\left(\frac 1 k-\frac 1 {k+1} \right)$$ $$F(k) = \frac{1}{(k-3)}\frac 1 k-\frac{1}{(k-3)}\frac 1 {(k+1)} $$ $$F(k) = \frac 13 \left (\frac{1}{(k-3)}-\frac 1 k\right )-\frac 14\left(\frac{1}{(k-3)}-\frac 1 {(k+1)} \right )$$ $$F(k) = \frac 1 {12} \frac{1}{(k-3)}-\frac 1{3k}+\frac 14\frac 1 {(k+1)} $$ Substitute back $k=s+2$ $$X(s)=-\frac 1{3(s+2)}+\frac 1{4(s+3)}+\frac 1 {12(s-1)}$$ $$x(t)=-\frac 1{3}e^{-2t}+\frac 1{4}e^{-3t}+\frac 1 {12}e^{t}$$ It's a bit longer but i find this method easier