Chapter 5. Initial Value Problems for Ordinary Differential Equations

Initial value problems for ordinary differential equations (or systems) hardly need any motivation. They arise naturally in almost all sciences. In this chapter, we will focus on mastering numerical methods to solve these equations.

Throughout the chapter, we will explore all the techniques implemented in the SciPy stack through three common examples:

  • The trivial differential equation of the first order y'(t) = y(t) with the initial condition as y(0) = 1. The actual solution is y(t) = et.
  • A more complex differential equation of first order: a Bernoulli equation ty'(t) + 6y(t) = 3ty(t)3/4, with the initial condition y(1) = 1. The actual solution is y(t) = (3t5/2 + 7)4/(10000t6

Get Mastering SciPy now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.