Phyz
Home
Mindmap
Quiz
  • Classical Mechanics
  • First Quantization
  • Harmonic Oscillator
  • Special Relativity
  • Relativistic QM
  • Dirac Equation
  • Fields and Quanta
  • Action and Lagrangians
  • Field Quantization
  • Quantum Electrodynamics
  • From Lagrangian to Experiment
  • Perturbation Theory
  • Feynman Rules for QED
  • Symmetries
  • Weak Interaction
  • Electroweak Unification
  • Higgs Mechanism
  • Quantum Chromodynamics
  • The Standard Model
  • Path Integrals in Quantum Mechanics
  • Path Integrals for Fields
  • Fermionic Path Integrals
  • Gauge Fixing
  • Renormalization at One Loop
Exercises
Final Recap
  • Calculus
  • Complex Numbers
  • Linear Algebra
  • Index Notation and Tensors
  • Groups and Symmetry
Home
Mindmap
Quiz
  • Classical Mechanics
  • First Quantization
  • Harmonic Oscillator
  • Special Relativity
  • Relativistic QM
  • Dirac Equation
  • Fields and Quanta
  • Action and Lagrangians
  • Field Quantization
  • Quantum Electrodynamics
  • From Lagrangian to Experiment
  • Perturbation Theory
  • Feynman Rules for QED
  • Symmetries
  • Weak Interaction
  • Electroweak Unification
  • Higgs Mechanism
  • Quantum Chromodynamics
  • The Standard Model
  • Path Integrals in Quantum Mechanics
  • Path Integrals for Fields
  • Fermionic Path Integrals
  • Gauge Fixing
  • Renormalization at One Loop
Exercises
Final Recap
  • Calculus
  • Complex Numbers
  • Linear Algebra
  • Index Notation and Tensors
  • Groups and Symmetry
  • Classical Mechanics
  • First Quantization
  • Harmonic Oscillator
  • Special Relativity
  • Relativistic QM
  • Dirac Equation
  • Fields and Quanta
  • Action and Lagrangians
  • Field Quantization
  • Quantum Electrodynamics
  • From Lagrangian to Experiment
  • Perturbation Theory
  • Feynman Rules for QED
  • Symmetries
  • Weak Interaction
  • Electroweak Unification
  • Higgs Mechanism
  • Quantum Chromodynamics
  • The Standard Model
  • Path Integrals (Optional)

    • Path Integrals in Quantum Mechanics
    • Path Integrals for Fields
    • Fermionic Path Integrals
    • Gauge Fixing
    • Renormalization at One Loop
  • Exercises
  • Final Recap
  • Math Refresher

    • Calculus
    • Complex Numbers
    • Linear Algebra
    • Index Notation and Tensors
    • Groups and Symmetry

Math Refresher: Calculus

These appendix pages collect the mathematical tools the rest of the site uses. Each tool gets a definition and one example, plus a pointer to where it first appears. A reader meeting calculus for the first time can follow from these pages; a reader who has seen it can skim.

1. Derivatives

A derivative measures how fast a quantity changes. For a function q(t), the derivative

q′(t)=dtdq​=h→0lim​hq(t+h)−q(t)​

is the slope of its graph, or the rate at which q changes per unit change in t. A dot abbreviates a time derivative, q˙​=dq/dt.

Example. For q(t)=t2, the change over a small interval is (t+h)2−t2=2th+h2. Dividing by h and letting h→0 leaves 2t, so q˙​=2t. This is why Classical Mechanics describes a particle's velocity as q˙​ and its acceleration as q¨​.

A derivative can be negative or zero. Zero means the quantity is momentarily not changing; this is the condition that marks a maximum or minimum of a function.

2. Partial derivatives

A quantity often depends on several variables at once, such as the Lagrangian L(q,q˙​,t). A partial derivative differentiates with respect to one variable while holding the others fixed:

∂q˙​∂L​=dq˙​dL​​q,t fixed​.

We use the curly ∂ to distinguish this from a full derivative dtd​, which tracks how a quantity changes when everything that depends on time changes.

