Integrating Exponentials & Logarithms
A biologist tracking tumour growth needs $\int e^{0.1t}\,dt$. A climate scientist modelling CO₂ absorption needs $\int \frac{1}{x}\,dx$. These two functions, exponential and logarithmic, are the natural language of growth and accumulation, and this lesson teaches you to integrate them both.
Practise this lesson
Three printable worksheets that build from foundations to mastery, or build your own from any module’s questions.
We know $\frac{d}{dx}(e^x) = e^x$. Without using a formulawhat do you think $\int e^x\,dx$ equals? And since the power rule gives $\frac{x^{n+1}}{n+1}$, what happens when $n = -1$?
Three rules fill the gaps that the power rule cannot cover. Lock these in before reading the explanations.
$\int e^{kx}\,dx = \dfrac{1}{k}e^{kx} + C$
absolute value covers $x < 0$
where $a > 0,\; a \ne 1$
Key facts
- $\int e^x\,dx = e^x + C$
- $\int e^{kx}\,dx = \frac{1}{k}e^{kx} + C$
- $\int \frac{1}{x}\,dx = \ln|x| + C$
Concepts
- Why $e^x$ integrates to itself
- Why $\frac{1}{x}$ integrates to $\ln|x|$, the $n=-1$ exception
- The role of the constant $k$ in $e^{kx}$
Skills
- Integrate $e^x$, $e^{kx}$, and $a^x$
- Integrate $\frac{1}{x}$ and simple rational functions
- Combine with power rule for mixed integrals
Since $\frac{d}{dx}(e^x) = e^x$, it follows immediately that $\int e^x\,dx = e^x + C$. For $e^{kx}$, we use the chain rule in reverse: differentiation multiplied by $k$, so integration must divide by $k$.
Differentiating $e^{kx}$ gives $k \cdot e^{kx}$. To undo that, we divide by $k$ when integrating. This "chain rule reversal" pattern appears throughout all integration work.
Verification: $\frac{d}{dx}\!\left(\frac{1}{k}e^{kx}\right) = \frac{1}{k} \cdot k \cdot e^{kx} = e^{kx}$ ✓
Examples:
- $\int e^{3x}\,dx = \dfrac{1}{3}e^{3x} + C$
- $\int e^{-2x}\,dx = -\dfrac{1}{2}e^{-2x} + C$
- $\int 5e^{0.1x}\,dx = 5 \cdot \dfrac{1}{0.1}e^{0.1x} + C = 50e^{0.1x} + C$
$\int e^x\,dx = e^x + C$, the function equals its own integral; $\int e^{kx}\,dx = \frac{1}{k}e^{kx} + C$, divide by the inner constant $k$
Pause, copy the rules $\int e^x\,dx = e^x + C$ (the only function equal to its own integral) and $\int e^{kx}\,dx = \dfrac{1}{k}e^{kx} + C$ (divide by the inner constant $k$) into your book.
Quick check: Which is the correct antiderivative of $e^{4x}$?
Worked examples · 3 in a row, reveal as you go
Find $\int \left(2e^{3x} + \dfrac{4}{x}\right)\,dx$.
Find $\int \left(e^{-x} + \dfrac{3}{x} + x^2\right)\,dx$.
We just saw that $\int e^{kx}\,dx = \dfrac{1}{k}e^{kx} + C$ by reversing the chain rule. That raises a question: the power rule says $\int x^n\,dx = \dfrac{x^{n+1}}{n+1} + C$, but what happens when $n = -1$, making the denominator zero? This card answers it → the power rule breaks down there, and $\int x^{-1}\,dx = \ln|x| + C$ instead.
The power rule $\int x^n\,dx = \frac{x^{n+1}}{n+1} + C$ fails for $n = -1$ because the denominator becomes zero. But we know $\frac{d}{dx}(\ln x) = \frac{1}{x}$ for $x > 0$. For $x < 0$, $\frac{d}{dx}(\ln(-x)) = \frac{-1}{-x} = \frac{1}{x}$. Combining both cases:
The absolute value is essential. $\ln x$ is only defined for $x > 0$, but $\frac{1}{x}$ exists for all $x \ne 0$. The absolute value lets us cover both positive and negative domains.
$\int \frac{1}{x}\,dx = \ln|x| + C$, this is the only exception to the power rule; The power rule fails at $n = -1$ because $\frac{x^0}{0}$ is undefined (division by zero)
Pause, copy the rule $\int \dfrac{1}{x}\,dx = \ln|x| + C$, the only exception to the power rule, necessary because $\dfrac{x^0}{0}$ is undefined, into your book.
Did you get this? True or false: $\int x^{-1}\,dx = \dfrac{x^0}{0} + C$.
Concept 3 · General base $a^x$
We just saw that $\int \frac{1}{x}\,dx = \ln|x| + C$ because the power rule fails at $n = -1$. That raises a question: what about $\int 2^x\,dx$ or $\int 3^x\,dx$, where the base is not $e$? This card answers it → dividing $a^x \ln a$ (the derivative of $a^x$) by $\ln a$ gives $\int a^x\,dx = \dfrac{a^x}{\ln a} + C$.
Since $\frac{d}{dx}(a^x) = a^x \ln a$, dividing both sides by $\ln a$ gives the integral rule:
Verification: $\frac{d}{dx}\!\left(\frac{a^x}{\ln a}\right) = \frac{a^x \ln a}{\ln a} = a^x$ ✓
Example: $\int 2^x\,dx = \dfrac{2^x}{\ln 2} + C$.
This rule is less common in HSC than $e^x$ because any $a^x$ can be rewritten as $e^{x \ln a}$. However, if you see $2^x$ or $3^x$, apply this formula directly, it's cleaner than converting.
$\int a^x\,dx = \frac{a^x}{\ln a} + C$ where $a > 0, a \ne 1$; When $a = e$: $\frac{e^x}{\ln e} = \frac{e^x}{1} = e^x$, confirms $\int e^x\,dx = e^x + C$
Pause, copy the rule $\int a^x\,dx = \dfrac{a^x}{\ln a} + C$ and verify it reduces to $\int e^x\,dx = e^x + C$ when $a = e$ (since $\ln e = 1$) into your book.
A drug decays in the body at rate $\frac{dA}{dt} = -0.5e^{-0.5t}$ mg/h. Find $A(t)$ given $A(0) = 2$.
Common errors · 3 traps that cost marks
Complete the sentence: The integral $\int \frac{3}{x}\,dx$ equals _____, and the absolute value is needed because $\ln x$ is only defined for _____.
Quick-fire practice · 5 integrals
$\int e^{4x}\,dx$
$\int 5e^{-2x}\,dx$
$\int \dfrac{3}{x}\,dx$
$\int \left(e^x + \dfrac{1}{x} + x^3\right)\,dx$
$\int 2^x\,dx$
Cloze: Complete the working. $\int 3^x\,dx = \dfrac{3^x}{\rule{28px}{1px}} + C$. This is valid because differentiating $\frac{3^x}{\ln 3}$ gives $\frac{3^x \cdot \rule{28px}{1px}}{\ln 3} = 3^x$.
Earlier you were asked: what does $\int e^x\,dx$ equal, and why does the power rule fail for $x^{-1}$? The answer: $\int e^x\,dx = e^x + C$, the function that equals its own derivative also equals its own integral. The power rule fails at $n = -1$ because division by zero; instead, $\int \frac{1}{x}\,dx = \ln|x| + C$, this is why logarithms appear naturally in integration.
Match the integral to its antiderivative (write the letter next to each number):
Integrals
1. $\int e^{2x}\,dx$
2. $\int \frac{5}{x}\,dx$
3. $\int 4^x\,dx$
4. $\int e^{-x}\,dx$
Antiderivatives
A. $5\ln|x| + C$
B. $-e^{-x} + C$
C. $\frac{1}{2}e^{2x} + C$
D. $\dfrac{4^x}{\ln 4} + C$
Pick your answer, then rate your confidencethat tells the system what to drill next. Each retry pulls a fresh mix from the bank.
Q1. Find $\int \left(3e^{2x} - \dfrac{5}{x} + 4x\right)\,dx$. Show all working. (3 marks)
Q2. Find $\int \left(e^{-x} + x^{-1} + x^{1/2}\right)\,dx$. Show all working. (3 marks)
Q3. A radioactive tracer has decay rate $\frac{dA}{dt} = -2e^{-0.5t}$ mg/h. Find $A(t)$ given $A(0) = 4$. Calculate the amount remaining after 4 hours and explain what happens to $A(t)$ as $t \to \infty$. (3 marks)
Comprehensive answers (click to reveal)
Drill 1: $\frac{1}{4}e^{4x}+C$ · 2: $-\frac{5}{2}e^{-2x}+C$ · 3: $3\ln|x|+C$ · 4: $e^x+\ln|x|+\frac{x^4}{4}+C$ · 5: $\frac{2^x}{\ln 2}+C$
Q1 (3 marks): $\int 3e^{2x}\,dx = \frac{3}{2}e^{2x}$ [1]. $\int (-\frac{5}{x})\,dx = -5\ln|x|$ [1]. $\int 4x\,dx = 2x^2$ [0.5]. Answer: $\frac{3}{2}e^{2x} - 5\ln|x| + 2x^2 + C$ [0.5].
Q2 (3 marks): $\int e^{-x}\,dx = -e^{-x}$ [1]. $\int x^{-1}\,dx = \ln|x|$ [1]. $\int x^{1/2}\,dx = \frac{2}{3}x^{3/2}$ [0.5]. Answer: $-e^{-x} + \ln|x| + \frac{2}{3}x^{3/2} + C$ [0.5].
Q3 (3 marks): $A(t) = \int -2e^{-0.5t}\,dt = 4e^{-0.5t} + C$ [1]. $A(0) = 4$: $4+C = 4 \Rightarrow C = 0$ [0.5]. $A(t) = 4e^{-0.5t}$ [0.25]. $A(4) = 4e^{-2} \approx 0.54$ mg [0.75]. As $t \to \infty$, $e^{-0.5t} \to 0$, so $A(t) \to 0$, tracer is fully eliminated [0.5].
Five timed questions. Beat the boss to bank a tier, gold (90% + speed), silver (75%), or bronze (50%). Replays welcome.
⚔ Enter the arenaClimb platforms by answering exponential and logarithm integral questions. Pool: lesson 3.
Mark lesson as complete
Tick when you've finished the practice and review.