section
#>change_with_consequence
Calc I Calc II Calc III

Math / Pure Structure

Calculus is a literacy for rate, total, and local shape.

At the first layer, calculus asks how fast something is changing and how much has accumulated. At the second layer, it turns derivative rules into integration techniques, so products, substitutions, and repeated structure stop being random tricks. At the third layer, it lets one surface depend on more than one variable, which means slopes become directional and gradients become navigational. This route is arranged to make that ladder explicit rather than hiding it behind prestige. If you want the motion substrate first, go to trigonometry. If you want change laws directly, go next to differential equations. If you want the structural-reading bridge that turns integration by parts into a software-theory clue, go next to differential lambda calculus.

Repeated folded forms moving in sequence, suggesting motion, slope, accumulation, and successive state.
Sequential change One curve can be read as present tendency, accumulated history, and later as part of a larger multivariable surface.
.calc_ladder

One Ladder, Three Viewpoints

The usual course numbering is less arbitrary than it looks. Calc I makes local rate and accumulated total coexist. Calc II turns derivative rules around so integrals become something you can actually compute. Calc III keeps the same logic but lets the world depend on several variables at once, so slope becomes directional. Each layer is an elaboration of the same basic promise: change can stay legible.

d/dx
local rate area

Calc I

Learn derivative and integral as paired readings of one curve. The big move is not notation. It is keeping rate and accumulation distinct while reading the same signal.

anchor: rate and area lab
∫ parts
reverse rule technique

Calc II

Techniques like substitution and integration by parts are really structural recognitions: what pattern generated this integrand, and how can a known derivative rule be run backward?

anchor: techniques
slices gradient

Calc III

Once a quantity depends on x and y instead of only x, slope becomes directional. Partial derivatives are slice-specific rates, and gradients start acting like local navigation hints.

