A gradient handles one scalar output, while a Jacobian handles several outputs responding to several inputs. Higher derivatives describe how those first rates themselves change. Matrix notation then combines a production transformation, a price response and an objective without dropping cross-effects.
1 Higher derivatives and mixed partials
For differentiable , the product rule is . If , differentiating the reciprocal by its difference quotient gives . Applying the product rule to therefore gives
For an average-cost model with , this derivative is . If with , average cost has derivative , so its unique global minimum over positive quantities occurs at by the derivative sign change. This is a conditional continuous model, not a production recommendation.
For a one-variable function, define and recursively wherever this derivative exists. The second derivative measures curvature, not the original rate; each differentiation changes units by another factor of the input unit. For , its first three derivatives are , and its fourth is 24.
For , second partials include . If second partials are continuous on a neighborhood, the mixed partials agree. One justification takes the double increment over a small rectangle, applies the fundamental theorem in both orders, divides by its side lengths and lets both shrink. The two limits are and at the point. Existence of mixed partials without such regularity does not by itself give this equality.
The gradient is the column , and the Hessian is the matrix of second partials. With continuous second partials it is symmetric. Higher mixed derivatives are obtained by repeated differentiation with their coordinate order specified; order interchange requires appropriate continuity hypotheses.
Repeated product differentiation gives the Leibniz formula when these derivatives exist; induction uses the product rule and Pascal's identity. Differentiating a composite twice gives , showing why a higher chain rule is not just multiplication of second derivatives.
2 Jacobian matrices and local vector responses
Let be defined on an open neighborhood of . Its Jacobian is the matrix
For functions it gives the local approximation . Each row is one output's coordinate sensitivity; each column is the effect of changing one input across all outputs. A gradient and Jacobian differ in shape: for scalar output, the Jacobian is the gradient transpose under this convention.
Definition
A derivative in a specified direction
Let be defined on an open neighbourhood of , and let be a unit vector. The directional derivative is
when the finite two-sided limit exists. Because , the parameter measures signed distance along the line.
Theorem
Matrix chain rule
Let be differentiable at , and let be differentiable at . Assume are open and the composite is defined near . Then
The matrix sizes are .
Proof
Composing two linear approximations
Write , and . For a small input displacement,
Put . The outer expansion is
Substitution gives the linear term and remainder . A linear-map bound shows that for all sufficiently small . Consequently , and the outer remainder estimate gives as well. At this remainder is zero. Thus the composite has the required linear approximation with derivative .
Theorem
Rates along curves and the gradient
If is differentiable at and is differentiable at , then
In particular, for a unit vector ,
If , the maximum unit directional rate is , attained in the direction ; the minimum is its negative, attained in the opposite direction.
The multiplication order is dictated by dimensions and composition. Reversing it can be undefined, or compute a different transformation.
3 Price response and marginal revenue
For invented quantities , let prices be
Revenue is , not the sum of prices. Its differential is , so
This includes the effect of quantity changes on all prices, not just the direct revenue of an extra unit. With variable cost , profit is
Its gradient vanishes at and its Hessian is , negative definite. Translating that point leaves the strictly negative increment , proving the unique global maximum under the algebraic model. The chosen point is nonnegative and has model profit 84. This is not a recommendation for a real product market.
4 Changing decision coordinates
Let , , so . The scalar chain rule gives . Direct substitution gives
hence gradient . The optimum maps to . The feasible domain becomes ; changing coordinates does not erase feasibility.
For an affine coordinate change , the Hessian transforms as . A nonlinear coordinate change has additional terms involving second derivatives of and first derivatives of the objective. The affine formula should not be used for a nonlinear transformation without checking those extra terms.
5 Graded practice
E1 Foundation. Find the Jacobian of at and its linear prediction for displacement . Compare the exact change.
E2 Chain rule. Let and . Find by matrix multiplication.
E3 Mixed derivatives. For , calculate , and .
E4 Hessian change. For and , , compute the Hessian in in two ways.
E5 Quotient rule. Find the first two derivatives of and state the excluded input.
6 Full solutions
S1. The Jacobian is . Its product with the displacement is zero. The exact changes are in the first component and in the second. Vanishing first-order change does not mean the exact change vanishes.
S2. At , , so and . Their product is . Differentiating verifies it.
S3. The derivatives are , and respectively. The smooth exponential factor justifies all displayed mixed-order exchanges.
S4. Direct substitution gives , with Hessian . Multiplication with gives the same matrix.
S5. For , the first derivative is . Dividing the original expression gives , whose second derivative is . Both representations have the same excluded input .
Summary
Higher derivatives track changing rates and cross-effects. A Jacobian describes vector-valued local response, and matrix chain rules compose responses in the correct order. Objective gradients include indirect effects, while coordinate transformations must preserve both derivative terms and feasible-domain restrictions.