Doctors Revision

Fourier and Laplace Transforms for Pharmacy Students: Formulas, Methods and Worked Examples

A curriculum-aligned guide for Bachelor of Pharmacy Year 2 students. Learn how Fourier series describe periodic patterns, how Fourier transforms analyse frequency content, and how Laplace transforms simplify linear differential equations with initial conditions. Each method is introduced with its assumptions, worked mathematics and restrained pharmaceutical-science examples.

1. Learning Objectives and Curriculum Scope

Transform methods recast a function into a form that makes a particular question easier to answer. Fourier methods express a signal in sinusoidal components; the Laplace transform maps a time-domain function to a complex-frequency function and is especially useful for initial-value differential equations.

Curriculum alignment

The Uganda National Council for Higher Education minimum standards for pharmacy training list Fourier and Laplace transformations among calculus topics. This note introduces the core ideas and standard first-course techniques. Course depth may differ between institutions. See the NCHE Minimum Standards for Pharmacy Training (2019), pp. 74–75, PDF p. 76.

After studying this note, you should be able to:

  1. Distinguish a Fourier series, a continuous Fourier transform and a one-sided Laplace transform.
  2. Calculate Fourier coefficients and use even or odd symmetry to simplify the integrals.
  3. State where a Fourier series converges at a jump and explain why its value there is the midpoint of the one-sided limits.
  4. Apply a stated Fourier-transform convention to a simple pulse and interpret the frequency variable.
  5. Use a Laplace table and derivative rule to solve a first-order linear initial-value problem.
  6. Check convergence conditions, units, transform convention and algebra before interpreting a result.

This is a mathematical study note. Its signal and pharmacokinetic illustrations are idealised examples, not clinical guidance, treatment advice or dosing instructions. For prerequisite antiderivatives and definite integrals, review Integration for Pharmacy Students.

2. Which Transform Should You Use?

Choose the transform from the structure of the problem, not merely from the word “transform” in a question. Fourier series suit a periodic function on a finite interval after periodic extension. The Fourier transform is used for a non-periodic signal over the whole real line. The Laplace transform is one-sided in time and naturally incorporates initial values.

Study table; scroll horizontally if needed
Method Typical input What it reveals or simplifies Common first-course use
Fourier series Periodic function with period T Discrete harmonics at integer multiples of the fundamental frequency Representing periodic signals, oscillations or repeating error patterns
Fourier transform Non-periodic, integrable signal on the real line Continuous frequency content Signal and spectrum analysis
Laplace transform Time function for t ≥ 0, with suitable growth behaviour An algebraic relation in the complex variable s; initial values enter derivative rules Solving linear ordinary differential equations and transient-response models

“Frequency” in a Fourier series or transform and the Laplace variable s are related ideas, but they are not interchangeable labels. In the Laplace plane, s = σ + iω includes both a real growth or decay component σ and an oscillatory component ω. The Fourier transform corresponds to evaluating frequency behaviour on the imaginary axis when the relevant integrals converge.

3. Fourier Series: Definitions and Symmetry

Series on a symmetric interval

Let f be defined on −L < x < L and extend it periodically with period 2L. Under the usual piecewise-smooth conditions, its Fourier series is

f(x) ∼ a₀/2 + Σn=1∞ [an cos(nπx/L) + bn sin(nπx/L)].

The coefficients are calculated over one full period:

Constant and cosine coefficients

a₀ = (1/L) ∫−LL f(x) dx

an = (1/L) ∫−LL f(x) cos(nπx/L) dx

Sine coefficient

bn = (1/L) ∫−LL f(x) sin(nπx/L) dx

n = 1, 2, 3, …

For a function of period T, the fundamental angular frequency is ω₀ = 2π/T. The harmonics have angular frequencies nω₀. Always check whether a question defines its interval as (−L, L), (0, T), or another interval because the coefficient formulas must match the chosen period and basis.

Use parity to reduce the work

  • If f is even, f(−x) = f(x), then every sine coefficient bn is zero. Integrate over 0 to L and double the result for the even integrands.
  • If f is odd, f(−x) = −f(x), then a₀ and every cosine coefficient an are zero. Only sine terms remain.
  • If a function has neither symmetry, calculate both sets of coefficients. Do not assume a coefficient is zero from a graph that only looks nearly symmetric.

