Skip to main content

Chapter 19
Partial Derivatives and Multivariable Surfaces

Calculus and Continuous Change
Author: Mark Anthony Higgins
© Mark Anthony Higgins 11 October 2025
Revised Date: 15 June 2026
Audio Overview
Flow Algebra
flow "Partial Derivatives and Multivariable Surfaces"

# ---------- CONCEPT ----------
# Partial differentiation measures how a multivariable function changes when one variable varies
# and the others remain fixed — a local boundary change within a multidimensional field.
# Together, all partials describe the geometry of the surface formed by f(x₁, x₂, …, xₙ),
# mapping local curvature, slope, and coherence gradients across the domain.

# ---------- STATES ----------
state MultivariableSystem(M):
  Function:
    description: "f: ℝⁿ → ℝ — scalar field (height, potential, density) depending on multiple variables."
  PartialDerivative:
    description: "Rate of change of f with respect to one coordinate, holding others constant."
  GradientVector:
    description: "∇f(x) = (∂f/∂x₁, ∂f/∂x₂, …, ∂f/∂xₙ) — total directional rate of change."
  TangentPlane:
    description: "Local linear surface approximating f at a point a — multivariable extension of the tangent line."
  LevelSurface:
    description: "Set of points where f(x₁, …, xₙ) = c — surfaces of constant coherence (iso-coherence boundaries)."

# ---------- PARAMETERS ----------
params:
  variables: ["x₁, x₂, …, xₙ"]
  base_point: "a = (a₁, a₂, …, aₙ)"
  increments: ["Δx₁, Δx₂, …, Δxₙ"]
  partial_limit: "Each ∂f/∂xᵢ = lim_{Δxᵢ→0} (Δf/Δxᵢ) with others fixed."
  smoothness: "f ∈ C¹ for partials to exist and be continuous."
  closure: true

# ---------- INVARIANTS ----------
invariants:
  - "Partial derivative definition: ∂f/∂xᵢ = lim_{Δxᵢ→0} [f(x₁,…,xᵢ+Δxᵢ,…,xₙ) − f(x₁,…,xₙ)] / Δxᵢ."
  - "Gradient vector collects all partials: ∇f = (∂f/∂x₁, ∂f/∂x₂, …, ∂f/∂xₙ)."
  - "Directional derivative: D_{n̂}f(x) = ∇f(x)·n̂ — rate of change along unit vector n̂."
  - "Tangent plane equation: z = f(a₁,a₂) + fₓ(a)(x−a₁) + f_y(a)(y−a₂)."
  - "Level surface normal: n̂ = ∇f/‖∇f‖ — perpendicular to surface f(x₁,…,xₙ)=c."
  - "If all partials = 0, point is stationary — candidate for local extremum or saddle."

# ---------- TRANSFORMS ----------
transforms:
  ComputePartial(f,xᵢ):
    rule: "Take derivative of f with respect to xᵢ, holding others constant."
  FormGradient(f):
    rule: "Assemble ∇f(x) = (∂f/∂x₁, …, ∂f/∂xₙ)."
  EvaluateDirectional(f, n̂):
    rule: "Compute D_{n̂}f(x) = ∇f·n̂ — coherence change along direction n̂."
  BuildTangentPlane(f,a):
    rule: "Use partials at a: z = f(a₁,a₂) + fₓ(a)(x−a₁) + f_y(a)(y−a₂)."
  DefineLevelSurface(f,c):
    rule: "f(x₁,…,xₙ)=c — implicit surface of constant coherence."
  HessianMatrix(f):
    rule: "Compute matrix of second partials for curvature analysis."
  TestCriticalPoint(f):
    rule: "Set ∇f=0; classify via determinant and eigenvalues of Hessian."

# ---------- MONITORS ----------
monitors:
  PartialExistenceCheck:
    meaning: "Verify each ∂f/∂xᵢ exists via limit definition."
  GradientMagnitude:
    measure: "‖∇f(x)‖"
    meaning: "Strength of local coherence change."
  OrthogonalityTest:
    meaning: "∇f ⟂ level surfaces — ensures normal alignment."
  CurvatureType:
    meaning: "Classify surface curvature: convex (H>0), concave (H<0), saddle (H changes sign)."
  StationarityCheck:
    condition: "∇f(x)=0"
    meaning: "Candidate for equilibrium or transition point."

