G2PureCore

Differentiating xⁿ

First principles proved that differentiating x2x^2 gives 2x2x and x3x^3 gives 3x23x^2. The power rule packages that pattern into a single formula you can apply instantly to ANY power — positive, negative or fractional — without ever writing out a limit again.

26 min Video by TLMaths Differentiation

The big picture

The power rule is the workhorse of the entire calculus course: bring the power down as a multiplier, then reduce the power by one. It applies to every real-number power, not just positive integers, which means roots and reciprocals can be differentiated too, once they are rewritten as fractional or negative powers. Every later differentiation technique (chain, product, quotient) is really the power rule applied inside a more complicated structure.

A-Level Maths G2-01: Differentiate x^n, n a positive integerCurated by Kepler, not produced by us. Watch it, then work through the notes below.
Open on YouTube

What you'll be able to do

  • State and apply the power rule for any real index nn
  • Differentiate sums of power terms term-by-term
  • Rewrite roots and reciprocals as powers before differentiating
  • Differentiate expressions after expanding brackets
1

The power rule

For y=xny=x^n, where nn is any real number, the derivative is found by bringing the power down as a coefficient and reducing the power by 1. This holds for positive integers (proved by first principles), negative integers, and fractional powers alike.

ddx(xn)=nxn−1\dfrac{d}{dx}(x^n) = nx^{n-1}
Valid for any real number n.
Example 1Differentiate y=x5y=x^5.
1Bring the power down: coefficient 5.
2Reduce the power by 1: x4x^4.
Answer
dydx=5x4\dfrac{dy}{dx}=5x^4
Example 2Differentiate y=x−2y=x^{-2}.
1Bring down −2-2 as the coefficient.
2Reduce the power: −2−1=−3-2-1=-3.
Answer
dydx=−2x−3\dfrac{dy}{dx}=-2x^{-3}

Tip — Rewrite roots as fractional powers before differentiating: x=x1/2\sqrt{x}=x^{1/2}, x3=x1/3\sqrt[3]{x}=x^{1/3} — then the power rule applies directly.

2

A constant coefficient

If a power term has a constant multiplier, that constant stays put and multiplies the result — you differentiate the xnx^n part and keep the constant factor.

ddx(axn)=anxn−1\dfrac{d}{dx}(ax^n) = anx^{n-1}
The constant a is carried through unchanged.
Example 1Differentiate y=4x3y=4x^3.
1Differentiate x3x^3: 3x23x^2.
2Multiply by the constant 4: 4×3x24\times3x^2.
Answer
dydx=12x2\dfrac{dy}{dx}=12x^2
3

Term-by-term for polynomials

A sum of power terms is differentiated one term at a time — each term uses the power rule independently, and a constant term (with no xx) always differentiates to zero, since it has no gradient.

Example 1Differentiate y=3x4−2x2+5x−7y = 3x^4 - 2x^2 + 5x - 7.
13x4→12x33x^4 \to 12x^3.
2−2x2→−4x-2x^2 \to -4x.
35x→55x \to 5 (since 5x1→5×1×x0=55x^1\to5\times1\times x^0=5).
4−7→0-7 \to 0 (a constant has zero gradient).
Answer
dydx=12x3−4x+5\dfrac{dy}{dx}=12x^3-4x+5
Example 2Rewrite and differentiate y=x+3x2y = \sqrt{x} + \dfrac{3}{x^2}.
1Rewrite: y=x1/2+3x−2y = x^{1/2} + 3x^{-2}.
2Differentiate each term: 12x−1/2\tfrac12x^{-1/2} and 3×(−2)x−3=−6x−33\times(-2)x^{-3}=-6x^{-3}.
Answer
dydx=12x−1/2−6x−3\dfrac{dy}{dx}=\tfrac12x^{-1/2}-6x^{-3}
Why this works

This term-by-term approach — differentiate each piece separately and add — works because differentiation is linear: the derivative of a sum is the sum of the derivatives.

Think like an examiner

  • Always rewrite roots and fractions as powers of xx FIRST — trying to differentiate x\sqrt{x} or 1x2\tfrac1{x^2} directly without rewriting is a common source of errors.
  • Remember a plain constant term always differentiates to 0 — it is easy to forget it entirely rather than writing the zero.
  • If brackets are given (e.g. (x+1)(x−2)(x+1)(x-2)), expand fully into a polynomial BEFORE differentiating term-by-term — the power rule alone does not apply to a product directly.

Common misconceptions

