Opening your learning space
Starting the app …
Opening your learning space
Starting the app …
Classical RK4 approximates one step of an initial-value problem using four weighted slope evaluations.
Free to browse · flashcards or a multiple-choice quiz · import from Essential
Formula
t,h in time units; y in state units; ki=f(t,y) in y per time unit; every stage argument must be dimensionally consistent.
| Symbol | Meaning | Unit |
|---|---|---|
| Time at the start of the current step | s | |
| Approximate solution at the step start | unit of the state variable | |
| Step size | s | |
| Right-hand side of the ODE y′=f(t,y) | unit of y / time | |
| k1…k4 | Slopes at the four Runge-Kutta stages | unit of y / time |
k_1=f(t_n,y_n),\ k_2=f(t_n+h/2,y_n+hk_1/2),\ k_3=f(t_n+h/2,y_n+hk_2/2),\ k_4=f(t_n+h,y_n+hk_3),\ y_{n+1}=y_n+\frac h6(k_1+2k_2+2k_3+k_4)Original schematic by Quanta
Free with a Quanta account. Your download stays ready after registration.
For sufficiently smooth solutions, RK4 has global error O(h4) over a fixed interval and local one-step error O(h5). The ki are slopes, not increments already multiplied by h. Classical RK4 supplies no error estimate and does not control stability; stiff problems often require implicit methods. Varying the step size or using an embedded method is necessary when error control is required.
For sufficiently smooth solutions, RK4 has global error O(h4) over a fixed interval and local one-step error O(h5). The ki are slopes, not increments already multiplied by h. Classical RK4 supplies no error estimate and does not control stability; stiff problems often require implicit methods. Varying the step size or using an embedded method is necessary when error control is required.
Classical RK4 approximates one step of an initial-value problem using four weighted slope evaluations.
A complete RK4 step
The ki are slopes; multiply by h only in the weighted sum.
Rework the example for “Classical Fourth-Order Runge-Kutta Method (RK4)” and explain why the check is valid.
For y′=y, y(0)=1 and h=0.1: k1=1, k2=1.05, k3=1.0525, k4=1.10525; y1=1+0.1(1+2·1.05+2·1.0525+1.10525)/6≈1.105170833.
Exact: e^0.1≈1.105170186, so the step error is about 6.47×10−7.
Ignoring an assumption of the formula: For sufficiently smooth solutions, RK4 has global error O(h4) over a fixed interval and local one-step error O(h5)
Check units and model conditions before substitution; then verify the result in the original relation or a limiting case.
Formula cluster
Related relations in the formula sheet: euler-verfahren-differentialgleichung, trennbare-differentialgleichung, lineare-differentialgleichung-zweiter-ordnung.
For y′=y, y(0)=1 and h=0.1: k1=1, k2=1.05, k3=1.0525, k4=1.10525; y1=1+0.1(1+2·1.05+2·1.0525+1.10525)/6≈1.105170833. Exact: e^0.1≈1.105170186, so the step error is about 6.47×10−7.
Numerical initial-value problems in mechanics, circuits, population models and dynamical systems.
Here is how to work through a typical Classical Fourth-Order Runge-Kutta Method (RK4) (yₙ₊₁ = yₙ + h(k₁+2k₂+2k₃+k₄)/6) task step by step:
Task
Rework the example for “Classical Fourth-Order Runge-Kutta Method (RK4)” and explain why the check is valid.
Solution path
For y′=y, y(0)=1 and h=0.1: k1=1, k2=1.05, k3=1.0525, k4=1.10525; y1=1+0.1(1+2·1.05+2·1.0525+1.10525)/6≈1.105170833.
Exact: e^0.1≈1.105170186, so the step error is about 6.47×10−7.
Classical RK4 approximates one step of an initial-value problem using four weighted slope evaluations. The notation yn+1 = yn + h(k1+2k2+2k3+k4)/6 shows which quantities are connected. Here, tn: Time at the start of the current step (s); yn: Approximate solution at the step start (unit of the state variable); h: Step size (s). t,h in time units; y in state units; ki=f(t,y) in y per time unit; every stage argument must be dimensionally consistent. An application depends on whether the supplied quantities match the definitions and reference directions. Common uses include Numerical initial-value problems in mechanics, circuits, population models and dynamical systems.. Read the variables and their dimensions before substituting numbers; this often reveals whether the result should be a length, rate, probability, or dimensionless statistic.
Start with a diagram or a list of known quantities, assign each one a symbol, and convert units to a consistent form. Then choose the appropriate equation and substitute values only afterward. Example: For y′=y, y(0)=1 and h=0.1: k1=1, k2=1.05, k3=1.0525, k4=1.10525; y1=1+0.1(1+2·1.05+2·1.0525+1.10525)/6≈1.105170833. Exact: e^0.1≈1.105170186, so the step error is about 6.47×10−7. Verification is part of the calculation: For sufficiently smooth solutions, RK4 has global error O(h4) over a fixed interval and local one-step error O(h5) Also compare the magnitude and unit with the context. Round only at the end, since early rounding can affect multi-step calculations, especially when small differences or sums are involved.
For sufficiently smooth solutions, RK4 has global error O(h4) over a fixed interval and local one-step error O(h5). The ki are slopes, not increments already multiplied by h. Classical RK4 supplies no error estimate and does not control stability; stiff problems often require implicit methods. Varying the step size or using an embedded method is necessary when error control is required. These are not minor footnotes: when assumptions fail, the formula can produce a precise but inappropriate result. Before calculating, identify which values are observed, estimated, or modeled, and whether special cases change the equation. Numerical initial-value problems in mechanics, circuits, population models and dynamical systems. For numerical methods, also check step size and stability; for statistics, sampling design and distribution; for calculus, differentiability, boundary, and orientation. Use another method when these conditions do not hold.
Both relations belong to the same topic, but answer different questions. “Classical Fourth-Order Runge-Kutta Method (RK4)”: Classical RK4 approximates one step of an initial-value problem using four weighted slope evaluations. The companion relation “Forward Euler Method” The forward Euler method approximates a solution of y′=f(t,y) by extending the tangent slope as constant over a step h. Choose based on the quantity sought and the model: Numerical initial-value problems in mechanics, circuits, population models and dynamical systems. The worked example For y′=y, y(0)=1 and h=0.1: k1=1, k2=1.05, k3=1.0525, k4=1.10525; y1=1+0.1(1+2·1.05+2·1.0525+1.10525)/6≈1.105170833. Exact: e^0.1≈1.105170186, so the step error is about 6.47×10−7. shows which quantities actually enter this relation. Compare both formulas using the same data and identify the companion’s extra assumption. This clarifies which relation fits.
For an ODE, initial values are part of the problem; for a numerical step, also check step size and stability. A formally correct iteration does not guarantee an accurate approximation. The symbols must also match their definitions exactly: tn: Time at the start of the current step (s); yn: Approximate solution at the step start (unit of the state variable); h: Step size (s). Do not calculate mechanically; write the assumption beside the setup, then check dimensions and sign. Also note: For sufficiently smooth solutions, RK4 has global error O(h4) over a fixed interval and local one-step error O(h5) The example For y′=y, y(0)=1 and h=0.1: k1=1, k2=1.05, k3=1.0525, k4=1.10525; y1=1+0.1(1+2·1.05+2·1.0525+1.10525)/6≈1.105170833. Exact: e^0.1≈1.105170186, so the step error is about 6.47×10−7. lets you follow these checks directly. If the assumptions do not fit, choose another relation from the chapter instead of forcing values into an unsuitable formula.
Quanta exam set
Curated exam set for "Classical Fourth-Order Runge-Kutta Method (RK4)":
Question (front)
Which formula describes Classical Fourth-Order Runge-Kutta Method (RK4)?
Answer in your set
Question (front)
How do you rearrange Classical Fourth-Order Runge-Kutta Method (RK4) for A complete RK4 step?
Answer in your set
Question (front)
Which common mistake happens with Classical Fourth-Order Runge-Kutta Method (RK4)?
Answer in your set
+ 8 more cards: units, variables, derivation, example, exam task
The formula set contains 11 cards. After importing, review them and start practicing; your ratings determine later review intervals.
This list names subject references and further reading. A page or section number appears when it is part of the reference; these are not verbatim quotations.
Create a curated FSRS exam set for yₙ₊₁ = yₙ + h(k₁+2k₂+2k₃+k₄)/6: formula recall, variables, derivation, rearrangement, worked example, common mistakes and exam context.
Curated formula set · LaTeX · FSRS spaced repetition · import from Essential