section
#>change_law
slope field initial condition family

Math / Change Laws

Differential equations describe how a system wants to move.

A differential equation is not only a curve to solve. It is a law relating a state to its rate of change. That means the most intuitive entry point is often a slope field: a visible patchwork of local directions before a single named solution is chosen. Then an initial condition picks one member of the family. This route keeps those three layers together: field, condition, family. If you want the derivative literacy underneath it, go to calculus. If you want a periodic family that keeps reappearing in ODEs, go to trigonometry.

A mathematical field of directional marks and structured traces suggesting local motion and solution families.
Direction field The local instructions come first. The chosen trajectory comes second. Keeping that order visible makes the subject less hostile.
.intuition_first

Intuition First

A differential equation says how the present state pushes on the next instant. In that sense it is closer to a rule of local behavior than a finished graph. A slope field keeps that locality visible. An initial condition says where you started. A solution family says what kind of trajectories satisfy the law. The topic is less overwhelming once those roles stop collapsing into one blur.

Field

The field is the local instruction set. It tells you how a tiny step should tilt at each point in the plane.

anchor: slope field lab

Condition

An initial condition chooses one specific member of a larger family. It is a selection rule, not a different equation.

anchor: equation family

Approximation

Numerical methods like Euler are honest because they show what repeated local stepping buys and where it starts drifting.

anchor: Euler comparison

Periodic solutions

Some ODEs hand off directly to sine and cosine families, which is why trigonometry keeps returning later.

route: trig identities
^"slope_field_lab"{

Portable Diagram: Slope Field, Initial Condition, Exact Curve

This demo uses the equation y' = x - y. The short blue segments are the local slope field. The teal curve is the exact solution family member chosen by the initial condition. The dashed amber curve is Euler’s method, which keeps stepping locally instead of solving symbolically. The point is not only to “get the answer.” It is to see how local instruction, chosen start, and approximate stepping relate.

Differential equation slope field and solution family A slope field for y-prime equals x minus y with an initial condition, exact solution curve, and Euler approximation.
Exact solutions are valuable, but the field already tells a story before you solve anything: where trajectories flatten, where they rise, and how the chosen initial condition narrows the family.

Move the initial condition to watch the chosen family member and local slope update together.

What changes

The chosen initial condition changes, so the selected solution curve and initial slope change with it.

anchor: slope field lab

What stays invariant

The differential equation itself stays fixed. Only the chosen family member changes.

anchor: equation family

What gets approximated

Euler’s method is honest local stepping. It is useful precisely because it shows approximation as a process instead of a black box.

route: algorithm families

Where it leads

Later equations bring in second derivatives, oscillation, stability, and forcing terms, but the field-condition-family pattern remains.

route: calculus anchor equations
~"equation_family"

Equation Family And Demo Laws

A broad differential-equations literacy does not require an exhaustive taxonomy on day one. It helps more to keep a few recurring equation types nearby and know what kind of behavior each one usually points toward.

growth
response feedback

Exponential growth and decay

y' = ky says the rate is proportional to the current state. This is the first good model for unchecked growth, decay, and cooling-style response.

route: rate and area lab
balance
equilibrium lag

First-order linear ODEs

y' + py = q(x) models systems that are nudged by an external signal while also being pulled toward or away from equilibrium.

anchor: current demo family
osc
cycle return

Second-order oscillation

y'' + y = 0 leads to sine and cosine. This is one clean reason trigonometry and differential equations keep rhyming.

route: trigonometry
field
numerical approximation

Numerical stepping

When exact solving is hard, local stepping methods still let you reason about stability, drift, and response by simulation.

route: numerical methods stub
&["equation_neighbors"]

Neighbor Routes

Differential equations are a natural handoff point between calculus, periodic motion, numerical reasoning, and any narrative system that wants to talk about change laws instead of isolated moments.

Calculus

Differential equations inherit derivative literacy, integration techniques, and multivariable caution from calculus.

route: calculus

Trigonometry

Oscillation families and phase language keep showing up in second-order systems and periodic forcing.

route: trigonometry

Vector calculus

Field language eventually grows into divergence, curl, and flow reasoning once scalar state alone stops being enough.

route: vector calculus stub

Statistical analysis

A model of change still needs evidence discipline when real observations are noisy or sampled unevenly.

route: statistical analysis

Numerical methods

Approximation routines make the local law computational when an exact formula is unavailable or inconvenient.

route: numerical methods stub

RPG world state

Resource growth, crop response, rumor spread, and magical decay all become more narratable once “state plus change law” becomes a familiar sentence shape.

route: RPG world