Loading

Formulas · Mathematics

Differentiation

7 formulas, each with worked examples. Revision sheet · Practise these formulas

Class 12

Derivative of eˣ

What each letter means
the variable

eˣ is its own derivative: at every point, the slope of the curve y = eˣ equals its height.

Why it works

e is the one base for which the curve y = aˣ crosses the y-axis with slope exactly 1. Since eˣ⁺ʰ − eˣ = eˣ(eʰ − 1), the slope at any x is eˣ times the slope at 0, which is 1.

When to use it

Growth and decay (populations, compound interest, cooling, radioactivity), and any expression with eˣ in it.

How to use it

  1. eˣ differentiates to itself.
  2. With a number in the power, eᵃˣ differentiates to aeᵃˣ (the chain rule).

To remember: eˣ never changes when you differentiate it.

Other forms

  • Special caseWhen the power is ax (the chain rule).
  • To remember itThe derivative of aˣ is aˣ ln a; for a = e, ln e = 1.

Worked examples

Story

A count of bacteria is 100eᵗ after t hours. How fast is it growing at t = 0?

  1. The rate is the derivative, 100eᵗ.

Answer: 100 bacteria per hour

Picture

Find the slope of the tangent to y = eˣ at x = 0, and the tangent line.

  1. The slope at x = 0 is e⁰, and the point is (0, 1).
  2. The tangent is y = x + 1.

Answer: Slope 1; tangent y = x + 1

Direct

Differentiate 3eˣ + x².

Answer: 3eˣ + 2x

Reverse

Which function equals its own derivative and has the value 5 at x = 0?

Try it first, then show the working
  1. Any aeˣ is its own derivative; at x = 0 it equals a, so a = 5.

Answer: 5eˣ

Exam

Differentiate e²ˣ sin x.

Try it first, then show the working
  1. Use the product rule; the derivative of e²ˣ is 2e²ˣ.

Answer: e²ˣ(2 sin x + cos x)

Common mistake: Using the power rule (x eˣ⁻¹): here x is in the power, not the base.

Sources
  • NCERT: class-12/mathematics/05 section 5.4, Exponential and logarithmic functions
  • OpenStax: Calculus Volume 1, 3.9 Derivatives of Exponential and Logarithmic Functions
  • Wikidata: exponential function

Class 12

Derivative of ln x

What each letter means
the variable (positive)

The slope of the curve y = ln x at any point is 1/x.

Why it works

ln x is the inverse of eˣ. If y = ln x then x = eʸ, so dx/dy = eʸ = x, and turning it over, dy/dx = 1/x.

When to use it

Derivatives with logs, and logarithmic differentiation: taking logs first to handle powers like xˣ or long products.

How to use it

  1. ln x differentiates to 1/x.
  2. ln(ax + b) differentiates to a/(ax + b) (the chain rule).
  3. Use the log rules first to split products and powers: ln(xy) = ln x + ln y.

To remember: ln x differentiates to one over x.

Other forms

  • Special caseWhen x is multiplied by a constant a, since ln(ax) = ln a + ln x.
  • To remember itFor log base 10: the derivative of log₁₀ x is 1/(x ln 10).

Worked examples

Story

A loudness score is L = 10 ln x, where x measures the sound's power. How fast does L change with x when x = 5?

  1. The rate is 10 × (1/x).

Answer: 2

Picture

Find the slope of y = ln x at x = 1, and the tangent line there.

  1. At x = 1 the slope is 1 ÷ 1 = 1, and the point is (1, 0), because:
  2. The tangent is y = x − 1.

Answer: Slope 1; tangent y = x − 1

Direct

Differentiate ln x + x³.

Answer: 1/x + 3x²

Reverse

Show that ln(kx) has derivative 1/x whatever the positive number k is.

Try it first, then show the working
  1. ln(kx) = ln k + ln x, and ln k is a constant, with derivative 0. For example:

Answer: Its derivative is always 1/x

Exam

Differentiate xˣ (for x > 0) by taking logs.

Try it first, then show the working
  1. Let y = xˣ and take logs: ln y = x ln x.
  2. Differentiate both sides: (1/y) dy/dx = ln x + 1.

Answer: xˣ(1 + ln x)

Common mistake: Writing 1/ln x, or forgetting that ln x needs x > 0.

Sources
  • NCERT: class-12/mathematics/05 section 5.4, Exponential and logarithmic functions
  • OpenStax: Calculus Volume 1, 3.9 Derivatives of Exponential and Logarithmic Functions
  • Wikidata: natural logarithm

Class 12

Derivative of sin⁻¹ x

What each letter means
the variable, between −1 and 1

The slope of y = sin⁻¹ x is 1 ÷ √(1 − x²).

Why it works

If y = sin⁻¹ x then x = sin y, so dx/dy = cos y. Since y lies between −π/2 and π/2, cos y is positive and equals √(1 − sin² y) = √(1 − x²). Turning dx/dy over gives dy/dx.

