- Write the derivatives of all basic functions from memory, together with their conditions (domain, radians)
- Explain where the power rule, (eˣ)′ = eˣ, (ln x)′ = 1/x and (sin x)′ = cos x come from
- Rewrite roots and fractions as powers and differentiate them with the power rule
- Compute the value of a derivative at a point and solve simple equations such as (ln x)′ = 0.25
In the first lesson we found derivatives from the definition: the increment of the argument, the increment of the function, the ratio, the limit — the same long road for every new function. Repeating that limit for sin x or √x in every problem would be slow and tiring. Mathematicians did the work once for all the basic functions and collected the answers in the table of derivatives. It works like the multiplication table: you do not count 7 · 8 on your fingers, you simply know it is 56. In this lesson you will learn the table, see where each line comes from, and practise until using it becomes automatic.
The table at a glance
Below are the derivatives of all the basic functions of the school course. The left column is the function, the middle column its derivative, and the right column says where the formula holds. Two general rules apply: a formula works only at the points where the function itself is defined (and differentiable), and in the trigonometric formulas x is always measured in radians.
| f(x) | f′(x) | Conditions and notes |
|---|---|---|
| C | 0 | C is any constant number: 7, π, e², ln 5 |
| x | 1 | the line y = x has slope 1 |
| kx + b | k | k, b are constants; the derivative is the slope of the line |
| xⁿ | n · xⁿ⁻¹ | n is any real number; x ≠ 0 for a negative integer n, x > 0 for a fractional n |
| √x | 1 / (2√x) | x > 0; there is no derivative at x = 0 |
| ∛x | 1 / (3∛x²) | x ≠ 0 |
| 1 / x | −1 / x² | x ≠ 0 |
| 1 / xⁿ | −n / xⁿ⁺¹ | x ≠ 0, n is a natural number |
| eˣ | eˣ | equal to its own derivative |
| aˣ | aˣ · ln a | a > 0, a ≠ 1 |
| ln x | 1 / x | x > 0 |
| logₐ x | 1 / (x · ln a) | x > 0, a > 0, a ≠ 1 |
| sin x | cos x | x in radians |
| cos x | −sin x | x in radians; mind the minus sign |
| tan x | 1 / cos² x | cos x ≠ 0: x ≠ π/2 + πk, k ∈ ℤ |
| cot x | −1 / sin² x | sin x ≠ 0: x ≠ πk, k ∈ ℤ |
- 1Recognise the type
Where is x? In the base (xⁿ): a power function; in the exponent (aˣ): an exponential function; under ln or log: a logarithmic one; under sin, cos, tan, cot: a trigonometric one. If there is no x at all, it is a constant and its derivative is 0.
- 2Rewrite if needed
Write roots and fractions as powers: √x = x^(1/2), 1/x³ = x⁻³. After that it is an ordinary power function.
- 3Take the line from the table
Write f′(x) from the table and check the conditions: x > 0 for ln x and √x, x in radians for the trigonometric functions.
- 4Substitute the point
If the value of the derivative at x₀ is asked, substitute x₀ into f′(x), not into f(x), and simplify.
Constants, linear functions and powers
A constant does not change: for f(x) = C we have Δf = C − C = 0 for every Δx, so Δf / Δx = 0 and C′ = 0. Its graph is a horizontal line, and a horizontal line has slope 0. For f(x) = kx + b the increment is Δf = k(x + Δx) + b − (kx + b) = k · Δx, so Δf / Δx = k for every Δx. The derivative of a linear function is its slope, the same at every point; in particular, x′ = 1.
- Cany constant number (7, π, e², ln 5)
- xthe argument (the variable)
- k, bconstant numbers; k is the slope of the line
A number with no x in it has derivative 0; a straight line has a constant derivative equal to its slope.
Find: 1) (7)′; 2) (π²)′; 3) (ln 5)′; 4) (3x + 5)′; 5) (4 − 2x)′; 6) (x/2)′.
Show solutionHide solution
2) π² ≈ 9.87 is also just a number: (π²)′ = 0.
3) ln 5 ≈ 1.61 contains no x: (ln 5)′ = 0 (not 1/5!).
4) k = 3: (3x + 5)′ = 3.
5) 4 − 2x = −2x + 4, so k = −2: (4 − 2x)′ = −2.
6) x/2 = ½ · x, so k = ½: (x/2)′ = ½.
Now take f(x) = xⁿ with a natural n. Write (x + Δx)ⁿ as a product of n brackets (x + Δx). Taking x from every bracket gives xⁿ. Taking Δx from exactly one bracket and x from all the others gives xⁿ⁻¹ · Δx, and that bracket can be chosen in n ways, so together we get n · xⁿ⁻¹ · Δx. Every other term contains at least (Δx)², so after dividing by Δx it still contains Δx and tends to 0.
For example, for n = 3: (x + Δx)³ = x³ + 3x²Δx + 3x(Δx)² + (Δx)³. Then Δf = 3x²Δx + 3x(Δx)² + (Δx)³ and Δf / Δx = 3x² + 3xΔx + (Δx)² → 3x². So (x³)′ = 3x²: the exponent came down as a factor and dropped by 1.
The same formula holds for negative and fractional exponents. Let us check two cases directly. For 1/x = x⁻¹: Δf = 1/(x + Δx) − 1/x = −Δx / (x(x + Δx)), so Δf / Δx = −1 / (x(x + Δx)) → −1/x². The formula gives the same: (x⁻¹)′ = −1 · x⁻² = −1/x². For √x = x^(1/2), multiply the numerator and the denominator by √(x + Δx) + √x: Δf / Δx = (√(x + Δx) − √x) / Δx = 1 / (√(x + Δx) + √x) → 1/(2√x), and the formula gives ½ · x^(−1/2) = 1/(2√x). The general proof for any real n belongs to higher mathematics; at school the formula is simply used.
- nthe exponent — any real number (natural, negative, fractional)
- xⁿ⁻¹the power with the exponent lowered by 1
- xthe argument; x > 0 if n is fractional, x ≠ 0 if n is a negative integer
The power rule: bring the exponent down as a factor and lower the exponent by 1.
Find: 1) (x⁸)′; 2) (x⁻³)′; 3) (x^(2/3))′; 4) (x^(3/2))′ and its value at x = 4.
Show solutionHide solution
2) n = −3, n − 1 = −4: (x⁻³)′ = −3x⁻⁴ = −3/x⁴.
3) n = 2/3, n − 1 = 2/3 − 1 = −1/3: (x^(2/3))′ = (2/3) · x^(−1/3) = 2 / (3∛x).
4) n = 3/2, n − 1 = 1/2: (x^(3/2))′ = (3/2) · x^(1/2) = (3/2)√x; at x = 4 its value is (3/2) · 2 = 3.
| Function | As a power | Derivative |
|---|---|---|
| √x | x^(1/2) | ½ · x^(−1/2) = 1 / (2√x) |
| ∛x | x^(1/3) | ⅓ · x^(−2/3) = 1 / (3∛x²) |
| ∛x² | x^(2/3) | (2/3) · x^(−1/3) = 2 / (3∛x) |
| 1 / x | x⁻¹ | −x⁻² = −1 / x² |
| 1 / x³ | x⁻³ | −3x⁻⁴ = −3 / x⁴ |
| 1 / √x | x^(−1/2) | −½ · x^(−3/2) = −1 / (2x√x) |
| x√x | x^(3/2) | (3/2) · x^(1/2) = (3/2)√x |
- √xthe square root; the formula holds for x > 0
- ∛xthe cube root; the formula holds for x ≠ 0
- na natural number; x ≠ 0 for 1 / xⁿ
Special cases of the power rule for n = 1/2, n = 1/3 and negative n. They are worth remembering, but even if you forget them, you can always recover them by writing the function as a power.
Compute: 1) (√x)′ at x = 9; 2) (∛x)′ at x = 8; 3) (1/x)′ at x = 2; 4) (1/x³)′ at x = 1; 5) (1/√x)′ at x = 4.
Show solutionHide solution
2) (∛x)′ = 1/(3∛x²); at x = 8: ∛64 = 4, so 1/(3 · 4) = 1/12.
3) (1/x)′ = −1/x²; at x = 2: −1/4.
4) 1/x³ = x⁻³, (x⁻³)′ = −3/x⁴; at x = 1: −3.
5) 1/√x = x^(−1/2), its derivative is −1/(2x√x); at x = 4: −1/(2 · 4 · 2) = −1/16.
Exponential and logarithmic functions
In y = aˣ the variable is in the exponent, so the power rule does not apply. Let us compute the increment: a^(x + Δx) − aˣ = aˣ · (a^Δx − 1), so Δf / Δx = aˣ · (a^Δx − 1) / Δx. The second factor does not depend on x: as Δx → 0 it tends to the slope of the graph of aˣ at the point (0, 1). So the derivative of an exponential function is the function itself times a constant.
This constant depends on the base: for 2ˣ it is about 0.69, for 3ˣ about 1.10. You can check with a calculator: (2^0.001 − 1) / 0.001 ≈ 0.693 and (3^0.001 − 1) / 0.001 ≈ 1.099. So somewhere between 2 and 3 there is a base for which the slope at (0, 1) is exactly 1. This base is the number e.
The base for which the graph of y = eˣ has slope exactly 1 at the point (0, 1): e ≈ 2.71828. Like π, e is an irrational number.
For a = e the constant is 1, so (eˣ)′ = eˣ: the function equals its own derivative. At every point the slope of the graph of eˣ equals its height: at x = 0 both are 1, at x = 2 both are e² ≈ 7.39. For any other base write a = e^(ln a); then aˣ = e^(kx) with the constant k = ln a. Multiplying x by k multiplies every slope of the graph by k (the exact reason is the chain rule of lesson 5), so (aˣ)′ = k · e^(kx) = aˣ · ln a. Check: ln 2 ≈ 0.693 and ln 3 ≈ 1.099 — exactly the numbers we measured above.
- ee ≈ 2.718, the base of the natural logarithm
- athe base of the exponential function: a > 0, a ≠ 1
- ln athe natural logarithm of the base: ln a > 0 for a > 1, ln a < 0 for 0 < a < 1
The derivative of an exponential function is proportional to the function itself; for the base e the factor is ln e = 1.
Find: 1) (5eˣ)′ and its value at x = 0; 2) (eˣ)′ at x = 2; 3) (3ˣ)′; 4) (2ˣ)′ at x = 3; 5) ((1/2)ˣ)′ and its sign.
Show solutionHide solution
2) (eˣ)′ = eˣ; at x = 2: e² ≈ 7.39.
3) a = 3: (3ˣ)′ = 3ˣ · ln 3 ≈ 1.099 · 3ˣ.
4) (2ˣ)′ = 2ˣ · ln 2; at x = 3: 8 · ln 2 ≈ 8 · 0.693 ≈ 5.55.
5) ((1/2)ˣ)′ = (1/2)ˣ · ln(1/2) = −(1/2)ˣ · ln 2. It is negative for every x: (1/2)ˣ is a decreasing function.
The logarithm to base e: ln x = logₑ x, that is, ln x = t ⇔ eᵗ = x (x > 0). For example, ln 1 = 0, ln e = 1, e^(ln 2) = 2. The function y = ln x is the inverse of y = eˣ.
The graphs of mutually inverse functions are symmetric about the line y = x. Under this reflection Δx and Δy swap places, so a line with slope k turns into a line with slope 1/k. Take the point (t, eᵗ) on the graph of eˣ: the slope there is eᵗ. The symmetric point (eᵗ, t) lies on the graph of ln x, and the slope there is 1/eᵗ. Writing x = eᵗ, we get (ln x)′ = 1/x.
A logarithm to any other base reduces to ln by the change-of-base formula: logₐ x = ln x / ln a. Here 1/ln a is just a constant factor, so (logₐ x)′ = 1/(x · ln a). For the common logarithm log₁₀ x: (log₁₀ x)′ = 1/(x · ln 10) ≈ 0.434/x.
- xthe argument, x > 0
- athe base of the logarithm: a > 0, a ≠ 1
- ln athe natural logarithm of the base, a constant number
The logarithm is defined only for x > 0, so the formulas hold only there. For a = e we have ln e = 1, and the second formula becomes the first.
Find: 1) (ln x)′ at x = 5; 2) (log₂ x)′ and its value at x = 4; 3) (log₁₀ x)′ at x = 10; 4) (3 ln x)′ at x = 6; 5) (ln 5)′.
Show solutionHide solution
2) a = 2: (log₂ x)′ = 1/(x · ln 2); at x = 4: 1/(4 ln 2) ≈ 1/2.773 ≈ 0.361.
3) (log₁₀ x)′ = 1/(x · ln 10); at x = 10: 1/(10 ln 10) ≈ 1/23.03 ≈ 0.0434.
4) A constant factor stays: (3 ln x)′ = 3/x; at x = 6: 3/6 = 1/2.
5) ln 5 is a number, so (ln 5)′ = 0. Do not confuse it with the value of (ln x)′ at x = 5, which is 1/5.
Trigonometric functions
Everything rests on one limit: with x in radians, sin h / h → 1 as h → 0. Geometrically: on the unit circle, a small arc of length h and the perpendicular sin h dropped from its end to the x-axis are almost equal. In numbers: sin 0.1 / 0.1 ≈ 0.9983, sin 0.01 / 0.01 ≈ 0.99998.
From trigonometry we know the formula for a difference of sines: sin α − sin β = 2 cos((α + β)/2) · sin((α − β)/2). So sin(x + h) − sin x = 2 cos(x + h/2) · sin(h/2), and dividing by h:
(sin(x + h) − sin x) / h = cos(x + h/2) · sin(h/2) / (h/2) → cos x · 1 = cos x.
In the same way the difference of cosines, cos(x + h) − cos x = −2 sin(x + h/2) · sin(h/2), gives (cos x)′ = −sin x.
- xthe angle in radians (π radians = 180°)
- sin x, cos xthe sine and cosine of x
The derivative of sine is cosine; the derivative of cosine is minus sine. On (0, π) we have sin x > 0 while cos x decreases — that is where the minus sign comes from.
Compute: 1) (sin x)′ at x = 0; 2) (cos x)′ at x = π/2; 3) (sin x)′ at x = π/3; 4) (cos x)′ at x = π/6; 5) (4 sin x)′ at x = π.
Show solutionHide solution
2) (cos x)′ = −sin x; at x = π/2: −sin(π/2) = −1.
3) (sin x)′ = cos x; at x = π/3: cos(π/3) = 1/2.
4) (cos x)′ = −sin x; at x = π/6: −sin(π/6) = −1/2.
5) (4 sin x)′ = 4 cos x; at x = π: 4 · (−1) = −4.
The tangent and cotangent are quotients: tan x = sin x / cos x, cot x = cos x / sin x. In lesson 4 we will derive their derivatives with the quotient rule; for now we take them from the table. Note that 1/cos² x = 1 + tan² x, so (tan x)′ is always positive: the tangent increases on every interval of its domain. Likewise (cot x)′ = −1/sin² x < 0: the cotangent decreases on every interval.
- xthe angle in radians (π radians = 180°)
- cos² xcos² x = (cos x)²; for tan x, cos x ≠ 0, i.e. x ≠ π/2 + πk
- sin² xsin² x = (sin x)²; for cot x, sin x ≠ 0, i.e. x ≠ πk
- kany integer
Also (tan x)′ = 1 + tan² x and (cot x)′ = −(1 + cot² x). Again the “co” function gets the minus sign.
Compute: 1) (tan x)′ at x = π/4; 2) (cot x)′ at x = π/6; 3) (tan x)′ at x = 0; 4) (cot x)′ at x = π/2; 5) (tan x)′ at x = π/3.
Show solutionHide solution
2) sin(π/6) = 1/2, sin²(π/6) = 1/4, so (cot x)′ = −1 : (1/4) = −4.
3) cos 0 = 1, so (tan x)′ = 1: the graph of tan x also passes through the origin with slope 1.
4) sin(π/2) = 1, so (cot x)′ = −1.
5) cos(π/3) = 1/2, cos²(π/3) = 1/4, so (tan x)′ = 4. Check with 1 + tan² x: tan(π/3) = √3, 1 + 3 = 4.
Working with the table: checks and practice
The table also works backwards: if the value of the derivative is known, we can find the point. This skill is needed in tangent problems (where is the slope equal to a given number?) and in lesson 6 (where is the derivative zero?).
Find x if: 1) (ln x)′ = 0.25; 2) (√x)′ = 1/4; 3) (x³)′ = 12; 4) (eˣ)′ = 5; 5) (sin x)′ = 0 and 0 ≤ x ≤ 2π.
Show solutionHide solution
2) 1/(2√x) = 1/4 → 2√x = 4 → √x = 2 → x = 4.
3) 3x² = 12 → x² = 4 → x = 2 or x = −2.
4) eˣ = 5 → x = ln 5 ≈ 1.61.
5) cos x = 0 → x = π/2 or x = 3π/2.
- 1.(x⁷)′ =
- 2.(x⁻³)′ = · x⁻⁴
- 3.At x = 25, (√x)′ =
- 4.(eˣ)′ =
- 5.(5ˣ)′ = 5ˣ ·
- 6.(ln x)′ =
- 7.(log₇ x)′ = 1 / (x · )
- 8.(cos x)′ =
- 9.(tan x)′ = 1 /
- 10.(ln 5)′ =
The table is the foundation of the next two lessons. In lesson 4 we learn to differentiate sums, products and quotients of table functions (for example x² · sin x), and in lesson 5 composite functions such as sin 3x or e^(x²). Every such computation ends with a line of this table — which is why it is worth knowing by heart.
Key points
- C′ = 0, (kx + b)′ = k, and (xⁿ)′ = n · xⁿ⁻¹ for any real n; write roots and fractions as powers first.
- (eˣ)′ = eˣ, (aˣ)′ = aˣ · ln a; e ≈ 2.718 is the base for which the slope of eˣ at x = 0 equals 1.
- (ln x)′ = 1/x, (logₐ x)′ = 1/(x · ln a), only for x > 0.
- (sin x)′ = cos x, (cos x)′ = −sin x, (tan x)′ = 1/cos² x, (cot x)′ = −1/sin² x, with x in radians; the “co” functions get the minus sign.
- An expression without x (ln 5, e², π) is a constant with derivative 0; the power rule is for xⁿ only, not for aˣ.
Check yourself
12 questions. Every correct answer earns XP.