Skip to content
Family Table Math

The Power Rule and Basic Derivative Rules

Finding derivatives with the limit definition works, but it’s slow. Luckily, patterns appear quickly, and they become rules that let you differentiate in one line. The power rule, together with the rules for constants, sums, and constant multiples, lets you differentiate every polynomial, plus anything with roots or powers of xx in the denominator.

The graph of y=cy = c is a horizontal line, so its slope is always 00:

ddx[c]=0\frac{d}{dx}[c] = 0

For any real number nn:

ddx[xn]=nxn−1\frac{d}{dx}\big[x^n\big] = nx^{n - 1}

Bring the exponent down in front, then subtract 11 from the exponent. For example, ddx[x5]=5x4\dfrac{d}{dx}\big[x^5\big] = 5x^4 and ddx[x]=1\dfrac{d}{dx}[x] = 1.

Why it works: the definition gives ddx[x2]=2x\dfrac{d}{dx}\big[x^2\big] = 2x and ddx[x3]=3x2\dfrac{d}{dx}\big[x^3\big] = 3x^2. In (x+h)n=xn+nxn−1h+(terms with h2 or higher)(x + h)^n = x^n + nx^{n-1}h + (\text{terms with } h^2 \text{ or higher}), only the nxn−1hnx^{n-1}h term survives after dividing by hh and letting h→0h \to 0. That argument works for positive whole numbers nn; the rule is true for every real nn, but proving it needs tools from later topics.

Rewrite roots and fractions as powers first

Section titled “Rewrite roots and fractions as powers first”

The power rule works for negative and fractional exponents too, but only once the function is written as a power of xx:

OriginalRewrittenDerivative
x\sqrt{x}x1/2x^{1/2}12x−1/2=12x\tfrac{1}{2}x^{-1/2} = \dfrac{1}{2\sqrt{x}}
1x\dfrac{1}{x}x−1x^{-1}−x−2=−1x2-x^{-2} = -\dfrac{1}{x^2}
1x3\dfrac{1}{x^3}x−3x^{-3}−3x−4=−3x4-3x^{-4} = -\dfrac{3}{x^4}
x23\sqrt[3]{x^2}x2/3x^{2/3}23x−1/3=23x3\tfrac{2}{3}x^{-1/3} = \dfrac{2}{3\sqrt[3]{x}}

Constant multiple, sum, and difference rules

Section titled “Constant multiple, sum, and difference rules”

Constants come along for the ride, and you can differentiate term by term:

ddx[c f(x)]=c f′(x)ddx[f(x)±g(x)]=f′(x)±g′(x)\frac{d}{dx}\big[c\,f(x)\big] = c\,f'(x) \qquad \frac{d}{dx}\big[f(x) \pm g(x)\big] = f'(x) \pm g'(x)

There is no such rule for products or quotients. The derivative of a product is not the product of the derivatives. For those, either expand or divide first, or use the product rule and quotient rule.

The derivative is a function in its own right. Where ff is rising, f′f' is positive; where ff is falling, f′f' is negative; and where ff has a horizontal tangent, f′f' is 00.

Top: the graph of f(x) = x cubed minus 3x with horizontal tangent lines at (-1, 2) and (1, -2). Bottom: its derivative f'(x) = 3x squared minus 3, which equals 0 at x = -1 and x = 1, is positive where f is rising, and is negative where f is falling. −2 −1 1 2 −2 −1 1 2 f(x) = x³ - 3x −2 −1 1 2 −2 2 f′(x) = 3x² - 3
f(x)=x3−3xf(x) = x^3 - 3x (top) and its derivative f′(x)=3x2−3f'(x) = 3x^2 - 3 (bottom). The horizontal tangents of ff line up with the zeros of f′f'.

Differentiate y=4x5−3x2+7x−9y = 4x^5 - 3x^2 + 7x - 9.

Solution. Go term by term:

dydx=4(5x4)−3(2x)+7(1)−0=20x4−6x+7\frac{dy}{dx} = 4(5x^4) - 3(2x) + 7(1) - 0 = 20x^4 - 6x + 7

Find f′(x)f'(x) for f(x)=6x−2x3+5xf(x) = 6\sqrt{x} - \dfrac{2}{x^3} + \dfrac{5}{x}.

Solution. Rewrite every term as a power of xx:

f(x)=6x1/2−2x−3+5x−1f(x) = 6x^{1/2} - 2x^{-3} + 5x^{-1}

