Skip to content
EN - Language: English

Lesson 2 of 3 · 15 min

Differentiation formulas and rules

Derivatives of elementary functions and the sum, product, and quotient rules - with three examples.

Derivatives of elementary functions

These formulas follow from the definition in the previous lesson. They’re worth knowing by heart.

Function f(x)f(x) Derivative f′(x)f'(x) Notes
cc (constant) 00
xnx^n nxn−1n x^{n-1}
x\sqrt{x} 12x\dfrac{1}{2\sqrt{x}} for x>0x > 0
sin⁡x\sin x cos⁡x\cos x
cos⁡x\cos x −sin⁡x-\sin x
exe^x exe^x
ln⁡x\ln x 1x\dfrac{1}{x} for x>0x > 0

Differentiation rules

For differentiable functions ff and gg and a constant cc:

(c⋅f)′=c⋅f′(f±g)′=f′±g′(c \cdot f)' = c \cdot f' \qquad (f \pm g)' = f' \pm g'
(f⋅g)′=f′g+fg′(fg)′=f′g−fg′g2,g≠0(f \cdot g)' = f' g + f g' \qquad \left(\frac{f}{g}\right)' = \frac{f' g - f g'}{g^2}, \quad g \neq 0

A common mistake: the derivative of a product is not the product of the derivatives.

Example 1: a polynomial

f(x)=4x3−5x+2⇒f′(x)=12x2−5f(x) = 4x^3 - 5x + 2 \quad \Rightarrow \quad f'(x) = 12x^2 - 5

Differentiate each term separately: (4x3)′=12x2(4x^3)' = 12x^2, (−5x)′=−5(-5x)' = -5, and the derivative of the constant 22 is 00.

Example 2: a product

f(x)=x2sin⁡x⇒f′(x)=2xsin⁡x+x2cos⁡xf(x) = x^2 \sin x \quad \Rightarrow \quad f'(x) = 2x \sin x + x^2 \cos x

Example 3: a quotient

f(x)=xx+1⇒f′(x)=1⋅(x+1)−x⋅1(x+1)2=1(x+1)2f(x) = \frac{x}{x + 1} \quad \Rightarrow \quad f'(x) = \frac{1 \cdot (x + 1) - x \cdot 1}{(x + 1)^2} = \frac{1}{(x + 1)^2}

for x≠−1x \neq -1.

Sources

We checked the facts on this page against these sources. All of them may be reused freely: they carry an open licence or are not covered by copyright.

  1. Active Calculus (Boelkins) - 2.1 Elementary derivative rules (constants, powers with any nonzero real exponent, exponential functions, constant multiple and sum rules) · CC BY-SA 4.0
  2. Active Calculus (Boelkins) - 2.2 The sine and cosine functions · CC BY-SA 4.0
  3. Active Calculus (Boelkins) - 2.3 The product and quotient rules (the derivative of a product is not the product of the derivatives) · CC BY-SA 4.0
  4. Active Calculus (Boelkins) - 2.6 Derivatives of inverse functions (derivative of ln x) · CC BY-SA 4.0
  5. Dale Hoffman - Contemporary Calculus, 2.2 Derivatives: Properties and Formulas (sum, product and quotient rules, the example x² sin x) (PDF) · CC BY 3.0 US
  6. Dale Hoffman - Contemporary Calculus, 2.3 More Differentiation Patterns (sine, cosine and eˣ) (PDF) · CC BY 3.0 US
  7. Calaway, Hoffman and Lippman - Applied Calculus, 2.3 Power and Sum Rules (eˣ and ln x) and 2.4 Product and Quotient Rules (PDF) · CC BY 3.0 US
  8. Jameson, Machaba and Fasinu - Misconceptions and Errors Among Grade 12 Students When Learning Differentiation Rules, Mathematics Education Journal 8(2), 2024 (taking the derivative of a product as the product of the derivatives) · CC BY-SA 4.0
  9. Wikiversity - Mathematics for Applied Sciences (Osnabrück 2023-2024), Part I, Lecture 14 (sum, product and quotient rules) · CC BY-SA 4.0