🎯⭐ INTERACTIVE LESSON

Basic Differentiation Rules

Learn step-by-step with interactive practice!

Loading lesson...

Basic Differentiation Rules - Complete Interactive Lesson

Part 1: Power Rule

📐 Basic Differentiation Rules

Part 1 of 7 — The Power Rule

The Power Rule

The most fundamental differentiation rule:

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

This works for any real exponent nn — positive, negative, fractional, or zero.

Examples with Positive Integer Exponents

FunctionDerivative
x5x^55x45x^4
x100x^{100}100x99100x^{99}
x1=xx^1 = x11

Constant Multiple Rule

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

Constants just "come along for the ride."

FunctionDerivative
7x37x^321x221x^2
4x5-4x^520x4-20x^4
12x8\frac{1}{2}x^84x74x^7

Sum/Difference Rule

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

Differentiate term by term.

Worked Example

Find ddx(3x45x2+7x2)\frac{d}{dx}(3x^4 - 5x^2 + 7x - 2)

=12x310x+7= 12x^3 - 10x + 7

Each term differentiated independently: 3(4x3)5(2x)+7(1)03(4x^3) - 5(2x) + 7(1) - 0.

Differentiate using the Power Rule 🎯

Negative and Fractional Exponents

Rewrite first, then apply the Power Rule:

OriginalRewriteDerivative
1x3\frac{1}{x^3}x3x^{-3}3x4=3x4-3x^{-4} = -\frac{3}{x^4}
5x2\frac{5}{x^2}5x25x^{-2}10x3=10x3-10x^{-3} = -\frac{10}{x^3}
x\sqrt{x}x1/2x^{1/2}12x1/2=12x\frac{1}{2}x^{-1/2} = \frac{1}{2\sqrt{x}}
x23\sqrt[3]{x^2}x2/3x^{2/3}23x1/3=23x3\frac{2}{3}x^{-1/3} = \frac{2}{3\sqrt[3]{x}}

Worked Example

Find ddx(3x2+4x)\frac{d}{dx}\left(\frac{3}{x^2} + 4\sqrt{x}\right)

=ddx(3x2+4x1/2)=6x3+2x1/2=6x3+2x= \frac{d}{dx}(3x^{-2} + 4x^{1/2}) = -6x^{-3} + 2x^{-1/2} = -\frac{6}{x^3} + \frac{2}{\sqrt{x}}

Negative & Fractional Exponents 🎯

Key Takeaways — Part 1

  1. Power Rule: ddxxn=nxn1\frac{d}{dx}x^n = nx^{n-1} for any real nn
  2. Constants vanish: ddx[c]=0\frac{d}{dx}[c] = 0
  3. Constant multiples pass through: ddx[cf(x)]=cf(x)\frac{d}{dx}[cf(x)] = cf'(x)
  4. Sum/Difference: differentiate term by term
  5. Always rewrite roots and fractions as power expressions first

Part 2: Product Rule

📐 The Product Rule

Part 2 of 7 — Product Rule

Why Can't We Just Multiply the Derivatives?

A common mistake: ddx[f(x)g(x)]f(x)g(x)\frac{d}{dx}[f(x) \cdot g(x)] \neq f'(x) \cdot g'(x)

Quick proof it fails: ddx[xx]=ddx[x2]=2x\frac{d}{dx}[x \cdot x] = \frac{d}{dx}[x^2] = 2x, but 11=12x1 \cdot 1 = 1 \neq 2x.

The Product Rule

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

Memory aid: "first times derivative of second, plus second times derivative of first" — or simply "fg+fgf'g + fg'".

Worked Example 1

Find ddx[x2sinx]\frac{d}{dx}[x^2 \sin x]

PartValue
f=x2f = x^2, f=2xf' = 2xg=sinxg = \sin x, g=cosxg' = \cos x
Product Rule2xsinx+x2cosx2x \sin x + x^2 \cos x

Worked Example 2

Find ddx[exlnx]\frac{d}{dx}[e^x \ln x]

=exlnx+ex1x=ex(lnx+1x)= e^x \cdot \ln x + e^x \cdot \frac{1}{x} = e^x\left(\ln x + \frac{1}{x}\right)

Apply the Product Rule 🎯

When to Use Product Rule vs. Expand

Sometimes it is easier to expand first:

  • (2x+1)(x23)(2x+1)(x^2-3) → expand to 2x3+x26x32x^3 + x^2 - 6x - 3, then differentiate term by term

But when expansion is impractical (e.g., x5exx^5 e^x or sinxlnx\sin x \ln x), the Product Rule is essential.

Worked Example 3

Find ddx[xex]\frac{d}{dx}[x e^x] and evaluate at x=0x = 0

ddx[xex]=ex+xex=ex(1+x)\frac{d}{dx}[xe^x] = e^x + xe^x = e^x(1+x)

At x=0x = 0: e0(1+0)=1e^0(1+0) = 1.

AP Tip: The Product Rule is frequently tested. Know it cold.

Product Rule Challenge 🎯

