Calculating Derivatives from Functions

What a Derivative Actually Is

A derivative measures instantaneous rate of change. That's it. Nothing mystical. If you have a function f(x), the derivative f'(x) tells you how fast f(x) is changing at any specific point.

Think of it like this: position function gives you where something is. Derivative of position gives you how fast it's moving. That's the whole concept.

The Basic Rules You Need

Power Rule

This is the one you'll use most. For any term xⁿ:

d/dx[xⁿ] = nxⁿ⁻¹

Examples:

Constant Multiple Rule

Constants factor out. If c is a number:

d/dx[cf(x)] = c · f'(x)

d/dx[5x³] = 5 · 3x² = 15x²

Sum and Difference Rules

Derivatives split across addition and subtraction:

d/dx[f(x) + g(x)] = f'(x) + g'(x)

d/dx[f(x) - g(x)] = f'(x) - g'(x)

The Three Rules That Trip People Up

Product Rule

When two functions multiply, you can't just multiply the derivatives. Use:

d/dx[f(x)g(x)] = f'(x)g(x) + f(x)g'(x)

Remember: "first times derivative of second, plus second times derivative of first."

Quotient Rule

For division, the formula is uglier:

d/dx[f(x)/g(x)] = [f'(x)g(x) - f(x)g'(x)] / [g(x)]²

Low d-high minus high d-low, over low squared. Yes, it's awkward. Practice it.

Chain Rule

For nested functions, composite functions. If y = f(g(x)):

dy/dx = f'(g(x)) · g'(x)

Take the derivative of the outer function, leave the inner alone, multiply by derivative of inner function.

Derivatives of Common Functions

Function Derivative
xⁿ nxⁿ⁻¹
sin(x) cos(x)
cos(x) -sin(x)
ln(x) 1/x
aˣ · ln(a)
√x 1/(2√x)

Memorize these. They're your toolkit.

How to Calculate Derivatives: Step by Step

Example 1: Find the derivative of f(x) = 3x⁴ + 2x² - 5x + 7

Step 1: Apply the power rule to each term

Step 2: Combine: f'(x) = 12x³ + 4x - 5

Example 2: Find the derivative of f(x) = (2x + 1)(x³ - 4)

Step 1: This requires the product rule

Let u = 2x + 1, v = x³ - 4

u' = 2, v' = 3x²

Step 2: Apply product rule

f'(x) = u'v + uv' = 2(x³ - 4) + (2x + 1)(3x²)

Step 3: Simplify

f'(x) = 2x³ - 8 + 6x³ + 3x² = 8x³ + 3x² - 8

Example 3: Find the derivative of f(x) = sin(3x²)

Step 1: Chain rule. Outer function is sin(u), inner is 3x²

d/dx[sin(u)] = cos(u) · u'

Step 2: Derivative of inner: 6x

f'(x) = cos(3x²) · 6x = 6x · cos(3x²)

Higher-Order Derivatives

The second derivative is just the derivative of the first derivative. Not complicated.

f''(x) = d/dx[f'(x)]

Third derivative: derivative of second. Keep going as needed.

Common Mistakes

When to Use Which Rule

Function Type Rule Needed
Single term with power Power rule only
Sum/difference of terms Sum/difference rule
Two functions multiplied Product rule
One function divided by another Quotient rule
Function inside another function Chain rule

Most functions combine several of these. Break it down piece by piece.

Practice Makes It Click

Derivatives aren't about memorizing formulas. They're about recognizing patterns. See xⁿ → use power rule. See multiplication → product rule. See one function inside another → chain rule.

Start with simple polynomials. Move to trig functions. Add exponentials. Each layer builds recognition for the next.

Do 20 problems. You'll stop thinking about rules and start seeing the structure.