Ma · Mathematics

What Is the Laplace Transform of a Trigonometric Function?

Published By the 9to5Science editorial team

At a glance

  1. 1. Identify the function

    For sine and cosine, note the angular frequency and any exponential factor.

  2. 2. Apply the basic formula

    Use s divided by s squared plus omega squared for cosine, and omega divided by that denominator for sine.

  3. 3. Shift for exponentials

    A factor e to the power at replaces s with s minus a.

  4. 4. State the convergence region

    Use the condition on the real part of s, including any exponential shift.

The Laplace transform turns a time-domain function into a function of the complex variable ss. For the standard sine and cosine functions, the results are rational expressions. The angular frequency matters: for example, the formulas for sin⁡(4t)\sin(4t) and cos⁡(4t)\cos(4t) use ω=4\omega=4, not the coefficient of tt squared in some unrelated expression.

The standard formulas

Using the one-sided Laplace transform,

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

the basic trig transforms are

L{sin⁡(ωt)}=ωs2+ω2,L{cos⁡(ωt)}=ss2+ω2.\mathcal{L}\{\sin(\omega t)\}=\frac{\omega}{s^2+\omega^2}, \qquad \mathcal{L}\{\cos(\omega t)\}=\frac{s}{s^2+\omega^2}.

Here ω\omega is a real angular frequency. For nonzero ω\omega, these integrals converge when Re⁡(s)>0\operatorname{Re}(s)>0. At ω=0\omega=0, sin⁡(0t)\sin(0t) is identically zero and its transform is 00 for every ss, while cos⁡(0t)=1\cos(0t)=1 has transform 1/s1/s for Re⁡(s)>0\operatorname{Re}(s)>0. If the frequency is written as 2πf2\pi f, use ω=2πf\omega=2\pi f in the formulas.

A useful distinction is that sine has ω\omega in the numerator, while cosine has ss. Both have the same denominator, s2+ω2s^2+\omega^2.

Why the formulas hold

For real s>0s>0, direct integration gives

∫0∞e−stsin⁡(ωt) dt=[e−st(−ssin⁡(ωt)−ωcos⁡(ωt))s2+ω2]0∞=ωs2+ω2,\begin{aligned} \int_0^\infty e^{-st}\sin(\omega t)\,dt &=\left[\frac{e^{-st}(-s\sin(\omega t)-\omega\cos(\omega t))}{s^2+\omega^2}\right]_0^\infty\\ &=\frac{\omega}{s^2+\omega^2}, \end{aligned}

because the exponential term tends to zero as t→∞t\to\infty. Similarly,

∫0∞e−stcos⁡(ωt) dt=[e−st(−scos⁡(ωt)+ωsin⁡(ωt))s2+ω2]0∞=ss2+ω2.\begin{aligned} \int_0^\infty e^{-st}\cos(\omega t)\,dt &=\left[\frac{e^{-st}(-s\cos(\omega t)+\omega\sin(\omega t))}{s^2+\omega^2}\right]_0^\infty\\ &=\frac{s}{s^2+\omega^2}. \end{aligned}

These formulas extend to complex ss in the regions where the integrals converge: Re⁡(s)>0\operatorname{Re}(s)>0 for nonzero ω\omega, and also for cos⁡(0t)\cos(0t). For sin⁡(0t)=0\sin(0t)=0, the transform is 00 for every ss.

Worked example: an exponentially damped sine

Find the transform of e−2tsin⁡(4t)e^{-2t}\sin(4t). The exponential shift rule says

L{eatf(t)}(s)=F(s−a),\mathcal{L}\{e^{at}f(t)\}(s)=F(s-a),

where F(s)=L{f(t)}(s)F(s)=\mathcal{L}\{f(t)\}(s). The region of convergence shifts accordingly: for a complex aa, the condition Re⁡(s)>0\operatorname{Re}(s)>0 becomes Re⁡(s)>Re⁡(a)\operatorname{Re}(s)>\operatorname{Re}(a); for real aa, this is Re⁡(s)>a\operatorname{Re}(s)>a. In this example, a=−2a=-2 and f(t)=sin⁡(4t)f(t)=\sin(4t), so replace ss by s+2s+2 in the sine formula:

L{e−2tsin⁡(4t)}=4(s+2)2+16.\mathcal{L}\{e^{-2t}\sin(4t)\} =\frac{4}{(s+2)^2+16}.

The original integral converges when Re⁡(s+2)>0\operatorname{Re}(s+2)>0, or Re⁡(s)>−2\operatorname{Re}(s)>-2. This shift in the convergence region is part of the result, not just an optional technical detail.

For comparison, the same rule gives

L{e3tcos⁡(2t)}=s−3(s−3)2+4,Re⁡(s)>3.\mathcal{L}\{e^{3t}\cos(2t)\} =\frac{s-3}{(s-3)^2+4}, \qquad \operatorname{Re}(s)>3.

Other expressions involving trig functions

The basic formulas also help with some combinations. For example, use the identity sin⁡2(t)=(1−cos⁡(2t))/2\sin^2(t)=(1-\cos(2t))/2 and linearity:

L{sin⁡2(t)}=12(1s−ss2+4)=2s(s2+4),Re⁡(s)>0.\begin{aligned} \mathcal{L}\{\sin^2(t)\} &=\frac12\left(\frac{1}{s}-\frac{s}{s^2+4}\right)\\ &=\frac{2}{s(s^2+4)}, \qquad \operatorname{Re}(s)>0. \end{aligned}

Products such as sin⁡(at)cos⁡(bt)\sin(at)\cos(bt) can often be rewritten as sums using product-to-sum identities before taking the transform. For powers such as tsin⁡(ωt)t\sin(\omega t), a different useful rule is L{tf(t)}=−ddsF(s)\mathcal{L}\{t f(t)\}=-\frac{d}{ds}F(s), when the derivative and transform are valid.

Not every expression called a trigonometric function has a simple rational transform. For instance, tan⁡(t)\tan(t) has poles on the positive time axis, so its ordinary integral from zero to infinity is not defined as a standard Laplace transform. Check that the function is integrable with the exponential weight before applying a table formula.

Common mistakes

  • Using frequency instead of angular frequency: If the function is sin⁡(2πft)\sin(2\pi f t), substitute ω=2πf\omega=2\pi f, not ff.
  • Dropping the frequency in the sine numerator: The numerator is ω\omega, so L{sin⁡(4t)}=4/(s2+16)\mathcal{L}\{\sin(4t)\}=4/(s^2+16).
  • Shifting in the wrong direction: A factor eate^{at} changes F(s)F(s) to F(s−a)F(s-a). Thus damping by e−cte^{-ct}, with c>0c>0, produces F(s+c)F(s+c).
  • Ignoring the region of convergence: State the condition on Re⁡(s)\operatorname{Re}(s) along with the expression, especially after an exponential shift.

References

  1. Erwin Kreyszig, Advanced Engineering Mathematics
  2. Murray R. Spiegel, Laplace Transforms

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.