The Jacobian and Total Derivative
A map returns two outputs from two inputs. How can one linear model predict both at once? This chapter defines the total derivative and distinguishes its matrix from a list of unrelated partials.
- Jacobian: The matrix of first partial derivatives representing the total derivative of a differentiable vector-valued map.
Use a map with a visible remainder
Introduce the dimensionless map
Its derivative matrix is
Rows correspond to outputs and columns to inputs. At , . For ,
The remainder norm divided by equals , so it tends to zero in every direction.
Define the total derivative
For an open domain in , is differentiable at if there is a linear map with
The unique map is the total derivative . In standard bases its Jacobian matrix has entries . A matrix of partials is the derivative only when the required differentiability holds. Continuous partials on a neighborhood are sufficient.
Check one numerical increment
For , the prediction is , the exact output is , and the remainder is .
For scalar output the derivative is a row matrix, while the gradient is a column: . For a linear map , the derivative is at every point. This is the direct link to the linear-algebra chapters.
Review matrices of linear maps if the row/column interpretation is unfamiliar.
Basic practice
Prepare
Reuse a and h, and keep the new vector map F separate from scalar Q. Review matrix multiplication with column vectors.
Record assumed inputs, predictions, and exact calculations separately. If you use software, label rounded outputs; no physical measurement is implied.
Predict
What size must the Jacobian have, and which output should have zero quadratic remainder?
Execute
- Compute DF(a)h and the affine output prediction.
- Compute F(a + h) directly and subtract the prediction.
- Derive the symbolic remainder and bound its normalized norm.
Observe and record
| Case or quantity | Prediction | Exact result or argument | Error or software check |
|---|---|---|---|
| DF(a)h | |||
| Predicted and exact outputs | |||
| Remainder divided by input norm |
Check after working: The linear change is (0.1, 0.15), the prediction is (1.1, 0.15), and the exact residual is (0.0125, 0). The normalized remainder tends to zero uniformly in direction.
Optional extension
Prove uniqueness of the total derivative by testing the difference of two candidates on h = tu for every fixed vector u.
Keep and continue
Keep F, DF, and the exact remainder formula. Next, multiply derivative maps through a composition.
Previous: The Gradient and Local Prediction