Key Takeaways — Part 2

  1. Product Rule: (fg)=fg+fg(fg)' = f'g + fg'
  2. Do NOT multiply derivatives: (fg)fg(fg)' \neq f'g'
  3. Consider expanding if both factors are polynomials
  4. Factor common terms in your answer when possible

Part 3: Quotient Rule

📐 The Quotient Rule

Part 3 of 7 — Quotient Rule

The Quotient Rule

ddx[f(x)g(x)]=f(x)g(x)f(x)g(x)[g(x)]2\frac{d}{dx}\left[\frac{f(x)}{g(x)}\right] = \frac{f'(x)g(x) - f(x)g'(x)}{[g(x)]^2}

Memory aid: "Low d-High minus High d-Low, over Low squared" — gffgg2\frac{gf' - fg'}{g^2}... actually the standard is fgfgg2\frac{f'g - fg'}{g^2}.

Worked Example 1

Find ddxx2sinx\frac{d}{dx}\frac{x^2}{\sin x}

PartValue
f=x2f = x^2, f=2xf' = 2xg=sinxg = \sin x, g=cosxg' = \cos x
Quotient Rule2xsinxx2cosxsin2x\frac{2x\sin x - x^2\cos x}{\sin^2 x}

Worked Example 2

Find ddxexx+1\frac{d}{dx}\frac{e^x}{x+1}

=ex(x+1)ex(1)(x+1)2=exx(x+1)2=xex(x+1)2= \frac{e^x(x+1) - e^x(1)}{(x+1)^2} = \frac{e^x \cdot x}{(x+1)^2} = \frac{xe^x}{(x+1)^2}

Pro tip: Sometimes you can avoid the Quotient Rule by rewriting: 1x3=x3\frac{1}{x^3} = x^{-3}, then use the Power Rule.

Apply the Quotient Rule 🎯

Deriving Trig Derivatives via Quotient Rule

The Quotient Rule lets us derive the derivatives of tanx\tan x, cotx\cot x, secx\sec x, and cscx\csc x:

ddxtanx=ddxsinxcosx=cosxcosxsinx(sinx)cos2x=cos2x+sin2xcos2x=1cos2x=sec2x\frac{d}{dx}\tan x = \frac{d}{dx}\frac{\sin x}{\cos x} = \frac{\cos x \cdot \cos x - \sin x(-\sin x)}{\cos^2 x} = \frac{\cos^2 x + \sin^2 x}{\cos^2 x} = \frac{1}{\cos^2 x} = \sec^2 x

When to Avoid the Quotient Rule

If the denominator is just a constant, do NOT use the Quotient Rule: ddxx3+2x5=15(3x2+2)\frac{d}{dx}\frac{x^3 + 2x}{5} = \frac{1}{5}(3x^2 + 2)

If you can rewrite as a negative exponent, that is often simpler: 3x4=3x4    ddx=12x5\frac{3}{x^4} = 3x^{-4} \implies \frac{d}{dx} = -12x^{-5}

Quotient Rule Mastery 🎯

Key Takeaways — Part 3

  1. Quotient Rule: (fg)=fgfgg2\left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g^2}
  2. The minus sign in the numerator is the most common source of errors
  3. Avoid the Quotient Rule when the denominator is a constant or a simple power of xx
  4. The Quotient Rule derives all reciprocal trig derivatives

Part 4: Trig Derivatives

📐 Trigonometric Derivatives

Part 4 of 7 — Trig Derivatives

The Six Trig Derivatives

FunctionDerivative
sinx\sin xcosx\cos x
cosx\cos xsinx-\sin x
tanx\tan xsec2x\sec^2 x
cotx\cot xcsc2x-\csc^2 x
secx\sec xsecxtanx\sec x \tan x
cscx\csc xcscxcotx-\csc x \cot x

Pattern Recognition

Notice the negative signs always appear with co-functions (cos, cot, csc).

Worked Examples

ProblemSolution
ddx(3sinx+2cosx)\frac{d}{dx}(3\sin x + 2\cos x)3cosx2sinx3\cos x - 2\sin x
ddx(x2+tanx)\frac{d}{dx}(x^2 + \tan x)2x+sec2x2x + \sec^2 x
ddx(5secx)\frac{d}{dx}(5\sec x)5secxtanx5\sec x \tan x

Trig Derivatives 🎯

Special Values to Know

At x=0x = 0:

  • sin(0)=0\sin(0) = 0, cos(0)=1\cos(0) = 1
  • ddxsinxx=0=cos(0)=1\frac{d}{dx}\sin x \big|_{x=0} = \cos(0) = 1
  • ddxcosxx=0=sin(0)=0\frac{d}{dx}\cos x \big|_{x=0} = -\sin(0) = 0

Combining Rules

Find ddx(exsinx)\frac{d}{dx}(e^x \sin x)

Product Rule: exsinx+excosx=ex(sinx+cosx)e^x \sin x + e^x \cos x = e^x(\sin x + \cos x)

Find ddx(sin2x)\frac{d}{dx}(\sin^2 x)

