ArticleslgStudy

mathematics

Numerical methods for ordinary differential equations

Numerical methods for ordinary differential equations is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Numerical methods for ordinary differential equations rather than just read about it. In short: Numerical methods for ordinary differential equations are methods used to find numerical approximations to the solutions of ordinary differential equations (ODEs). Their use is also known as "numerical integration", although this term can also refer to the computation of integrals.

Numerical methods for ordinary differential equations — main illustration
Numerical methods for ordinary differential equations — illustration

Key takeaways

  • Numerical methods for ordinary differential equations belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Numerical methods for ordinary differential equations to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Numerical methods for ordinary differential equations from memory before moving on to harder problems.

Reference excerpt

Numerical methods for ordinary differential equations are methods used to find numerical approximations to the solutions of ordinary differential equations (ODEs). Their use is also known as "numerical integration", although this term can also refer to the computation of integrals. Many differential equations cannot be solved exactly. For practical purposes, however, a numerical approximation to the solution is often sufficient. The algorithms studied here can be used to compute such an approximation. An alternative method is to use techniques from calculus to obtain a series expansion of the solution. Ordinary differential equations occur in many scientific disciplines, including physics, chemistry, biology, and economics. In addition, some numerical methods for partial differential equations convert the partial differential equation into a system of ordinary differential equations, which can then be solved numerically.

Initial value problems An Initial value problem (IVP) is a first-order differential equation plus an initial condition,

where f {\displaystyle f} is a function f : [ t 0 , ∞ ) × R d → R d {\displaystyle f:[t_{0},\infty )\times \mathbb {R} ^{d}\to \mathbb {R} ^{d}} , and y 0 ∈ R d {\displaystyle y_{0}\in \mathbb {R} ^{d}} is a given vector. First-order means that only the first derivative of y {\displaystyle y} appears in the equation, and higher derivatives are absent. Without loss of generality to higher-order systems, we restrict ourselves to first-order differential equations, because a higher-order ODE can be converted into a larger system of first-order equations by introducing extra variables. For example, the second-order equation y ″ = − y {\displaystyle y''=-y} can be rewritten as two first-order equations: y ′ = z {\displaystyle y'=z} and z ′ = − y {\displaystyle z'=-y} . In this section, we describe numerical methods for IVPs. Boundary value problems (BVPs) require a different set of tools, discussed in the section below. The Picard–Lindelöf theorem states that the IVP has a unique solution, provided that f {\displaystyle f} is Lipschitz-continuous.

Methods Numerical methods for solving first-order IVPs often fall into one of two large categories: linear multistep methods, which make use of information from previous steps to obtain the next step, or Runge–Kutta methods, which use intermediate stages to calculate the next step. A further division is between explicit and implicit methods. Explicit methods only involve information from the current and previous steps, whereas implicit methods involve the next step, requiring the solution of an equation to solve for the next step. For example, implicit linear multistep methods include Adams-Moulton methods, and backward differentiation methods (BDF), whereas implicit Runge–Kutta methods include diagonally implicit Runge–Kutta (DIRK), singly diagonally implicit Runge–Kutta (SDIRK), and Gauss–Radau (based on Gaussian quadrature) numerical methods. Explicit examples from the linear multistep family include the Adams–Bashforth methods, and any Runge–Kutta method with a lower diagonal Butcher tableau is explicit. A loose rule of thumb dictates that stiff differential equations require the use of implicit schemes, whereas non-stiff problems can be solved more efficiently with explicit schemes. The so-called general linear methods (GLMs) are a generalization of the above two large classes of methods.

Euler method

Euler's method can be thought of as approximating a nearby point on a curve by moving a short distance along a line tangent to the curve. Starting with the differential equation (1), we replace the derivative y ′ {\displaystyle y'} by the finite difference approximation

which when re-arranged yields the following formula

y ( t + h ) ≈ y ( t ) + h y ′ ( t ) {\displaystyle y(t+h)\approx y(t)+hy'(t)}

and using (1) gives:

This formula is usually applied in the following way. We choose a step size h, and we construct the sequence t 0 , t 1 = t 0 + h , t 2 = t 0 + 2 h , … {\displaystyle t_{0},t_{1}=t_{0}+h,t_{2}=t_{0}+2h,\dots } We denote by y n {\displaystyle y_{n}} a numerical estimate of the exact solution y ( t n ) {\displaystyle y(t_{n})} . Motivated by (3), we compute these estimates by the following recursive scheme

… excerpt ends here. Continue reading the full article.

Illustrations

Numerical methods for ordinary differential equations: Illustration of numerical integration for the differential equation 
  
    
      
        
          y
          ′
        
        =
        y
        ,
        y
        (
        0
        )
        =
        1.
      
    
    {\displaystyle y'=y,y(0)=1.}
  

.mw-parser-output .legend{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .legend-color{display:inline-block;min-width:1.25em;height:1.25em;line-height:1.25;margin:1px 0;text-align:center;border:1px solid black;background-color:transparent;color:black}.mw-parser-output .legend-text{}  Blue: Euler method
  Green: Midpoint method
  Red: Exact solution: 
  
    
      
        y
        =
        
          e
          
            t
          
        
      
    
    {\textstyle y=e^{t}}
  
.
The step size is 
  
    
      
        h
        =
        1.0
      
    
    {\displaystyle h=1.0}
  
.
Illustration of numerical integration for the differential equation y ′ = y , y ( 0 ) = 1. {\displaystyle y'=y,y(0)=1.} .mw-parser-output .legend{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .legend-color{display:inline-block;min-width:1.25em;height:1.25em;line-height:1.25;margin:1px 0;text-align:center;border:1px solid black;background-color:transparent;color:black}.mw-parser-output .legend-text{}  Blue: Euler method   Green: Midpoint method   Red: Exact solution: y = e t {\textstyle y=e^{t}} . The step size is h = 1.0 {\displaystyle h=1.0} .
Numerical methods for ordinary differential equations: The same illustration for 
  
    
      
        h
        =
        0.25.
      
    
    {\displaystyle h=0.25.}
  
 The midpoint method converges faster than the Euler method, as 
  
    
      
        h
        →
        0
      
    
    {\displaystyle h\to 0}
  
.
The same illustration for h = 0.25. {\displaystyle h=0.25.} The midpoint method converges faster than the Euler method, as h → 0 {\displaystyle h\to 0} .

Worked examples

Example 1 — a first encounter with Numerical methods for ordinary differential equations

Start with the simplest possible case. Write down what Numerical methods for ordinary differential equations claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Numerical methods for ordinary differential equations before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Numerical methods for ordinary differential equations ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Numerical methods for ordinary differential equations

In research
Numerical methods for ordinary differential equations appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Numerical methods for ordinary differential equations in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Numerical methods for ordinary differential equations is common in secondary-school and first-year university syllabi. It links to neighbouring topics Numerical differential equations, Ordinary differential equations, so understanding it makes those chapters shorter.
In everyday life
Look for Numerical methods for ordinary differential equations outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Numerical methods for ordinary differential equations in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Numerical methods for ordinary differential equations means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Numerical methods for ordinary differential equations out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Numerical methods for ordinary differential equations in simple terms?

Numerical methods for ordinary differential equations are methods used to find numerical approximations to the solutions of ordinary differential equations (ODEs). Their use is also known as "numerical integration", although this term can also refer to the computation of integrals.

Why does Numerical methods for ordinary differential equations matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Numerical methods for ordinary differential equations?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Numerical methods for ordinary differential equations.

Tags

  • Numerical differential equations
  • Ordinary differential equations

Keep exploring