Jf=⎣⎢⎢⎢⎢⎢⎡∂x0∂f0∂x0∂f1⋮∂x0∂fm−1∂x1∂f0∂x1∂f1⋮∂x1∂fm−1⋯⋯⋱⋯∂xn−1∂f0∂xn−1∂f1⋮∂xn−1∂fm−1⎦⎥⎥⎥⎥⎥⎤
∂x∂(f⋅g)=∂x∂f⋅g+f⋅∂x∂g
∂x∂(f+g)=∂x∂f+∂x∂g
∂x∂(f∘g)=∂g∂f∂x∂g
∂x∂(f∘g)=∂g∂f∂x∂g=[∂g1∂f∂g2∂f][∂x∂g1∂x∂g2]T=∂g1∂f∂x∂g1+∂g2∂f∂x∂g2
f(x1,x2)=x1(x1+x2)
g1=g2=g3=g4=x1x2g1+g2g1⋅g3
∂x1∂f=∂x1∂g4=∂x1∂(g1⋅g3)=∂x1∂g1g3+g1∂x1∂g3=∂x1∂g1g3+(g1∂x1∂g1+g1∂x1∂g2)
∂x1∂f=∂g4∂f∂x1∂g4=∂g1∂g4∂x1∂g1+∂g3∂g4∂x1∂g3=∂g1∂g4∂x1∂g1+∂g3∂g4(∂g1∂g3∂x1∂g1+∂g2∂g3∂x1∂g2)