Skip to content

Differentiation Formula List with Rules and Examples

12 formulasUpdated 22 Oct 2026

The most used differentiation formula is the power rule, ddx(xn)=nxn−1\dfrac{d}{dx}\left(x^n\right)=nx^{n-1}, and with the product, quotient and chain rules it lets you differentiate almost any function in school calculus. A derivative measures how fast one quantity changes compared with another: the slope of a curve at a point, speed from distance, marginal cost from total cost.

Below you get the standard derivatives in tables (algebraic, trigonometric, inverse trigonometric, exponential and logarithmic), the four rules, the first principles definition with a proof of the power rule, five worked examples and a note on what class 11 and class 12 each cover.

Differentiation formulas

Key formulas

  • Power rule

    ddx(xn)=nxn−1\dfrac{d}{dx}\left(x^n\right)=nx^{n-1}

    works for any real n (take x > 0 when n is a fraction)

  • Constant

    ddx(k)=0\dfrac{d}{dx}(k)=0
  • Product rule

    (uv)′=u′v+uv′(uv)'=u'v+uv'
  • Quotient rule

    (uv)′=u′v−uv′v2\left(\dfrac{u}{v}\right)'=\dfrac{u'v-uv'}{v^2}
  • Chain rule

    dydx=dydu⋅dudx\dfrac{dy}{dx}=\dfrac{dy}{du}\cdot\dfrac{du}{dx}
  • Derivative of sin x

    ddx(sin⁡x)=cos⁡x\dfrac{d}{dx}(\sin x)=\cos x
  • Derivative of cos x

    ddx(cos⁡x)=−sin⁡x\dfrac{d}{dx}(\cos x)=-\sin x
  • Derivative of tan x

    ddx(tan⁡x)=sec⁡2x\dfrac{d}{dx}(\tan x)=\sec^2 x
  • Derivative of e to the x

    ddx(ex)=ex\dfrac{d}{dx}\left(e^x\right)=e^x
  • Derivative of log x

    ddx(log⁡x)=1x\dfrac{d}{dx}(\log x)=\dfrac{1}{x}

    natural log, x > 0

  • Derivative of inverse sine

    ddx(sin⁡−1x)=11−x2\dfrac{d}{dx}\left(\sin^{-1}x\right)=\dfrac{1}{\sqrt{1-x^2}}
  • First principles

    f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x)=\lim_{h\to0}\dfrac{f(x+h)-f(x)}{h}

What a derivative formula means

If y=f(x)y=f(x), the derivative dydx\dfrac{dy}{dx}, also written f′(x)f'(x) or y′y', is the instantaneous rate of change of y with respect to x. On a graph it is the slope of the tangent at that point. A positive derivative means the function is rising there, a negative one means it is falling, and zero marks a possible maximum or minimum.

Every derivatives math formula on this page is a shortcut for one limit, the definition below. Once a result has been proved from the definition, you can use it directly in an exam without repeating the limit. In NCERT notation log⁡x\log x means the natural logarithm (base e), so ddx(log⁡x)=1x\dfrac{d}{dx}(\log x)=\dfrac1x. Some books write it as ln⁡x\ln x; it is the same function.

Differentiation from first principles

The first principles definition says:

f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x)=\lim_{h\to0}\dfrac{f(x+h)-f(x)}{h}

Read it as "change in output divided by a tiny change in input, as that change shrinks to zero". Class 11 papers often ask you to find a derivative this way for marks, even when the shortcut is obvious.

Example 1: derivative of x squared from the definition

  1. f(x+h)−f(x)=(x+h)2−x2=2xh+h2f(x+h)-f(x)=(x+h)^2-x^2=2xh+h^2.
  2. Divide by h: 2xh+h2h=2x+h\dfrac{2xh+h^2}{h}=2x+h.
  3. Let h→0h\to0: the limit is 2x2x.

Answer: ddx(x2)=2x\dfrac{d}{dx}\left(x^2\right)=2x.

Power rule in differentiation, with proof

The derivative of a power function is found by bringing the power down and reducing it by one:

