A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Runge-Kutta Methods

Graduate Depth 105 in the knowledge graph ☐ I know this ☆ Set as goal
11topics build on this
667prerequisites beneath it
See this on the map →
Euler's Method for ODEs (Error Analysis)→→Multistep Methods: Adams-Bashforth and Adams-MoultonStiff Differential Equations and Stability Regions
runge-kutta ode high-order

Core Idea

Runge-Kutta methods use intermediate (stage) evaluations of f to improve accuracy. The classical 4th-order RK4 achieves error O(h⁵) with four function evaluations per step. RK methods are explicit (computing stages sequentially) or implicit (solving systems), with explicit methods simpler but sensitive to stiffness. RK methods are the workhorse of ODE solving due to their simplicity and effectiveness.

Explainer

From Euler's method, you know the simplest approach: take a step of size h, evaluate f at the current point, and move in that direction. The local truncation error is O(h²) — accuracy improves only linearly as you reduce the step size. Euler's method is easy to understand but slow to converge. Runge-Kutta methods use the same idea but squeeze much more accuracy out of each step by evaluating f at several intermediate points within the step interval.

The strategy is analogous to numerical integration. Euler's method is like the rectangle rule — it approximates the area under a curve using only the left endpoint. Higher-order methods sample f at more points within [tₙ, tₙ + h] and combine those samples with carefully chosen weights, like Simpson's rule uses three points for better accuracy. Each evaluation of f at an intermediate point is called a stage. The classical RK4 method uses four stages:

The update is yₙ₊₁ = yₙ + (h/6)(k₁ + 2k₂ + 2k₃ + k₄). This weighted average of four slopes achieves local error O(h⁵) and global error O(h⁴) — hence "4th-order." Halving the step size reduces the error by a factor of 16, compared to a factor of 2 for Euler's method.

The design of RK4 is not arbitrary. It's engineered so that a Taylor expansion of yₙ₊₁ matches the true solution's Taylor series through the h⁴ term. The weights (1, 2, 2, 1)/6 echo Simpson's rule exactly — no coincidence, since both are solving the same approximation problem. Explicit RK methods (like RK4) compute each stage directly from previously computed stages. Implicit methods allow stages to depend on each other, requiring a small system to be solved at each step — more expensive, but essential for stiff equations where explicit methods require prohibitively small step sizes to remain stable. RK4 is the default tool for smooth, non-stiff ODEs: four evaluations per step, no linear algebra, and accuracy that handles most practical problems with reasonable step sizes.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Double Integrals: Definition and Setup → Iterated Integrals and Fubini's Theorem → Double Integrals over Rectangular Regions → Double Integrals over General Regions → Applications of Double Integrals: Area, Mass, and Moments → Center of Mass → Conservation of Linear Momentum → Elastic Collisions → Inelastic Collisions → Coefficient of Restitution → Collision Analysis and Real-World Applications → Two-Body Collisions in the Center-of-Mass Frame → Reduced Mass and Two-Body Problems → Kinematics in Two Dimensions → Projectile Motion → Circular Motion: Kinematics → Simple Harmonic Motion → Introduction to Differential Equations → Euler's Method for Numerical Solutions → Euler's Method for ODEs (Error Analysis) → Runge-Kutta Methods

Longest path: 106 steps · 667 total prerequisite topics

Prerequisites (1)

Leads To (2)