anchor: multivariable shape
^"rate_area_lab"{

Calc I: One Curve, Two Readings

Move the slider across the curve. The tangent line shows local rate. The shaded region shows accumulated contribution from the left boundary. This is the first durable intuition in calculus: one graph can tell you what is happening here and what has been building over time.

Interactive calculus relationship diagram A graph with a highlighted point, tangent line, and shaded accumulated area showing derivative and integral together.
If the controls are unavailable, read the default state as a point on one sample curve. The main structure still holds: the tangent line approximates local behavior, and the shaded region records accumulated contribution over an interval.

Move the position to compare local slope and accumulated area.

What changes

The chosen position changes, so the highlighted point, tangent slope, and shaded accumulation all update.

anchor: rate and area lab

What stays invariant

The same underlying curve produces both readings. Derivative and integral are not competing decorations on top of separate data.

anchor: calc ladder

What collapses

At small enough scale, the curve behaves almost like a line. That local collapse is the entry condition for derivative reasoning.

anchor: anchor equations

Where it leads

Once derivative rules are familiar, the next move is to reverse them well enough that integration becomes tactical instead of theatrical.

next: integration techniques
~"integration_techniques"

Calc II: Techniques Are Pattern Recognizers

Many students experience Calc II as a bag of tricks because the structural reason for each method never got named. Substitution says “a hidden chain rule made this.” Integration by parts says “a product rule made this.” Partial fractions say “an algebraic decomposition made this.” The techniques are not arbitrary. They are reverse-engineering literacies for how the integrand was built.

Substitution

Look for a nested expression and its derivative nearby. That is the signature of a hidden chain rule.

anchor: chain rule

Integration by parts

Use it when a product got differentiated and you want to reconstruct the larger object instead of staying trapped inside the pieces.

anchor: integration by parts lab

Repeated structure

Sometimes one round of reverse-engineering produces another integrand from the same family. That is a cue to recurse or solve algebraically for the original integral.

anchor: reverse product-rule accounting

Series and equations

Once local approximation and repeated differentiation are comfortable, the next natural routes are differential equations and numerical methods.

route: differential equations
^"integration_by_parts"{

Integration By Parts As Reverse Product-Rule Accounting

This demo chooses the simplest honest example: I(a) = ∫₀ᵃ x dx. It uses a square and its diagonal so the bookkeeping stays visible. The boundary term is the whole square. The swapped integral is the matching triangle. Integration by parts is doing nothing mystical here. It is reassigning area through the product rule and making the symmetry obvious.

Integration by parts area decomposition A square split by a diagonal into two equal triangles alongside a panel showing integration by parts for the integral of x from zero to a.
The formula ∫u dv = uv - ∫v du is easiest to trust once one concrete picture shows what the boundary term and swapped integral are doing.

Move the upper bound to keep the square, diagonal, and reverse product rule in sync.

Demo equation

∫₀ᵃ x dx is intentionally simple so the accounting structure stays more visible than the algebra.

anchor: current demo

Why it works

The derivative of a product has two terms. Integration by parts is what happens when you solve that identity backward.

anchor: product rule

Second example

After this square example, a good symbolic follow-up is ∫ x e^x dx = x e^x - e^x + C.

anchor: demo equations

Where it leads

This reverse-engineering habit becomes essential again when differential equations and transforms start reusing product-like structures.

route: equation family
$"structural_reading"

Structural Reading: Integration By Parts As Cut Elimination

Reverse product-rule accounting is the calculus-first statement. A second reading is structural. On this site, I want to treat integration by parts as a human-scale instance of cut elimination in a differential-lambda-calculus mindset: the product rule creates a two-branch handoff, the rewrite preserves a boundary residue, and the remaining differentiated work is moved across the cut instead of being hidden. The value of this reading is not formal prestige. It is a cleaner language for boundary, residue, and relocated work.

Where the cut appears

(uv)' = u'v + uv' splits one coupled expression into two obligations. That split is the structural seam the reverse rewrite acts on.

anchor: product rule

What survives elimination

The boundary term uv stays explicit. Good simplification does not erase the edge condition that made the rewrite honest.

anchor: boundary term

Why the burden moves

∫u dv = uv - ∫v du relocates the active differential burden. The remaining integral is simpler because the dependence was moved, not denied.

route: differential lambda calculus

Why software cares

This is a useful language for interfaces too: expose the handoff, keep the residue visible, and make it clear where the remaining work now lives.

route: Spw bridge
^"multivariable_shape"{

Calc III: Partial Derivatives And Directional Shape

When a quantity depends on x and y, there is no single slope anymore. There are slice-specific slopes, one for “hold y fixed” and one for “hold x fixed,” and then broader directional questions built from them. Partial derivatives are not lesser versions of ordinary derivatives. They are the right local questions for a surface instead of a line. Once that clicks, gradients, constrained change, and vector thinking stop feeling like a different religion.

Partial derivatives on a multivariable surface A wireframe surface with highlighted x and y slices, tangent segments, and live partial derivative values at a chosen point.
The orange slice holds y fixed. The violet slice holds x fixed. Their slopes are different because a surface carries directional local behavior.

Move x and y to compare the slice-specific slopes on the same surface.

What changes

The point moves on the surface, and the orange and violet tangent segments change because the local shape changed.

anchor: multivariable shape

What stays invariant

The same surface supports both slices. Partial derivatives are coordinated local readings of one object.

anchor: calc ladder

What gets added

Gradient language packages the partials into one local uphill direction. That is how optimization and field intuition usually enter.

anchor: gradient language

Where it leads

Once the local directional structure is visible, differential equations and vector fields feel much less abrupt.

route: slope field lab
~"anchor_equations"

Anchor Equations And Identities

These are not an exhaustive formula sheet. They are the equations worth carrying because they explain why the diagrams on this page work. If you can emotionally subvocalize these and remember what picture they belong to, the rest of the subject becomes easier to rebuild.

product
rule reverse

Product rule

(uv)' = u'v + uv'. Integration by parts is this identity solved backward for the integral of one term, with the boundary term kept explicit.

anchor: structural reading
chain
nested scale

Chain rule

(f∘g)' = (f'∘g)g'. Substitution is the integral-side recognition of this nested structure.

route: trig identities
FTC
bridge pairing

Fundamental theorem

d/dx ∫ₐˣ f(t) dt = f(x). This is the formal statement that local rate and accumulated area are paired readings rather than separate topics.

anchor: one curve, two readings
∇f
gradient direction

Gradient shorthand

∇f = (∂f/∂x, ∂f/∂y, ...). The gradient packages slice-specific rates into one local uphill hint.

route: vector calculus stub
demo
example memory

Demo equations worth keeping

∫₀ᵃ x dx = a²/2, ∫ x e^x dx = x e^x - e^x + C, d/dx(sin x) = cos x, and ∂/∂x (x² + xy) = 2x + y.

next: equation family
cut
boundary rewrite

Structural bridge

One public way to remember integration by parts is that it makes a handoff visible, preserves the residue, and moves the differentiated work across the seam.

route: differential lambda calculus
&["change_neighbors"]

Neighbor Routes

Calculus behaves best as a bridge discipline. It takes motion from one side, evidence from another, and turns both into more exact claims about change over time.

Trigonometry

Periodic motion and phase relationships are a natural substrate for derivatives, integrals, and harmonic reasoning.

route: trigonometry

Differential equations

Once a derivative becomes the thing you are solving for, slope fields and initial conditions take over.

route: differential equations

Vector calculus

Gradients, divergence, and curl are the next honest handoff after partial derivatives start feeling stable.

route: vector calculus stub

Statistical analysis

Growth claims still need sampling discipline, baseline language, and variance awareness to deserve trust.

route: statistical analysis

Algorithm visualization

Optimization, cumulative cost, throughput, and gradient-based methods all benefit from clearer slope and area intuition.

route: algorithm visualization

Differential lambda calculus

Integration by parts can also be remembered as a structural rewrite: expose the handoff, keep the boundary residue, and move the differential burden.

route: differential lambda calculus

Numerical methods

When exact symbolic work stalls, approximation, stepping, and convergence become the next literacy instead of a fallback embarrassment.

route: numerical methods stub

Weekly affairs

Crop cycles, yields, and accumulated world state in RPG Wednesday are easier to narrate when local rate and total consequence stay distinct.

route: RPG world