The coefficient is the projection of f onto a basis sinusoid over one period. Orthogonality makes the sine and cosine components separable in the coefficient integrals.

4. Fourier Series Worked Examples and Convergence

Worked example: the sawtooth f(x) = x on (−π, π)

Extend f periodically with period 2π. Since x is odd, a₀ = 0 and an = 0. The sine coefficients are

bn = (1/π)∫−ππ x sin(nx) dx = (2/π)∫0π x sin(nx) dx.

Integration by parts gives ∫x sin(nx) dx = −x cos(nx)/n + sin(nx)/n². Evaluating from 0 to π gives −π(−1)n/n, so

bn = 2(−1)n+1/n and therefore x ∼ 2 Σn=1∞ (−1)n+1 sin(nx)/n for −π < x < π.

At x = 0 the series gives 0. At the jump in the periodic extension, x = π or −π, the left and right limits are π and −π. Their average is 0, and the Fourier series converges to that midpoint at the jump.

Worked pattern: a symmetric square wave

For f(x) = 1 when 0 < x < π and f(x) = −1 when −π < x < 0, extended with period 2π, the function is odd. Direct coefficient integration gives bn = 0 for even n and bn = 4/(nπ) for odd n. Thus

f(x) ∼ (4/π)[sin x + sin(3x)/3 + sin(5x)/5 + …].

At each jump the series converges to 0, the average of +1 and −1. Near a jump, finite partial sums show overshoot and ripples (the Gibbs phenomenon); adding terms makes the ripple narrower but does not eliminate its limiting overshoot.

Conditions and practical checks

If f is periodic and piecewise smooth (for example, piecewise continuously differentiable with finitely many jumps in each period), its Fourier series converges at a continuity point to f(x), and at a jump to [f(x⁺) + f(x⁻)]/2. These conditions are sufficient classroom conditions, not a complete statement of every possible Fourier convergence theorem. NIST’s Digital Library of Mathematical Functions, §1.8 Fourier Series discusses the series framework and related results.

Before presenting a series, state the interval and periodic extension, identify symmetry, show at least one coefficient calculation, and describe what happens at discontinuities. The symbol ∼ is often used to signal a Fourier representation and its convergence interpretation rather than pointwise equality at every possible point.

5. The Continuous Fourier Transform

For a non-periodic function f(t), use the following convention throughout this section:

F(ω) = ∫−∞∞ f(t)e−iωtdt, with inverse f(t) = (1/2π)∫−∞∞ F(ω)eiωtdω.

Other books place the factor 1/√(2π) in both formulas or reverse the signs in the exponential. These are convention changes; use a matched transform and inverse pair. Here t is time, ω is angular frequency in radians per unit time, and i² = −1. If frequency is stated in cycles per second as ν, then ω = 2πν.

Example: a rectangular pulse

Let f(t) = 1 for −T ≤ t ≤ T and zero outside that interval. Then, for ω ≠ 0,

F(ω) = ∫−TT e−iωtdt = [e−iωt/(−iω)]−TT = 2 sin(ωT)/ω.

At ω = 0, evaluate the limit (or return to the integral): F(0) = ∫−TT 1 dt = 2T. This is also the limit of 2 sin(ωT)/ω as ω approaches zero. The value at zero frequency equals the total area of this pulse.

Useful properties under this convention include linearity, time shifting, and differentiation: if f(t) ↔ F(ω), then f(t − t₀) ↔ e−iωt₀F(ω), and (when the boundary and integrability conditions hold) f′(t) ↔ iωF(ω). These rules explain why a shift changes phase while differentiation weights higher frequencies more strongly. Always check the stated conditions before applying a property to a discontinuous or non-integrable signal.

The NIST DLMF, §1.14(i) defines a Fourier-transform convention and records inversion and related properties. Its convention differs in sign and placement of the 2π factor from the pair used here, so compare definitions before copying any table.

6. The Laplace Transform and Standard Pairs

The unilateral Laplace transform of f(t), for t ≥ 0, is

F(s) = ℒ{f(t)} = ∫0∞ e−stf(t)dt.