When to use it

Derivatives with inverse sine, and later the integral of 1/√(1 − x²).

How to use it

  1. sin⁻¹ x differentiates to 1/√(1 − x²).
  2. For sin⁻¹ of something else, multiply by the derivative of that something (the chain rule).

To remember: Inverse sine: one over root of one minus x squared.

Other forms

  • Special caseWhen the input is x/a, with a > 0.
  • To remember itcos⁻¹ x has the same derivative with a minus sign, since sin⁻¹ x + cos⁻¹ x = π/2.

Worked examples

Story

A ramp's angle is θ = sin⁻¹ x radians, where x is its rise per metre along the slope. How fast does θ change with x when x = 0.6?

Answer: 1.25

Picture

Find the slope of y = sin⁻¹ x at the origin.

  1. So the curve leaves the origin along the line y = x.

Answer: 1

Direct

Find the derivative of sin⁻¹ x at x = ½.

Answer: 2/√3

Reverse

Which function has derivative 1/√(1 − x²) and the value 0 at x = 0?

Try it first, then show the working
  1. sin⁻¹ x has this derivative, and at 0 it is 0:

Answer: sin⁻¹ x

Exam

Differentiate sin⁻¹(2x).

Try it first, then show the working
  1. Use the chain rule: the inside, 2x, has derivative 2.

Answer: 2/√(1 − 4x²)

Common mistake: Writing 1/√(1 + x²) (that is not it), or treating sin⁻¹ x as 1/sin x.

Sources
  • NCERT: class-12/mathematics/05 section 5.3.3, Derivatives of inverse trigonometric functions
  • OpenStax: Calculus Volume 1, 3.7 Derivatives of Inverse Functions
  • Wikidata: inverse trigonometric functions

Class 12

Derivative of tan⁻¹ x

What each letter means
the variable (any real number)

The slope of y = tan⁻¹ x is 1 ÷ (1 + x²).

Why it works

If y = tan⁻¹ x then x = tan y, so dx/dy = sec² y = 1 + tan² y = 1 + x². Turning it over gives dy/dx = 1/(1 + x²).

When to use it

Derivatives with inverse tangent, angles that change as something moves, and later the integral of 1/(1 + x²).

How to use it

  1. tan⁻¹ x differentiates to 1/(1 + x²).
  2. For tan⁻¹ of something else, multiply by the derivative of that something.

To remember: Inverse tan: one over one plus x squared.

Other forms

  • Special caseWhen the input is x/a.
  • To remember itcot⁻¹ x has the same derivative with a minus sign.

Worked examples

Story

A camera beside a road turns to follow a car. Its angle is θ = tan⁻¹ x, where x is the car's distance along the road in units of the camera's distance from the road. How fast does θ change with x when x = 2?

Answer: 1/5

Picture

Find the slope of y = tan⁻¹ x at the origin, and the tangent line there.

  1. The tangent at the origin is y = x.

Answer: Slope 1; tangent y = x

Direct

Find the derivative of tan⁻¹ x at x = 1.

Answer: 1/2

Reverse

Which function has derivative 1/(1 + x²) and the value 0 at x = 0?

Try it first, then show the working
  1. tan⁻¹ x has this derivative, and at 0 it is 0:

Answer: tan⁻¹ x

Exam

Differentiate tan⁻¹(x²).

Try it first, then show the working
  1. Use the chain rule: the inside, x², has derivative 2x.

Answer: 2x/(1 + x⁴)

Common mistake: Writing 1/(1 − x²), or treating tan⁻¹ x as 1/tan x.

Sources
  • NCERT: class-12/mathematics/05 section 5.3.3, Derivatives of inverse trigonometric functions
  • OpenStax: Calculus Volume 1, 3.7 Derivatives of Inverse Functions
  • Wikidata: inverse trigonometric functions

Class 12

Chain rule for a power of ax + b

What each letter means
the variable
the number in front of x inside the bracket
the constant inside the bracket
the power

To differentiate a function of an inside expression, differentiate the outside as if the inside were x, then multiply by the derivative of the inside. For (ax + b)ⁿ that gives na(ax + b)ⁿ⁻¹.

Why it works

The chain rule: with t = ax + b, dy/dx = (dy/dt) × (dt/dx). Here y = tⁿ, so dy/dt = ntⁿ⁻¹, and dt/dx = a.

When to use it

Powers and roots of expressions, like (3x + 1)⁴ or √(4x + 1), and in general any function of another function.

How to use it

  1. Differentiate the outside, keeping the inside as it is: n(ax + b)ⁿ⁻¹.
  2. Multiply by the derivative of the inside: a.

To remember: Outside first, then times the derivative of the inside.