Now use the power rule. Watch the negative exponents: −3−1=−4-3 - 1 = -4 and −1−1=−2-1 - 1 = -2.

f′(x)=6⋅12x−1/2−2(−3)x−4+5(−1)x−2=3x−1/2+6x−4−5x−2=3x+6x4−5x2\begin{aligned} f'(x) &= 6 \cdot \tfrac{1}{2}x^{-1/2} - 2(-3)x^{-4} + 5(-1)x^{-2} \\ &= 3x^{-1/2} + 6x^{-4} - 5x^{-2} \\ &= \frac{3}{\sqrt{x}} + \frac{6}{x^4} - \frac{5}{x^2} \end{aligned}

Find g′(x)g'(x) for g(x)=2x2−5x+3xg(x) = \dfrac{2x^2 - 5x + 3}{x}.

Solution. The denominator is a single term, so split the fraction:

g(x)=2x2x−5xx+3x=2x−5+3x−1g(x) = \frac{2x^2}{x} - \frac{5x}{x} + \frac{3}{x} = 2x - 5 + 3x^{-1} g′(x)=2−3x−2=2−3x2g'(x) = 2 - 3x^{-2} = 2 - \frac{3}{x^2}

Example 4: Horizontal tangents and a tangent line

Section titled “Example 4: Horizontal tangents and a tangent line”

Let f(x)=x3−3xf(x) = x^3 - 3x (the function in the figure).

  • (a) Find the points where the tangent line is horizontal.
  • (b) Find the tangent line at x=2x = 2.

Solution. f′(x)=3x2−3f'(x) = 3x^2 - 3.

(a) Horizontal means slope 00:

3x2−3=0⇒x2=1⇒x=±13x^2 - 3 = 0 \quad\Rightarrow\quad x^2 = 1 \quad\Rightarrow\quad x = \pm 1

f(1)=1−3=−2f(1) = 1 - 3 = -2 and f(−1)=−1+3=2f(-1) = -1 + 3 = 2. The points are (1,−2)(1, -2) and (−1,2)(-1, 2).

(b) f(2)=8−6=2f(2) = 8 - 6 = 2 and f′(2)=12−3=9f'(2) = 12 - 3 = 9:

y−2=9(x−2)ory=9x−16y - 2 = 9(x - 2) \quad\text{or}\quad y = 9x - 16

Thinking the derivative of a constant is the constant. ddx[7]=0\dfrac{d}{dx}[7] = 0, and so is ddx[π2]\dfrac{d}{dx}\big[\pi^2\big] or ddx[e3]\dfrac{d}{dx}\big[e^3\big]. A constant doesn’t change.

Getting negative exponents wrong. Subtracting 11 makes a negative exponent more negative: ddx[x−3]=−3x−4\dfrac{d}{dx}\big[x^{-3}\big] = -3x^{-4}, not −3x−2-3x^{-2}.

Using the power rule before rewriting. 1x3\dfrac{1}{x^3} is not x3x^3 with something on top. Rewrite it as x−3x^{-3} first. Similarly, 52x4=52x−4\dfrac{5}{2x^4} = \tfrac{5}{2}x^{-4} (the 22 stays in the denominator as a constant).

Differentiating a product factor by factor. ddx[(x2+3)(2x−1)]\dfrac{d}{dx}\big[(x^2 + 3)(2x - 1)\big] is not (2x)(2)(2x)(2). Expand first, or use the product rule.

Using the power rule on an exponential. The power rule is for xnx^n (variable base, constant exponent). It does not apply to 2x2^x or exe^x, which have a variable exponent. See derivatives of trig, exponential and log functions.

1. (Warm-up) Differentiate each.

  • (a) x7x^7
  • (b) 1010
  • (c) x−2x^{-2}
Solution

(a) 7x67x^6

(b) 00

(c) −2x−3=−2x3-2x^{-3} = -\dfrac{2}{x^3}

2. (Warm-up) Find dydx\dfrac{dy}{dx} for y=3x4−2x+8y = 3x^4 - 2x + 8.

Solutiondydx=12x3−2\frac{dy}{dx} = 12x^3 - 2

3. (Warm-up) Find f′(x)f'(x) for f(x)=x3f(x) = \sqrt[3]{x}.

Solution

f(x)=x1/3f(x) = x^{1/3}, so

