# Ordinary Differential Equations/Non Homogenous 1

Higher Order Differential Equations

## Non-Homogeneous EquationsEdit

A non-homogeneous equation of constant coefficients is an equation of the form

${\displaystyle {\frac {d^{n}y}{dx^{n}}}+c_{1}{\frac {d^{n-1}y}{dx^{n-1}}}+\ldots +c_{n}y=f(x)}$

where ci are all constants and f(x) is not 0.

### Complementary FunctionEdit

Every non-homogeneous equation has a complementary function (CF), which can be found by replacing the f(x) with 0, and solving for the homogeneous solution. For example, the CF of

${\displaystyle {\frac {d^{2}y}{dx^{2}}}-3{\frac {dy}{dx}}+4y={\frac {2\sin x}{x^{2}}}}$

is the solution to the differential equation

${\displaystyle {\frac {d^{2}y}{dx^{2}}}-3{\frac {dy}{dx}}+4y=0}$

### Superposition PrincipleEdit

The superposition principle makes solving a non-homogeneous equation fairly simple. The final solution is the sum of the solutions to the complementary function, and the solution due to f(x), called the particular integral (PI). In other words,

General Solution = CF + PI

## Method of Undetermined CoefficientsEdit

The method of undetermined coefficients is an easy shortcut to find the particular integral for some f(x). The method works only if a finite number of derivatives of f(x) eventually reduces to 0, or if the derivatives eventually fall into a pattern in a finite number of derivatives. If this is true, we then know part of the PI - the sum of all derivatives before we hit 0 (or all the derivatives in the pattern) multiplied by arbitrary constants. This is the trial PI. We can then plug our trial PI into the original equation to solve it fully.

As we will see, we may need to alter this trial PI depending on the CF. If the trial PI contains a term that is also present in the CF, then the PI will be absorbed by the arbitrary constant in the CF, and therefore we will not have a full solution to the problem.

### f(x) = ConstantEdit

The simplest case is when f(x) is constant, for example

${\displaystyle {\frac {d^{2}y}{dx^{2}}}+{\frac {dy}{dx}}-6y=3}$ .

The solution to the CF is

${\displaystyle y=Ae^{2x}+Be^{-3x}\,}$

We now need to find a trial PI. When we differentiate y=3, we get zero. Therefore, our trial PI is the sum of a functions of y before this, that is, 3 multiplied by an arbitrary constant, which gives another arbitrary constant, K.

We now set y equal to the PI and find the derivatives up to the order of the DE (here, the second).

${\displaystyle y=K\,}$
${\displaystyle {\frac {dy}{dx}}=0}$
${\displaystyle {\frac {d^{2}y}{dx^{2}}}=0}$

We can now substitute these into the original DE:

${\displaystyle 0+0-6K=3\,}$
${\displaystyle K=-{\frac {1}{2}}}$

By summing the CF and the PI, we can get the general solution to the DE:

${\displaystyle y=Ae^{2x}+Be^{-3x}-{\frac {1}{2}}\,}$

### f(x) = PolynomialEdit

This is the general method which includes the above example. A polynomial of order n reduces to 0 in exactly n+1 derivatives (so 1 for a constant as above, three for a quadratic, and so on). So we know that our PI is

${\displaystyle y=C_{1}x^{n}+C_{2}x^{n-1}+...+C_{n}x+C_{n+1}.\,}$

For an example, lets take

${\displaystyle {\frac {d^{2}y}{dx^{2}}}+5{\frac {dy}{dx}}+6y=3x^{4}+7x^{2}.\,}$

First off, we know that our PI is

${\displaystyle y=Ax^{4}+Bx^{3}+Cx^{2}+Dx+E.\,}$

In order to plug in, we need to calculate the first two derivatives of this:

${\displaystyle {\frac {dy}{dx}}=4Ax^{3}+3Bx^{2}+2Cx+D}$
${\displaystyle {\frac {d^{2}y}{dx^{2}}}=12Ax^{2}+6Bx+2C\,}$

Plugging in we get:

