ODEs with Step and Impulse Inputs

Quick Answer

The Laplace transform handles step and impulse inputs directly: L{u(t − a)} = e^(−as)/s and L{δ(t − a)} = e^(−as). For y′ + y = u(t − 1) with y(0) = 0, Y(s) = e^(−s)/(s(s + 1)), so y(t) = (1 − e^(−(t−1)))·u(t − 1). For y″ + 4y = δ(t − 2) at rest, y(t) = (1/2)sin(2(t − 2))·u(t − 2).

Why Discontinuous Inputs Need the Laplace Transform

Switching a source on at a given time, closing a switch or striking a system with a hammer produces inputs that jump or act instantaneously. Classical methods have to solve the ODE separately on each time interval and match the solution at every jump. The Laplace transform turns a delayed step into the factor e^(−as)/s and an impulse into e^(−as), so the whole problem is solved in one calculation, and the second shifting theorem places the result at the right time.

Key Formulas

The Transforms You Need

Unit step: L{u(t)} = 1/s; delayed step: L{u(t − a)} = e^(−as)/s. Unit impulse: L{δ(t)} = 1; delayed impulse: L{δ(t − a)} = e^(−as). A rectangular pulse of height h from t = a to t = b is h[u(t − a) − u(t − b)], with transform h(e^(−as) − e^(−bs))/s. To invert, use the second shifting theorem: L⁻¹{e^(−as)F(s)} = f(t − a)·u(t − a), where f(t) = L⁻¹{F(s)}.

Example: Delayed Step Input

Solve y′ + y = u(t − 1) with y(0) = 0. Transforming: (s + 1)Y = e^(−s)/s, so Y(s) = e^(−s)·1/(s(s + 1)). First invert without the exponential: 1/(s(s + 1)) = 1/s − 1/(s + 1), which inverts to f(t) = 1 − e^(−t). The factor e^(−s) shifts this by one second: y(t) = (1 − e^(−(t−1)))·u(t − 1). The output stays at zero until t = 1, then rises toward 1 with time constant 1.

Example: Impulse Input

Solve y″ + 4y = δ(t − 2) with y(0) = y′(0) = 0. Transforming: (s² + 4)Y = e^(−2s), so Y(s) = e^(−2s)·1/(s² + 4). Since L⁻¹{1/(s² + 4)} = (1/2)sin 2t, shifting by two seconds gives y(t) = (1/2)sin(2(t − 2))·u(t − 2). The system is at rest until the impulse at t = 2, then oscillates with frequency 2 rad/s. An impulse at t = 0 into y′ + 3y = δ(t) with y(0) = 0 gives Y = 1/(s + 3) and y(t) = e^(−3t): the impulse response is the inverse transform of the transfer function.

Impulse Response and Step Response

For a system with transfer function H(s) and zero initial conditions, the impulse response is h(t) = L⁻¹{H(s)} and the step response is L⁻¹{H(s)/s}, which is the integral of h(t). The response to any input is the convolution of h(t) with the input, which is H(s)X(s) in the s-domain. These two responses are the standard way to describe and compare dynamic systems in control and signal processing.

Frequently Asked Questions

Transform the input with L{u(t − a)} = e^(−as)/s, solve for Y(s), invert the part without the exponential, then apply the second shifting theorem: the factor e^(−as) delays that result by a and multiplies it by u(t − a).

Try the LapCalc calculator

Exact Laplace transforms with every step, free, plus free calculators for partial fractions, ODEs, circuits, control and Fourier series. Premium adds the inverse Laplace calculator and AI explanations.

Open LapCalc

Related Topics