If z=f(x1,x2,…,xn)=x21+x22+⋯+x2n, then ∂f∂x1=2x1∂f∂x2=2x2…∂f∂xn=2xn
Collectively, these partial derivatives can be written as ∂f∂xi=2xiwhere i=1,2,…,n