RatMath ShelfCourse guide

University: first two years

Ordinary differential equations

Use the left and right arrow keys to turn pages.

Course summary

Where RatMath helps

77.5%

31 of 40 focal problems use RatMath for a calculation or a substantive step.

Direct calculation
28 · 70%
Assisted
3 · 7.5%
Worked by hand
9 · 22.5%

Using the packages

Classifying the equation and carrying initial data are distinct steps. Symbolic formulas help with standard families, while analytic routines expose intervals for numerical solutions.

Calculator interface

Ask for dependent variable, independent variable and initial data explicitly. Pair a slope field with a symbolic solution and show a residual and interval of existence.

Packages used in the lessons

@ratmath/analytic (25 days) · @ratmath/core (3 days) · @ratmath/linalg (2 days) · @ratmath/symbolic (1 days) · @ratmath/chaos (1 days)

How to read the percentages

Each of the 40 focal problems has equal weight. Direct means the displayed package calculation answers the computational question after the inputs are set up. Assisted means it contributes a step and the worked solution supplies essential reasoning, interpretation or selection. Worked by hand means the guide relies on a construction, argument or judgment for that task. The helpful share combines direct and assisted days. Courses and instructors assign different mixes of problems. The percentages describe this syllabus.

Classroom inputs and practical limits

31 of 40 days include a checked executable example. On 5 days the measured size sweep exercises a named API used in the lesson. Each day identifies its tested inputs and the mathematical property checked. Hand-worked days give the input scale and the argument to verify.

Ranges across the five units

Days 1–8 · First-order models. Scalar first-order equations with one initial value, a small number of parameters and a real interval where the formula is defined.

Unit benchmark · analytic.odeMethod, Euler steps. Largest passing sample 1,000 (292 ms, 90.4 MiB peak process RSS). The first sampled passing call above 100 ms used 300 (117 ms). The runs did not locate a ceiling for this family.

Days 9–16 · Second-order equations. Second-order constant-coefficient equations, two initial conditions and forcing from a short polynomial, exponential or sinusoid.

Unit benchmark · analytic.odeMethod, Euler steps. Largest passing sample 1,000 (292 ms, 90.4 MiB peak process RSS). The first sampled passing call above 100 ms used 300 (117 ms). The runs did not locate a ceiling for this family.

Days 17–24 · Transforms and series. Short transform pairs and power-series orders around 3–10; respect the convergence region and shift conventions.

Unit benchmark · analytic.fourier.exact, partial-sum order. Largest passing sample 16 (2,617 ms, 131.8 MiB peak process RSS). Time cutoff at 32, 64. The first sampled passing call above one second used 16 (2,617 ms).

Days 25–32 · Systems and geometry. Two- or three-dimensional autonomous systems with a few equilibria and a 2×2 or 3×3 linearization.

Unit benchmark · linalg.eigenvalues.exact, matrix side. Largest passing sample 18 (18.30 ms, 87.1 MiB peak process RSS). The runs did not locate a ceiling for this family.

Days 33–40 · Numerical and boundary problems. Scalar or two-state problems; roughly 4–100 steps for a teaching calculation and a bounded time interval.

Unit benchmark · analytic.odeMethod, Euler steps. Largest passing sample 1,000 (292 ms, 90.4 MiB peak process RSS). The first sampled passing call above 100 ms used 300 (117 ms). The runs did not locate a ceiling for this family.

Measurement method, runtime limits and complete workload results

Lecture and problem-set sequence

Days 1–8 First-order models

Separate variables, test exactness, identify special solutions and fit data.

6 direct calculation · 1 assisted · 1 worked by hand

  1. Day 1 Separable
  2. Day 2 Linear, integrating factor
  3. Day 3 Exact equation
  4. Day 4 Bernoulli
  5. Day 5 Homogeneous
  6. Day 6 Newton's law of cooling
  7. Day 7 Lost equilibrium
  8. Day 8 Finite-time blow-up
Days 9–16 Second-order equations

Distinguish root multiplicities, resonance and forcing.

6 direct calculation · 0 assisted · 2 worked by hand

  1. Day 9 Distinct real roots
  2. Day 10 Repeated root
  3. Day 11 Complex roots
  4. Day 12 Undetermined coefficients
  5. Day 13 Resonance
  6. Day 14 Variation of parameters
  7. Day 15 Wronskian
  8. Day 16 Damped oscillation
Days 17–24 Transforms and series

Translate delays, invert transforms and compute local series.

5 direct calculation · 0 assisted · 3 worked by hand

  1. Day 17 Laplace transform
  2. Day 18 Inverse Laplace transform
  3. Day 19 Step forcing
  4. Day 20 Series solution
  5. Day 21 Impulse forcing
  6. Day 22 Convolution response
  7. Day 23 Transforming initial data
  8. Day 24 Series recurrence
Days 25–32 Systems and geometry

Build phase portraits, classify equilibria and use matrix eigenvectors.

4 direct calculation · 2 assisted · 2 worked by hand

  1. Day 25 Linear system
  2. Day 26 Classifying an equilibrium
  3. Day 27 Nonlinear phase plane
  4. Day 28 Eigenvalues and eigenvectors
  5. Day 29 Matrix powers
  6. Day 30 The damped pendulum
  7. Day 31 Nullclines
  8. Day 32 Linearization at zero eigenvalues
Days 33–40 Numerical and boundary problems

Approximate an initial value, discuss stability and separate boundary modes.

7 direct calculation · 0 assisted · 1 worked by hand

  1. Day 33 Euler's method
  2. Day 34 Euler's method
  3. Day 35 Runge–Kutta
  4. Day 36 Stability
  5. Day 37 Sturm–Liouville eigenvalues
  6. Day 38 Heat equation, fixed ends
  7. Day 39 Euler error
  8. Day 40 Boundary data

Start day 1 →