Skip to content

Basic Derivative Rules

In this lesson you’ll learn the first set of shortcut rules for computing derivatives without going back to the limit definition every time. These rules handle polynomials and simple combinations of functions.

The limit definition works, but it’s slow. For every new function you’d have to expand, simplify, and take a limit. The good news: mathematicians already did that work for entire categories of functions and packaged the results into rules.

The derivative of any constant is zero.

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

A constant doesn’t change, so its rate of change is zero. The graph of y = 5 is a flat horizontal line. No slope anywhere.

This is the workhorse. For any real number n:

ddx[xn]=nxn1\frac{d}{dx}[x^n] = n \cdot x^{n-1}

Bring the exponent down as a coefficient, then subtract 1 from the exponent. That’s it.

Some examples: the derivative of x³ is 3x². The derivative of x is 1 (since x = x¹, so 1 times x⁰ = 1). The derivative of x⁷ is 7x⁶.

Constants pass through the derivative:

ddx[cf(x)]=cf(x)\frac{d}{dx}[c \cdot f(x)] = c \cdot f'(x)

So the derivative of 5x³ is 5 times 3x², which is 15x².

Derivatives distribute over addition and subtraction:

ddx[f(x)±g(x)]=f(x)±g(x)\frac{d}{dx}[f(x) \pm g(x)] = f'(x) \pm g'(x)

Differentiate each term separately, then add or subtract the results.

The blue curve is f(x) = x³ and the green curve is its derivative f’(x) = 3x². Notice that where the blue curve is flat (near x = 0), the green curve is at zero. Where the blue curve is steep, the green curve is large. The derivative literally measures the steepness of the original function at each point.

Example 1: Polynomial derivative

Find the derivative of f(x) = 7x⁴ - 3x² + 8.

Apply the rules term by term:

  • 7x⁴: power rule gives 7 times 4x³ = 28x³
  • -3x²: power rule gives -3 times 2x = -6x
  • 8: constant rule gives 0
f(x)=28x36xf'(x) = 28x^3 - 6x

Example 2: Fractional coefficients

Find the derivative of y = (1/2)x⁵ + 6x³ - 2.

y=125x4+63x20=52x4+18x2y' = \frac{1}{2} \cdot 5x^4 + 6 \cdot 3x^2 - 0 = \frac{5}{2}x^4 + 18x^2

Example 3: Finding a tangent slope

Find the slope of the tangent line to f(x) = x³ - 4x + 1 at x = 2.

First, differentiate:

f(x)=3x24f'(x) = 3x^2 - 4

Now plug in x = 2:

f(2)=3(4)4=124=8f'(2) = 3(4) - 4 = 12 - 4 = 8

The tangent line at x = 2 has slope 8. That means the function is increasing at a rate of 8 units of y per unit of x at that point.

These rules let you find rates of change instantly for any polynomial:

  • Physics: if position is s(t) = 4t³ - 2t² + t, velocity is v(t) = 12t² - 4t + 1 and acceleration is a(t) = 24t - 4. No limits needed.
  • Economics: if total cost is C(x) = 0.01x³ - 0.5x² + 20x + 500, marginal cost is C’(x) = 0.03x² - x + 20.
  • Biology: if a population model is P(t) = 100t² + 50t, the growth rate is P’(t) = 200t + 50.

The power rule alone handles every polynomial you’ll ever see. Combined with the other rules, it covers a huge range of practical problems.

The derivative of a constant (like 7) is:
Using the power rule, the derivative of x⁵ is:
The derivative of 4x³ - 2x + 9 is:
The sum rule says the derivative of f(x) + g(x) is:
If f(x) = 6x⁴, then f'(x) =