Differentiating x\sqrt{x} as if it stays x\sqrt{x} multiplied by something.
Rewrite x=x1/2\sqrt{x}=x^{1/2} first, then apply the power rule to get 12x−1/2\tfrac12x^{-1/2}.
Forgetting a constant term differentiates to zero and instead copying it unchanged.
A term with no xx (like −7-7) has zero gradient — it vanishes entirely when you differentiate.
Applying the power rule directly to an unexpanded product like (x+3)(x−1)(x+3)(x-1).
Expand into a polynomial first (e.g. x2+2x−3x^2+2x-3), THEN differentiate term-by-term.

The power rule

ddx(xn)=nxn−1\dfrac{d}{dx}(x^n) = nx^{n-1}
For any real n.
ddx(axn)=anxn−1\dfrac{d}{dx}(ax^n) = anx^{n-1}
Constant coefficient carried through.
ddx(c)=0\dfrac{d}{dx}(c) = 0
A constant has zero derivative.

Stretch yourself

Find dydx\dfrac{dy}{dx} for y=(x+2)(x−3)xy = \dfrac{(x+2)(x-3)}{x}, fully simplifying your answer.

Hint — Expand the numerator first, then divide every term by xx to write yy as a sum of powers of xx, before differentiating term-by-term.

Reveal solution
SolutionExpand: (x+2)(x−3)=x2−x−6(x+2)(x-3)=x^2-x-6. Divide by xx: y=x−1−6x−1y=x-1-6x^{-1}. Differentiate term-by-term: dydx=1−0−6×(−1)x−2=1+6x−2\dfrac{dy}{dx}=1-0-6\times(-1)x^{-2}=1+6x^{-2}. ■\blacksquare

Questions students ask

Does the power rule work for negative or fractional powers?
Yes — the power rule ddx(xn)=nxn−1\dfrac{d}{dx}(x^n)=nx^{n-1} holds for any real number nn, not just positive integers. Roots and reciprocals must first be rewritten as powers.
Why does a constant term differentiate to zero?
A constant has no xx in it, so it represents a horizontal line — which has zero gradient everywhere. Differentiating it correctly gives zero.
Can I differentiate a product of two brackets directly with the power rule?
Not directly — you must expand the brackets into a single polynomial first. (Later, the product rule handles products WITHOUT expanding, which is essential when expanding isn't practical.)

Key takeaways

  • Power rule: ddx(xn)=nxn−1\dfrac{d}{dx}(x^n)=nx^{n-1}, valid for any real nn.
  • A constant coefficient is carried through unchanged.
  • A polynomial is differentiated term-by-term; constant terms vanish to zero.
  • Rewrite roots and reciprocals as powers of xx before differentiating.

How this fits the course

Test yourself

Answer a few questions, then review anything you missed.

Prefer paper? Open the written self-check

Answer each question before opening its answer. This self-check does not record a quiz score.

  1. Differentiating x7x^7 gives:

    • 7x67x^6
    • x6x^6
    • 7x77x^7
    • x8x^8
    Show answer and explanation

    Answer: 7x67x^6

    Bring down 7, reduce the power by 1.

  2. Differentiating 5x35x^3 gives:

    • 15x215x^2
    • 5x25x^2
    • 15x315x^3
    • 3x23x^2
    Show answer and explanation

    Answer: 15x215x^2

    5×3=155\times3=15, power reduces to 2.

  3. The derivative of the constant term −9-9 is:

    • 00
    • −9-9
    • 99
    • −9x-9x
    Show answer and explanation

    Answer: 00

    Constants have zero gradient.

  4. Rewriting x\sqrt{x} as a power gives:

    • x1/2x^{1/2}
    • x2x^2
    • x−1/2x^{-1/2}
    • 2x2x
    Show answer and explanation

    Answer: x1/2x^{1/2}

    A square root is the power one-half.

  5. Differentiating y=3x4−2x+1y=3x^4-2x+1 gives:

    • 12x3−212x^3-2
    • 12x3−2x12x^3-2x
    • 3x3−23x^3-2
    • 12x3−2x+112x^3-2x+1
    Show answer and explanation

    Answer: 12x3−212x^3-2

    Each term is differentiated separately; the constant vanishes.

  6. Differentiating y=4x−1y=4x^{-1} gives:

    • −4x−2-4x^{-2}
    • 4x−24x^{-2}
    • −4x−1-4x^{-1}
    • 44
    Show answer and explanation

    Answer: −4x−2-4x^{-2}

    4×(−1)x−2=−4x−24\times(-1)x^{-2}=-4x^{-2}.

Finished this lesson?

Loading your progress…

Next step

Keep practising

Start with the quiz above to check the key ideas. You can also choose another topic from the practice library.

Browse practice topics

Related lessons

All 9 lessons

Put the methods into practice: see how A-Level maths duels work. An account is required to play; the overview and sample are public.