Chain Rule: 2sinxcosx=sin(2x)2\sin x \cdot \cos x = \sin(2x)

Mixed Trig Problems 🎯

Key Takeaways — Part 4

  1. Memorize all six trig derivatives
  2. Negatives go with co-functions: cos, cot, csc
  3. When trig functions are combined with other functions, use Product/Quotient/Chain rules as needed
  4. Know your trig values at key angles: 0,π6,π4,π3,π20, \frac{\pi}{6}, \frac{\pi}{4}, \frac{\pi}{3}, \frac{\pi}{2}

Part 5: Higher-Order Derivatives

📐 Higher-Order Derivatives

Part 5 of 7 — Higher-Order Derivatives

What Are Higher-Order Derivatives?

The second derivative is the derivative of the derivative:

f(x)=d2ydx2=ddx[dydx]f''(x) = \frac{d^2y}{dx^2} = \frac{d}{dx}\left[\frac{dy}{dx}\right]

Similarly for the third derivative and beyond.

Physical Interpretation

DerivativeMeaning
f(t)f(t)Position
f(t)f'(t)Velocity (rate of change of position)
f(t)f''(t)Acceleration (rate of change of velocity)
f(3)(t)f^{(3)}(t)Jerk (rate of change of acceleration)

Worked Example 1

Find f(x)f''(x) for f(x)=x53x3+2xf(x) = x^5 - 3x^3 + 2x

StepResult
f(x)f'(x)5x49x2+25x^4 - 9x^2 + 2
f(x)f''(x)20x318x20x^3 - 18x

Worked Example 2

Find d2ydx2\frac{d^2y}{dx^2} for y=e2xy = e^{2x}

StepResult
yy'2e2x2e^{2x}
yy''4e2x4e^{2x}

Pattern: dndxne2x=2ne2x\frac{d^n}{dx^n}e^{2x} = 2^n e^{2x}

Find Higher-Order Derivatives 🎯

Concavity and the Second Derivative

The second derivative tells us about concavity:

  • f(x)>0f''(x) > 0: graph is concave up (holds water, like a cup)
  • f(x)<0f''(x) < 0: graph is concave down (spills water, like a hill)
  • f(x)=0f^{\prime\prime}(x) = 0: possible inflection point (concavity may change)

Worked Example 3

Find where f(x)=x33xf(x) = x^3 - 3x is concave up.

f(x)=6xf''(x) = 6x. Concave up when 6x>06x > 0, i.e., x>0x > 0.

AP Tip: The relationship between ff, ff', and ff'' is tested extensively. Know what each tells you about the graph.

Second Derivative Applications 🎯

Key Takeaways — Part 5

  1. Second derivative = derivative of the derivative
  2. Physical meaning: position → velocity → acceleration
  3. Concavity: f>0f'' > 0 = concave up, f<0f'' < 0 = concave down
  4. Inflection points occur where ff'' changes sign
  5. Second Derivative Test: at critical points, f>0f'' > 0 = local min, f<0f'' < 0 = local max

Part 6: Problem-Solving Workshop

📐 Problem-Solving Workshop

Part 6 of 7 — Mixed Differentiation Problems

Choosing the Right Rule

SituationRule to Use
Single term: xnx^nPower Rule
Product: fgf \cdot gProduct Rule
Quotient: f/gf / gQuotient Rule (or rewrite)
Composite: f(g(x))f(g(x))Chain Rule
Multiple rulesCombine as needed

Identify and Apply 🎯

AP-Style Free Response Setup 🎯

Workshop Complete!

You can now:

  • Choose the right differentiation rule for any situation
  • Combine multiple rules in a single problem
  • Apply derivatives to motion problems

Part 7: Review & Applications

📐 Review & Applications

Part 7 of 7 — Comprehensive Review

Complete Derivative Reference

RuleFormula
Powerddxxn=nxn1\frac{d}{dx}x^n = nx^{n-1}
Constant Multipleddx[cf]=cf\frac{d}{dx}[cf] = cf'
Sum/Differenceddx[f±g]=f±g\frac{d}{dx}[f \pm g] = f' \pm g'
Product(fg)=fg+fg(fg)' = f'g + fg'
Quotient(fg)=fgfgg2\left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g^2}
Chainddx[f(g(x))]=f(g(x))g(x)\frac{d}{dx}[f(g(x))] = f'(g(x))g'(x)

Special Derivatives

FunctionDerivative
exe^xexe^x
lnx\ln x1x\frac{1}{x}
axa^xaxlnaa^x \ln a
logax\log_a x1xlna\frac{1}{x \ln a}

Comprehensive Assessment 🎯

Final Problems 🎯

Basic Differentiation Rules — Complete! ✅

You have mastered:

  • ✅ Power Rule (including negative/fractional exponents)
  • ✅ Product Rule
  • ✅ Quotient Rule
  • ✅ All six trig derivatives
  • ✅ Higher-order derivatives and their applications
  • ✅ Combining multiple rules

Ready to move on to the Chain Rule!