Skip to content
M
hscscience Ext 1 · Y12
0/100daily goal
0
0
0 due
0
L1 · 0 XP
KJ
Your weak spots
Insights load after your first practice round.
Module 5 · L17 of 20 ~40 min ⚡ +95 XP available

Induction for Derivative Patterns

You know how to differentiate $xe^x$ once. But what does the 50th derivative look like? Induction can prove a general formula for the $n$th derivative of many functions — bridging calculus and proof with a single powerful technique.

Today's hook — Without a formula, try to find the 3rd derivative of $xe^x$ by hand. Notice the pattern in the coefficients. Before reading on, make a prediction: what do you think the $n$th derivative will look like?
0/5QUESTS
01
Recall — your gut answer first
+5 XP warm-up

Differentiate $xe^x$ once, then again. Without using any formula — what pattern do you notice in the result? Write your prediction for the $n$th derivative below.

auto-saved
02
Induction meets calculus
+5 XP to read

Mathematical induction is not limited to algebra and number theory. It is also a powerful tool in calculus for proving patterns in repeated differentiation.

The approach mirrors standard induction, but the inductive step involves differentiating rather than adding:

  1. Prove the formula holds for the first derivative (base case, $n=1$).
  2. Assume the formula holds for the $k$th derivative (inductive hypothesis).
  3. Differentiate once more to prove it holds for the $(k+1)$th derivative (inductive step).
Base case: verify for n = 1 Hypothesis: assume holds for k Step: differentiate to prove k+1
$\dfrac{d^n}{dx^n}f(x)$
$n$ is the induction variable
$n$ counts how many times you differentiate. $x$ remains the independent variable of the function — do not confuse them.
Factorial patterns arise
Repeated differentiation of power functions produces factorial coefficients — $n!$ appears naturally in results like $\frac{d^n}{dx^n}(x^n) = n!$.
Signs can alternate
Derivatives of $1/x$ produce $(-1)^n$ factors. Track the sign pattern carefully — it is part of the formula you are proving.
03
What you'll master
Know

Key facts

  • $\dfrac{d^n}{dx^n}(xe^x) = (x+n)e^x$
  • $\dfrac{d^n}{dx^n}\!\left(\tfrac{1}{x}\right) = \dfrac{(-1)^n n!}{x^{n+1}}$
  • $\dfrac{d^n}{dx^n}(x^n) = n!$
Understand

Concepts

  • Why the inductive step involves differentiating the assumed $k$th derivative
  • How factorial coefficients arise from repeated power-rule differentiation
  • How to handle alternating signs via $(-1)^{k+1} = (-1)^k \cdot (-1)$
Can do

Skills

  • Write a complete induction proof for an $n$th derivative formula
  • Correctly apply the product rule and power rule in the inductive step
  • Identify and prove new derivative patterns given a conjecture
04
Key terms
$n$th derivativeThe result of differentiating a function $n$ times, denoted $\dfrac{d^n}{dx^n}f(x)$ or $f^{(n)}(x)$.
Inductive differentiationDifferentiating the assumed $k$th derivative formula to obtain the $(k+1)$th derivative in the inductive step.
Factorial growth$n! = n(n-1)(n-2)\cdots 2 \cdot 1$. Arises naturally when differentiating power functions repeatedly.
Alternating sign$(-1)^n$ — the sign alternates with each differentiation. Used when differentiating functions like $x^{-1}$.
Product rule$\dfrac{d}{dx}(uv) = u\,\dfrac{dv}{dx} + v\,\dfrac{du}{dx}$. Essential when differentiating products like $xe^x$.
Power rule (general)$\dfrac{d}{dx}(x^r) = rx^{r-1}$. When $r = -(k+1)$, the factor $-(k+1)$ appears in the numerator.
05
Proof: $n$th derivative of $xe^x$
core example

Statement: Prove by induction that $\dfrac{d^n}{dx^n}(xe^x) = (x + n)e^x$ for all positive integers $n$.