# ---------- EQUATIONS ----------
equations:
  - "∂f/∂xᵢ = \\lim_{Δxᵢ→0} \\frac{f(x₁,…,xᵢ+Δxᵢ,…,xₙ) - f(x₁,…,xₙ)}{Δxᵢ}"
  - "∇f(x) = (∂f/∂x₁, ∂f/∂x₂, …, ∂f/∂xₙ)"
  - "D_{n̂}f(x) = ∇f(x)·n̂"
  - "z = f(a₁,a₂) + fₓ(a)(x−a₁) + f_y(a)(y−a₂)"
  - "n̂ = ∇f/‖∇f‖"
  - "H(f) = [∂²f/∂xᵢ∂xⱼ] — Hessian matrix"
  - "det(H)>0, fₓₓ>0 ⇒ local min; det(H)>0, fₓₓ<0 ⇒ local max; det(H)<0 ⇒ saddle point."

# ---------- NOTES ----------
notes:
  - "Each partial derivative isolates the effect of one dimension on the total coherence field."
  - "The gradient unites these local effects — the direction of steepest ascent and maximal coherence change."
  - "Level surfaces represent states of constant potential — regions where coherence remains balanced."
  - "The tangent plane provides a first-order linear approximation, a local flat boundary in the curvature field."
  - "The Hessian extends this by describing curvature interactions — how coherence bends differently in each direction."
  - "In Flow Algebra, partial differentiation expresses localised boundary recursion: change resolved dimension by dimension, while the gradient expresses their synthesis as a unified field of motion."
Explanatory Notes

When a function depends on several variables, its behaviour cannot be described by a single rate of change.
Instead, each variable defines its own axis of influence — its own boundary of transformation.

Partial differentiation isolates these effects, measuring how the function’s coherence evolves along one direction while the others remain fixed.
It is the mathematics of local variation within multidimensional flow.

For a function

\[ f(x_1, x_2, \ldots, x_n) \]

the partial derivative with respect to xix_i is defined by

\[ \frac{\partial f}{\partial x_i} = \lim_{\Delta x_i \to 0} \frac{ f(x_1, \ldots, x_i + \Delta x_i, \ldots, x_n) - f(x_1, \ldots, x_n) }{ \Delta x_i } \]

This limit examines the infinitesimal slope of ff along a single coordinate, holding all others constant.  Each partial derivative therefore represents a local boundary response — how coherence shifts along one axis of the system.

When all partials are collected, they form the gradient vector:

\[ \nabla f(x) = \left( \frac{\partial f}{\partial x_1}, \frac{\partial f}{\partial x_2}, \ldots, \frac{\partial f}{\partial x_n} \right) \]

The gradient unites the separate channels of change into a single geometric entity: the direction of steepest ascent, the vector of maximal coherence growth.
Its magnitude, ∥∇f∥\|\nabla f\|, measures how strongly the function changes; its orientation points along the path where that change is greatest.

At any specific point a=(a1,a2,…,an)a = (a_1, a_2, \ldots, a_n), the function can be linearly approximated by its tangent plane (or hyperplane in higher dimensions):

\[ z = f(a_1, a_2) + f_x(a)(x - a_1) + f_y(a)(y - a_2) \]

This plane represents the local equilibrium of the surface — the flat boundary that best preserves the coherence of the system at that location.

Where f(x1,…,xn)=cf(x_1, \ldots, x_n) = c, we find a level surface — a contour of constant potential, constant energy, or constant coherence.

The gradient is always perpendicular to these surfaces, because it points toward increasing values of ff; in this sense, ∇f\nabla f acts as the normal vector to the field of constancy.
It describes how the system moves from equilibrium to change — the geometry of its internal drive.

To study how curvature behaves, we look to the Hessian matrix, which gathers all second-order partial derivatives.
The Hessian encodes how the gradient itself changes — how the field bends, twists, or stabilises near equilibrium.
Through it, we can classify stationary points where ∇f=0\nabla f = 0 as minima, maxima, or saddle points — local configurations of coherence balance or instability.

In Flow Algebra, partial differentiation represents dimension-wise recursion — the process of analysing coherence one boundary at a time.
Each partial is a channel of boundary change; together, the gradient forms the complete map of how structure moves through multidimensional space.

At higher order, curvature (the Hessian) expresses how these flows interact — how one direction’s coherence alters another’s.

Thus, multivariable calculus reveals the geometry of transformation itself:
how change spreads across dimensions,
how local gradients form global surfaces,
and how coherence extends through the continuous fabric of the multidimensional field.

Related Chapters
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