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

Runge-Kutta Methods

Graduate Depth 116 in the knowledge graph ☐ I know this ☆ Set as goal
11topics build on this
718prerequisites beneath it
See this on the map →
Euler's Method for Numerical SolutionsEuler'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.

How It's Best Learned

Take one RK4 step by hand on y′ = y, y(0) = 1, h = 0.1. The stages are k₁ = 1, k₂ = 1.05, k₃ = 1.0525 and k₄ = 1.10525, giving y₁ ≈ 1.10517083. Compare with e0.1 ≈ 1.10517092 and with Euler's 1.1. Then expand e0.1 to see that RK4 matched the Taylor series through the h⁴ term.

Common Misconceptions

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 → Combining Small Groups Within 5 → Number Bonds Within 5 → Number Bonds to 10 → Tens and Ones Place Value → Reading and Writing Three-Digit Numbers → Comparing Three-Digit Numbers → Comparing and Ordering Three-Digit Quantities → Comparing and Ordering Whole Numbers → Comparing Numbers 1 to 20 → Ordering Numbers to 20 → Number Line 0 to 20 → 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 → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Multiplying Binomials (FOIL) → Factoring Trinomials → Factoring Completely → Introduction to Rational Expressions → Simplifying Radical Expressions → Segments and Distance → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Similar Right Triangles and the Geometric Mean → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Special Right Triangles: 30-60-90 → 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 → Work Done by a Force → Kinetic Energy → 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: 117 steps · 718 total prerequisite topics

Prerequisites (2)

Leads To (2)