Step 1 — Base Case ($n = 1$):

$$\frac{d}{dx}(xe^x) = e^x + xe^x = (x + 1)e^x$$

This matches the formula with $n = 1$. True for $n = 1$. ✓

Step 2 — Inductive Hypothesis:

Assume $\dfrac{d^k}{dx^k}(xe^x) = (x + k)e^x$ for some positive integer $k$.

Step 3 — Inductive Step ($n = k + 1$):

$$\frac{d^{k+1}}{dx^{k+1}}(xe^x) = \frac{d}{dx}\!\left[(x + k)e^x\right]$$

$$= e^x + (x + k)e^x = (x + k + 1)e^x$$

This is the formula with $n = k + 1$. True for $n = k + 1$.

By the principle of mathematical induction, $\dfrac{d^n}{dx^n}(xe^x) = (x + n)e^x$ for all positive integers $n$. ∎

Statement: Prove by induction that $\dfrac{d^n}{dx^n}(xe^x) = (x + n)e^x$ for all positive integers $n$.

Pause — copy the formula $\frac{d^n}{dx^n}(xe^x)=(x+n)e^x$ and the one-line inductive step (product rule on $(x+k)e^x$) into your book.

Quick check: Using the formula $\dfrac{d^n}{dx^n}(xe^x) = (x+n)e^x$, what is the second derivative of $xe^x$?

06
Proof: $n$th derivative of $\tfrac{1}{x}$
core example

We just saw that differentiating $(x+k)e^x$ by the product rule gives $(k+1)e^x+xe^x=(x+(k+1))e^x$, matching the $n=k+1$ formula for $\frac{d^n}{dx^n}(xe^x)$. That raises a question: does differentiating $\frac{(-1)^k k!}{x^{k+1}}$ produce $(-1)^{k+1}$ and $(k+1)!$ naturally for the $1/x$ formula? This card answers it → yes: the chain rule introduces $-(k+1)$ in the numerator, giving $\frac{(-1)^{k+1}(k+1)!}{x^{k+2}}$.

Statement: Prove by induction that $\dfrac{d^n}{dx^n}\!\left(\dfrac{1}{x}\right) = \dfrac{(-1)^n\, n!}{x^{n+1}}$ for all positive integers $n$.

Step 1 — Base Case ($n = 1$):

$$\frac{d}{dx}(x^{-1}) = -x^{-2} = \frac{-1}{x^2}$$

RHS $= \dfrac{(-1)^1 \cdot 1!}{x^{2}} = \dfrac{-1}{x^2}$  ✓

Step 2 — Inductive Hypothesis:

Assume $\dfrac{d^k}{dx^k}\!\left(\dfrac{1}{x}\right) = \dfrac{(-1)^k\, k!}{x^{k+1}}$

Step 3 — Inductive Step ($n = k + 1$):

$$\frac{d^{k+1}}{dx^{k+1}}\!\left(\frac{1}{x}\right) = \frac{d}{dx}\!\left[\frac{(-1)^k\, k!}{x^{k+1}}\right] = (-1)^k k! \cdot \frac{-(k+1)}{x^{k+2}} = \frac{(-1)^{k+1}(k+1)!}{x^{k+2}}$$

This matches the formula with $n = k+1$. By induction, true for all $n \geq 1$. ∎

Key algebraic move: $(-1)^k \cdot (-(k+1)) = (-1)^{k+1}(k+1)$, giving $(-1)^{k+1}(k+1)!$ in the numerator. Watch this step — it is where sign errors occur.

Statement: Prove by induction that $\dfrac{d^n}{dx^n}\!\left(\dfrac{1}{x}\right) = \dfrac{(-1)^n\, n!}{x^{n+1}}$ for all positive integers $n$.