ddx(xn)=nxn−1\dfrac{d}{dx}\left(x^n\right)=nx^{n-1}

Proof for a positive integer n. Expand (x+h)n(x+h)^n with the binomial theorem: (x+h)n=xn+nxn−1h+(n2)xn−2h2+⋯+hn(x+h)^n=x^n+nx^{n-1}h+\tbinom{n}{2}x^{n-2}h^2+\dots+h^n. Subtract xnx^n and divide by h. Every term after nxn−1nx^{n-1} still carries a factor of h, so it vanishes as h→0h\to0, leaving nxn−1nx^{n-1}. The rule also holds for negative and fractional powers (for fractional powers, take x > 0); the general case can be proved with logarithmic differentiation, a class 12 method.

Rewrite roots and fractions as powers before you apply it:

FunctionAs a powerDerivative
x\sqrt{x}x1/2x^{1/2}12x\dfrac{1}{2\sqrt x}
1x\dfrac1xx−1x^{-1}−1x2-\dfrac{1}{x^2}
1x3\dfrac{1}{x^3}x−3x^{-3}−3x4-\dfrac{3}{x^4}
x23\sqrt[3]{x^2}x2/3x^{2/3}23x−1/3\dfrac{2}{3}x^{-1/3}

Example 2: a polynomial with roots and fractions

Differentiate y=4x5−3x+2xy=4x^5-\dfrac{3}{x}+2\sqrt{x}.

  1. Write it as 4x5−3x−1+2x1/24x^5-3x^{-1}+2x^{1/2}.
  2. Term by term: 20x420x^4, then −3⋅(−1)x−2=3x−2-3\cdot(-1)x^{-2}=3x^{-2}, then 2⋅12x−1/2=x−1/22\cdot\tfrac12x^{-1/2}=x^{-1/2}.

Answer: dydx=20x4+3x2+1x\dfrac{dy}{dx}=20x^4+\dfrac{3}{x^2}+\dfrac{1}{\sqrt x}.

Rules of differentiation: sum, product, quotient and chain

Let u and v be functions of x and k a constant.

RuleFormula
Constant multiple(ku)′=ku′(ku)'=ku'
Sum and difference(u±v)′=u′±v′(u\pm v)'=u'\pm v'
Product(uv)′=u′v+uv′(uv)'=u'v+uv'
Quotient(uv)′=u′v−uv′v2, v≠0\left(\dfrac uv\right)'=\dfrac{u'v-uv'}{v^2},\ v\ne0
Chainddxf(g(x))=f′(g(x))⋅g′(x)\dfrac{d}{dx}f(g(x))=f'(g(x))\cdot g'(x)

For the quotient rule, the numerator starts with the derivative of the top; getting this order wrong flips the sign of your answer. For the chain rule, differentiate the outer function, keep the inside unchanged, then multiply by the derivative of the inside.

Example 3: product and quotient

  1. y=x2sin⁡xy=x^2\sin x: y′=2xsin⁡x+x2cos⁡xy'=2x\sin x+x^2\cos x.
  2. y=2x+1x−3y=\dfrac{2x+1}{x-3}: y′=2(x−3)−(2x+1)(1)(x−3)2=2x−6−2x−1(x−3)2y'=\dfrac{2(x-3)-(2x+1)(1)}{(x-3)^2}=\dfrac{2x-6-2x-1}{(x-3)^2}.

Answer: 2xsin⁡x+x2cos⁡x2x\sin x+x^2\cos x and −7(x−3)2-\dfrac{7}{(x-3)^2}.

Derivatives of trigonometric functions

FunctionDerivative
sin⁡x\sin xcos⁡x\cos x
cos⁡x\cos x−sin⁡x-\sin x
tan⁡x\tan xsec⁡2x\sec^2x
cot⁡x\cot x−cosec⁡2x-\operatorname{cosec}^2x
sec⁡x\sec xsec⁡xtan⁡x\sec x\tan x
cosec⁡x\operatorname{cosec} x−cosec⁡xcot⁡x-\operatorname{cosec} x\cot x

