Derivatives · All levels · Lesson 03

Differentiation formulas: the complete list.

Short answer

The differentiation formulas (also called derivative formulas) you will use most often:

\(\dfrac{d}{dx}x^n = nx^{n-1}\), \(\dfrac{d}{dx}e^x = e^x\), \(\dfrac{d}{dx}\log x = \dfrac{1}{x}\), \(\dfrac{d}{dx}\sin x = \cos x\), \(\dfrac{d}{dx}\cos x = -\sin x\), \(\dfrac{d}{dx}\tan x = \sec^2 x\).

Combine them with the product, quotient and chain rules. All the formulas are listed below in printable tables.

Class 11Class 12DiplomaEngineering
01

The basic rules

Here \(u\) and \(v\) are functions of \(x\), \(c\) and \(k\) are constants, and \(u' = \dfrac{du}{dx}\).

RuleFormula
Constant\(\dfrac{d}{dx}(c) = 0\)
Constant multiple\(\dfrac{d}{dx}(k\,u) = k\,u'\)
Sum and difference\(\dfrac{d}{dx}(u \pm v) = u' \pm v'\)
Product rule\(\dfrac{d}{dx}(uv) = u'v + uv'\)
Quotient rule\(\dfrac{d}{dx}\left(\dfrac{u}{v}\right) = \dfrac{u'v - uv'}{v^2}\)
Chain rule\(\dfrac{dy}{dx} = \dfrac{dy}{du}\cdot\dfrac{du}{dx}\)

Full lessons: product and quotient rule and chain rule.

02

Standard derivatives

Powers, exponentials and logarithms

FunctionDerivative
\(x^n\)\(nx^{n-1}\)
\(\sqrt{x}\)\(\dfrac{1}{2\sqrt{x}}\)
\(\dfrac{1}{x}\)\(-\dfrac{1}{x^2}\)
\(e^x\)\(e^x\)
\(a^x\)\(a^x\log a\)
\(\log x\)\(\dfrac{1}{x}\)
\(\log_a x\)\(\dfrac{1}{x\log a}\)

Trigonometric functions

FunctionDerivative
\(\sin x\)\(\cos x\)
\(\cos x\)\(-\sin x\)
\(\tan x\)\(\sec^2 x\)
\(\cot x\)\(-\operatorname{cosec}^2 x\)
\(\sec x\)\(\sec x\tan x\)
\(\operatorname{cosec} x\)\(-\operatorname{cosec} x\cot x\)

Inverse trigonometric functions

FunctionDerivative
\(\sin^{-1}x\)\(\dfrac{1}{\sqrt{1 - x^2}}\), for \(|x| < 1\)
\(\cos^{-1}x\)\(-\dfrac{1}{\sqrt{1 - x^2}}\), for \(|x| < 1\)
\(\tan^{-1}x\)\(\dfrac{1}{1 + x^2}\)
\(\cot^{-1}x\)\(-\dfrac{1}{1 + x^2}\)
\(\sec^{-1}x\)\(\dfrac{1}{|x|\sqrt{x^2 - 1}}\), for \(|x| > 1\)
\(\operatorname{cosec}^{-1}x\)\(-\dfrac{1}{|x|\sqrt{x^2 - 1}}\), for \(|x| > 1\)

Hyperbolic functions (engineering)

FunctionDerivative
\(\sinh x\)\(\cosh x\)
\(\cosh x\)\(\sinh x\)
\(\tanh x\)\(\operatorname{sech}^2 x\)
Memory trick

Every function whose name starts with "co" has a minus sign in its derivative: \(\cos\), \(\cot\), \(\operatorname{cosec}\), and their inverses \(\cos^{-1}\), \(\cot^{-1}\), \(\operatorname{cosec}^{-1}\). The others don't.

03

Chain-rule versions

Most exam questions put something more complicated than \(x\) inside the function. Replace \(x\) with \(f(x)\) and multiply by \(f'(x)\):

FunctionDerivative
\(\big[f(x)\big]^n\)\(n\big[f(x)\big]^{n-1}f'(x)\)
\(\sqrt{f(x)}\)\(\dfrac{f'(x)}{2\sqrt{f(x)}}\)
\(e^{f(x)}\)\(e^{f(x)}\,f'(x)\)
\(a^{f(x)}\)\(a^{f(x)}\log a\cdot f'(x)\)
\(\log f(x)\)\(\dfrac{f'(x)}{f(x)}\)
\(\sin f(x)\)\(\cos f(x)\cdot f'(x)\)
\(\tan^{-1}f(x)\)\(\dfrac{f'(x)}{1 + \big[f(x)\big]^2}\)
\((ax + b)^n\)\(na(ax + b)^{n-1}\)
04

Which rule do I use?

Before you differentiate, look at how the expression is built. Ask these in order:

  1. Can I simplify first? \(\dfrac{x^2 + 3x}{x}\) is just \(x + 3\). Log laws and trig identities often save a lot of work.
  2. Is it a sum of terms? Differentiate each term on its own.
  3. Is it two things multiplied? Product rule.
  4. Is it one thing divided by another? Quotient rule.
  5. Is something sitting inside a function? Chain rule, working from the outside in.
  6. Is \(x\) in both the base and the power, like \(x^x\)? Take logs first (logarithmic differentiation).
05

Solved examples

Example 1: Powers of x

Easy

Differentiate \(y = 4x^5 - 3x^2 + \dfrac{7}{x}\).

  1. Write \(\dfrac{7}{x}\) as \(7x^{-1}\).
  2. \(\dfrac{dy}{dx} = 20x^4 - 6x - 7x^{-2}\).

Answer\(\dfrac{dy}{dx} = 20x^4 - 6x - \dfrac{7}{x^2}\)

Example 2: Mixed standard functions

Easy

Differentiate \(y = 3\sqrt{x} + 2e^x - 5\log x\).

  1. Term by term: \(3\cdot\dfrac{1}{2\sqrt{x}} + 2e^x - 5\cdot\dfrac{1}{x}\).

Answer\(\dfrac{dy}{dx} = \dfrac{3}{2\sqrt{x}} + 2e^x - \dfrac{5}{x}\)

Example 3: A product

Medium

Differentiate \(y = x^3\sin x\).

  1. Product rule with \(u = x^3\), \(v = \sin x\): \(u' = 3x^2\), \(v' = \cos x\).
  2. \(\dfrac{dy}{dx} = 3x^2\sin x + x^3\cos x\).

Answer\(\dfrac{dy}{dx} = x^2(3\sin x + x\cos x)\)

Example 4: A quotient

Medium

Differentiate \(y = \dfrac{\log x}{x}\).

  1. Quotient rule with \(u = \log x\), \(v = x\): \(\dfrac{\frac{1}{x}\cdot x - \log x \cdot 1}{x^2}\).

Answer\(\dfrac{dy}{dx} = \dfrac{1 - \log x}{x^2}\)

Example 5: Product and chain together

Medium

Differentiate \(y = e^{3x}\cos 2x\).

  1. \(\dfrac{d}{dx}e^{3x} = 3e^{3x}\) and \(\dfrac{d}{dx}\cos 2x = -2\sin 2x\), both by the chain rule.
  2. Product rule: \(3e^{3x}\cos 2x + e^{3x}(-2\sin 2x)\).

Answer\(\dfrac{dy}{dx} = e^{3x}(3\cos 2x - 2\sin 2x)\)

Example 6: An inverse trig function

Exam level

Differentiate \(y = \tan^{-1}(x^2)\).

  1. Chain-rule form \(\dfrac{f'(x)}{1 + [f(x)]^2}\) with \(f(x) = x^2\).

Answer\(\dfrac{dy}{dx} = \dfrac{2x}{1 + x^4}\)

Keep a copy

To print this page or save it as a PDF, use your browser's Print option.

06

Common mistakes

1. Treating \(a^x\) like \(x^n\)

\(\dfrac{d}{dx}2^x\) is not \(x\,2^{x-1}\). The power rule is for a variable base and a fixed power. For a fixed base and a variable power, \(\dfrac{d}{dx}a^x = a^x\log a\).

2. Forgetting the inside derivative

\(\dfrac{d}{dx}e^{2x} = 2e^{2x}\), not \(e^{2x}\). \(\dfrac{d}{dx}\sin 5x = 5\cos 5x\), not \(\cos 5x\).

3. Mixing up \(\log_{10}\) and natural log

In calculus, \(\log x\) means the natural log (base \(e\)) unless a base is written. For base 10, \(\dfrac{d}{dx}\log_{10}x = \dfrac{1}{x\log 10}\).

07

Practice questions

Try each one on paper before you open the answer.

Q1Differentiate \(y = x^4 + 4^x\).

\(4x^3 + 4^x\log 4\).

Q2Differentiate \(y = \sec x + \cot x\).

\(\sec x\tan x - \operatorname{cosec}^2 x\).

Q3Differentiate \(y = (3x + 2)^5\).

\(5(3x + 2)^4\cdot 3 = 15(3x + 2)^4\).

Q4Differentiate \(y = \log(x^2 + 1)\).

\(\dfrac{2x}{x^2 + 1}\).

Q5Differentiate \(y = \sin^{-1}x + \cos^{-1}x\).

\(\dfrac{1}{\sqrt{1 - x^2}} - \dfrac{1}{\sqrt{1 - x^2}} = 0\). That makes sense: \(\sin^{-1}x + \cos^{-1}x = \dfrac{\pi}{2}\), a constant.

Q6Differentiate \(y = \sqrt{x}\,e^x\).

Product rule: \(\dfrac{e^x}{2\sqrt{x}} + \sqrt{x}\,e^x = e^x\left(\dfrac{1}{2\sqrt{x}} + \sqrt{x}\right)\).

Stuck on a question?

Bring it to a free demo class and work through it with Vipul Sir. Book on WhatsApp.

08

Frequently asked questions

Does log x mean log base 10 or natural log?

In calculus it means the natural log, \(\log_e x\), which some books write as \(\ln x\). That is why \(\dfrac{d}{dx}\log x = \dfrac{1}{x}\) with no extra factor. If the base is 10, the answer picks up \(\dfrac{1}{\log 10}\).

What is the derivative of a constant?

Zero. A constant does not change, so its rate of change is 0. That includes numbers like \(\pi\), \(e\) and \(\log 2\).

Do I need to memorise all of these?

Learn the standard derivatives in section 2 by heart. They come up in every question. The chain-rule versions in section 3 follow from them, so once you understand the chain rule you can rebuild them yourself.

Why does the derivative of x to the power n work for fractions and negatives?

The power rule \(\dfrac{d}{dx}x^n = nx^{n-1}\) holds for every real \(n\), including fractions and negative numbers. That is why \(\sqrt{x} = x^{1/2}\) gives \(\tfrac{1}{2}x^{-1/2}\) and \(\dfrac{1}{x} = x^{-1}\) gives \(-x^{-2}\).

Related lessons

← All derivatives lessons
Vipul Sir
Written by Vipul Sir

Vipul Sir has taught mathematics for over 15 years to HSC, CBSE, ICSE, IGCSE/IB, Diploma, Engineering and BSc students at VVS Classes in Goregaon and Vile Parle, Mumbai. He teaches every class himself, concepts first and exam technique second.

Class 11 & 12 Maths

Differentiation gets easy once the basics click.

Concept-first classes in small batches in Goregaon and Vile Parle, or online, for HSC, CBSE and ICSE students. Your first class is free.

WhatsApp↗