${\displaystyle 12Ax^{2}+6Bx+2C+5(4Ax^{3}+3Bx^{2}+2Cx+D)+6(Ax^{4}+Bx^{3}+Cx^{2}+Dx+E)=3x^{4}+7x^{2}}$
${\displaystyle 6Ax^{4}+(6B+20A)x^{3}+(6C+15B+12A)x^{2}+(6D+10C+6B)x+6E+5D+2C=3x^{4}+7x^{2}}$
${\displaystyle 6A=3\,}$
${\displaystyle 6B+20A=0\,}$
${\displaystyle 6C+15B+12A=7\,}$
${\displaystyle (6D+10C+6B)=0\,}$
${\displaystyle 6E+5D+2C=0\,}$

Solving gives us

${\displaystyle A={\frac {1}{2}}}$  ${\displaystyle B={\frac {-5}{3}}}$  ${\displaystyle C={\frac {13}{3}}}$  ${\displaystyle D={\frac {-50}{9}}}$  ${\displaystyle E={\frac {86}{27}}}$

So, our PI is

${\displaystyle y={\frac {1}{2}}x^{4}+{\frac {-5}{3}}x^{3}+{\frac {13}{3}}x^{2}+{\frac {-50}{9}}x+{\frac {86}{27}}}$

However, we need to get the complementary function as well. To get that, set f(x) to 0 and solve just like we did in the last section. For this equation, the roots are -3 and -2. So that makes our CF

${\displaystyle y=Ae^{-3x}+Be^{-2x}\,}$

Summing gives us our general solution:

${\displaystyle y=Ae^{-3x}+Be^{-2x}+{\frac {1}{2}}x^{4}-{\frac {5}{3}}x^{3}+{\frac {13}{3}}x^{2}-{\frac {50}{9}}x+{\frac {86}{27}}}$

### f(x) = Power of eEdit

Powers of e don't ever reduce to 0, but they do become a pattern. In fact it does so in only 1 differentiation, since it's its own derivative. So we know

${\displaystyle y_{p}=Ke^{px},\,}$

where K is our constant and p is the power of e givin in the original DE.

For example, consider

${\displaystyle {\frac {d^{2}y}{dx^{2}}}+5{\frac {dy}{dx}}+6y=5e^{2x}+6e^{-7x}}$ .

We make our trial PI

${\displaystyle y_{p}=Ae^{2x}+Be^{-7x}\,}$ .

Which then gives

${\displaystyle {\frac {dy}{dx}}=2Ae^{2x}-7Be^{-7x}\,}$
${\displaystyle {\frac {d^{2}y}{dx^{2}}}=4Ae^{2x}+49Be^{-7x}}$

Plugging in, we get

${\displaystyle 4Ae^{2x}+49Be^{-7x}+5\left(2Ae^{2x}-7Be^{-7x}\right)+6\left(Ae^{2x}+Be^{-7x}\right)\,}$
${\displaystyle =5e^{2x}+6e^{-7x}\,}$
${\displaystyle 20Ae^{2x}+20Be^{-7x}=5e^{2x}+6e^{-7x}\,}$
${\displaystyle A={\frac {1}{4}}}$
${\displaystyle B={\frac {3}{10}}}$
${\displaystyle y_{p}={\frac {1}{4}}e^{2x}+{\frac {3}{10}}e^{-7x}}$

That's the particular integral. We found the CF earlier. So the general solution is

${\displaystyle y=Ae^{-3x}+Be^{-2x}+{\frac {1}{4}}e^{2x}+{\frac {3}{10}}e^{-7x}\,}$

### f(x) = Polynomial × Power of eEdit

Polynomials multiplied by powers of e also form a loop, in n derivatives (where n is the highest power of x in the polynomial). So we know that our trial PI is

${\displaystyle y_{p}=C_{n}x^{n}e^{px}+C_{n-1}x^{n-1}e^{px}+...+C_{0}e^{px},\,}$

where C is a constant and p is the power of e in the equation.

For example, lets try

