A simple rule of differentiation is that the derivative of every constant function is zero.
Derivative of a Constant FunctionIf f has the constant value f(x)=c, thendxdf=dxd(c)=0.
Proof
We apply the definition of the derivative to f(x)=cf(x) = c f(x)=c, the function whose outputs have the constant value c. At every value of x x, we find that
f′(x)=h→0limhf(x+h)−f(x)=h→0limhc−c=h→0lim0=0.
Power Rule (General Version)If n is any real number, thendxdxn=nxn−1,for all x where the powers xn and xn−1 are defined.
Derivative Sum RuleIf u and v are differentiable functions of x, then their sum u+v is differentiableat every point where u and v are both differentiable. At such points,dxd(u+v)=dxdu+dxdv.For example, if y=x4+12x, then y is the sum of u(x)=x4 and v(x)=12x. Wethen havedxdy=dxd(x4)+dxd(12x)=4x3+12.
Derivative Product RuleIf u and v are differentiable at x, then so is their product uv, anddxd(uv)=udxdv+vdxdu.The derivative of the product uv is u times the derivative of v plus v times the deriva-tive of u. In prime notation,(uv)′=uv′+vu′. In function notation,dxd[f(x)g(x)]=f(x)g′(x)+g(x)f′(x).(3)
Derivative Division RuleIf u and v are differentiable at x and if v(x)=0, then the quotient u/v is dif-ferentiable at x, anddxd(vu)=v2vdxdu−udxdv.In function notation,dxd[g(x)f(x)]=g2(x)g(x)f′(x)−f(x)g′(x).