Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

8.4: The Unit Step Function

( \newcommand{\kernel}{\mathrm{null}\,}\)

In the next section we’ll consider initial value problems

ay+by+cy=f(t),y(0)=k0,y(0)=k1,

where a, b, and c are constants and f is piecewise continuous. In this section we’ll develop procedures for using the table of Laplace transforms to find Laplace transforms of piecewise continuous functions, and to find the piecewise continuous inverses of Laplace transforms.

Example 8.4.1

Use the table of Laplace transforms to find the Laplace transform of

f(t)={2t+1,0t<2,3t,t2

(Figure 8.4.1 ).

clipboard_e94e7d2604511848a7c8bb76ef9b58277.png
Figure 8.4.1 : The piecewise continuous function Equation ???.
Solution

Since the formula for f changes at t=2, we write

L(f)=0estf(t)dt=20est(2t+1)dt+2est(3t)dt.

To relate the first term to a Laplace transform, we add and subtract

2est(2t+1)dt

in Equation 8.4.3 to obtain

L(f)=0est(2t+1)dt+2est(3t2t1)dt=0est(2t+1)dt+2est(t1)dt=L(2t+1)+2est(t1)dt.

To relate the last integral to a Laplace transform, we make the change of variable x=t2 and rewrite the integral as

2est(t1)dt=0es(x+2)(x+1)dx=e2s0esx(x+1)dx.

Since the symbol used for the variable of integration has no effect on the value of a definite integral, we can now replace x by the more standard t and write

2est(t1)dt=e2s0est(t+1)dt=e2sL(t+1).

This and Equation 8.4.6 imply that

L(f)=L(2t+1)+e2sL(t+1).

Now we can use the table of Laplace transforms to find that

L(f)=2s2+1s+e2s(1s2+1s).

Laplace Transforms of Piecewise Continuous Functions

We’ll now develop the method of Example 8.4.1 into a systematic way to find the Laplace transform of a piecewise continuous function. It is convenient to introduce the unit step function, defined as

U(t)={0,t<01,t0.

Thus, U(t) “steps” from the constant value 0 to the constant value 1 at t=0. If we replace t by tτ in Equation ???, then

U(tτ)={0,t<τ,1,tτ;

that is, the step now occurs at t=τ (Figure 8.4.2 ).

clipboard_e54ae0f0300f79bb3341c8a1e1f04d5e0.png
Figure 8.4.2 : y=U(tτ)

The step function enables us to represent piecewise continuous functions conveniently. For example, consider the function

f(t)={f0(t),0t<t1,f1(t),tt1,

where we assume that f0 and f1 are defined on [0,), even though they equal f only on the indicated intervals. This assumption enables us to rewrite Equation ??? as

f(t)=f0(t)+U(tt1)(f1(t)f0(t)).

To verify this, note that if t<t1 then U(tt1)=0 and Equation ??? becomes

f(t)=f0(t)+(0)(f1(t)f0(t))=f0(t).

If tt1 then U(tt1)=1 and Equation ??? becomes

f(t)=f0(t)+(1)(f1(t)f0(t))=f1(t).

We need the next theorem to show how Equation ??? can be used to find L(f).

Theorem 8.4.1

Let g be defined on [0,). Suppose τ0 and L(g(t+τ)) exists for s>s0. Then L(U(tτ)g(t)) exists for s>s0, and

L(U(tτ)g(t))=esτL(g(t+τ)).

Proof

By definition,

L(U(tτ)g(t))=0estU(tτ)g(t)dt.

From this and the definition of U(tτ),

L(U(tτ)g(t))=τ0est(0)dt+τestg(t)dt.

The first integral on the right equals zero. Introducing the new variable of integration x=tτ in the second integral yields

L(U(tτ)g(t))=0es(x+τ)g(x+τ)dx=esτ0esxg(x+τ)dx.

Changing the name of the variable of integration in the last integral from x to t yields

L(U(tτ)g(t))=esτ0estg(t+τ)dt=esτL(g(t+τ)).

Example 8.4.2

Find L(U(t1)(t2+1)).

Solution

Here τ=1 and g(t)=t2+1, so

g(t+1)=(t+1)2+1=t2+2t+2.

Since

L(g(t+1))=2s3+2s2+2s,

Theorem 8.4.1 implies that

L(U(t1)(t2+1))=es(2s3+2s2+2s).

Example 8.4.3

Use Theorem 8.4.1 to find the Laplace transform of the function

f(t)={2t+1,0t<2,3t,t2,

from Example 8.4.1 .

Solution

We first write f in the form Equation ??? as

f(t)=2t+1+U(t2)(t1).

Therefore

L(f)=L(2t+1)+L(U(t2)(t1))=L(2t+1)+e2sL(t+1) (from Theorem 8.4.1)=2s2+1s+e2s(1s2+1s),

which is the result obtained in Example 8.4.1 .

Formula Equation ??? can be extended to more general piecewise continuous functions. For example, we can write

f(t)={f0(t),0t<t1,f1(t),t1t<t2,f2(t),tt2,

as

f(t)=f0(t)+U(tt1)(f1(t)f0(t))+U(tt2)(f2(t)f1(t))

if f0, f1, and f2 are all defined on [0,).

Example 8.4.4

Find the Laplace transform of

f(t)={1,0t<2,2t+1,2t<3,3t,3t<5,t1,t5

(Figure 8.4.3 ).

clipboard_e97c70af41208889def240d4d2847187d.png
Figure 8.4.3 : The piecewise continuous function Equation ???
Solution

In terms of step functions,

f(t)=1+U(t2)(2t+11)+U(t3)(3t+2t1)=+U(t5)(t13t),

or

f(t)=12U(t2)t+U(t3)(5t1)U(t5)(2t+1).

Now Theorem 8.4.1 implies that

L(f)=L(1)2e2sL(t+2)+e3sL(5(t+3)1)e5sL(2(t+5)+1)=L(1)2e2sL(t+2)+e3sL(5t+14)e5sL(2t+11)=1s2e2s(1s2+2s)+e3s(5s2+14s)e5s(2s2+11s).

The trigonometric identities

sin(A+B)=sinAcosB+cosAsinB

cos(A+B)=cosAcosBsinAsinB

are useful in problems that involve shifting the arguments of trigonometric functions. We’ll use these identities in the next example.

Example 8.4.5

Find the Laplace transform of

f(t)={sint,0t<π2cost3sint,π2t<π3cost,tπ

(Figure 8.4.4 ).

clipboard_eb2aa8d97b471b88d6b62bb7f7bad9c42.png
Figure 8.4.4 : The piecewise continuous function Equation ???.
Solution

In terms of step functions,

f(t)=sint+U(tπ/2)(cost4sint)+U(tπ)(2cost+3sint).

Now Theorem 8.4.1 implies that

L(f)=L(sint)+eπ2sL(cos(t+π2)4sin(t+π2))+eπsL(2cos(t+π)+3sin(t+π)).

Since

cos(t+π2)4sin(t+π2)=sint4cost

and

2cos(t+π)+3sin(t+π)=2cost3sint,

we see from Equation ??? that

L(f)=L(sint)eπs/2L(sint+4cost)eπsL(2cost+3sint)=1s2+1eπ2s(1+4ss2+1)eπs(3+2ss2+1).

The Second Shifting Theorem

Replacing g(t) by g(tτ) in Theorem 8.4.1 yields the next theorem.

Theorem 8.4.2 : Second Shifting Theorem

If τ0 and L(g) exists for s>s0 then L(U(tτ)g(tτ)) exists for s>s0 and

L(U(tτ)g(tτ))=esτL(g(t)),

or, equivalently,

if g(t)G(s), then U(tτ)g(tτ)esτG(s).

Note

Recall that the First Shifting Theorem (Theorem 8.1.3 states that multiplying a function by eat corresponds to shifting the argument of its transform by a units. Theorem 8.4.2 states that multiplying a Laplace transform by the exponential eτs corresponds to shifting the argument of the inverse transform by τ units.

Example 8.4.6

Use Equation ??? to find

L1(e2ss2).

Solution

To apply Equation ??? we let τ=2 and G(s)=1/s2. Then g(t)=t and Equation ??? implies that

L1(e2ss2)=U(t2)(t2).

Example 8.4.7

Find the inverse Laplace transform h of

H(s)=1s2es(1s2+2s)+e4s(4s3+1s),

and find distinct formulas for h on appropriate intervals.

Solution

Let

G0(s)=1s2,G1(s)=1s2+2s,G2(s)=4s3+1s.

Then

g0(t)=t,g1(t)=t+2,g2(t)=2t2+1.

Hence, Equation ??? and the linearity of L1 imply that

h(t)=L1(G0(s))L1(esG1(s))+L1(e4sG2(s))=tU(t1)[(t1)+2]+U(t4)[2(t4)2+1]=tU(t1)(t+1)+U(t4)(2t216t+33),

which can also be written as

h(t)={t,0t<1,1,1t<4,2t216t+32,t4.

Example 8.4.8

Find the inverse transform of

H(s)=2ss2+4eπ2s3s+1s2+9+eπss+1s2+6s+10.

Solution

Let

G0(s)=2ss2+4,G1(s)=(3s+1)s2+9,

and

G2(s)=s+1s2+6s+10=(s+3)2(s+3)2+1.

Then

g0(t)=2cos2t,g1(t)=3cos3t13sin3t,

and

g2(t)=e3t(cost2sint).

Therefore Equation ??? and the linearity of L1 imply that

h(t)=2cos2tU(tπ/2)[3cos3(tπ/2)+13sin3(tπ2)]=+U(tπ)e3(tπ)[cos(tπ)2sin(tπ)].

Using the trigonometric identities Equation ??? and Equation ???, we can rewrite this as

h(t)=2cos2t+U(tπ/2)(3sin3t13cos3t)=U(tπ)e3(tπ)(cost2sint)

(Figure 8.4.5 ).

clipboard_e5a17aaafa9e42fd097fa788bfb479dbe.png
Figure 8.4.5 : The piecewise continuous function Equation 8.4.55.

This page titled 8.4: The Unit Step Function is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by William F. Trench.

Support Center

How can we help?