${\displaystyle {\frac {d^{2}y}{dx^{2}}}+5{\frac {dy}{dx}}+6y=3xe^{2x}}$

We can now set our PI to

${\displaystyle y_{p}=Axe^{2x}+Be^{2x}\,}$ .
${\displaystyle {\frac {dy_{p}}{dx}}=2Axe^{2x}+Ae^{2x}+2Be^{2x}}$
${\displaystyle {\frac {d^{2}y_{p}}{dx^{2}}}=4Axe^{2x}+4Ae^{2x}+4Be^{2x}}$

Plugging in, we get

${\displaystyle 4Axe^{2x}+4Ae^{2x}+4Be^{2x}+5(2Axe^{2x}+Ae^{2x}+2Be^{2x})+6(Axe^{2x}+Be^{2x})=3xe^{2x}\,}$
${\displaystyle 20A=3\,}$
${\displaystyle 9A+20B=0\,}$
${\displaystyle A={\frac {3}{20}}}$
${\displaystyle B={\frac {-27}{400}}}$
${\displaystyle y_{p}={\frac {3}{20}}xe^{2x}-{\frac {27}{400}}e^{2x}}$

Thats the particular solution. We found the homogeneous solution earlier. So the total solution is

${\displaystyle y=Ae^{-3x}+Be^{-2x}+{\frac {3}{20}}xe^{2x}-{\frac {27}{400}}e^{2x}}$

### f(x) = Trigonometric FunctionsEdit

Trig functions don't reduce to 0 either. But they do have a loop of 2 derivatives - the derivative of sin x is cos x, and the derivative of cos x is -sin x. So we put our PI as

${\displaystyle y_{p}=A\sin(px)+B\cos(px),\,}$

where C is a constant and p is the term inside the trig. function in the original DE.

For example, lets try

${\displaystyle {\frac {d^{2}y}{dx^{2}}}+5{\frac {dy}{dx}}+6y=\cos 3x.}$

We set our PI to

${\displaystyle y_{p}=A\sin 3x+B\cos 3x\,}$
${\displaystyle {\frac {dy_{p}}{dx}}=3A\cos 3x-3B\sin 3x}$
${\displaystyle {\frac {d^{2}y_{p}}{dx^{2}}}=-9A\sin 3x-9B\cos 3x}$

Plugging in, we get

${\displaystyle -9A\sin 3x-9B\cos 3x+5\left(3A\cos 3x-3B\sin 3x\right)\,}$
${\displaystyle +6\left(A\sin 3x+B\cos 3x\right)=\cos 3x\,}$
${\displaystyle 15A-3B=1\,}$
${\displaystyle -3A-15B=0\,}$
${\displaystyle A={\frac {5}{78}}}$
${\displaystyle B={\frac {-1}{78}}}$
${\displaystyle y_{p}={\frac {5}{78}}\sin 3x-{\frac {1}{78}}\cos 3x}$

Thats the particular solution. We found the homogeneous solution earlier. So the total solution is

${\displaystyle y=Ae^{-3x}+Be^{-2x}+{\frac {5}{78}}\sin 3x-{\frac {1}{78}}\cos 3x}$

### f(x) = A MixtureEdit

Not only are any of the above solvable by the method of undetermined coefficients, so is the sum of one or more of the above. This is because the sum of two things whose derivatives either go to 0 or loop must also have a derivative that goes to 0 or loops. The ${\displaystyle y_{p}}$  would be the sum of the individual ${\displaystyle y_{p}}$  functions.

### If the Trial PI shares terms with the CFEdit

When dealing with ${\displaystyle e^{x}}$ , or sometimes with polynomials (if the homogeneous equation has roots of 0) as f(x), you may get the same term in both the trial PI and the CF. If this happens, the PI will be absorbed into the arbitrary constants of the CF, which will not result in a full solution. To overcome this, multiply the affected terms by x as many times as needed until it no longer appears in the CF.

As an example, let's take

${\displaystyle {\frac {d^{3}y}{dx^{3}}}+{\frac {d^{2}y}{dx^{2}}}=2x.}$

First, solve the homogeneous equation to get the CF.

