Laplace Transform Calculator

An electrical engineering student analyzing an RLC circuit with a sinusoidal voltage source must convert a second-order differential equation into an algebraic expression to find the current. Evaluating the improper integral by hand, checking integration limits, and simplifying the algebra can take twenty minutes for a single term.

Laplace Transform Calculator
Supports polynomials, exponentials, sine/cosine, hyperbolic, Heaviside step, and sums
Step-by-step solution
Common Laplace Transforms Reference
f(t)F(s)ROC
11/sRe(s) > 0
t1/s²Re(s) > 0
tⁿ (n ≥ 0)n! / sⁿ⁺¹Re(s) > 0
e^(at)1 / (s−a)Re(s) > a
sin(bt)b / (s² + b²)Re(s) > 0
cos(bt)s / (s² + b²)Re(s) > 0
e^(at) sin(bt)b / ((s−a)² + b²)Re(s) > a
e^(at) cos(bt)(s−a) / ((s−a)² + b²)Re(s) > a
u(t−a)e^(−as) / sRe(s) > 0

The Laplace transform calculator returns the frequency-domain function F(s) instantly and prints the intermediate steps so the result can be inserted directly into a transfer-function diagram or a block-model simulation. It evaluates the unilateral Laplace integral from t = 0 to infinity, recognizing polynomial terms t^n, exponential factors e^(at), sinusoidal signals sin(bt) and cos(bt), hyperbolic functions, and the Heaviside step function. After processing, it outputs the transformed expression F(s) together with the region of convergence.

How the Laplace Transform Calculator Evaluates Integrals

The engine parses the input function f(t) and matches it against a library of standard integral identities. For recognized forms such as t^3, e^(5t), or cos(2t), it applies the definition integral directly. For products or sums, the calculator invokes the linearity property, splitting the expression into separate transforms and recombining the outputs.

F(s) = ∫₀^∞ e^(-st) f(t) dt

Here s = σ + jω is a complex frequency variable. The calculator determines the largest exponent in exponential terms and sets the region of convergence accordingly. If the tool encounters a shifting factor u(t-a), it applies the second shifting theorem automatically.

Laplace Transform Definition and Region of Convergence

The Laplace transform maps a time-domain signal f(t), defined for t ≥ 0, into a complex frequency-domain function F(s). The unilateral transform integral is:

F(s) = ∫₀^∞ e^(-st) f(t) dt

The integral converges only when the real part of s is greater than a threshold known as the abscissa of convergence. For example, if f(t) = e^(4t), the integrand becomes e^(-(s-4)t). The magnitude decays to zero only when Re(s) > 4, so the transform equals 1/(s-4) with the region of convergence Re(s) > 4. The calculator prints this condition alongside every result because the expression for F(s) is mathematically valid only inside this region.

Common Laplace Transforms Table

The identities below are the building blocks the calculator uses for most elementary inputs:

f(t)F(s)Region of Convergence
11/sRe(s) > 0
t1/s²Re(s) > 0
t^n (n ≥ 0)n! / s^(n+1)Re(s) > 0
e^(at)1 / (s-a)Re(s) > a
sin(bt)b / (s² + b²)Re(s) > 0
cos(bt)s / (s² + b²)Re(s) > 0
e^(at) sin(bt)b / ((s-a)² + b²)Re(s) > a
e^(at) cos(bt)(s-a) / ((s-a)² + b²)Re(s) > a

For scaled or summed functions, the calculator applies linearity: the transform of 5t + 3e^(2t) becomes 5/s² + 3/(s-2) with the combined region Re(s) > 2.

Step-by-Step Example: Transform of 3t + 2e^(-t)

Consider the forcing function f(t) = 3t + 2e^(-t). The calculator treats this as two separate transforms added together.

First term: 3t. Using the power rule with n = 1, the transform is 3 × 1/s² = 3/s². The region of convergence is Re(s) > 0.

Second term: 2e^(-t). Using the exponential rule with a = -1, the transform is 2 × 1/(s+1) = 2/(s+1). The region of convergence is Re(s) > -1.

