Calculus

Derivatives for Beginners: Power, Product and Chain Rules

By Math Solving Space · · 2 min read

On this page
  1. What a derivative means
  2. Rule 1: The power rule
  3. Rule 2: The product rule
  4. Rule 3: The quotient rule
  5. Rule 4: The chain rule
  6. Standard derivatives to learn
  7. Common mistakes
  8. Practice questions
  9. Frequently asked questions

A derivative tells you the slope of a function's graph at every point: how fast the output changes as the input changes. You find it with a handful of rules. The power rule handles xnx^n, the product and quotient rules handle multiplication and division, and the chain rule handles one function inside another.

What a derivative means

The slope of a straight line is rise over run. A curve has a different slope at every point, and the derivative f′(x)f'(x) gives that slope. If f(x)f(x) is a position, f′(x)f'(x) is a speed.

Rule 1: The power rule

ddxxn=nxn−1\frac{d}{dx}x^n = nx^{n-1}

Bring the power down in front, then reduce the power by one. Constants differentiate to 00, and constant multiples stay in front.

Example: f(x)=x3−4x+1f(x) = x^3 - 4x + 1

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

At x=2x = 2 the slope is 3(4)−4=83(4) - 4 = 8. The tangent line there rises 8 units for every 1 unit across.

Rule 2: The product rule

When two functions are multiplied:

(uv)′=u′v+uv′(uv)' = u'v + uv'

Example: f(x)=x2sin⁡xf(x) = x^2 \sin x, with u=x2u = x^2 and v=sin⁡xv = \sin x:

f′(x)=2xsin⁡x+x2cos⁡xf'(x) = 2x\sin x + x^2\cos x

Rule 3: The quotient rule

(uv)′=u′v−uv′v2\left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2}

Rule 4: The chain rule

For a function inside another function:

ddxf(g(x))=f′(g(x))⋅g′(x)\frac{d}{dx}f(g(x)) = f'(g(x))\cdot g'(x)

Differentiate the outside, keep the inside the same, then multiply by the derivative of the inside.

Example: sin⁡(2x)\sin(2x). The outside is sin⁡\sin, the inside is 2x2x:

ddxsin⁡(2x)=cos⁡(2x)⋅2=2cos⁡(2x)\frac{d}{dx}\sin(2x) = \cos(2x)\cdot 2 = 2\cos(2x)

Standard derivatives to learn

f(x)f(x) f′(x)f'(x)
xnx^n nxn−1nx^{n-1}
sin⁡x\sin x cos⁡x\cos x
cos⁡x\cos x −sin⁡x-\sin x
exe^x exe^x
ln⁡x\ln x 1x\frac{1}{x}

Common mistakes

  • Forgetting the chain rule. ddx(3x+1)5\frac{d}{dx}(3x+1)^5 is 15(3x+1)415(3x+1)^4, not 5(3x+1)45(3x+1)^4.
  • Treating a product as two separate derivatives. (x2sin⁡x)′≠2xcos⁡x(x^2\sin x)' \ne 2x\cos x.
  • Sign of cos⁡\cos. The derivative of cos⁡x\cos x is −sin⁡x-\sin x.

Practice questions

  1. Differentiate 5x4−2x2+75x^4 - 2x^2 + 7.
  2. Differentiate xexx e^x.
  3. Differentiate (x2+1)3(x^2 + 1)^3.

Answers: 1) 20x3−4x20x^3 - 4x 2) ex+xexe^x + xe^x 3) 6x(x2+1)26x(x^2 + 1)^2

Type any function into the derivative calculator to see every rule it uses, along with the tangent line. You can compare ff and f′f' in the graphing calculator. Next, see how integration reverses differentiation.

Frequently asked questions

What is the derivative of a constant?

Zero. A constant function is a flat line, and a flat line has slope 0.

What does f′(x) = 0 mean?

The graph is flat at that point, so it may be a maximum, a minimum or a point of inflection.

Do I need limits to find derivatives?

Derivatives are defined using limits, but in practice you use the rules, which were derived from that definition.

Open the calculator →

#calculus#derivatives