Pause — copy the formula $\frac{d^n}{dx^n}(1/x)=\frac{(-1)^n n!}{x^{n+1}}$ and the inductive step showing how $(-1)^{k+1}$ and $(k+1)!$ emerge from differentiation into your book.

Did you get this? True or false: The third derivative of $\dfrac{1}{x}$ equals $\dfrac{6}{x^4}$.

PROBLEM 1 · IDENTIFY THE PATTERN

Compute the first three derivatives of $x^3$ and conjecture the $n$th derivative. Then verify your conjecture for $n = 3$.

1
$\dfrac{d}{dx}(x^3) = 3x^2$,   $\dfrac{d^2}{dx^2}(x^3) = 6x$,   $\dfrac{d^3}{dx^3}(x^3) = 6$
Apply the power rule repeatedly. Pattern: coefficients grow as $3, 6, 6 = 3!, 3 \cdot 2, 3$.
PROBLEM 2 · WRITE THE INDUCTION

Prove by induction that $\dfrac{d^n}{dx^n}(x^n) = n!$ for all positive integers $n$.

1
Base case $n = 1$: $\dfrac{d}{dx}(x^1) = 1 = 1!$ ✓
LHS = 1, RHS = 1! = 1. True for $n = 1$.
PROBLEM 3 · EXAM-STYLE

Prove by induction that $\dfrac{d^n}{dx^n}(e^{2x}) = 2^n e^{2x}$ for all positive integers $n$. (3 marks)

1
Base case $n = 1$: $\dfrac{d}{dx}(e^{2x}) = 2e^{2x} = 2^1 e^{2x}$ ✓
Chain rule: derivative of $e^{2x}$ is $2e^{2x}$. Matches formula with $n = 1$.

Fill the gap: Using the formula $\dfrac{d^n}{dx^n}(e^{2x}) = 2^n e^{2x}$, the 4th derivative of $e^{2x}$ is $e^{2x}$.

Trap 01
Missing the chain rule or product rule
When differentiating $\dfrac{(-1)^k k!}{x^{k+1}}$, treat $(-1)^k k!$ as a constant and apply the power rule to $x^{-(k+1)}$ — bringing down $-(k+1)$. Forgetting this factor is the most common error.
Trap 02
Sign errors with $(-1)^{k+1}$
$(-1)^{k+1} = (-1)^k \cdot (-1)$. When you bring down the negative exponent, the extra $(-1)$ combines with $(-1)^k$ to give $(-1)^{k+1}$. Write this algebra out — do not skip the step.
Trap 03
Confusing $n$ (induction variable) with $x$
$n$ is the counter for how many derivatives have been taken. $x$ is the independent variable you differentiate with respect to. Never write $\dfrac{d}{dn}$ — that makes no sense. Always differentiate with respect to $x$.

Did you get this? True or false: In the inductive step for $\dfrac{d^n}{dx^n}\!\left(\dfrac{1}{x}\right)$, the factor $(k+1)$ comes from the power rule bringing down the exponent $-(k+1)$.

Work mode · how are you completing this lesson?
1

Use the formula to write down the 5th derivative of $xe^x$.

2

Compute the 3rd derivative of $\dfrac{1}{x}$ directly (without using the formula), and verify it matches $\dfrac{(-1)^3 \cdot 3!}{x^4}$.

3

Prove by induction that $\dfrac{d^n}{dx^n}(e^{3x}) = 3^n e^{3x}$ for all positive integers $n$.

4

State the inductive hypothesis you would use to prove the formula for $\dfrac{d^n}{dx^n}(x^n) = n!$.

5

What is the 100th derivative of $\dfrac{1}{x}$? Express your answer using factorial notation.

Odd one out: Three of these statements about $n$th derivative induction are correct. Which one is WRONG?

11
Revisit your thinking

Earlier you predicted what the $n$th derivative of $xe^x$ would look like.

