1. Home
  2. Explore
  3. Mathematics
  4. Unit Step Functions

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Unit Step Functions

Unit Step Functions and the Laplace Transform of Shifted Functions

Differential equations become especially valuable when they are used to model real physical systems. The methods for solving differential equations are therefore more than a collection of algebraic techniques: they provide a way to predict how electrical, mechanical, or other systems behave over time.

Real-world inputs are not always smooth and continuous. A switch may suddenly turn on, a force may be applied, or a voltage may be introduced at a particular time. To represent these events mathematically, differential equations often use functions with jumps. The first important example is the unit step function.

The Unit Step Function

The unit step function that begins at time ccc is written as

uc(t)u_c(t)uc​(t)

and is defined by

uc(t)={0,t<c,1,t≥c.u_c(t)= \begin{cases} 0, & t<c,\\ 1, & t\geq c. \end{cases}uc​(t)={0,1,​t<c,t≥c.​

This function remains at 000 until time ccc. At time ccc, it jumps to $1 and stays there permanently.

The value at the jump is important. Because the definition uses t≥ct\geq ct≥c, the function has value 111 at t=ct=ct=c, not 000.

A graph of the function has the shape of a horizontal step:

  • The graph is at height 000 for times less than ccc.
  • At t=ct=ct=c, the graph jumps to height 111.
  • The graph remains at height 111 for all later times.

In Laplace-transform problems, the relevant time interval is usually t≥0t\geq 0t≥0, because the Laplace transform integrates from 000 to infinity.

The unit step function uc(t)u_c(t)uc​(t) acts like an idealized switch: it is off before time ccc and on after time ccc.

Why the Unit Step Function Is Useful

A truly physical system cannot usually change its state instantaneously. For example, a mechanical object cannot move from one position to another with infinite speed, and an electrical current cannot change infinitely quickly in a real circuit.

However, a sudden jump can often be approximated analytically by a unit step function. This approximation can make a differential-equation model much easier to construct and solve while still capturing the important behavior of the system.

Examples of events that can be approximated by a step include:

  • A voltage being switched on.
  • A force suddenly being applied.
  • A mechanical input changing abruptly.
  • A system receiving a sudden external disturbance.

The model may not describe every physical detail, but it can provide a useful prediction of what happens after the sudden change.

Think About It

A switch is turned on at time t=3t=3t=3. Which unit step function represents this event, and what values does it have before and after t=3t=3t=3?

Constructing Piecewise Functions with Unit Steps

Unit step functions can be combined to create functions that jump between several different levels. The main idea is that each step function changes the value of a formula when its starting time is reached.

Suppose a function should have the following behavior:

  • It equals 222 before time π\piπ.
  • It drops to 000 at time π\piπ.
  • It rises back to 222 at time 2π2\pi2π.

The first level, 222, can be written simply as a constant. To make the function drop by 222 at t=πt=\pit=π, subtract 2uπ(t)2u_\pi(t)2uπ​(t). To make it rise by 222 at t=2πt=2\pit=2π, add 2u2π(t)2u_{2\pi}(t)2u2π​(t).

Thus, the function is

g(t)=2−2uπ(t)+2u2π(t).g(t)=2-2u_\pi(t)+2u_{2\pi}(t).g(t)=2−2uπ​(t)+2u2π​(t).

The behavior can be verified interval by interval.

Before π\piπ

When t<πt<\pit<π, both step functions are still off:

uπ(t)=0,u2π(t)=0.u_\pi(t)=0, \qquad u_{2\pi}(t)=0.uπ​(t)=0,u2π​(t)=0.

Therefore,

g(t)=2−2(0)+2(0)=2.g(t)=2-2(0)+2(0)=2.g(t)=2−2(0)+2(0)=2.

Between π\piπ and 2π2\pi2π

When π≤t<2π\pi\leq t<2\piπ≤t<2π, the first step has turned on but the second has not:

uπ(t)=1,u2π(t)=0.u_\pi(t)=1, \qquad u_{2\pi}(t)=0.uπ​(t)=1,u2π​(t)=0.

Therefore,

g(t)=2−2(1)+2(0)=0.g(t)=2-2(1)+2(0)=0.g(t)=2−2(1)+2(0)=0.

At and after 2π2\pi2π

When t≥2πt\geq 2\pit≥2π, both step functions are on:

uπ(t)=1,u2π(t)=1.u_\pi(t)=1, \qquad u_{2\pi}(t)=1.uπ​(t)=1,u2π​(t)=1.

Therefore,

g(t)=2−2(1)+2(1)=2.g(t)=2-2(1)+2(1)=2.g(t)=2−2(1)+2(1)=2.

So the combined expression produces exactly the desired pattern.

General Principle for Jumps

Each unit step contributes a jump whose size is determined by its coefficient.

For example:

  • +3uc(t)+3u_c(t)+3uc​(t) creates an upward jump of size 333 at t=ct=ct=c.
  • −4uc(t)-4u_c(t)−4uc​(t) creates a downward jump of size 444 at t=ct=ct=c.
  • A constant establishes the initial level.
  • Several step terms can be added to create repeated upward and downward changes.

In general, a piecewise function with many jumps can be represented as a linear combination such as

A+B1uc1(t)+B2uc2(t)+⋯+Bnucn(t).A+B_1u_{c_1}(t)+B_2u_{c_2}(t)+\cdots+B_nu_{c_n}(t).A+B1​uc1​​(t)+B2​uc2​​(t)+⋯+Bn​ucn​​(t).

The coefficients determine the sizes and directions of the jumps, while the subscripts determine when the jumps occur.

A unit-step representation describes a function by starting with an initial level and then adding or subtracting the changes that occur at specific times.

Shifting a Function in Time

Unit step functions can do more than create jumps between constant levels. They can also activate a shifted version of an arbitrary function.

Suppose f(t)f(t)f(t) is some function that begins at time 000. A version shifted to the right by ccc is written

f(t−c).f(t-c).f(t−c).

The expression t−ct-ct−c causes the graph to begin later. To see why, consider what happens at t=ct=ct=c:

f(t−c)=f(c−c)=f(0).f(t-c)=f(c-c)=f(0).f(t−c)=f(c−c)=f(0).

Thus, the value that originally occurred at t=0t=0t=0 now occurs at t=ct=ct=c.

Similarly, one unit of time after the shift begins, when t=c+1t=c+1t=c+1,

f(t−c)=f(c+1−c)=f(1).f(t-c)=f(c+1-c)=f(1).f(t−c)=f(c+1−c)=f(1).

The value originally associated with t=1t=1t=1 now appears at t=c+1t=c+1t=c+1. This confirms that f(t−c)f(t-c)f(t−c) shifts the original function to the right by ccc units.

The Problem with Shifting Alone

Although f(t−c)f(t-c)f(t−c) shifts the function, it does not automatically make the function zero before time ccc. The shifted expression may still produce values for times less than ccc.

To turn the function on only at time ccc, multiply it by the unit step function:

uc(t)f(t−c).u_c(t)f(t-c).uc​(t)f(t−c).

This product has two distinct behaviors.

Before the Starting Time

For t<ct<ct<c,

uc(t)=0.u_c(t)=0.uc​(t)=0.

Therefore,

uc(t)f(t−c)=0⋅f(t−c)=0.u_c(t)f(t-c)=0\cdot f(t-c)=0.uc​(t)f(t−c)=0⋅f(t−c)=0.

The product is forced to be zero, regardless of the value of the shifted function.

At and After the Starting Time

For t≥ct\geq ct≥c,

uc(t)=1.u_c(t)=1.uc​(t)=1.

Therefore,

uc(t)f(t−c)=1⋅f(t−c)=f(t−c).u_c(t)f(t-c)=1\cdot f(t-c)=f(t-c).uc​(t)f(t−c)=1⋅f(t−c)=f(t−c).

The original function now behaves normally, but it begins at time ccc instead of time 000.

The expression

uc(t)f(t−c)u_c(t)f(t-c)uc​(t)f(t−c)

therefore represents a function that is zero before ccc and becomes a shifted copy of fff at time $c.

The product uc(t)f(t−c)u_c(t)f(t-c)uc​(t)f(t−c) both shifts a function to the right and eliminates everything before the shift begins.

Example with a Sine Function

Consider

uπ(t)sin⁡(t−π).u_\pi(t)\sin(t-\pi).uπ​(t)sin(t−π).

The sine function has been shifted to the right by π\piπ, because ttt has been replaced by t−πt-\pit−π. The unit step function keeps the entire expression equal to zero before t=πt=\pit=π.

At t=πt=\pit=π,

sin⁡(t−π)=sin⁡(0)=0.\sin(t-\pi)=\sin(0)=0.sin(t−π)=sin(0)=0.

After t=πt=\pit=π, the function follows the shifted sine wave.

Think About It

What role does each factor play in uc(t)f(t−c)u_c(t)f(t-c)uc​(t)f(t−c)? The step factor controls when the function is active, while the expression f(t−c)f(t-c)f(t−c) controls how the active function is shifted.

Laplace Transform of a Shifted Function

The most useful reason for introducing the expression

uc(t)f(t−c)u_c(t)f(t-c)uc​(t)f(t−c)

is that its Laplace transform has a simple form.

The Laplace transform of a function h(t)h(t)h(t) is defined by

L{h(t)}=∫0∞e−sth(t) dt.\mathcal{L}\{h(t)\} = \int_0^\infty e^{-st}h(t)\,dt.L{h(t)}=∫0∞​e−sth(t)dt.

Applying this definition to the step-shifted function gives

L{uc(t)f(t−c)}=∫0∞e−stuc(t)f(t−c) dt.\mathcal{L}\{u_c(t)f(t-c)\} = \int_0^\infty e^{-st}u_c(t)f(t-c)\,dt.L{uc​(t)f(t−c)}=∫0∞​e−stuc​(t)f(t−c)dt.

At first, this integral may look difficult because it contains both the unit step and the shifted function. The unit step, however, tells exactly where the integrand is nonzero.

Using the Step Function to Change the Limits

For t<ct<ct<c,

uc(t)=0.u_c(t)=0.uc​(t)=0.

Consequently, the entire integrand is zero before ccc. There is no area under the integrand on the interval from 000 to ccc. Therefore, the lower limit can be changed from 000 to ccc:

L{uc(t)f(t−c)}=∫c∞e−stf(t−c) dt.\mathcal{L}\{u_c(t)f(t-c)\} = \int_c^\infty e^{-st}f(t-c)\,dt.L{uc​(t)f(t−c)}=∫c∞​e−stf(t−c)dt.

The unit step no longer needs to appear because on the interval t≥ct\geq ct≥c, its value is 111.

This step is based on the basic property of definite integrals: an interval on which the integrand is zero contributes nothing to the integral.

Deriving the Time-Shift Theorem

The remaining integral is

∫c∞e−stf(t−c) dt.\int_c^\infty e^{-st}f(t-c)\,dt.∫c∞​e−stf(t−c)dt.

The shifted input t−ct-ct−c suggests the substitution

x=t−c.x=t-c.x=t−c.

Solving for ttt gives

t=x+c.t=x+c.t=x+c.

Differentiating gives

dt=dx.dt=dx.dt=dx.

The limits also change:

  • When t=ct=ct=c, x=c−c=0x=c-c=0x=c−c=0.
  • When t→∞t\to\inftyt→∞, x→∞x\to\inftyx→∞.

Thus,

∫c∞e−stf(t−c) dt=∫0∞e−s(x+c)f(x) dx.\int_c^\infty e^{-st}f(t-c)\,dt = \int_0^\infty e^{-s(x+c)}f(x)\,dx.∫c∞​e−stf(t−c)dt=∫0∞​e−s(x+c)f(x)dx.

Using the exponent rule,

e−s(x+c)=e−sx−sc=e−sce−sx.e^{-s(x+c)}=e^{-sx-sc}=e^{-sc}e^{-sx}.e−s(x+c)=e−sx−sc=e−sce−sx.

The factor e−sce^{-sc}e−sc does not depend on xxx, so it can be taken outside the integral:

∫0∞e−s(x+c)f(x) dx=e−sc∫0∞e−sxf(x) dx.\int_0^\infty e^{-s(x+c)}f(x)\,dx = e^{-sc}\int_0^\infty e^{-sx}f(x)\,dx.∫0∞​e−s(x+c)f(x)dx=e−sc∫0∞​e−sxf(x)dx.

The remaining integral is precisely the Laplace transform of fff:

L{f(t)}=∫0∞e−stf(t) dt.\mathcal{L}\{f(t)\} = \int_0^\infty e^{-st}f(t)\,dt.L{f(t)}=∫0∞​e−stf(t)dt.

The variable inside a definite integral is a placeholder. The integral could use xxx, ttt, or another variable without changing its value. Therefore,

∫0∞e−sxf(x) dx=L{f(t)}.\int_0^\infty e^{-sx}f(x)\,dx = \mathcal{L}\{f(t)\}.∫0∞​e−sxf(x)dx=L{f(t)}.

The final result is the second shifting theorem, also called the time-shift theorem:

L{uc(t)f(t−c)}=e−csL{f(t)}\boxed{ \mathcal{L}\{u_c(t)f(t-c)\} = e^{-cs}\mathcal{L}\{f(t)\} }L{uc​(t)f(t−c)}=e−csL{f(t)}​

This theorem says that shifting a function to the right by ccc in the time domain corresponds to multiplying its Laplace transform by e−cse^{-cs}e−cs in the sss-domain.

Why the Factor e−cse^{-cs}e−cs Appears

The factor e−cse^{-cs}e−cs arises directly from replacing ttt with x+cx+cx+c. The exponential in the Laplace transform becomes

e−st=e−s(x+c)=e−sxe−sc.e^{-st}=e^{-s(x+c)}=e^{-sx}e^{-sc}.e−st=e−s(x+c)=e−sxe−sc.

The term e−sce^{-sc}e−sc records the amount of delay. A larger time shift produces a different exponential factor in the Laplace domain.

The theorem is useful because it avoids having to evaluate a complicated integral from the beginning each time a function is delayed. The transform of the unshifted function can be found first, and the delay can then be represented by multiplication by e−cse^{-cs}e−cs.

Applying the Theorem

Consider

L{uπ(t)sin⁡(t−π)}.\mathcal{L}\{u_\pi(t)\sin(t-\pi)\}.L{uπ​(t)sin(t−π)}.

This matches the standard shifted form

uc(t)f(t−c)u_c(t)f(t-c)uc​(t)f(t−c)

with

c=πandf(t)=sin⁡t.c=\pi \qquad\text{and}\qquad f(t)=\sin t.c=πandf(t)=sint.

The shifting theorem gives

L{uπ(t)sin⁡(t−π)}=e−πsL{sin⁡t}.\mathcal{L}\{u_\pi(t)\sin(t-\pi)\} = e^{-\pi s}\mathcal{L}\{\sin t\}.L{uπ​(t)sin(t−π)}=e−πsL{sint}.

The standard Laplace transform is

L{sin⁡t}=1s2+1.\mathcal{L}\{\sin t\} = \frac{1}{s^2+1}.L{sint}=s2+11​.

Therefore,

L{uπ(t)sin⁡(t−π)}=e−πss2+1\boxed{ \mathcal{L}\{u_\pi(t)\sin(t-\pi)\} = \frac{e^{-\pi s}}{s^2+1} }L{uπ​(t)sin(t−π)}=s2+1e−πs​​

The factor 1s2+1\frac{1}{s^2+1}s2+11​ describes the original sine function, while e−πse^{-\pi s}e−πs records the fact that the sine function is delayed by π\piπ units and is zero before that delay.

A Reliable Pattern for Recognition

When a Laplace-transform problem contains an expression of the form

uc(t)f(t−c),u_c(t)f(t-c),uc​(t)f(t−c),

the following pattern applies:

  1. Identify the delay ccc from the step function.
  2. Identify the unshifted function f(t)f(t)f(t) by removing the delay from its input.
  3. Find or recall L{f(t)}\mathcal{L}\{f(t)\}L{f(t)}.
  4. Multiply the result by e−cse^{-cs}e−cs.

For example, in

u4(t)(t−4)2,u_4(t)(t-4)^2,u4​(t)(t−4)2,

the shifted function can be recognized as

f(t−4)f(t-4)f(t−4)

where

f(t)=t2.f(t)=t^2.f(t)=t2.

Thus,

L{u4(t)(t−4)2}=e−4sL{t2}.\mathcal{L}\{u_4(t)(t-4)^2\} = e^{-4s}\mathcal{L}\{t^2\}.L{u4​(t)(t−4)2}=e−4sL{t2}.

The central task is recognizing the delayed function in the required form.

Connecting Time-Domain and Laplace-Domain Thinking

The time domain describes what happens directly as time passes. In the time domain:

  • uc(t)u_c(t)uc​(t) turns an input on at time ccc.
  • f(t−c)f(t-c)f(t−c) shifts the input to the right.
  • uc(t)f(t−c)u_c(t)f(t-c)uc​(t)f(t−c) creates a delayed input that is zero before ccc.

The Laplace domain provides a transformed description. In that domain, the same delay appears as the factor

e−cs.e^{-cs}.e−cs.

Thus, the time-domain operation of delaying a function corresponds to a simple multiplication in the Laplace domain:

delay by c⟷multiply by e−cs.\text{delay by }c \quad\longleftrightarrow\quad \text{multiply by }e^{-cs}.delay by c⟷multiply by e−cs.

This correspondence is especially valuable when modeling systems that receive inputs at different times. A force, voltage, or other signal can be represented by a delayed function, and its Laplace transform can then be found using the shifting theorem.

Comprehensive Review

The essential ideas are connected in a single chain:

  • Differential equations are used to model physical systems.
  • Physical systems may experience sudden changes, so discontinuous functions are useful.
  • The unit step function uc(t)u_c(t)uc​(t) is zero before ccc and one at and after ccc.
  • Multiplying a step function by a coefficient creates a jump of a chosen size.
  • Adding several step functions creates functions that move among different levels.
  • Replacing ttt with t−ct-ct−c shifts a function to the right by ccc.
  • Multiplying by uc(t)u_c(t)uc​(t) makes the shifted function zero before the shift begins.
  • The Laplace transform of the delayed function is given by
L{uc(t)f(t−c)}=e−csL{f(t)}.\mathcal{L}\{u_c(t)f(t-c)\} = e^{-cs}\mathcal{L}\{f(t)\}.L{uc​(t)f(t−c)}=e−csL{f(t)}.

The theorem works because the unit step eliminates the part of the integral before ccc, and the substitution x=t−cx=t-cx=t−c changes the remaining integral into the ordinary Laplace transform of fff. A delay in time therefore becomes multiplication by e−cse^{-cs}e−cs in the Laplace domain.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent