Skip to content
∑ Numerive

Learn

HomeTry a questionMy questsLearning SearchHomeworkUnderstand & rememberCurriculumFlashcardsUniversity

Exam preparation

Mock examsSATPSAT/NMSQTAMC 8 / 10 / 12

Your learning world

My characterAchievementsFriendsStudy groups

Family & help

Family workspace30-day reasoning planStudent sign inFor familiesContact & help
∑ NumeriveMATHUniversity mathematics
Courses & topicsSchool mathematicsLearning recordsStudent sign in
University/Ordinary Differential Equations

In this course

  1. 01First-Order Equations & Initial Values
  2. 02Second-Order Equations & Linear Systems
  3. 03Laplace Transforms & Euler Steps

TOPIC 3 / 3

Laplace Transforms & Euler Steps

Useful preparation: Second-Order Equations & Linear Systems
Meaning & notationConditions before calculationWhy the method worksWorked examplesPitfalls & counterexamplesCheck your understanding

For a long equation, swipe sideways inside its formula box to see every term.

Meaning & notation

A Laplace transform converts a time-dependent equation into an algebraic equation in a new variable s. Integration by parts turns a derivative into multiplication by s and an initial-value term. Euler stepping approaches the same initial-value problem locally: follow the current tangent for a short time, then recompute the slope at the new approximate point.

Unilateral Laplace transform
For a function f defined for nonnegative time, its transform F(s) is the integral of exp⁡ (−st) f (t)\displaystyle \operatorname{exp}\, \left(-st\right)\, f\, \left(t\right)exp(−st)f(t) from zero to infinity, whenever that improper integral converges.
Derivative rule
If Y is the transform of y and the relevant integrals exist, the transform of y prime is sY-y(0). Initial conditions therefore become part of the algebra.
Explicit Euler method
For y prime=f(t,y), step size h gives y at the next grid point approximately as the current y plus h times the current slope.

Conditions before calculation

  • Piecewise continuity on finite intervals and an exponential growth bound are sufficient for transform existence for sufficiently large real s. Transform existence is not automatic.
  • The derivative rule requires suitable regularity of y and convergence of the transforms, with the boundary term at infinity vanishing; use the right-hand initial value at zero.
  • Euler is a numerical approximation. Under standard smoothness and Lipschitz assumptions it has global error of order h over a fixed finite interval; stability can still force a small step.

Why the method works

1. Keep the initial term

Integration by parts explains the minus sign at zero. Dropping this term solves a different initial-value problem.

L{y′}=∫0∞e−sty′(t) dt=sY(s)−y(0)\mathcal L\{y'\}=\int_0^\infty e^{-st}y'(t)\,dt=sY(s)-y(0)L{y′}=∫0∞​e−sty′(t)dt=sY(s)−y(0)

2. Solve and invert

After algebraically isolating Y, split it into known transforms. Check the recovered time function in both the original equation and the initial condition.

3. Assess numerical behavior

Euler uses the slope at the old state. For decay y prime=-k y with positive k, the multiplier must have magnitude below one to decay numerically.

yn+1=yn+hf(tn,yn),∣1−kh∣<1y_{n+1}=y_n+h f(t_n,y_n),\qquad |1-kh|<1yn+1​=yn​+hf(tn​,yn​),∣1−kh∣<1

Worked examples

EXAMPLE 1

Use a Laplace transform to solve y prime+3 y=6\displaystyle 3\, y = 63y=6 with y (0)=1\displaystyle y\, \left(0\right) = 1y(0)=1.

  1. Transform both sides, retaining the initial value and the transform of a constant.

    (sY−1)+3Y=6s(sY-1)+3Y=\frac6s(sY−1)+3Y=s6​
  2. Isolate Y and decompose it into two known transforms.

    Y=1+6/ss+3=2s−1s+3Y=\frac{1+6/s}{s+3}=\frac2s-\frac1{s+3}Y=s+31+6/s​=s2​−s+31​
  3. Invert and verify the differential equation and initial value.

    y(t)=2−e−3t,y′+3y=3e−3t+6−3e−3t=6,y(0)=1y(t)=2-e^{-3t},\qquad y'+3y=3e^{-3t}+6-3e^{-3t}=6,\quad y(0)=1y(t)=2−e−3t,y′+3y=3e−3t+6−3e−3t=6,y(0)=1

Conclusion: The solution starts at 1 and approaches equilibrium 2 for increasing nonnegative time.

EXAMPLE 2

Take two Euler steps for y prime=-3y, y (0)=2\displaystyle y\, \left(0\right) = 2y(0)=2, with h=0.1\displaystyle h = 0.1h=0.1.

  1. The current-slope rule gives a multiplier of 0.7.

    yn+1=yn−0.3yn=0.7yny_{n+1}=y_n-0.3y_n=0.7y_nyn+1​=yn​−0.3yn​=0.7yn​
  2. Apply the update twice, always using the previous approximate value.

    y1=1.4,y2=0.98,t2=0.2y_1=1.4,\qquad y_2=0.98,\qquad t_2=0.2y1​=1.4,y2​=0.98,t2​=0.2
  3. Compare with the exact exponential at the same time.

    y(0.2)=2e−0.6≈1.097623,∣y2−y(0.2)∣≈0.117623y(0.2)=2e^{-0.6}\approx1.097623,\qquad |y_2-y(0.2)|\approx0.117623y(0.2)=2e−0.6≈1.097623,∣y2​−y(0.2)∣≈0.117623

Conclusion: Euler underestimates this decaying exponential here; the computed value is an approximation, even though the update arithmetic is exact.

Pitfalls & counterexamples

Tempting claim: A stable differential equation stays stable under any Euler step size.

Correction: The discretization has its own stability restriction.

Test the claim: For y prime=-3y, a step h=1\displaystyle h = 1h=1 gives multiplier -2, so the numerical magnitudes double while the exact solution decays.

Check your understanding

What is the Laplace transform of y double prime when y (0)=a\displaystyle y\, \left(0\right) = ay(0)=a and y prime(0)=b?

Write a reason before opening the explanation. This reflection is not graded or saved.

Compare your reasoning

s squared Y minus sa minus b.

Apply the first-derivative rule twice, retaining both initial values.

The idea to remember

Laplace transforms convert derivatives into algebraic expressions with initial-value terms. Euler's method advances by yn+1=yn+h f (tn,yn)\displaystyle y_{n+1} = y_{n} + h\, f\, \left(t_{n}, y_{n}\right)yn+1​=yn​+hf(tn​,yn​).

Remember with 2 flashcards →

Connect this idea

Transforms are especially useful for linear systems and switched forcing. Euler links derivatives to algorithms; better accuracy and stiffness handling motivate higher-order and implicit methods.

Practise this topic →Review concept flashcards

Reference reading

Use these texts to study the underlying definitions and theorems in greater depth. The explanations and examples above are written for Numerive.

  • MIT OCW: Laplace Transform Technique and the Derivative Rule
  • OpenStax: Direction Fields and Numerical Methods
← Course contents
∑ Numerive

Learn

HomeTry a questionMy questsLearning SearchHomeworkUnderstand & rememberCurriculumFlashcardsUniversity

Exam preparation

Mock examsSATPSAT/NMSQTAMC 8 / 10 / 12

Your learning world

My characterAchievementsFriendsStudy groups

Family & help

Family workspace30-day reasoning planStudent sign inFor familiesContact & help
Laplace Transforms & Euler Steps: university mathematics | Numerive Math