Because the intersection of Re(s) > 0 and Re(s) > -1 is Re(s) > 0, the final output is:

F(s) = 3/s² + 2/(s+1), Re(s) > 0

The tool reaches this conclusion by evaluating the limits of the improper integrals, substituting the bounds, and simplifying the resulting rational expressions.

Inverse Laplace Transform Calculator Mode

Many problems require the reverse path: recovering f(t) from a given F(s). The inverse Laplace transform is defined by a contour integral in the complex plane, but practical calculators avoid this by using partial fraction decomposition and lookup tables.

For instance, if the input is F(s) = 5/(s² + 25), the calculator matches this to the sine identity with b = 5. The inverse transform is sin(5t). If the denominator factors into distinct linear terms, such as F(s) = (3s + 7)/((s+1)(s+2)), the tool first decomposes the fraction into A/(s+1) + B/(s+2), finds A = 4 and B = -1, and returns 4e^(-t) - e^(-2t). The same interface toggles between forward and inverse modes.

Applications in Differential Equations and Circuit Analysis

Laplace transforms convert initial-value problems into algebraic problems. In a series RLC circuit with inductance L = 2 H, resistance R = 4 Ω, and capacitance C = 0.5 F, the governing second-order differential equation becomes a polynomial in s once the transform is applied. Solving for the current I(s) and then applying the inverse transform yields the time-domain current i(t) without resolving the differential equation directly in the time domain.

Signal processing and control theory rely on the s-domain because convolution in time becomes multiplication in frequency. A PID controller design, for example, starts with the Laplace transform of the plant transfer function and the controller gains Kp, Ki, and Kd.

Can the Calculator Handle Piecewise and Discontinuous Functions?

Yes. The tool recognizes the Heaviside step function u(t-a) and the Dirac delta function δ(t-a). The second shifting theorem states that the transform of f(t-a)·u(t-a) equals e^(-as)·F(s).

For a rectangular pulse defined as f(t) = 1 on the interval [2, 5] and zero elsewhere, the calculator rewrites the pulse as u(t-2) - u(t-5). Applying the theorem to the constant function 1, whose transform is 1/s, the result is:

F(s) = (e^(-2s) - e^(-5s)) / s

This capability is useful for digital signal analysis and switched-mode power supply modeling, where inputs change abruptly at specific time instants.

Frequently Asked Questions

What inputs does the Laplace transform calculator accept?
The calculator accepts standard functions including polynomials like t^n, exponentials e^(at), trigonometric functions sin(bt) and cos(bt), hyperbolic functions, and Heaviside step functions. It also handles sums and products of these functions.
Can the calculator show intermediate steps?
Yes, the tool displays the integral evaluation, application of limits, and algebraic simplification that leads to the final F(s). This helps verify manual calculations and study the transformations.
Does the calculator find inverse Laplace transforms?
Most dedicated Laplace calculators also provide an inverse mode. You input F(s) and the tool returns the corresponding f(t), often using partial fraction decomposition and transform tables.
Why do engineers use Laplace transforms?
Engineers use Laplace transforms to convert linear differential equations into algebraic equations in the s-domain. This simplifies analyzing electrical circuits, control systems, and signal processing problems.
What is the region of convergence?
The region of convergence (ROC) is the set of values of s for which the Laplace integral converges. The calculator typically states the ROC alongside the result because the transform is only valid within this region.
Is the Laplace transform the same as the Fourier transform?
No, although related. The Fourier transform decomposes a signal into sinusoids and requires absolute integrability. The Laplace transform uses a decaying exponential factor e^(-st), making it applicable to a broader class of growing functions.
  1. Partial Differential Calculator
  2. Wronskian Calculator
  3. Decimal to Hexadecimal Converter – Free Online Tool
  4. Fourier Series Calculator – Free Online Tool
  5. Double Integral Calculator
  6. Fraction to Percent Calculator | Convert Fractions to %