${\displaystyle {\frac {d^{3}y}{dx^{3}}}+{\frac {d^{2}y}{dx^{2}}}=0.}$

The auxiliary polynomial is

${\displaystyle m^{3}+m^{2}=0\,}$

Find the roots of the auxiliary polynomial. In this case, they are

${\displaystyle m=0,\ 0,\ -1\,}$

The CF is

${\displaystyle y=Ae^{0x}+Bxe^{0x}+Ce^{-x}=A+Bx+Ce^{-x}\,}$

Now for the particular integral. Since f(x) is a polynomial of degree 1, we would normally use Ax+B. However, since both a term in x and a constant appear in the CF, we need to multiply by x² and use

${\displaystyle y_{p}=Ax^{3}+Bx^{2}\,}$ .

We solve this as we normally do for A and B.

${\displaystyle {\frac {dy_{p}}{dx}}=3Ax^{2}+2Bx\,}$
${\displaystyle {\frac {d^{2}y_{p}}{dx^{2}}}=6Ax+2B\,}$
${\displaystyle {\frac {d^{3}y_{p}}{dx^{3}}}=6A}$
${\displaystyle 6A+6Ax+2B=2x\,}$
${\displaystyle 6A=2\,}$
${\displaystyle 6A+2B=0\,}$
${\displaystyle A={\frac {1}{3}}\,}$
${\displaystyle B=-1\,}$
${\displaystyle y_{p}={\frac {1}{3}}x^{3}-x^{2}}$

So the total solution is

${\displaystyle y=A+Bx+Ce^{-x}+{\frac {1}{3}}x^{3}-x^{2}}$

## Variation of ParametersEdit

Variation of parameters is a method for finding a particular solution to the equation ${\displaystyle y''+p(x)y'+q(x)y=f(x)}$  if the general solution for the corresponding homogeneous equation ${\displaystyle y''+p(x)y'+q(x)y=0}$  is known. We will now derive this general method.

We already know the general solution of the homogenous equation: it is of the form ${\displaystyle c_{1}y_{1}+c_{2}y_{2}}$ . We will look for a particular solution of the non-homogenous equation of the form ${\displaystyle \psi =uy_{1}+vy_{2}}$ , with u and v functions of the independent variable x. Differentiating this we get

${\displaystyle u'y_{1}+uy_{1}'+v'y_{2}+vy_{2}'\,}$

