Focus mode — press again to cycle through zoom levels
Esc
Close search / index, exit focus mode, or clear result highlights
Differentiation
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:
Rule
Formula
Constant
dxd[c]=0
Power
dxd[xn]=nxn−1
Constant multiple
dxd[c⋅f]=c⋅f′
Sum
dxd[f+g]=f′+g′
Product
dxd[f⋅g]=f′g+fg′
Quotient
dxd[gf]=g2f′g−fg′
Chain
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
Trigonometric Derivatives
The trigonometric derivatives follow from the rules above combined with the limit definitions of sin and cos. The full set:
The derivatives of the trigonometric functions are:
Let h(x)=sin(x2). Using the chain rule with f(u)=sinu and g(x)=x2:
h′(x)=cos(x2)⋅2x=2xcos(x2)
Translation Invariance
For any fixed constant a∈R, the shifted variable (x−a) behaves under differentiation exactly like x alone — a property called translation invariance:
dxd(x−a)=1
This follows from the constant rule and sum rule together: dxd[x−a]=dxd[x]−dxd[a]=1−0=1. As a consequence, all the standard rules apply to expressions in (x−a) exactly as they apply to expressions in x:
dxd[(x−a)n]=n(x−a)n−1dxd[f(x−a)]=f′(x−a)
The same holds in higher dimensions: for fixed a∈Rn, the Jacobian of the shift is the identity matrix,
∂x∂(x−a)=I
so derivatives of expressions in (x−a) behave exactly like derivatives of expressions in x alone.
This is what makes Taylor expansions around any base point — in powers of (x−a) or (x−a) — no harder to manipulate than expansions around the origin.
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