f′(x)=13x−2/3=13x23f'(x) = \frac{1}{3}x^{-2/3} = \frac{1}{3\sqrt[3]{x^2}}

4. (Core) Find f′(x)f'(x) for f(x)=4x2+xxf(x) = \dfrac{4}{x^2} + x\sqrt{x}.

Solution

Rewrite: f(x)=4x−2+x3/2f(x) = 4x^{-2} + x^{3/2} (since x⋅x1/2=x3/2x \cdot x^{1/2} = x^{3/2}).

f′(x)=−8x−3+32x1/2=−8x3+32xf'(x) = -8x^{-3} + \frac{3}{2}x^{1/2} = -\frac{8}{x^3} + \frac{3}{2}\sqrt{x}

5. (Core) Find g′(t)g'(t) for g(t)=t3−2t+5t2g(t) = \dfrac{t^3 - 2t + 5}{t^2}.

Solution

Divide each term by t2t^2: g(t)=t−2t−1+5t−2g(t) = t - 2t^{-1} + 5t^{-2}.

g′(t)=1+2t−2−10t−3=1+2t2−10t3g'(t) = 1 + 2t^{-2} - 10t^{-3} = 1 + \frac{2}{t^2} - \frac{10}{t^3}

6. (Core) Find the equation of the tangent line to y=2x+1xy = 2\sqrt{x} + \dfrac{1}{x} at x=4x = 4.

Solution

Point: y(4)=2(2)+14=174y(4) = 2(2) + \dfrac{1}{4} = \dfrac{17}{4}.

Slope: y=2x1/2+x−1y = 2x^{1/2} + x^{-1}, so y′=x−1/2−x−2y' = x^{-1/2} - x^{-2}. At x=4x = 4: y′=12−116=716y' = \dfrac{1}{2} - \dfrac{1}{16} = \dfrac{7}{16}.

y−174=716(x−4)ory=716x+52y - \frac{17}{4} = \frac{7}{16}(x - 4) \quad\text{or}\quad y = \frac{7}{16}x + \frac{5}{2}

7. (Core) Find all points on the graph of f(x)=x3−6x2+9x+1f(x) = x^3 - 6x^2 + 9x + 1 where the tangent line is horizontal.

Solutionf′(x)=3x2−12x+9=3(x2−4x+3)=3(x−1)(x−3)f'(x) = 3x^2 - 12x + 9 = 3(x^2 - 4x + 3) = 3(x - 1)(x - 3)

f′(x)=0f'(x) = 0 at x=1x = 1 and x=3x = 3. Then f(1)=1−6+9+1=5f(1) = 1 - 6 + 9 + 1 = 5 and f(3)=27−54+27+1=1f(3) = 27 - 54 + 27 + 1 = 1.

The points are (1,5)(1, 5) and (3,1)(3, 1).

8. (Challenge) Find aa and bb so that the line y=5x−3y = 5x - 3 is tangent to the graph of f(x)=ax2+bf(x) = ax^2 + b at x=1x = 1.

Solution

Tangent at x=1x = 1 means the slopes match and the graphs share the point.

Slope: f′(x)=2axf'(x) = 2ax, so f′(1)=2a=5f'(1) = 2a = 5, giving a=52a = \dfrac{5}{2}.

Point: the line passes through (1,5−3)=(1,2)(1, 5 - 3) = (1, 2), so f(1)=a+b=2f(1) = a + b = 2, giving b=2−52=−12b = 2 - \dfrac{5}{2} = -\dfrac{1}{2}.

9. (Challenge) Show that every tangent line to y=1xy = \dfrac{1}{x} (for x>0x \gt 0) forms a triangle with the coordinate axes that has area 22.

Solution

Take the point (a,1a)\left(a, \dfrac{1}{a}\right) with a>0a \gt 0. Since y′=−x−2y' = -x^{-2}, the slope there is −1a2-\dfrac{1}{a^2}:

y−1a=−1a2(x−a)⇒y=−xa2+2ay - \frac{1}{a} = -\frac{1}{a^2}(x - a) \quad\Rightarrow\quad y = -\frac{x}{a^2} + \frac{2}{a}

The yy-intercept is 2a\dfrac{2}{a}. Setting y=0y = 0 gives x=2ax = 2a, the xx-intercept. The triangle’s area is

12(2a)(2a)=2\frac{1}{2}(2a)\left(\frac{2}{a}\right) = 2

The aa cancels, so the area is 22 for every tangent line.