Other forms

  • Special caseWhen sin in place of the power.
  • To remember itIn general: dy/dx = (dy/dt) × (dt/dx), as if the dt's cancelled.

Worked examples

Story

A cube's side is 2t + 1 cm at time t seconds, so its volume is (2t + 1)³ cm³. How fast is the volume growing at t = 1?

Answer: 54 cm³ per second

Picture

Find the slope of y = √(4x + 1) at x = 2.

  1. Write it as (4x + 1) to the power ½, with n = ½ and a = 4.

Answer: 2/3

Direct

Differentiate (3x + 1)⁴.

Answer: 12(3x + 1)³

Reverse

The derivative of (ax + 5)³ is 6(ax + 5)². Find a.

Try it first, then show the working
  1. The rule gives 3a(ax + 5)², and 3a = 6 means a = 2.

Answer: a = 2

Exam

Differentiate 1 ÷ (5x − 3)².

Try it first, then show the working
  1. Write it as (5x − 3)⁻², with n = −2 and a = 5.

Answer: −10 ÷ (5x − 3)³

Common mistake: Forgetting to multiply by the derivative of the inside.

Sources
  • NCERT: class-12/mathematics/05 section 5.3.2, Derivatives of composite functions (the chain rule)
  • OpenStax: Calculus Volume 1, 3.6 The Chain Rule
  • Wikidata: chain rule

Class 12

Derivative of tan x

What each letter means
an angle in radians

The slope of the curve y = tan x is sec² x, which is never less than 1.

Why it works

tan x = sin x ÷ cos x. The quotient rule gives (cos x cos x + sin x sin x) ÷ cos² x = 1 ÷ cos² x = sec² x.

When to use it

Differentiating anything with tan x in it; rates of change of heights seen at a changing angle.

How to use it

  1. tan x differentiates to sec² x.
  2. For tan ax, multiply by a (the chain rule).

To remember: tan goes to sec squared.

Other forms

  • Special caseWhen the angle is ax.
  • To remember itIts "co" partner gets a minus sign: cot x differentiates to −cosec² x.

Worked examples

Story

A searchlight 10 m from a wall turns; when its beam makes the angle θ with the ground, the spot is 10 tan θ m up the wall. How fast does the spot rise, per radian of turn, at θ = π/4?

  1. The rate is the derivative, 10 sec² θ.

Answer: 20 m per radian

Picture

Find the slope of y = tan x at the origin.

  1. The curve crosses the origin along the line y = x.

Answer: 1

Direct

Differentiate 2 tan x + x³.

Answer: 2 sec² x + 3x²

Reverse

Which function has derivative sec² x and the value 0 at x = 0?

Try it first, then show the working
  1. tan x has this derivative, and at 0 it is 0:

Answer: tan x

Exam

Differentiate tan x − x.

Try it first, then show the working
  1. That is because sec² x − 1 = tan² x.

Answer: tan² x

Common mistake: Writing sec x tan x (that is the derivative of sec x).

Sources
  • NCERT: class-12/mathematics/05 section 5.3, Differentiability (derivatives of trigonometric functions)
  • OpenStax: Calculus Volume 1, 3.5 Derivatives of Trigonometric Functions
  • Wikidata: differentiation of trigonometric functions

Class 12

Derivative of sec x

What each letter means
an angle in radians

The derivative of sec x is sec x tan x.

Why it works

sec x = 1 ÷ cos x. The quotient rule gives (0 × cos x − 1 × (−sin x)) ÷ cos² x = sin x ÷ cos² x, which is (1/cos x)(sin x/cos x) = sec x tan x.

When to use it

Differentiating anything with sec x in it, such as the length of a slanting rope at a changing angle.

How to use it

  1. sec x differentiates to sec x tan x.
  2. For sec ax, multiply by a.

To remember: sec goes to sec tan.

Other forms

  • Special caseWhen the angle is ax.
  • To remember itIts "co" partner gets a minus sign: cosec x differentiates to −cosec x cot x.

Worked examples

Story

A rope runs from the top of a 5 m pole to the ground, making the angle θ with the pole, so its length is 5 sec θ m. How fast does the length grow, per radian, at θ = π/3?

Answer: 10√3 m per radian

Picture

Find the slope of y = sec x at x = 0.

  1. The curve is flat at its lowest point, (0, 1).

Answer: 0

Direct

Differentiate 3 sec x.

Answer: 3 sec x tan x

Reverse

Which function has derivative sec x tan x and the value 1 at x = 0?

Try it first, then show the working
  1. sec x has this derivative, and at 0 it is 1:

Answer: sec x

Exam

Using sec x = 1/cos x and the quotient rule, show that the derivative of sec x is sec x tan x.

Try it first, then show the working
  1. And sin x ÷ cos² x = (1/cos x) × (sin x/cos x) = sec x tan x.

Answer: sec x tan x

Common mistake: Writing sec² x (that is the derivative of tan x).