The variable s may be complex: s = σ + iω. The integral converges only in a region of the s-plane called its region of convergence (ROC), which depends on f. If f is piecewise continuous on finite intervals and of exponential order α, then its Laplace transform exists for Re(s) > α. This is a useful sufficient condition. A transform formula without its domain or ROC can be incomplete.

Standard unilateral Laplace pairs; s is in the region of convergence
f(t), t ≥ 0 ℒ{f(t)} Typical condition
1 1/s Re(s) > 0
tn, n = 0, 1, 2, … n!/sn+1 Re(s) > 0
eat 1/(s − a) Re(s) > a for real a
e−at, a > 0 1/(s + a) Re(s) > −a
sin(ωt) ω/(s² + ω²) Re(s) > 0 for real ω
cos(ωt) s/(s² + ω²) Re(s) > 0 for real ω

These pairs follow from the defining integral and elementary integration. For example, ℒ{e−at} = ∫0∞e−(s+a)tdt = 1/(s+a), provided Re(s+a) > 0. The definition, convergence discussion and a broader table are available in NIST DLMF, §1.14(iii) Laplace Transform and Table 1.14.4.

7. Laplace Properties and Solving an ODE

Properties that do the main work

  • Linearity: ℒ{af + bg} = aF + bG.
  • First derivative: ℒ{f′(t)} = sF(s) − f(0⁺).
  • Second derivative: ℒ{f″(t)} = s²F(s) − s f(0⁺) − f′(0⁺).
  • Exponential shift: ℒ{eatf(t)} = F(s − a), in the shifted ROC.
  • Delayed input: ℒ{u(t − a)f(t − a)} = e−asF(s), for a ≥ 0, where u is the unit-step function.

The initial values in derivative formulas are the key reason the Laplace transform is effective for initial-value problems. When an algebraic fraction remains, use factorisation and partial fractions, then match each term to an inverse-transform pair.

Worked example: solve y′ + 2y = 3, y(0) = 1

  1. Let Y(s) = ℒ{y(t)}. Transform both sides using ℒ{y′} = sY − y(0): (sY − 1) + 2Y = 3/s.
  2. Collect Y: (s + 2)Y = 1 + 3/s, so Y = (s + 3)/[s(s + 2)].
  3. Resolve into partial fractions: (s + 3)/[s(s + 2)] = 3/(2s) − 1/[2(s + 2)].
  4. Invert term by term: y(t) = 3/2 − (1/2)e−2t, t ≥ 0.

Check: y(0) = 3/2 − 1/2 = 1. Also y′(t) = e−2t; hence y′ + 2y = e−2t + 3 − e−2t = 3. Both the differential equation and the initial condition are satisfied.

Initial-value and final-value checks

When their hypotheses hold, the initial-value theorem states f(0⁺) = lims→∞sF(s). The final-value theorem states limt→∞f(t) = lims→0sF(s) only when the poles of sF(s) lie strictly in the left half of the complex plane. Do not use the final-value theorem for an unstable or sustained oscillatory response; inspect the poles first. A limit calculation cannot repair a failed hypothesis.

MIT OpenCourseWare’s Differential Equations lecture notes include Fourier series, operations on Fourier series, Laplace-transform properties and applications to ODEs.

8. Pharmacy-Science Interpretation and Method Choice

Transform methods are mathematical tools for reorganising a problem. Their output is meaningful only when the model, units and assumptions make sense.

Fourier series and periodic data

A repeated laboratory signal may contain a fundamental cycle plus harmonics. A Fourier series can quantify those periodic components and help describe recurring sensor patterns or periodic measurement interference. A harmonic is a mathematical component, not proof of a biological rhythm.

Fourier transform and a finite signal

A finite time trace from an analytical instrument can be examined in frequency space to describe how its variation is distributed across frequencies. Sampling rate, record length, windowing and noise affect the observed spectrum; an apparent peak should not automatically be assigned a chemical or biological cause.

Laplace transform and a linear model

For a simplified linear, time-invariant process, the Laplace transform can turn a differential equation for a transient response into an algebraic equation. This can help analyse an idealised dissolution, mixing or instrument-response model. Real dosage forms, patients and measurement systems may not satisfy the simplifying assumptions.

Keep the mathematical example separate from a practical recommendation. Transform calculations do not by themselves establish a treatment decision, dose, assay interpretation, product quality result or clinical conclusion. Those require validated methods, the full evidence and the appropriate professional context.