Example. For L=21​mq˙​2−V(q), treat q˙​ and q as independent variables. Then

∂q˙​∂L​=mq˙​,∂q∂L​=−V′(q).

Both derivatives appear in the Euler–Lagrange equation on Classical Mechanics:

dtd​(∂q˙​∂L​)−∂q∂L​=0.

The same partial-derivative operation acts on a field ϕ(t,x) on the Action page, where the independent variables are ϕ and each derivative ∂μ​ϕ.

3. The chain rule

When one variable depends on another, their rates of change compose. For f(q(t)),

dtdf​=dqdf​dtdq​.

With several variables, the full time derivative collects one term per path of dependence:

dtdf​=∂q∂f​q˙​+∂t∂f​.

Example. The Lorentz time transformation t′=γ(t−vx/c2) mixes t and x, so time derivatives transform with both terms of the chain rule. The same rule converts between a frame's time derivative and the derivative along a particle's own clock when the Lorentz factor appears.

4. Integrals and integration by parts

An integral adds a quantity over a range. The definite integral ∫ab​f(t)dt accumulates f between t=a and t=b; the indefinite integral is the reverse of differentiating.

The action is a definite integral, S=∫Ldt. To find which path makes it stationary, we move a derivative off the variation using integration by parts. For two functions u(t) and v(t),

∫ab​udtdv​dt=[uv]ab​−∫ab​vdtdu​dt,

where [uv]ab​=u(b)v(b)−u(a)v(a) is the boundary term.

Example. In the variation of the action, the velocity term is ∫∂q˙​∂L​dtd​(δq)dt. Taking u=∂q˙​∂L​ and v=δq moves the derivative onto u. The boundary term vanishes because the variation δq is chosen to be zero at the endpoints. What remains is ∫(dtd​∂q˙​∂L​)δqdt, which produces the Euler–Lagrange equation. The same step runs over every spacetime direction when deriving the field equation.

5. Taylor expansion

A smooth function near a point agrees with a polynomial built from its derivatives there:

f(x)≈f(x0​)+f′(x0​)(x−x0​)+21​f′′(x0​)(x−x0​)2+⋯

Each added term fixes one more derivative at x0​.

Example. Near a minimum of a potential, V′(x0​)=0, so the linear term drops out and

V(x)≈V(x0​)+21​V′′(x0​)(x−x0​)2.

The harmonic oscillator is exactly this quadratic approximation. A second use appears in Special Relativity: the Lorentz factor obeys γ≈1+v2/(2c2) at small speed, which recovers the non-relativistic kinetic energy.

6. Vector calculus

Fields vary over space, so we need derivatives that act on all three directions at once. Write v=(vx​,vy​,vz​) and ∇=(∂x​,∂y​,∂z​).

  • Gradient, ∇f=(∂x​f,∂y​f,∂z​f): the vector pointing in the direction f increases most steeply.
  • Divergence, ∇⋅v=∂x​vx​+∂y​vy​+∂z​vz​: the net outward flow of v per unit volume.
  • Curl, ∇×v: a vector measuring circulation of v around each axis.
  • Laplacian, ∇2f=∇⋅(∇f)=∂x2​f+∂y2​f+∂z2​f: the divergence of the gradient.

The multidimensional analogue of the integration by parts in §4 is the divergence theorem:

∫V​∇⋅vd3x=∮∂V​v⋅ndA.

The integral of a divergence over a volume equals the flux of the vector through the volume's boundary. It turns a continuity equation into a conservation statement: a change in a quantity inside a region equals the net flow through the boundary, so a flow that vanishes at infinity leaves the total unchanged, as in the probability current argument.

These appear in the Maxwell equations: ∇⋅E=ρ, ∇×E=−∂t​B, and so on. The relativistic wave operator combines a time derivative with the Laplacian,

□=∂t2​−∇2,

called the d'Alembertian, which appears in the Klein–Gordon equation.


Next: Complex Numbers

Last Updated: 10/8/26, 1:30 AM
Contributors: Hanh Huynh Huu
Next
Complex Numbers