A pattern to remember: every function whose name starts with "co" has a minus sign in its derivative. These results need x in radians. To simplify answers you will keep using identities like 2sin⁡xcos⁡x=sin⁡2x2\sin x\cos x=\sin 2x; all of those are collected on the trigonometry formulas page.

Derivatives of inverse trigonometric functions

FunctionDerivativeValid for
sin⁡−1x\sin^{-1}x11−x2\dfrac{1}{\sqrt{1-x^2}}−1<x<1-1\lt x\lt 1
cos⁡−1x\cos^{-1}x−11−x2-\dfrac{1}{\sqrt{1-x^2}}−1<x<1-1\lt x\lt 1
tan⁡−1x\tan^{-1}x11+x2\dfrac{1}{1+x^2}all real x
cot⁡−1x\cot^{-1}x−11+x2-\dfrac{1}{1+x^2}all real x
sec⁡−1x\sec^{-1}x1∣x∣x2−1\dfrac{1}{|x|\sqrt{x^2-1}}∣x∣>1|x|\gt 1
cosec⁡−1x\operatorname{cosec}^{-1}x−1∣x∣x2−1-\dfrac{1}{|x|\sqrt{x^2-1}}∣x∣>1|x|\gt 1

Each "co" version is the negative of its partner, because sin⁡−1x+cos⁡−1x\sin^{-1}x+\cos^{-1}x is the constant π2\tfrac{\pi}{2} and a constant has zero derivative. For x>1x\gt 1 the absolute value in the sec row can be dropped, which is how many textbooks print it.

Exponential, logarithmic and other class 12 methods

FunctionDerivative
exe^xexe^x
axa^xaxlog⁡aa^x\log a
log⁡x\log x1x\dfrac1x
log⁡ax\log_a x1xlog⁡a\dfrac{1}{x\log a}

Here the base a is positive and not 1, and x must be positive for any log.

Logarithmic differentiation. When the variable sits in both the base and the power, take log on both sides first. For y=xxy=x^x: log⁡y=xlog⁡x\log y=x\log x, so 1ydydx=log⁡x+1\dfrac1y\dfrac{dy}{dx}=\log x+1 and dydx=xx(1+log⁡x)\dfrac{dy}{dx}=x^x(1+\log x).

Parametric form. If x=f(t)x=f(t) and y=g(t)y=g(t), then dydx=dy/dtdx/dt\dfrac{dy}{dx}=\dfrac{dy/dt}{dx/dt}. For the parabola x=at2, y=2atx=at^2,\ y=2at this gives 2a2at=1t\dfrac{2a}{2at}=\dfrac1t.

Second derivative. Differentiate twice: d2ydx2\dfrac{d^2y}{dx^2}. For y=sin⁡2xy=\sin^2x, y′=sin⁡2xy'=\sin 2x and y′′=2cos⁡2xy''=2\cos 2x.

Example 4: chain rule inside a product

Differentiate y=e3xcos⁡2xy=e^{3x}\cos 2x.

  1. By the chain rule, ddxe3x=3e3x\dfrac{d}{dx}e^{3x}=3e^{3x} and ddxcos⁡2x=−2sin⁡2x\dfrac{d}{dx}\cos 2x=-2\sin 2x.
  2. Product rule: y′=3e3xcos⁡2x+e3x(−2sin⁡2x)y'=3e^{3x}\cos 2x+e^{3x}(-2\sin 2x).

Answer: y′=e3x(3cos⁡2x−2sin⁡2x)y'=e^{3x}(3\cos 2x-2\sin 2x).

Example 5: slope of a curve at a point

Find the slope of the tangent to y=x3−2xy=x^3-2x at x=2x=2.

  1. y′=3x2−2y'=3x^2-2.
  2. At x=2x=2: 3(4)−2=103(4)-2=10.

Answer: the slope is 10.

Class 11 and class 12 differentiation formula scope