Now notice that there is currently only one condition on ${\displaystyle \psi }$ , namely that ${\displaystyle \psi ''+p(x)\psi '+q(x)\psi =f(x)}$ . We now impose another condition, that

${\displaystyle u'y_{1}+v'y_{2}=0\,}$

This means that ${\displaystyle \psi ''}$  will have no second derivatives of ${\displaystyle u}$  and ${\displaystyle v}$ . Thus, these new parameters (hence the name "variation of parameters") will be the solutions to some first order differential equation, which can be solved. Let us finish the problem:

${\displaystyle \psi ''=u'y_{1}'+uy_{1}''+v'y_{2}'+vy_{2}''\,}$

and

${\displaystyle \psi ''+p(x)\psi '+q(x)\psi =f(x)\,}$

${\displaystyle u'y_{1}'+v'y_{2}'+uy_{1}''+vy_{2}''+p(x)(uy_{1}'+vy_{2}')+q(x)(uy_{1}+vy_{2})=f(x)\,}$

${\displaystyle u'y_{1}'+v'y_{2}'+u(y_{1}''+p(x)y_{1}'+q(x)y_{1})+v(y_{2}''+p(x)y_{2}'+q(x)y_{2})=f(x)\,}$

${\displaystyle u'y_{1}'+v'y_{2}'=f(x)\,}$ ,

where the last step follows from the fact that ${\displaystyle y_{1}}$  and ${\displaystyle y_{2}}$  are solutions of the homogeneous equation.

Therefore, we have ${\displaystyle u'y_{1}+v'y_{2}=0}$  and ${\displaystyle u'y_{1}'+v'y_{2}'=f(x)}$ . Multiplying the first equation by ${\displaystyle y_{2}'}$  and the second by ${\displaystyle -y_{2}}$  and adding gives

${\displaystyle u'y_{1}y_{2}'-u'y_{1}'y_{2}=-f(x)y_{2}\,}$

${\displaystyle u'={-f(x)y_{2} \over y_{1}y_{2}'-y_{1}'y_{2}}}$

A similar procedure gives

${\displaystyle v'={f(x)y_{1} \over y_{1}y_{2}'-y_{1}'y_{2}}}$ .

Now it is only necessary to evaluate these expressions and integrate them with respect to ${\displaystyle x}$  to get the functions ${\displaystyle u}$  and ${\displaystyle v}$ , and then we have our particular solution ${\displaystyle \psi =uy_{1}+vy_{2}}$ . The general solution to the differential equation ${\displaystyle y''+p(x)y'+q(x)y=f(x)\,}$  is therefore ${\displaystyle c_{1}y_{1}+c_{2}y_{2}+uy_{1}+vy_{2}\,}$ .

Note that the main difficulty with this method is that the integrals involved are often extremely complicated. If the integral does not work out well, it is best to use the method of undetermined coefficients instead.

The quantity that appears in the denominator of the expressions for ${\displaystyle u'}$  and ${\displaystyle v'}$  is called the Wronskian of ${\displaystyle y_{1}}$  and ${\displaystyle y_{2}}$ .

## Laplace TransformsEdit

The Laplace transform is a very useful tool for solving nonhomogenous initial-value problems. It allows us to reduce the problem of solving the differential equation to that of solving an algebraic equation. We begin with some setup.

### Definition of the Laplace TransformEdit

The Laplace transform of ${\displaystyle f(t)\,}$  is defined as

${\displaystyle F(s)=\int _{0}^{\infty }f(t)e^{-st}dt}$ .

This can also be written as ${\displaystyle {\mathcal {L}}\{f(t)\}}$ . When writing this on paper, you may write a cursive capital "L" and it will be generally understood. There is also an inverse Laplace transform ${\displaystyle {\mathcal {L}}^{-1}\{F(s)\}=f(t)}$ , but calculating it requires an integration with respect to a complex variable. Luckily, it is frequently possible to find ${\displaystyle {\mathcal {L}}^{-1}\{F(s)\}}$  without resorting to this integration, using a variety of tricks which will be described later. However, it is first necessary to prove some facts about the Laplace transform.

### Two Properties of the Laplace TransformEdit

Property 1. The Laplace transform is a linear operator; that is, ${\displaystyle {\mathcal {L}}\{c_{1}f(t)+c_{2}g(t)\}=c_{1}{\mathcal {L}}\{f(t)\}+c_{2}{\mathcal {L}}\{g(t)\}}$ .

The proof of this property follows immediately from the definition of the Laplace transform and is left to the reader.

Property 2. If ${\displaystyle F(s)={\mathcal {L}}\{f(t)\}}$ , then ${\displaystyle {\mathcal {L}}\{f'(t)\}=sF(s)-f(0)}$

Proof:
${\displaystyle {\mathcal {L}}\{f'(t)\}=\int _{0}^{\infty }f'(t)e^{-st}dt}$
${\displaystyle =\lim _{C\to \infty }\left.e^{-st}f(t)\right|_{0}^{C}-\int _{0}^{C}-sf(t)e^{-st}dt}$  (integrating by parts)
${\displaystyle =-f(0)+s\lim _{C\to \infty }\int _{0}^{C}f(t)e^{-st}dt}$
${\displaystyle =s{\mathcal {L}}\{f(t)\}-f(0)}$
${\displaystyle =sF(s)-f(0)\,}$

It is property 2 that makes the Laplace transform a useful tool for solving differential equations. As a corollary of property 2, note that ${\displaystyle {\mathcal {L}}\{f''(t)\}=s^{2}F(s)-sf(0)-f'(0)}$ .

### Laplace Transforms of Simple FunctionsEdit

${\displaystyle {\mathcal {L}}\{1\}={1 \over s}}$

${\displaystyle {\mathcal {L}}\{e^{at}\}={1 \over s-a}}$

${\displaystyle {\mathcal {L}}\{\cos \omega t\}={s \over s^{2}+\omega ^{2}}}$

${\displaystyle {\mathcal {L}}\{\sin \omega t\}={\omega \over s^{2}+\omega ^{2}}}$

The last two can be easily calculated using Euler's formula ${\displaystyle e^{i\omega t}=\cos \omega t+i\sin \omega t\,}$ .

In order to find more Laplace transforms, in particular the transform of ${\displaystyle t^{n}}$ , we will derive two more properties of the transform.

### Two More Properties of the Laplace TransformEdit

Property 3. If ${\displaystyle {\mathcal {L}}\{f(t)\}=F(s)}$ , then ${\displaystyle {\mathcal {L}}\{tf(t)\}=-F'(s)}$ .

Property 4. If ${\displaystyle {\mathcal {L}}\{f(t)\}=F(s)}$ , then ${\displaystyle {\mathcal {L}}\{e^{at}f(t)\}=F(s-a)}$ .

The proofs are straightforward and are left to the reader.

Now we can easily see that ${\displaystyle {\mathcal {L}}\{t\}={\mathcal {L}}\{(t)(1)\}=-{d \over dt}{\mathcal {L}}\{1\}={1 \over s^{2}}}$  . Applying Property 3 multiple times, we can find that ${\displaystyle {\mathcal {L}}\{t^{n}\}={n! \over s^{n+1}}}$ . At last we are ready to solve a differential equation using Laplace transforms.

### Using Laplace Transforms to Solve Non-Homogeneous Initial-Value ProblemsEdit

In general, we solve a second-order linear non-homogeneous initial-value problem as follows: First, we take the Laplace transform of both sides. This immediately reduces the differential equation to an algebraic one. We then solve for ${\displaystyle F(s)}$ . Finally, we take the inverse transform of both sides to find ${\displaystyle y}$ .

Let's begin by using this technique to solve the problem

${\displaystyle y''-4y'+3y=e^{-t};y(0)=0,y'(0)=1\,}$ .

We begin by taking the Laplace transform of both sides and using property 1 (linearity):

${\displaystyle s^{2}F(s)-sy(0)-y'(0)-4[sF(s)-y(0)]+3F(s)={1 \over s+1}}$
${\displaystyle (s^{2}-4s+3)F(s)-1={1 \over s+1}}$  (using the initial conditions)

Now we isolate ${\displaystyle F(s)}$ :

${\displaystyle F(s)={1 \over (s-3)(s-1)}+{1 \over (s-3)(s-1)(s+1)}}$

Here we have factored ${\displaystyle s^{2}-4s+3}$  in preparation for the next step. We now attempt to take the inverse transform of both sides; in order to do this, we will have to break down the right hand side into partial fractions.

${\displaystyle F(s)={A \over (s-3)}+{B \over (s-1)}+{C \over (s-3)}+{D \over (s+1)}+{E \over (s-1)}}$

The first two fractions imply that ${\displaystyle A(s-1)+B(s-3)=1\,}$ . Setting ${\displaystyle s=3}$  gives ${\displaystyle A={1 \over 2}}$ , while setting ${\displaystyle s=1}$  gives ${\displaystyle B=-{1 \over 2}}$ . The other three fractions similarly give ${\displaystyle C=D={1 \over 8}}$  and ${\displaystyle E=-{1 \over 4}}$ . Therefore:

${\displaystyle F(s)={1 \over 2(s-3)}-{1 \over 2(s-1)}+{1 \over 8(s-3)}+{1 \over 8(s+1)}-{1 \over 4(s-1)}}$
${\displaystyle ={5 \over 8(s-3)}-{3 \over 4(s-1)}+{1 \over 8(s+1)}}$
${\displaystyle ={5 \over 8}{\mathcal {L}}\{e^{3t}\}-{3 \over 4}{\mathcal {L}}\{e^{t}\}+{1 \over 8}{\mathcal {L}}\{e^{-t}\}}$

And finally we can take the inverse transform (by inspection, of course) to get

${\displaystyle y={5 \over 8}e^{3t}-{3 \over 4}e^{t}+{1 \over 8}e^{-t}}$ .

### The ConvolutionEdit

The convolution is a method of combining two functions to yield a third function. The convolution has applications in probability, statistics, and many other fields because it represents the "overlap" between the functions. We are not concerned with this property here; for us the convolution is useful as a quick method for calculating inverse Laplace transforms.

Definition. The convolution ${\displaystyle (f*g)(t)\,}$  is defined as ${\displaystyle \int _{0}^{t}f(u)g(t-u)du}$ .

The convolution has several useful properties, which are stated below:

Property 1. ${\displaystyle ((f*g)*h)(t)=(f*(g*h))(t)\,}$  (Associativity)

Property 2. ${\displaystyle (f*g)(t)=(g*f)(t)\,}$  (Commutativity)

Property 3. ${\displaystyle (f*(g+h))(t)=(f*g)(t)+(f*h)(t)\,}$  (Distribution over addition)

We now prove the result that makes the convolution useful for calculating inverse Laplace transforms.

Theorem. ${\displaystyle {\mathcal {L}}\{(f*g)(t)\}={\mathcal {L}}\{f(t)\}\cdot {\mathcal {L}}\{g(t)\}}$

Proof:
${\displaystyle {\mathcal {L}}\{(f*g)(t)\}}$
${\displaystyle =\int _{0}^{\infty }(f*g)(t)e^{-st}dt}$
${\displaystyle =\int _{0}^{\infty }\left[\int _{0}^{t}f(u)g(t-u)du\right]e^{-st}dt}$
${\displaystyle =\int _{0}^{\infty }\int _{0}^{t}e^{-st}f(u)g(t-u)du\,dt}$
${\displaystyle =\int _{0}^{\infty }\int _{u}^{\infty }e^{-st}f(u)g(t-u)dt\,du}$  (changing order of integration)
${\displaystyle =\int _{0}^{\infty }f(u)\left[\int _{u}^{\infty }e^{-st}g(t-u)dt\right]du}$
Now let ${\displaystyle v=t-u}$ .
${\displaystyle =\int _{0}^{\infty }f(u)\left[\int _{0}^{\infty }e^{-s(u+v)}g(v)dv\right]du}$
${\displaystyle =\int _{0}^{\infty }e^{-su}f(u)\left[\int _{0}^{\infty }e^{-sv}g(v)dv\right]du}$
${\displaystyle ={\mathcal {L}}\{f(t)\}\cdot {\mathcal {L}}\{g(t)\}}$

Let's solve another differential equation:

${\displaystyle y''+y=\sin t\,;y(0)=0,y'(0)=0}$

Taking Laplace transforms of both sides gives

${\displaystyle s^{2}F(s)+F(s)={1 \over s^{2}+1}}$
${\displaystyle F(s)={1 \over (s^{2}+1)^{2}}}$

We now have to find ${\displaystyle {\mathcal {L}}^{-1}\lbrace F(s)\rbrace }$ . To do this, we notice that ${\displaystyle {1 \over (s^{2}+1)^{2}}=[{\mathcal {L}}\{\sin t\}]^{2}}$ , so ${\displaystyle F(s)={\mathcal {L}}\{\sin t*\sin t\}}$  by the Theorem above. Thus, the solution to our differential equation is the convolution of sine with itself. We proceed to calculate this:

${\displaystyle \sin t*\sin t\,}$
${\displaystyle =\int _{0}^{t}\sin(u)\sin(t-u)du}$
${\displaystyle =\int _{0}^{t}{\cos(2u-t)-\cos(t) \over 2}du}$
${\displaystyle ={1 \over 2}\sin t-{1 \over 2}t\cos t}$

Therefore, the solution to the original equation is

${\displaystyle y={1 \over 2}\sin t-{1 \over 2}t\cos t}$ .