Lably
Skip to content

Differentiation rules

Rules for computing derivatives of functions

  • 4 min read
  • 9 chapters

Related on Lably

Through Derivative, Function (mathematics) and Calculus

Elementary rules of differentiation

Unless otherwise stated, all functions are functions of real numbers (R) that return real values, although, more generally, the formulas below apply wherever they are well defined, including the case of complex numbers (C).

Constant term rule

For any value of c, where c∈R, if f(x) is the constant function given by f(x)=c, then dfdx=0.

Proof

Let c∈R and f(x)=c. By the definition of the derivative: f′(x)=limh→0f(x+h)−f(x)h=limh→0(c)−(c)h=limh→00h=limh→00=0.

This computation shows that the derivative of any constant function is 0.

Intuitive (geometric) explanation

The derivative of the function at a point is the slope of the line tangent to the curve at the point. The slope of the constant function is 0, because the tangent line to the constant function is horizontal and its angle is 0.

In other words, the value of the constant function, y, will not change as the value of x increases or decreases.

Linearity of differentiation

For any functions f and g and any real numbers a and b, the derivative of the function h(x)=af(x)+bg(x) with respect to x is h′(x)=af′(x)+bg′(x).

In Leibniz's notation, this formula is written as: d(af+bg)dx=adfdx+bdgdx.

Special cases include:

  • The constant factor rule:

(af)′=af′,

  • The sum rule:

(f+g)′=f′+g′,

  • The difference rule:

(f−g)′=f′−g′.

Product rule

For the functions f and g, the derivative of the function h(x)=f(x)g(x) with respect to x is: h′(x)=(fg)′(x)=f′(x)g(x)+f(x)g′(x).

In Leibniz's notation, this formula is written: d(fg)dx=gdfdx+fdgdx.

Chain rule

The derivative of the function h(x)=f(g(x)) is: h′(x)=f′(g(x))⋅g′(x).

In Leibniz's notation, this formula is written as: ddxh(x)=ddzf(z)|z=g(x)⋅ddxg(x), often abridged to: dh(x)dx=df(g(x))dg(x)⋅dg(x)dx.

Focusing on the notion of maps, and the differential being a map D, this formula is written in a more concise way as: [D(f∘g)]x=[Df]g(x)⋅[Dg]x.

Inverse function rule

If the function f has an inverse function g, meaning that g(f(x))=x and f(g(y))=y, then: g′=1f′∘g.

In Leibniz notation, this formula is written as: dxdy=1dydx.

Sign in to keep reading

8 more chapters are free with a Lably account.

More in Calculus and analysis