Class 11 maths, chapter Limits and Derivatives (chapter 12 in the current NCERT book), introduces the limit definition, the power rule, the sum, product and quotient rules and the derivatives of the sine and cosine functions. Those are the core class 11 maths limits and derivatives formulas.

The 12th maths differentiation formulas come in chapter 5, Continuity and Differentiability: the chain rule, inverse trig, exponential and log derivatives, logarithmic, implicit and parametric differentiation, and second order derivatives. Chapter 6, Application of Derivatives, uses them for rate of change, increasing and decreasing functions, and maxima and minima. Chapter 9, Differential Equations, needs every derivative here when you check a solution. If you are revising class 12 maths differentiation all formulas in one sitting, the key box above plus the three tables cover it.

So the 11th maths differentiation formulas are a short list, while each 12th maths derivative formula from chapter 5 gets used again in later chapters. For board revision, treat every class 12 maths differentiation formula in the tables above as fair game for a 2 mark question. Students who search for maths differential equations formulas usually need these same derivatives, because solving a differential equation means finding a function whose derivative fits a given rule. If you want a math derivative formula PDF to print, the sheet at the bottom of this page holds the key box.

College first year adds partial derivatives, successive differentiation and the curvature of a plane curve, κ=∣y′′∣(1+y′2)3/2\kappa=\dfrac{|y''|}{\left(1+y'^2\right)^{3/2}}, all built on the same basic results. Integration reverses everything on this page; see integration formulas.

Common differentiation mistakes

  • Treating (uv)′(uv)' as u′v′u'v'. The product rule always has two terms.
  • Dropping the inner derivative: ddxsin⁡5x\dfrac{d}{dx}\sin 5x is 5cos⁡5x5\cos 5x, not cos⁡5x\cos 5x.
  • Using the power rule on axa^x or xxx^x. The power rule needs a constant exponent.
  • Writing ddx(cos⁡x)=sin⁡x\dfrac{d}{dx}(\cos x)=\sin x. The minus sign is easy to lose under time pressure.
  • Differentiating a constant like π2\pi^2 or e3e^3 as if it were a variable. Its derivative is 0.

Quick algebra like expanding (x+h)3(x+h)^3 or factoring before you differentiate is covered on the algebra formulas page. To revise maths differentiation formulas offline, grab the PDF formula sheet at the bottom of this page, or the combined sheet on the full formula list for every chapter.

Download the PDF

Questions students ask

What is the power rule of differentiation?
ddx(xn)=nxn−1\dfrac{d}{dx}\left(x^n\right)=nx^{n-1}: multiply by the power and lower the power by one. For example, the derivative of x7x^7 is 7x67x^6 and of x−2x^{-2} is −2x−3-2x^{-3}.
What is the derivative of a constant?

Zero. A constant does not change, so its rate of change is 0. But a constant multiplying a function stays: ddx(5x2)=10x\dfrac{d}{dx}(5x^2)=10x.

How is the product rule different from the chain rule?

Use the product rule when two functions are multiplied, like x2exx^2e^x. Use the chain rule when one function sits inside another, like ex2e^{x^2}. Many questions need both.

Which differentiation formulas are in class 12?

Class 12 adds the chain rule, derivatives of inverse trig functions, exe^x, axa^x and log⁡x\log x, logarithmic, implicit and parametric differentiation, and second derivatives. Class 11 has only the basics from the limits chapter.

Why is the derivative of sin x equal to cos x?

From first principles, sin⁡(x+h)−sin⁡xh=2cos⁡(x+h2)sin⁡h2h\dfrac{\sin(x+h)-\sin x}{h}=\dfrac{2\cos\left(x+\tfrac h2\right)\sin\tfrac h2}{h}. As h→0h\to0, sin⁡(h/2)h/2→1\dfrac{\sin(h/2)}{h/2}\to1 and the cosine factor tends to cos⁡x\cos x. This needs x in radians.

What is the derivative of x to the power x?

Take log on both sides: log⁡y=xlog⁡x\log y=x\log x. Differentiating gives dydx=xx(1+log⁡x)\dfrac{dy}{dx}=x^x(1+\log x).