• Foundation
  • About 20 min
  • 5 practice questions

Rules of differentiation and standard derivatives

Apply the sum, difference, product (Leibnitz) and quotient rules, prove d/dx (xⁿ) = nxⁿ⁻¹, and differentiate polynomials and the six trigonometric functions.

If something looks wrong, please tell us.

Working from first principles every time would be slow. Just as limits obey algebraic rules, so do derivatives. With four rules and a short list of standard derivatives you can differentiate any polynomial, any rational function and any combination of trigonometric functions in a few lines.

The four rules

Let u = f(x) and v = g(x) be differentiable. Writing u′ = du/dx and v′ = dv/dx:

Algebra of derivatives
RuleFormula
Sum(u + v)′ = u′ + v′
Difference(u − v)′ = u′ − v′
Constant multiple(cu)′ = cu′
Product (Leibnitz rule)(uv)′ = u′v + uv′
Quotient (v ≠ 0)(u/v)′ = (u′v − uv′)/v²

These follow from the corresponding limit rules (the textbook states them without proof). A common error is to think (uv)′ = u′v′; check it with u = v = x: (x²)′ = 2x, but u′v′ = 1.

The power rule

d/dx (xⁿ) = nxⁿ⁻¹ for every positive integer n (and, as you will see later, for every real n).

Proof. By the binomial theorem, (x + h)ⁿ = xⁿ + nxⁿ⁻¹h + (terms containing h², h³, …, hⁿ). So [(x + h)ⁿ − xⁿ]/h = nxⁿ⁻¹ + (terms containing h, h², …). Letting h → 0 leaves nxⁿ⁻¹. (It can also be proved by induction using the product rule: (xⁿ)′ = (x · xⁿ⁻¹)′ = xⁿ⁻¹ + x(n − 1)xⁿ⁻² = nxⁿ⁻¹.)

Combining the power rule with the sum and constant-multiple rules, a polynomial aₙxⁿ + … + a₁x + a₀ has derivative naₙxⁿ⁻¹ + … + 2a₂x + a₁.

Derivatives of trigonometric functions

Standard trigonometric derivatives (x in radians)
f(x)f′(x)How
sin xcos xFirst principles (lesson 4)
cos x−sin xFirst principles
tan xsec²xQuotient rule on sin x/cos x
cot x−cosec²xQuotient rule on cos x/sin x
sec xsec x tan xQuotient rule on 1/cos x
cosec x−cosec x cot xQuotient rule on 1/sin x

For tan x: (sin x/cos x)′ = [cos x · cos x − sin x · (−sin x)]/cos²x = (cos²x + sin²x)/cos²x = 1/cos²x = sec²x. For sec x: (1/cos x)′ = [0 · cos x − 1 · (−sin x)]/cos²x = sin x/cos²x = sec x tan x.

Choosing the rule

  • Sum or difference of terms
    • Differentiate term by term
  • Product of two functions
    • (uv)′ = u′v + uv′
  • One function over another
    • (u/v)′ = (u′v − uv′)/v²
    • Or simplify first if possible
  • Power of x
    • (xⁿ)′ = nxⁿ⁻¹

Worked examples

Worked example 1: a polynomial

d/dx (4x⁵ − 3x² + 7x − 2) = 20x⁴ − 6x + 7.

Worked example 2: product rule

d/dx (x² sin x): u = x², v = sin x, so u′ = 2x, v′ = cos x. (uv)′ = 2x sin x + x² cos x.

Worked example 3: quotient rule

d/dx [(x + 2)/(x − 1)], x ≠ 1: u = x + 2, v = x − 1, u′ = v′ = 1. (u/v)′ = [1 · (x − 1) − (x + 2) · 1]/(x − 1)² = −3/(x − 1)².

Worked example 4: a trigonometric product

d/dx (sin x cos x) = cos x · cos x + sin x · (−sin x) = cos²x − sin²x = cos 2x. This agrees with writing sin x cos x = ½ sin 2x.

Worked example 5: a value of a derivative

For f(x) = x + x² + x³ + … + x¹⁰, f′(x) = 1 + 2x + 3x² + … + 10x⁹. At x = 1: f′(1) = 1 + 2 + … + 10 = 10 × 11/2 = 55.

Worked example 6: a negative power

d/dx (1/x³) by the quotient rule: (0 · x³ − 1 · 3x²)/x⁶ = −3/x⁴ = −3x⁻⁴, which is nxⁿ⁻¹ with n = −3. The power rule works for negative integers too.

Key takeaways

  • Sum, difference, constant multiple: differentiate term by term.
  • (uv)′ = u′v + uv′; (u/v)′ = (u′v − uv′)/v².
  • (xⁿ)′ = nxⁿ⁻¹; (sin x)′ = cos x; (cos x)′ = −sin x; (tan x)′ = sec²x.

Check your understanding

  1. 1. What is d/dx (6x⁴ − 5x³ + 2x − 9)?

    1. 24x³ − 15x² + 2
    2. 24x³ − 15x² + 2x
    3. 6x³ − 5x² + 2
    4. 24x⁴ − 15x³ + 2
    Show answer

    Answer: A. Term by term: 6 × 4x³ = 24x³, −5 × 3x² = −15x², 2x → 2, and the constant −9 → 0. Result: 24x³ − 15x² + 2.

  2. 2. What is d/dx (x³ cos x)?

    1. −3x² sin x
    2. 3x² cos x + x³ sin x
    3. 3x² cos x − x³ sin x
    4. 3x² − sin x
    Show answer

    Answer: C. Product rule: (x³)′ cos x + x³ (cos x)′ = 3x² cos x − x³ sin x.

  3. 3. What is d/dx [x/(x + 1)], x ≠ −1?

    1. 1/(x + 1)
    2. −1/(x + 1)²
    3. x/(x + 1)²
    4. 1/(x + 1)²
    Show answer

    Answer: D. Quotient rule: [1 · (x + 1) − x · 1]/(x + 1)² = 1/(x + 1)².

  4. 4. If f(x) = 2 tan x − 7 sec x, then f′(x) is:

    1. 2 sec²x − 7 sec x tan x
    2. 2 sec x − 7 tan x
    3. 2 sec²x + 7 sec x tan x
    4. 2 sec²x − 7 tan²x
    Show answer

    Answer: A. (tan x)′ = sec²x and (sec x)′ = sec x tan x, so f′(x) = 2 sec²x − 7 sec x tan x.

  5. 5. Assertion (A): The derivative of x² is not (x)′ × (x)′ = 1. Reason (R): The derivative of a product uv is u′v + uv′, not u′v′.

    1. Both A and R are true, and R is the correct explanation of A
    2. Both A and R are true, but R is not the correct explanation of A
    3. A is true, but R is false
    4. A is false, but R is true
    Show answer

    Answer: A. Both are true. By the product rule, (x · x)′ = 1 · x + x · 1 = 2x, not 1. R explains A.

Privacy · Terms · Refunds · Delivery