These are the standard rules for computing derivatives of functions f,g:R→R. They are the basic toolkit used whenever partial derivatives are computed component-by-component.
Core Rules
Let f and g be differentiable functions and c∈R a constant. The fundamental differentiation rules are:
dxd[c]=0dxd[xn]=nxn−1
dxd[c⋅f]=c⋅f′dxd[f+g]=f′+g′
dxd[f⋅g]=f′g+fg′dxd[gf]=g2f′g−fg′
dxd[f(g(x))]=f′(g(x))⋅g′(x)
The last rule is the chain rule — it is the most important rule for computing partial derivatives of composite functions.
Common Derivatives
f(x)
f′(x)
c
0
xn
nxn−1
ex
ex
eax
aeax
lnx
x1
sinx
cosx
cosx
−sinx
tanx
cos2x1
Chain Rule in Detail
The chain rule handles composite functions. If h(x)=f(g(x)), then:
Let h(x)=sin(x2). Using the chain rule with f(u)=sinu and g(x)=x2:
h′(x)=cos(x2)⋅2x=2xcos(x2)
Partial Derivatives via These Rules
When computing partial derivatives, all the rules above apply — simply treat every variable other than the one being differentiated as a constant. For example, with f(x,y,z)=e−zsinx+y2:
∂x∂f: treat y,z as constants → e−zcosx
∂y∂f: treat x,z as constants → 2y
∂z∂f: treat x,y as constants, apply chain rule on e−z → −e−zsinx