The answer is $\dfrac{d^n}{dx^n}(xe^x) = (x+n)e^x$. Did your prediction come close? The key insight is that each differentiation bumps the constant by $1$ — from $(x+k)e^x$ to $(x+k+1)e^x$ — because differentiating $(x+k)e^x$ by the product rule gives exactly $e^x + (x+k)e^x = (x+k+1)e^x$.

auto-saved
01
Multiple choice
+5 XP per correct · +25 XP all-correct

Pick your answer, then rate your confidence — that tells the system what to drill next. Each retry pulls a fresh mix from the bank.

02
Short answer
ApplyBand 32 marks

Q1. Prove by induction that $\dfrac{d^n}{dx^n}(xe^x) = (x + n)e^x$ for all positive integers $n$. (2 marks)

auto-saved
ApplyBand 43 marks

Q2. Prove by induction that $\dfrac{d^n}{dx^n}\!\left(\dfrac{1}{x}\right) = \dfrac{(-1)^n\, n!}{x^{n+1}}$ for all positive integers $n$. (3 marks)

auto-saved
AnalyseBand 53 marks

Q3. Prove by induction that $\dfrac{d^n}{dx^n}(x^n) = n!$ for all positive integers $n$. (3 marks)

auto-saved
Comprehensive answers (click to reveal)

Activity answers:

1. $n=5$: $(x+5)e^x$  ·  2. Direct: $\frac{d}{dx}(x^{-1}) = -x^{-2}$, then $2x^{-3}$, then $-6x^{-4} = \frac{-6}{x^4}$. Formula: $\frac{(-1)^3 \cdot 3!}{x^4} = \frac{-6}{x^4}$ ✓  ·  5. $\frac{(-1)^{100} \cdot 100!}{x^{101}} = \frac{100!}{x^{101}}$

Q1 (2 marks): Base case $n=1$: $\frac{d}{dx}(xe^x) = e^x + xe^x = (x+1)e^x = (x+1)e^x$ [1]. Hypothesis: assume $\frac{d^k}{dx^k}(xe^x) = (x+k)e^x$. Step: $\frac{d}{dx}[(x+k)e^x] = e^x + (x+k)e^x = (x+k+1)e^x$ [1]. Conclusion: true for all $n \geq 1$ by induction.

Q2 (3 marks): Base case [1]: $\frac{d}{dx}(x^{-1}) = -x^{-2}$; formula gives $\frac{(-1)^1 1!}{x^2} = \frac{-1}{x^2}$ ✓. Hypothesis: assume $\frac{d^k}{dx^k}(1/x) = \frac{(-1)^k k!}{x^{k+1}}$. Inductive step [1]: $\frac{d}{dx}\!\left[\frac{(-1)^k k!}{x^{k+1}}\right] = (-1)^k k! \cdot \frac{-(k+1)}{x^{k+2}} = \frac{(-1)^{k+1}(k+1)!}{x^{k+2}}$ [1]. This matches the formula for $n=k+1$.

Q3 (3 marks): Base case [1]: $\frac{d}{dx}(x^1) = 1 = 1!$ ✓. Hypothesis: assume $\frac{d^k}{dx^k}(x^k) = k!$. Inductive step [1]: $\frac{d^{k+1}}{dx^{k+1}}(x^{k+1}) = \frac{d^k}{dx^k}[(k+1)x^k] = (k+1) \cdot k! = (k+1)!$ [1]. True for all $n \geq 1$.

01
Boss battle · The Derivative Induction Master
earn bronze · silver · gold

Five timed questions. Beat the boss to bank a tier — gold (90% + speed), silver (75%), or bronze (50%). Replays welcome.

⚔ Enter the arena
02
Science Jump · platform challenge

Climb platforms by answering derivative induction questions. Lighter alternative to the boss.

Mark lesson as complete

Tick when you've finished the practice and review.

🎓
Want help with Induction for Derivative Patterns?

Work through this topic 1-on-1 with an experienced HSC tutor.

Book a free session →