A reliable workflow is: (1) define the function and domain; (2) choose the series or transform; (3) write the convention and convergence conditions; (4) calculate symbolically; (5) verify by substitution, differentiation or a limiting check; and (6) state units and model limitations.

9. Formula Summary, Practice and References

Formula summary

Quick revision table
Topic Formula or result Remember
Fourier series on (−L, L) f(x) ∼ a₀/2 + Σ[aₙ cos(nπx/L) + bₙ sin(nπx/L)] Period 2L; integrate over one full period
Fourier coefficients a₀ = (1/L)∫f; aₙ = (1/L)∫f cos(nπx/L); bₙ = (1/L)∫f sin(nπx/L) Use parity before integrating
At a jump Series value = [f(x⁺) + f(x⁻)]/2 Use the periodic one-sided limits
Fourier transform convention in this note F(ω) = ∫f(t)e−iωtdt; inverse = (1/2π)∫F(ω)eiωtdω Conventions can differ; keep the pair consistent
Laplace definition F(s) = ∫₀∞e−stf(t)dt State or check the ROC
First derivative ℒ{f′} = sF(s) − f(0⁺) Include the initial value
Second derivative ℒ{f″} = s²F(s) − sf(0⁺) − f′(0⁺) Include both initial values
Transform of tn ℒ{tn} = n!/sn+1 For integer n ≥ 0, Re(s) > 0

Self-assessment with answers

  1. Find the Fourier series for f(x) = x on (−π, π).
    Since f is odd, only sine coefficients remain. Integration by parts gives bn = 2(−1)n+1/n. Therefore x ∼ 2[sin x − sin(2x)/2 + sin(3x)/3 − …]. At x = π the series converges to 0, the jump midpoint.
  2. Find the Fourier transform of the pulse that equals 1 on −T ≤ t ≤ T and 0 elsewhere.
    With the convention in Section 5, F(ω) = 2 sin(ωT)/ω for ω ≠ 0, and F(0) = 2T by the limit or direct integral.
  3. Find ℒ{t e−2t}.
    Use ℒ{t} = 1/s² and the exponential shift: ℒ{t e−2t} = 1/(s + 2)², with Re(s) > −2.
  4. Solve y′ + 4y = e−t, y(0) = 0.
    (s + 4)Y = 1/(s + 1), so Y = 1/[(s + 1)(s + 4)] = (1/3)[1/(s + 1) − 1/(s + 4)]. Thus y(t) = (1/3)(e−t − e−4t). It satisfies y(0) = 0 and the original equation.

Common errors to avoid

  • Mixing a 2π-periodic coefficient formula with a different interval or fundamental frequency.
  • Forgetting that an even function has zero sine coefficients, or that an odd function has zero cosine and constant coefficients.
  • Claiming pointwise equality at a jump instead of the midpoint convergence value.
  • Combining a forward Fourier transform from one convention with an inverse formula from another.
  • Reporting a Laplace transform without checking its region of convergence.
  • Dropping the initial-value terms in ℒ{f′} or ℒ{f″}, or applying the final-value theorem before checking poles.

Glossary

Harmonic
A sinusoidal component whose frequency is an integer multiple of a periodic signal’s fundamental frequency.
Fourier coefficient
A scalar giving the weight of a sine or cosine basis function in a Fourier series.
Region of convergence
The set of values of the complex variable for which the defining transform integral converges.
Unilateral Laplace transform
The transform integrated from t = 0 to infinity, commonly used for causal initial-value problems.
Initial-value problem
A differential equation together with function values, and sometimes derivative values, specified at the initial time.

References and further study

  1. National Council for Higher Education, Uganda. Minimum Standards for Pharmacy Training (2019), pp. 74–75 (PDF p. 76). Curriculum standards PDF.
  2. National Institute of Standards and Technology. Digital Library of Mathematical Functions, §1.8 Fourier Series and §1.14 Integral Transforms.
  3. MIT OpenCourseWare. 18.03 Differential Equations, Lecture Notes, including Fourier series, operations on Fourier series, Laplace-transform properties and applications to ODEs.

Scope note: This material teaches mathematical methods for study. It does not provide patient-specific or clinical advice.

Back to Top ↑

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top