ArticleslgStudy

mathematics

Differentiation rules

Differentiation rules is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Differentiation rules rather than just read about it. In short: This article is a summary of differentiation rules, that is, rules for computing the derivative of a function in calculus. Elementary rules of differentiation Unless otherwise stated, all functions are functions of real numbers (ℝ) that return real values, although, more generally, the formulas below apply wherever they are well defined, including the case of complex numbers (ℂ).

Differentiation rules — main illustration
Differentiation rules — illustration

Key takeaways

  • Differentiation rules belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Differentiation rules to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Differentiation rules from memory before moving on to harder problems.

Reference excerpt

This article is a summary of differentiation rules, that is, rules for computing the derivative of a function in calculus.

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

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

Proof Let c∈ℝ 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.

Power laws, polynomials, quotients, and reciprocals

Polynomial or elementary power rule

If f(x)=xr, for any real number r≠0, then: f′(x)=rxr−1. When r=1, this formula becomes the special case that, if f(x)=x, then f′(x)=1. Combining the power rule with the sum and constant multiple rules permits the computation of the derivative of any polynomial.

Reciprocal rule

The derivative of h(x)=1f(x) for any (nonvanishing) function f is: h′(x)=−f′(x)(f(x))2, wherever f is nonzero. In Leibniz's notation, this formula is written: d(1f)dx=−1f2dfdx. The reciprocal rule can be derived either from the quotient rule or from the combination of power rule and chain rule.

Quotient rule

If f and g are functions, then: (fg)′=f′g−g′fg2, wherever g is nonzero. This can be derived from the product rule and the reciprocal rule.

Generalized power rule

The elementary power rule generalizes considerably. The most general power rule is the functional power rule: for any functions f and g, (fg)′=(egln⁡f)′=fg(f′gf+g′ln⁡f), wherever both sides are well defined. Special cases:

If f(x)=xa, then f′(x)=axa−1 when a is any nonzero real number and x is positive. The reciprocal rule may be derived as the special case where g(x)=−1.

Derivatives of exponential and logarithmic functions ddx(cax)=acaxln⁡c,c>0. The equation above is true for all c, but the derivative for c<0 yields a complex number. ddx(eax)=aeax. ddx(logcx)=1xln⁡c,c>1. The equation above is also true for all c but yields a complex number if c<0. ddx(ln⁡x)=1x,x>0. ddx(ln⁡|x|)=1x,x≠0. ddx(W(x))=1x+eW(x),x>−1e, where W(x) is the Lambert W function. ddx(xx)=xx(1+ln⁡x). ddx(f1(x)f2(x)(...)fn(x))=[∑k=1n∂∂xk(f1(x1)f2(x2)(...)fn(xn))]|x1=x2=...=xn=x, if fi<n(x)>0 and dfidx exists.

Logarithmic derivatives The logarithmic derivative is another way of stating the rule for differentiating the logarithm of a function (using the chain rule): (ln⁡f)′=f′f, wherever f is positive. Logarithmic differentiation is a technique which uses logarithms and its differentiation rules to simplify certain expressions before actually applying the derivative. Logarithms can be used to remove exponents, convert products into sums, and convert division into subtraction—each of which may lead to a simplified expression for taking derivatives.

Derivatives of trigonometric functions

The derivatives in the table above are for when the range of the inverse secant is [0,π] and when the range of the inverse cosecant is [−π2,π2]. It is common to additionally define an inverse tangent function with two arguments, arctan⁡(y,x). Its value lies in the range [−π,π] and reflects the quadrant of the point (x,y). For the first and fourth quadrant (i.e., x>0), one has arctan⁡(y,x>0)=arctan⁡(yx). Its partial derivatives are: ∂arctan⁡(y,x)∂y=xx2+y2and∂arctan⁡(y,x)∂x=−yx2+y2.

Derivatives of hyperbolic functions

Derivatives of special functions

Gamma function

Γ(x)=∫0∞tx−1e−tdt Γ′(x)=∫0∞tx−1e−tln⁡tdt=Γ(x)(∑n=1∞(ln⁡(1+1n)−1x+n)−1x)=Γ(x)ψ(x), with ψ(x) being the digamma function, expressed by the parenthesized expression to the right of Γ(x) in the line above.

Riemann zeta function

ζ(x)=∑n=1∞1nx ζ′(x)=−∑n=1∞ln⁡nnx=−ln⁡22x−ln⁡33x−ln⁡44x−⋯=−∑p primep−xln⁡p(1−p−x)2∏q prime,q≠p11−q−x

Derivatives of integrals

Suppose that it is required to differentiate with respect to x the function: F(x)=∫a(x)b(x)f(x,t)dt, where the functions f(x,t) and ∂∂xf(x,t) are both continuous in both t and x in some region of the (t,x) plane, including a(x)≤t≤b(x), where x0≤x≤x1, and the functions a(x) and b(x) are both continuous and both have continuous derivatives for x0≤x≤x1. Then, for x0≤x≤x1: F′(x)=f(x,b(x))b′(x)−f(x,a(x))a′(x)+∫a(x)b(x)∂∂xf(x,t)dt. This formula is the general form of the Leibniz integral rule and can be derived using the fundamental theorem of calculus.

Derivatives to nth order Some rules exist for computing the nth derivative of functions, where n is a positive integer, including:

Faà di Bruno's formula

If f and g are n-times differentiable, then: dndxn[f(g(x))]=n!∑{km}f(r)(g(x))∏m=1n1km!(g(m)(x)m!)km, where r=∑m=1n−1km and the set {km} consists of all non-negative integer solutions of the Diophantine equation ∑m=1nmkm=n.

General Leibniz rule

If f and g are n-times differentiable, then: dndxn[f(x)g(x)]=∑k=0n(nk)dn−kdxn−kf(x)dkdxkg(x).

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Differentiation rules

Start with the simplest possible case. Write down what Differentiation rules claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Differentiation rules before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Differentiation rules ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Differentiation rules

In research
Differentiation rules appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Differentiation rules in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Differentiation rules is common in secondary-school and first-year university syllabi. It links to neighbouring topics Differential calculus, Differentiation rules, Mathematical identities, so understanding it makes those chapters shorter.
In everyday life
Look for Differentiation rules outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Differentiation rules” →

How to study Differentiation rules in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Differentiation rules means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Differentiation rules out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Differentiation rules in simple terms?

This article is a summary of differentiation rules, that is, rules for computing the derivative of a function in calculus. Elementary rules of differentiation Unless otherwise stated, all functions are functions of real numbers (ℝ) that return real values, although, more generally, the formulas bel…

Why does Differentiation rules matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Differentiation rules?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Differentiation rules.

Tags

  • Differential calculus
  • Differentiation rules
  • Mathematical identities
  • Mathematical tables
  • Mathematics-related lists
  • Theorems in calculus
  • Theorems in mathematical analysis

Keep exploring