Suppose I have smooth maps $g:R^m \rightarrow R^n$ and $f:R^n \rightarrow R$. Then I think $$\nabla (f \circ g) = (\nabla g)^T (\nabla f) \circ g,$$ where $\nabla g$ is the $n \times m$ Jacobian matrix. This is the only plausible answer that makes the dimension work out, and if I use row vectors instead of columns, it nicely resembles the univariate chain rule: $$\nabla (f \circ g) = ((\nabla f) \circ g) (\nabla g).$$ But can anyone prove it? And is there some way this can work with column vectors that doesn't involve transposing the Jacobian? Thanks!
2026-05-16 20:41:42.1778964102
Composite function gradient
244 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in MULTIVARIABLE-CALCULUS
- Equality of Mixed Partial Derivatives - Simple proof is Confusing
- $\iint_{S} F.\eta dA$ where $F = [3x^2 , y^2 , 0]$ and $S : r(u,v) = [u,v,2u+3v]$
- Proving the differentiability of the following function of two variables
- optimization with strict inequality of variables
- How to find the unit tangent vector of a curve in R^3
- Prove all tangent plane to the cone $x^2+y^2=z^2$ goes through the origin
- Holding intermediate variables constant in partial derivative chain rule
- Find the directional derivative in the point $p$ in the direction $\vec{pp'}$
- Check if $\phi$ is convex
- Define in which points function is continuous
Related Questions in VECTOR-ANALYSIS
- Does curl vector influence the final destination of a particle?
- Gradient and Hessian of quadratic form
- Regular surfaces with boundary and $C^1$ domains
- Estimation of connected components
- Finding a unit vector that gives the maximum directional derivative of a vector field
- Gradient of transpose of a vector.
- Solve line integral
- Directional derivative: what is the relation between definition by limit and definition as dot product?
- Chain rule with intermediate vector function
- For which $g$ is $f(x)= g(||x||) \frac{x}{||x||}$ divergence free.
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
geometry
circles
algebraic-number-theory
functions
real-analysis
elementary-set-theory
proof-verification
proof-writing
number-theory
elementary-number-theory
puzzle
game-theory
calculus
multivariable-calculus
partial-derivative
complex-analysis
logic
set-theory
second-order-logic
homotopy-theory
winding-number
ordinary-differential-equations
numerical-methods
derivatives
integration
definite-integrals
probability
limits
sequences-and-series
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
It is convenient to approach this kind of problems with a more general and convenient rule.
Using the chain rule for differentials $d(f\circ g)(x, dx)=df(g(x),dg(x,dx))$: $$d(f\circ g)(x, dx)=\nabla (f\circ g)\cdot dx=df(g(x),dg(x,dx))=(\nabla f)\circ g\cdot dg(x,dx)=$$ $$=(\nabla f)\circ g\cdot\nabla gdx=\operatorname{tr}([(\nabla f)\circ g]^T\nabla gdx)=(\nabla g)^T (\nabla f)\circ g\cdot dx$$ $\cdot$ is the dot product, also i have used the property of trace $\operatorname{tr}(A^TB)=A\cdot B$.
So we have from the derivation above that $$\nabla (f\circ g)=(\nabla g)^T (\nabla f)\circ g$$
Proof sketch for the chain rule above:
Using the definitions of differentials $$f\circ g(x+h)=f\circ g(x)+d(f\circ g)(x, h)+o(||h||)$$ $$g(x+h)=g(x)+dg(x,h)+o(||h||)$$ Putting them in the composition $$f\circ g(x+h)=f(g(x)+dg(x,h)+o(||h||))=$$ $$f\circ g(x)+df(g(x),dg(x,h)+o(||h||))+o(||dg(x,h)+o(||h||)||)=$$ $$=f\circ g(x)+df(g(x),dg(x,h))+df(g(x),o(||h||))+o(||dg(x,h)+o(||h||)||)=$$ $$=f\circ g(x)+df(g(x),dg(x,h))+o(||h||)$$ because $df(g(x),o(||h||))+o(||dg(x,h)+o(||h||)||) \in o(||h||)$, i omit here tedious epsilon-delta manipulations to prove this fact, but it can be shown using continuity and linearity of $df, dg$ in $h$.
So from the first formula and the last and from the uniqueness of differential we have $$d(f\circ g)(x, h)=df(g(x),dg(x,h))$$