b
a
f(x) dx
y = x²
n=1
∞
a
b
c
a² + b² = c²
θ
sin²θ + cos²θ = 1
y = eˣ
dy
dx
= f′(x)
2
≈ 1.414
Welcome to
CALCULUS-1 RECITATION
Week 12 - Fall Semester 2026
Topics Covered this Week
BOOK ===> CALCULUS - For Business, Economics, and the Social and Life Sciences by Hoffmann & Bradley
QUICK RECALL: CHAPTER 4
4.1 Exponential, 4.2 Logarithmic Functions, 4.3 Their Derivatives + Applications
5.1 INDEFINITE INTEGRATION
Indefinite Integrals Differential Equations and Initial Value Problems Separable Differential Equations
5.2 INTEGRATION BY SUBSTITUTION
Method of Substitution Initial Value Problems using Substitution
5.3 DEFINITE INTEGRAL & FUNDAMENTAL THEOREM
Area under a Curve Definite Integral and Properties Fundamental Theorem of Calculus
LAST WEEK, IN 15 MINUTES
Quick Recall
4.1 \(b^x\) 4.2 \(\log_b x\) 4.3 \(\tfrac{d}{dx}\)
Recall · 4.1
Section 4.1 Exponential Functions
Definition
For \(b>0,\ b\ne1\): \(f(x)=b^x\)
The variable is in the exponent . (Compare: \(x^2\) is a power function.)
\(b>1\) : growth (increasing). \(b^x\to\infty\) as \(x\to\infty\)
\(0<b<1\) : decay (decreasing). \(b^x\to0\) as \(x\to\infty\)
Domain: all real \(x\) · Range: \((0,\infty)\)
y-intercept \((0,1)\); no x-intercept
Horizontal asymptote: the x-axis, \(y=0\)
\(b^x\) and \(\left(\frac1b\right)^x\) are mirror images in the y-axis
Recall · 4.1
Section 4.1 Exponent rules & the natural base \(e\)
Exponent rules · quick examples
\(b^xb^y=b^{x+y}\) \(2^3\cdot2^4=2^{7}=128\)
\(\dfrac{b^x}{b^y}=b^{x-y}\) \(\dfrac{5^7}{5^5}=5^{2}=25\)
\((b^x)^y=b^{xy}\) \((3^2)^3=3^{6}=729\)
\((ab)^x=a^xb^x\) \(2^3\cdot5^3=10^3=1000\)
\(b^{-x}=\dfrac1{b^x},\ \ b^0=1\) \(2^{-3}=\dfrac18,\ \ 7^0=1\)
\(b^x=b^y\iff x=y\) \(2^{x+1}=8=2^3\Rightarrow x=2\)
The natural base
\(\displaystyle e=\lim_{n\to\infty}\Big(1+\frac1n\Big)^n\approx2.71828\)
Why do we call it natural ?
It appears by itself whenever something changes continuously at a rate proportional to its size: money compounded every instant, population growth, bacteria, radioactive decay, cooling coffee. They all follow \(Q_0e^{kt}\).
Bernoulli's question: Rs 1 at 100% a year, compounded more and more often, never grows past Rs \(e\approx2.718\). Nobody chose \(e\); compounding produced it.
Calculus loves it: \(e^x\) is the only exponential whose slope equals its height, \(\frac{d}{dx}e^x=e^x\). Every other base carries an extra factor: \(\frac{d}{dx}b^x=(\ln b)\,b^x\).
Its inverse \(\ln x=\log_e x\) is called the natural log for the same reason.
Recall · 4.1
Section 4.1 Money Formulas
1. Future value, \(k\) times/yr
\(B=P\Big(1+\dfrac rk\Big)^{kt}\)
2. Continuous compounding
\(B=Pe^{rt}\)
3. Present value
\(P=B\Big(1+\dfrac rk\Big)^{-kt}\ \text{or}\ P=Be^{-rt}\)
4. Effective rate
\(r_e=\Big(1+\dfrac rk\Big)^{k}-1\ \text{or}\ r_e=e^{r}-1\)
Four formulas for money that grows with interest. Let's take them one at a time →
What it does: grows a principal \(P\) when interest is added \(k\) times a year.
\(P\) = principal, \(r\) = annual rate (as a decimal), \(t\) = years
Each period pays rate \(\frac rk\), so the balance is multiplied by \(\big(1+\frac rk\big)\)
There are \(kt\) periods in \(t\) years, hence the power \(kt\)
\(k\): 1 annually, 2 semi-annually, 4 quarterly, 12 monthly, 365 daily
Problem
Ali deposits
Rs 100,000 at
12% per year, compounded
monthly . What is it worth after
3 years ?
\(B\) \(=100{,}000\Big(1+\dfrac{0.12}{12}\Big)^{12(3)}\) \(k=12,\ t=3\)
\(=100{,}000\,(1.01)^{36}\)
\(\approx100{,}000\,(1.430769)\)
\(\approx\) Rs 143,076.88
What it does: compounds every instant , the limit as \(k\to\infty\)
Why \(e\)? Put \(n=\frac kr\), so \(\frac rk=\frac1n\) and \(kt=n\,rt\):
\(\Big(1+\dfrac rk\Big)^{kt}\) \(=\Big(1+\dfrac1n\Big)^{n\,rt}\) \(n=\frac kr\)
\(=\Big[\Big(1+\dfrac1n\Big)^{n}\Big]^{rt}\) power rule
\(\xrightarrow{\ k\to\infty\ }\ e^{rt}\) \(k\to\infty\Rightarrow n\to\infty\), bracket \(\to e\)
So \(B=Pe^{rt}\): the most money for a given rate \(r\), the ceiling for all \(k\)
Problem
Same deal:
Rs 100,000 at
12% for
3 years , but compounded
continuously . How much now?
\(B\) \(=100{,}000\,e^{0.12(3)}\)
\(=100{,}000\,e^{0.36}\)
\(\approx100{,}000\,(1.433329)\)
\(\approx\) Rs 143,332.94
About Rs 256 more than monthly compounding.
What it does: runs the future-value formula backwards .
Question: "How much must I invest today to have \(B\) in \(t\) years?"
Solve \(B=P\big(1+\frac rk\big)^{kt}\) for \(P\): divide by the growth factor, i.e. multiply by \(\big(1+\frac rk\big)^{-kt}\)
Continuously: \(B=Pe^{rt}\Rightarrow P=Be^{-rt}\)
Problem
Sara wants
Rs 500,000 for her wedding in
4 years . How much must she invest now at
10% compounded
quarterly ? Continuously?
\(P\) \(=500{,}000\Big(1+\dfrac{0.10}{4}\Big)^{-4(4)}=500{,}000\,(1.025)^{-16}\) quarterly
\(\approx500{,}000\,(0.673625)\approx\) Rs 336,812.47
\(P\) \(=500{,}000\,e^{-0.10(4)}=500{,}000\,e^{-0.4}\approx\) Rs 335,160.02 continuously
What it does: lets us compare offers with different compounding.
\(r_e\) = the simple annual rate that gives the same interest after 1 year
Rs 1 grows to \(\big(1+\frac rk\big)^k\) in a year; subtract the Rs 1 you started with
Higher \(r_e\) = better investment (or a more expensive loan)
Problem
Bank A offers
12% compounded
monthly . Bank B offers
11.9% compounded
continuously . Which is better?
Bank A \(r_e=\Big(1+\dfrac{0.12}{12}\Big)^{12}-1=(1.01)^{12}-1\approx\) 12.683%
Bank B \(r_e=e^{0.119}-1\approx\) 12.637%
Bank A is better 12.683% > 12.637%
A lower nominal rate can't beat the extra compounding here.
Recall · 4.2
Section 4.2 Logarithmic Functions
Definition
\[y=\log_b x\iff b^y=x\qquad(x>0)\]
A logarithm is an exponent . Natural log: \(\ln x=\log_e x\)
Inverse relationship
\(e^{\ln x}=x\ (x>0)\) and \(\ln e^{x}=x\)
Domain: \(x>0\) only · Range: all reals
x-intercept \((1,0)\); vertical asymptote \(x=0\)
Graph of \(\ln x\) = reflection of \(e^x\) in the line \(y=x\)
Recall · 4.2
Section 4.2 Log rules & solving equations
Logarithm rules
\(\ln1=0\) \(\ln e=1\)
Product: \(\ln(uv)=\ln u+\ln v\)
Quotient: \(\ln\dfrac uv=\ln u-\ln v\)
Power: \(\ln u^r=r\ln u\)
Change of base: \(\log_b a=\dfrac{\ln a}{\ln b}\)
Solving for the exponent
\(Q_0e^{kt}=Q\ \Rightarrow\ e^{kt}=\dfrac{Q}{Q_0}\ \Rightarrow\ t=\dfrac{1}{k}\ln\dfrac{Q}{Q_0}\)
Doubling time & half-life
Growth \(Q_0e^{kt}\) doubles in \(\ d=\dfrac{\ln 2}{k}\)
Decay \(Q_0e^{-kt}\) halves in \(\ h=\dfrac{\ln 2}{k}\)
Carbon-14: half-life 5,730 years, so \(k=\frac{\ln2}{5730}\approx0.000121\)
Recall · 4.3
Section 4.3 Derivatives of \(e^x\) and \(\ln x\)
function derivative chain-rule version
\(e^x\) \(e^x\) \(\big(e^{u}\big)'=e^{u}\,u'\)
\(\ln x\) \(\dfrac1x\) \(\big(\ln u\big)'=\dfrac{u'}{u}\)
\(b^x\) \((\ln b)\,b^x\) \(\big(b^{u}\big)'=(\ln b)\,b^{u}u'\)
\(\log_b x\) \(\dfrac{1}{x\ln b}\) \(\big(\log_b u\big)'=\dfrac{u'}{u\ln b}\)
Quick check:
\(\dfrac{d}{dx}\big(x^2e^{3x}\big)\) \(=2x\,e^{3x}+x^2\cdot3e^{3x}\) product rule
\(=xe^{3x}(2+3x)\)
\(\dfrac{d}{dx}\ln(x^2+1)\) \(=\dfrac{2x}{x^2+1}\) \(\frac{u'}{u}\)
\(\dfrac{d}{dx}\,5^{2x}\) \(=(\ln5)\,5^{2x}\cdot2\) \((b^u)'=(\ln b)b^uu'\)
\(=(2\ln5)\,5^{2x}\)
\(e^{u}>0\) always, so in \(f'=(\ldots)e^{u}=0\), only the bracket can be zero.
Recall · 4.3
Section 4.3 Where the derivatives get used
Relative (percentage) rate
\(\dfrac{Q'}{Q}=\dfrac{d}{dt}\ln Q\) · percentage rate \(=100\,\dfrac{Q'}{Q}\)
For \(Q=Q_0e^{kt}\) it is always \(100k\%\).
Elasticity of demand
\(E(p)=-\dfrac{p}{q}\dfrac{dq}{dp}\) For \(q=Ae^{-cp}\): \(E=cp\)
\(E>1\) elastic · \(E<1\) inelastic · revenue is max at \(E=1\)
Logarithmic differentiation
Take \(\ln\) of both sides
Expand with log rules
Differentiate: left side gives \(\dfrac{f'}{f}\)
Multiply by \(f\)
Optimization
Set \(f'(x)=0\), then check with \(f''\) or the endpoints.
Recall · Application 1
Application 1: Ayesha's savings
Problem
Ayesha invests
Rs 50,000 at
8% per year, compounded
continuously .
(a) What is the investment worth after 5 years?
(b) How long until her money doubles?
(c) How fast is it growing after 5 years?
What we know: \(P=50{,}000,\ \ r=0.08\)
Which formula? Continuous compounding (4.1):
\(B(t)=Pe^{rt}=50{,}000\,e^{0.08t}\)
\(B(t)\) = balance (Rs) after \(t\) years.
(a) Value after 5 years
\(B(5)\) \(=50{{,}}000\,e^{{0.08(5)}}\) put t = 5
\(=50{{,}}000\,e^{{0.4}}\)
\(\approx50{{,}}000\,(1.49182)\) \(e^{{0.4}}\approx1.49182\)
\(\approx\) Rs 74,591.23
Interest earned ≈ Rs 24,591 in 5 years.
(b) Doubling time
\(50{{,}}000\,e^{{0.08t}}\) \(=100{{,}}000\) double
\(\Rightarrow\ e^{{0.08t}}\) \(=2\) ÷ 50,000
\(\Rightarrow\ \ln e^{{0.08t}}\) \(=\ln2\) take ln
\(\Rightarrow\ 0.08t\) \(=\ln2\) \(\ln e^{{u}}=u\)
\(\Rightarrow\ t\) \(=\dfrac{{\ln2}}{{0.08}}=\dfrac{{0.69315}}{{0.08}}\)
\(\approx\) 8.66 years
≈ 8 years 8 months. The 50,000 cancelled: any amount doubles in \(\frac{\ln2}{r}\) years.
(c) Rate of growth after 5 years "How fast is it growing?" means the rate of change \(B'(t)\).
\(B'(t)\) \(=\dfrac{{d}}{{dt}}\big[50{{,}}000\,e^{{0.08t}}\big]\)
\(=50{{,}}000\cdot e^{{0.08t}}\cdot(0.08)\) \((e^{{u}})'=e^{{u}}u'\)
\(=4{{,}}000\,e^{{0.08t}}\)
\(B'(5)\) \(=4{{,}}000\,e^{{0.4}}\approx4{{,}}000\,(1.49182)\) put t = 5
\(\approx\) Rs 5,967 per year
\(\dfrac{{B'(t)}}{{B(t)}}\) \(=\dfrac{{4{{,}}000\,e^{{0.08t}}}}{{50{{,}}000\,e^{{0.08t}}}}=0.08\) = 8% always
After 5 years the balance grows ≈ Rs 5,967/year (slope of the tangent).
Recall · Application 2
Application 2: Maximum revenue
Problem
When \(x\) units are produced, each unit sells for \(p(x)=100e^{-0.05x}\) dollars. How many units maximize revenue? What are the price and the maximum revenue?
Step 1: build the revenue function.
Revenue = (number of units) × (price per unit)
\(R(x)=x\cdot p(x)=100x\,e^{-0.05x}\)
Plan: find \(R'(x)\), set it equal to 0, then check it's a maximum.
Recall · Application 2
Application 2: Find the critical point
\(R(x)\) \(=100x\cdot e^{{-0.05x}}\)
\(R'(x)\) \(=(100x)'\,e^{{-0.05x}}+100x\,\big(e^{{-0.05x}}\big)'\) product rule
\(=100\,e^{{-0.05x}}+100x\,(-0.05)\,e^{{-0.05x}}\) chain rule
\(=100\,e^{{-0.05x}}-5x\,e^{{-0.05x}}\)
\(=100\,e^{{-0.05x}}\,(1-0.05x)\) factor \(100e^{{-0.05x}}\)
\(R'(x)\) \(=0\) critical point
\(\Rightarrow\ 100\,e^{{-0.05x}}(1-0.05x)\) \(=0\)
\(\Rightarrow\ 1-0.05x\) \(=0\) \(e^{{-0.05x}}>0\), never 0
\(\Rightarrow\ x\) \(=\dfrac{{1}}{{0.05}}=\) \(x=20\)
Recall · Application 2
Application 2: Confirm it's a maximum
\(R''(x)\) \(=\dfrac{{d}}{{dx}}\Big[100\,e^{{-0.05x}}(1-0.05x)\Big]\)
\(=100\Big[(-0.05)e^{{-0.05x}}(1-0.05x)+e^{{-0.05x}}(-0.05)\Big]\) product rule
\(=100\,e^{{-0.05x}}\,(-0.05+0.0025x-0.05)\)
\(=100\,e^{{-0.05x}}\,(0.0025x-0.1)\)
\(R''(20)\) \(=100\,e^{{-1}}(0.05-0.1)=-5e^{{-1}}\approx-1.84<0\ \ \Rightarrow\ \) maximum ✓ concave down
\(p(20)\) \(=100\,e^{{-0.05(20)}}=100\,e^{{-1}}\approx\) $36.79 per unit price
\(R(20)\) \(=20\times100\,e^{{-1}}=2000\,e^{{-1}}\approx\) $735.76 max revenue
So produce 20 units . Check: \(R(19)\approx734.81,\ R(21)\approx734.87\), both slightly less ✓
NOW, THE NEW STUFF
Chapter 5: Integration
Going backwards from derivatives: \(\ F'(x)=f(x)\ \Rightarrow\ \displaystyle\int f(x)\,dx=F(x)+C\)
SECTION 5.1
Indefinite Integration
Antiderivatives · Rules · Differential Equations · Initial Value Problems
5.1 · Hook
What is the Total Distance Travelled?
Imagine you're on a road trip. Your phone dies, so you can't use GPS.
All you have is the car's speedometer , which tells you your speed at every single moment.
How can you figure out the TOTAL DISTANCE you've travelled after 3 hours ?
A) Multiply top speed by time.
B) Find the average speed and multiply by time.
C) It's impossible to know.
Let's solve it together!
5.1 · Hook
Let's solve it together! Case 1: constant speed
Time (h) 0 1 2 3 Speed (mph) 60 60 60 60
You drive a steady 60 mph for 3 hours . How far did you go?
distance \(=\) speed \(\times\) time
\(=60\times3=\) 180 miles
Look at the graph: \(60\times3\) is exactly the area of the rectangle under the speed line!
distance travelled = area under the speed graph
5.1 · Hook
Case 2: the car speeds up
Time (h) 0 1 2 3 Speed (mph) 0 10 40 90
Now the speed keeps changing (here \(v(t)=10t^2\)). Which speed do we multiply by?
Idea: cut the trip into 1-hour chunks and pretend the speed is constant in each chunk.
end speeds: \((10+40+90)\times1=\) 140 mi too big
start speeds: \((0+10+40)\times1=\) 50 mi too small
Two different answers! The truth is somewhere in between: \(\ 50<\text{distance}<140\).
Big chunks give rough answers. What if we use smaller chunks?
5.1 · Hook
Smaller chunks → better answers
Half-hour chunks (6 chunks, each \(0.5\) h), using the speed at the end of each chunk:
t 0.5 1 1.5 2 2.5 3 v(t) 2.5 10 22.5 40 62.5 90
distance \(\approx(2.5+10+22.5+40+62.5+90)(0.5)\)
\(=227.5\times0.5=\) 113.75 mi
Keep shrinking the chunks:
size 1 h 30 m 15 m 1 m 1 s
miles 140 113.75 101.56 90.75 90.01
The estimates settle down to 90 miles .
5.1 · Hook
Writing it down for n chunks
width of each chunk: \(\Delta t=\dfrac{3-0}{n}\) 3 hours split into n pieces
end of chunk \(i\): \(t_i=i\,\Delta t\qquad(i=1,2,\dots,n)\)
distance in chunk \(i\): \(\approx v(t_i)\,\Delta t\) speed × time
total distance \(\approx v(t_1)\Delta t+v(t_2)\Delta t+v(t_3)\Delta t+\cdots+v(t_n)\Delta t\)
Check with n = 3
\(\Delta t=1,\ \ t_1=1,\ t_2=2,\ t_3=3\ \Rightarrow\ v(1)(1)+v(2)(1)+v(3)(1)=10+40+90=140\) ✓
But with \(n=10{,}800\) chunks (every second), that's a very long line to write… we need a shorthand.
5.1 · Sigma notation
A shorthand for long sums: \(\Sigma\)
\(\Sigma\) is the Greek capital letter "S", for Sum .
\(\displaystyle\sum_{\textcolor{#a6dd9b}{i=1}}^{\textcolor{#f5a9c6}{n}}\textcolor{#8fd0f2}{a_i}=a_1+a_2+\cdots+a_n\)
\(i=1\) : start counting at \(i=1\)
\(n\) : stop at \(i=n\)
\(a_i\) : the term to add each time
Let's read some:
\(\displaystyle\sum_{i=1}^{4}i\) \(=1+2+3+4\) \(=10\)
\(\displaystyle\sum_{i=1}^{3}i^2\) \(=1^2+2^2+3^2\) \(=14\)
\(\displaystyle\sum_{i=1}^{3}(2i+1)\) \(=3+5+7\) \(=15\)
\(\displaystyle\sum_{i=1}^{5}2\) \(=2+2+2+2+2\) \(=10\)
\(\displaystyle\sum_{i=2}^{5}i^2\) \(=2^2+3^2+4^2+5^2\) \(=54\)
5.1 · Sigma notation
Our distance in \(\Sigma\) notation
total distance \(\approx v(t_1)\Delta t+v(t_2)\Delta t+\cdots+v(t_n)\Delta t\)
\(\displaystyle=\sum_{i=1}^{n}v(t_i)\,\Delta t\) term: \(a_i=v(t_i)\Delta t\)
\(\displaystyle=\Delta t\sum_{i=1}^{n}v(t_i)\) same \(\Delta t\) in every term
Check with n = 3 (Δt = 1)
\(\displaystyle\sum_{i=1}^{3}v(i)\cdot1=v(1)+v(2)+v(3)=10+40+90=140\) ✓
Check with n = 6 (Δt = 0.5)
\(\displaystyle0.5\sum_{i=1}^{6}v(0.5i)=0.5\,(2.5+10+22.5+40+62.5+90)=113.75\) ✓
5.1 · Hook
The exact distance: let \(n\to\infty\)
More chunks \(\Rightarrow\) thinner rectangles \(\Rightarrow\) smaller error.
As \(n\to\infty\), the width \(\Delta t=\frac{3}{n}\to0\) and the sum gets as close to the true area as we like.
So the exact distance is the limit of the sums:
\(\displaystyle\text{Distance}=\lim_{n\to\infty}\sum_{i=1}^{n}v(t_i)\,\Delta t=90\text{ miles}\)
Answer for the speeding-up car: exactly 90 miles. Neither 1-hour estimate (50 or 140) was right!
This "area under a curve" is called a definite integral . In 5.3 we'll find the 90 instantly using antiderivatives, which we learn next.
5.1 · Hook
Which point in each chunk? Left , right or midpoint
In each chunk the speed changes, so we must choose one time \(t_i\) to read the speedometer:
left endpoint \(t_i=(i-1)\,\Delta t\) start of each chunk
right endpoint \(t_i=i\,\Delta t\) end of each chunk
midpoint \(t_i=\big(i-\tfrac12\big)\Delta t\) middle of each chunk
The rule
Pick
one choice and use the
same point in
every chunk. No mixing!
Different choices, different estimates… but as \(n\to\infty\) they all approach 90 .
n 3 6 30 300
left 50 68.75 85.55 89.55
right 140 113.75 94.55 90.45
mid 87.5 89.38 89.98 90.00
5.1 · Antidifferentiation
Antidifferentiation: undo the derivative
For weeks we've been experts at taking things apart: finding the rate of change (the derivative). Now we want to UNDO it.
F(x) distance (total amount)
f(x) = F′(x) speed (rate of change)
differentiate
antidifferentiate (integrate)
Derivative: "If \(F(x)\) is distance, then \(F'(x)\) is speed."
Antiderivative: "If \(f(x)\) is speed, then \(F(x)\) is distance."
5.1 · Antidifferentiation
What function has derivative \(2x\)?
\(f'(x)=2x\qquad\longrightarrow\qquad f(x)=\,?\)
Answer: \(f(x)=x^2\) ✓
What about \(x^2+1,\ \ x^2+5,\ \ x^2+1865745\)?
They all have derivative \(2x\): the constant disappears when we differentiate.
\(f(x)=x^2+C\)
On the graph: every curve \(y=x^2+C\) is a vertical shift of the others, so at any \(x\) their tangent lines are parallel (same slope \(2x\)).
5.1 · Antidifferentiation
Antiderivatives
Definition
A function \(F(x)\) is an
antiderivative of \(f(x)\) if \[F'(x)=f(x)\] for every \(x\) in the domain of \(f\). Finding antiderivatives is called
antidifferentiation or
indefinite integration .
Fundamental property of antiderivatives
If \(F(x)\) is an antiderivative of the continuous function \(f(x)\), then
every other antiderivative of \(f(x)\) has the form \[G(x)=F(x)+C\quad\text{for some constant }C.\]
5.1 · Notation
The Indefinite Integral
The family of all antiderivatives of \(f(x)\) is written
\(\textcolor{#f6d36b}{\displaystyle\int}\ \textcolor{#f5a9c6}{f(x)}\,\textcolor{#8fd0f2}{dx}=F(x)+\textcolor{#a6dd9b}{C}\)
\(dx\)
variable of integration
\(C\)
constant of integration
Read it as: "the integral of \(f(x)\) with respect to \(x\)". Always check by differentiating: \(\dfrac{d}{dx}\big[F(x)+C\big]=f(x)\).
5.1 · Rules
Rules for Integrating Common Functions
rule formula condition check: d/dx
Constant \(\displaystyle\int k\,dx=\)\(kx+C\) \(k\) constant \((kx)'=k\) ✓ Power \(\displaystyle\int x^n\,dx=\)\(\dfrac{x^{n+1}}{n+1}+C\) \(n\ne-1\) \(\left(\frac{x^{n+1}}{n+1}\right)'=x^n\) ✓ Logarithmic \(\displaystyle\int \frac1x\,dx=\)\(\ln|x|+C\) \(x\ne0\) the missing \(n=-1\) case Exponential \(\displaystyle\int e^{kx}\,dx=\)\(\dfrac1k e^{kx}+C\) \(k\ne0\) \(\left(\frac1ke^{kx}\right)'=e^{kx}\) ✓
Power rule in words: add 1 to the power, then divide by the new power.
5.1 · Rules
Algebraic Rules for Indefinite Integration
Constant multiple rule
\(\displaystyle\int k\,f(x)\,dx=k\int f(x)\,dx\) for constant \(k\)
Sum rule
\(\displaystyle\int\big[f(x)+g(x)\big]dx=\int f(x)\,dx+\int g(x)\,dx\)
Difference rule
\(\displaystyle\int\big[f(x)-g(x)\big]dx=\int f(x)\,dx-\int g(x)\,dx\)
⚠ There is no product or quotient rule for integrals: \(\int fg\,dx\ne\int f\,dx\cdot\int g\,dx\). Expand or simplify first (see #25).
5.1 · Practice
Let's Practice
Exercise 4
\(\displaystyle\int\sqrt t\,dt\)
\(\displaystyle\int\sqrt t\,dt\) \(\displaystyle=\int t^{1/2}\,dt\) write as a power
\(=\dfrac{t^{1/2+1}}{1/2+1}+C=\dfrac{t^{3/2}}{3/2}+C\) power rule, \(n=\tfrac12\)
\(=\) \(\tfrac23t^{3/2}+C\)
Exercise 6
\(\displaystyle\int3e^x\,dx\)
\(\displaystyle\int3e^x\,dx\) \(\displaystyle=3\int e^x\,dx\) constant multiple rule
\(=\) \(3e^x+C\) exponential rule, \(k=1\)
5.1 · Practice
Let's Practice
Exercise 10
\(\displaystyle\int\left(\frac1{x^2}-\frac1{x^3}\right)dx\)
\(\displaystyle\int\Big(\frac1{x^2}-\frac1{x^3}\Big)dx\) \(\displaystyle=\int x^{-2}\,dx-\int x^{-3}\,dx\) powers, difference rule
\(=\dfrac{x^{-1}}{-1}-\dfrac{x^{-2}}{-2}+C\) power rule
\(=\) \(-\dfrac1x+\dfrac1{2x^2}+C\)
Exercise 25
\(\displaystyle\int\left(e^t+1\right)^2dt\)
\(\displaystyle\int\big(e^t+1\big)^2dt\) \(\displaystyle=\int\big(e^{2t}+2e^t+1\big)\,dt\) expand first
\(=\) \(\tfrac12e^{2t}+2e^t+t+C\)
5.1 · Differential Equations
Introduction to Differential Equations
A differential equation is an equation involving derivatives. A function that satisfies it is called a solution .
\(\dfrac{dy}{dx}=3x^2+5\) \(\dfrac{dP}{dt}=kP\) \(\left(\dfrac{dy}{dx}\right)^2+3\dfrac{dy}{dx}+2y=e^x\)
The simplest kind
\[\frac{dy}{dx}=g(x)\quad\Longrightarrow\quad y=\int g(x)\,dx\]
Solved by simply finding the indefinite integral of \(g(x)\). This gives the general solution (with \(+C\)).
Initial value problem (IVP)
A differential equation plus a side condition (like \(y=2\) when \(x=-1\)) that is used to find the constant \(C\) and get one specific solution .
5.1 · Initial Value Problems
Exercise 31: an Initial Value Problem
\(\dfrac{dy}{dx}=3x-2\), where \(y=2\) when \(x=-1\).
\(y\) \(\displaystyle=\int(3x-2)\,dx\)
\(=\tfrac32x^2-2x+C\) general solution
\(2\) \(=\tfrac32+2+C=\tfrac72+C\) \(x=-1,\ y=2\)
\(\Rightarrow C\) \(=2-\tfrac72=-\tfrac32\)
\(\Rightarrow y\) \(=\) \(\tfrac32x^2-2x-\tfrac32\)
The condition picks the one curve of the family that passes through \((-1,2)\). Drag C to find it!
5.1 · Separable Equations
Separable Differential Equations
A more general type of differential equation, called separable , has the form
\(\dfrac{dy}{dx}=\dfrac{h(x)}{g(y)}\)
Solve it by separating the variables (all \(y\)'s with \(dy\), all \(x\)'s with \(dx\)) and integrating both sides:
\(g(y)\,dy=h(x)\,dx\)
⟹
\(\displaystyle\int g(y)\,dy=\int h(x)\,dx\)
Then use the initial condition to find \(C\), and solve for \(y\) if you can.
5.1 · Separable Equations
Exercise 45: a Separable IVP
\(\dfrac{dy}{dx}=e^{x+y}\), where \(y=0\) when \(x=0\).
\(\dfrac{dy}{dx}\) \(=e^{x}e^{y}\) \(e^{x+y}=e^xe^y\)
\(\Rightarrow\ e^{-y}\,dy\) \(=e^{x}\,dx\) separate: divide by \(e^y\)
\(\displaystyle\Rightarrow\int e^{-y}\,dy\) \(\displaystyle=\int e^{x}\,dx\) integrate both sides
\(\Rightarrow\ -e^{-y}\) \(=e^{x}+C\) general solution
\(-e^{0}\) \(=e^{0}+C\ \Rightarrow\ -1=1+C\ \Rightarrow\ C=-2\) \(x=0,\ y=0\)
\(\Rightarrow\ -e^{-y}\) \(=e^{x}-2\)
\(\Rightarrow\ e^{-y}\) \(=2-e^{x}\) × (−1)
\(\Rightarrow\ -y\) \(=\ln(2-e^{x})\) take ln
\(\Rightarrow\ y\) \(=\) \(-\ln(2-e^{x})\) valid while \(e^x<2\), i.e. \(x<\ln2\)
5.1 · Application
Exercise 53: Marginal Profit
The marginal profit is \(P'(q)=100-2q\) when \(q\) units are produced. When 10 units are produced, the profit is $700 . (a) Find \(P(q)\). (b) Which \(q\) maximizes profit, and what is the maximum profit?
\(P(q)\) \(\displaystyle=\int(100-2q)\,dq=100q-q^2+C\)
\(700\) \(=100(10)-10^2+C=900+C\) \(P(10)=700\)
\(\Rightarrow C\) \(=-200\)
\(P(q)\) \(=\) \(100q-q^2-200\)
\(P'(q)\) \(=100-2q=0\ \Rightarrow\ q=50\) critical point
\(P''(q)\) \(=-2<0\ \Rightarrow\) maximum
\(P(50)\) \(=5000-2500-200=\) $2,300
SECTION 5.2
Integration by Substitution
The chain rule, run backwards
5.2 · Idea
Why substitution? Undo the chain rule
Our 5.1 rules can't handle \(\displaystyle\int 10x\,(x^2+1)^4\,dx\) directly… but look at this derivative:
\(\dfrac{d}{dx}\big[(x^2+1)^5\big]\) \(=5(x^2+1)^4\cdot\underbrace{2x}_{\text{inside}'}\) chain rule
\(=10x\,(x^2+1)^4\)
\(\Rightarrow\ \displaystyle\int10x\,(x^2+1)^4\,dx\) \(=(x^2+1)^5+C\) read it backwards
The pattern
If the integrand looks like
(function of \(u\)) ×
(derivative of \(u\)) , rename the inside as \(u\):
\[\int 10x\,(x^2+1)^4\,dx\ \xrightarrow{\ u=x^2+1,\ du=2x\,dx\ }\ \int5u^4\,du=u^5+C\]
5.2 · Method
Using Substitution for Integration
Step 1
Choose a substitution \(u=u(x)\) that "simplifies" the integrand \(f(x)\).
Step 2
Express the
entire integral in terms of \(u\) and \(du=u'(x)\,dx\). Every \(x\) and \(dx\) must become \(u\) and \(du\).
Step 3
The integral now has the form \(\displaystyle\int f(x)\,dx=\int g(u)\,du\). Evaluate it: find an antiderivative \(G(u)\).
Step 4
Replace \(u\) by \(u(x)\): \(\displaystyle\int f(x)\,dx=G\big(u(x)\big)+C\)
5.2 · Method
A few guidelines for choosing \(u\)
If possible, choose \(u\) so that \(u(x)\) is part of the integrand and \(u'(x)\) (up to a constant) is also there.
Good choices for \(u\): the part that makes \(f(x)\) hard to integrate, like
inside a radical \(\sqrt{\boxed{\ \ }}\)
a denominator \(\dfrac{1}{\boxed{\ \ }}\)
an exponent \(e^{\boxed{\ \ }}\)
Don't "oversubstitute": you want a simpler integral, not just a different one.
Persevere. If one substitution doesn't give an integral you can evaluate, try a different one.
5.2 · Types
Types of Substitutions
7. Algebra before substitution
8. When substitution fails
Seven common patterns, and one integral where substitution fails. Let's take them one at a time →
Exercise 5
\(\displaystyle\int\sqrt{4x-1}\,dx\)
Let \(u\) \(=4x-1\) inside the radical
\(du\) \(=4\,dx\ \Rightarrow\ dx=\tfrac14\,du\)
\(\displaystyle\int\sqrt{4x-1}\,dx\) \(\displaystyle=\int u^{1/2}\cdot\tfrac14\,du=\tfrac14\int u^{1/2}\,du\) everything in u
\(=\tfrac14\cdot\dfrac{u^{3/2}}{3/2}+C=\tfrac16\,u^{3/2}+C\) power rule
\(=\) \(\tfrac16(4x-1)^{3/2}+C\) put u back
Exercise 12
\(\displaystyle\int3t\sqrt{t^2+8}\,dt\)
Let \(u\) \(=t^2+8\)
\(du\) \(=2t\,dt\ \Rightarrow\ t\,dt=\tfrac12\,du\)
\(\displaystyle\int3t\sqrt{t^2+8}\,dt\) \(\displaystyle=3\int\sqrt{u}\cdot\tfrac12\,du=\tfrac32\int u^{1/2}\,du\)
\(=\tfrac32\cdot\dfrac{u^{3/2}}{3/2}+C=u^{3/2}+C\)
\(=\) \((t^2+8)^{3/2}+C\)
Exercise 14
\(\displaystyle\int x^5e^{1-x^6}\,dx\)
Let \(u\) \(=1-x^6\) the exponent
\(du\) \(=-6x^5\,dx\ \Rightarrow\ x^5\,dx=-\tfrac16\,du\)
\(\displaystyle\int x^5e^{1-x^6}\,dx\) \(\displaystyle=\int e^{u}\cdot\big(-\tfrac16\big)\,du=-\tfrac16\int e^{u}\,du\)
\(=-\tfrac16e^{u}+C\)
\(=\) \(-\tfrac16e^{1-x^6}+C\)
Exercise 19
\(\displaystyle\int\frac{3x^4+12x^3+6}{x^5+5x^4+10x+12}\,dx\)
Let \(u\) \(=x^5+5x^4+10x+12\) the denominator
\(du\) \(=(5x^4+20x^3+10)\,dx=5(x^4+4x^3+2)\,dx\)
numerator \(=3x^4+12x^3+6=3(x^4+4x^3+2)\) notice!
\(\displaystyle\int\frac{3x^4+12x^3+6}{x^5+\cdots}\,dx\) \(\displaystyle=\int\frac{3(x^4+4x^3+2)}{u}\cdot\frac{du}{5(x^4+4x^3+2)}\)
\(\displaystyle=\frac35\int\frac1u\,du\)
\(=\tfrac35\ln|u|+C=\) \(\tfrac35\ln|x^5+5x^4+10x+12|+C\) log rule
Exercise 20
\(\displaystyle\int\frac{10x^3-5x}{\sqrt{x^4-x^2+6}}\,dx\)
Let \(u\) \(=x^4-x^2+6\) inside the radical
\(du\) \(=(4x^3-2x)\,dx=2(2x^3-x)\,dx\)
numerator \(=10x^3-5x=5(2x^3-x)\) notice!
\(\displaystyle\int\frac{10x^3-5x}{\sqrt{x^4-x^2+6}}\,dx\) \(\displaystyle=\int\frac{5(2x^3-x)}{\sqrt u}\cdot\frac{du}{2(2x^3-x)}\)
\(\displaystyle=\frac52\int u^{-1/2}\,du\)
\(=\tfrac52\cdot\dfrac{u^{1/2}}{1/2}+C=5u^{1/2}+C=\) \(5\sqrt{x^4-x^2+6}+C\)
Exercise 26
\(\displaystyle\int\frac{\ln(x^2)}{x}\,dx\)
Let \(u\) \(=\ln(x^2)=2\ln x\) log rule first
\(du\) \(=\tfrac2x\,dx\ \Rightarrow\ \tfrac1x\,dx=\tfrac12\,du\)
\(\displaystyle\int\frac{\ln(x^2)}{x}\,dx\) \(\displaystyle=\int u\cdot\tfrac12\,du=\tfrac12\int u\,du\)
\(=\tfrac12\cdot\dfrac{u^2}{2}+C=\dfrac{u^2}{4}+C\)
\(=\) \(\dfrac{\big(\ln(x^2)\big)^2}{4}+C\) \(\ =(\ln x)^2+C\) since \(\ln x^2=2\ln x\)
Example 5.2.7
\(\displaystyle\int\frac{x^2+3x+5}{x+1}\,dx\)
(top degree ≥ bottom degree, so divide first)
\(\dfrac{x^2+3x+5}{x+1}\) \(=x+2+\dfrac{3}{x+1}\) long division
check: \((x+2)(x+1)+3=x^2+3x+2+3=x^2+3x+5\) ✓
\(\displaystyle\int\frac{x^2+3x+5}{x+1}\,dx\) \(\displaystyle=\int\Big(x+2+\frac{3}{x+1}\Big)dx\)
\(=\tfrac12x^2+2x+3\ln|x+1|+C\) \(u=x+1\) in the last term
\(\tfrac12x^2+2x+3\ln|x+1|+C\)
Example 5.2.8
Evaluate \(\displaystyle\int x^4e^{x^4+2}\,dx\).
Try \(u\) \(=x^4+2\) the natural choice
\(du\) \(=4x^3\,dx\ \Rightarrow\ x^3\,dx=\tfrac14\,du\)
but the integrand has \(x^4=x\cdot x^3\): one extra \(x\) is left over!
since \(x^4=u-2\) \(x=(u-2)^{1/4}=\sqrt[4]{u-2}\)
\(\displaystyle\int x^4e^{x^4+2}\,dx\) \(\displaystyle=\int x\,e^{x^4+2}(x^3\,dx)=\int\sqrt[4]{u-2}\;e^{u}\Big(\tfrac14\,du\Big)\)
That's no improvement on the original! Try \(u=x^2\) or \(u=x^3\) too: nothing works.
This does not mean there's no antiderivative, only that substitution can't find it.
5.2 · Differential Equations
Differential Equations Involving Substitution
Example 5.2.9
Find the general solution of the separable differential equation \(\ \dfrac{dy}{dx}=\dfrac{\sqrt{4-y^2}}{xy}\).
separate: \(\dfrac{y\,dy}{\sqrt{4-y^2}}=\dfrac{dx}{x}\) y's left, x's right
\(\displaystyle\int\frac{y\,dy}{\sqrt{4-y^2}}\) \(\displaystyle=\int\frac{dx}{x}\)
left side: let \(u\) \(=4-y^2,\quad du=-2y\,dy\ \Rightarrow\ y\,dy=-\tfrac12\,du\)
\(\displaystyle\int\frac{-\frac12\,du}{\sqrt u}\) \(=-\tfrac12\cdot\dfrac{u^{1/2}}{1/2}=-\sqrt u\)
so \(-\sqrt u=\ln|x|+C\) right side: log rule
\(-\sqrt{4-y^2}=\ln|x|+C\) put u back
The answer is left in implicit form (an equation in x and y). Solving for y explicitly isn't always possible or worth it.
5.2 · Initial Value Problems
Obtaining Price from Its Rate of Change
Example 5.2.10
The price \(p\) (dollars) of each unit is changing at the rate
\(\dfrac{dp}{dx}=\dfrac{-135x}{\sqrt{9+x^2}}\), where \(x\) (hundred units) is the demand. 400 units (\(x=4\)) are demanded at $30 per unit.
(a) Find the demand function \(p(x)\).
(b) At what price will 300 units be demanded? At what price will no units be demanded?
(c) How many units are demanded at $20 per unit?
Let's solve it part by part →
(a) Demand function
\(p(x)\) \(\displaystyle=\int\frac{-135x}{\sqrt{9+x^2}}\,dx\)
let \(u\) \(=9+x^2,\ \ du=2x\,dx\Rightarrow x\,dx=\tfrac12du\)
\(p\) \(\displaystyle=-135\int u^{-1/2}\cdot\tfrac12\,du=-\tfrac{135}{2}\cdot\frac{u^{1/2}}{1/2}+C\)
\(=-135\sqrt{9+x^2}+C\)
\(p(4)=30\) \(\Rightarrow\ 30=-135(5)+C\) initial value
\(\Rightarrow\ C=705\)
\(p(x)\) \(=\) \(-135\sqrt{9+x^2}+705\)
(b) Price for 300 units? For 0 units?
\(p(3)\) \(=-135\sqrt{9+9}+705\) x = 3 hundred
\(\approx-572.76+705\approx\) $132.24
\(p(0)\) \(=-135\sqrt9+705=-405+705\)
\(=\) $300 (no demand)
(c) Units demanded at $20?
\(-135\sqrt{9+x^2}+705\) \(=20\)
\(135\sqrt{9+x^2}\) \(=685\)
\(\sqrt{9+x^2}\) \(=\tfrac{685}{135}\approx5.074\)
\(9+x^2\) \(\approx25.75\) square both sides
\(x^2\) \(\approx16.75\ \Rightarrow\ x\approx4.09\)
≈ 409 units (4.09 hundred)
SECTION 5.3
The Definite Integral & the Fundamental Theorem
Area under a curve · Rules · Substitution · Net change
5.3 · Area Under the Curve
Area under a Curve: what we know so far
From our road trip: area under a curve = limit of sums of thin rectangles.
Area under a curve
If \(f(x)\ge0\) is continuous on \(a\le x\le b\):
Split \([a,b]\) into \(n\) equal pieces of width \(\Delta x=\dfrac{b-a}{n}\)
Pick a point \(x_k\) in each piece; rectangle area \(=f(x_k)\,\Delta x\)
\(\text{Area}\displaystyle=\lim_{n\to\infty}\sum_{k=1}^{n}f(x_k)\,\Delta x\)
Let's try it on a simple region where we already know the answer…
5.3 · Area Under the Curve
Example 5.3.1: First, the area by geometry
Example 5.3.1
Let \(R\) be the region under \(f(x)=2x+1\) over \(1\le x\le3\). Find the area of \(R\).
The region is a straight-line shape, so cut it into a rectangle and a triangle :
\(f(1)\) \(=2(1)+1=3\) left height
\(f(3)\) \(=2(3)+1=7\) right height
rectangle \(=2\times3=6\) width × height
triangle \(=\tfrac12\times2\times4=4\) ½ × base × height
Area \(=6+4=\) 10
Now let's get the same 10 with our limit of sums method, which also works for curves, where geometry can't help.
5.3 · Area Under the Curve
Example 5.3.1: Now verify with the Limit of a Sum
Example 5.3.1
Let \(R\) be the region under \(f(x)=2x+1\) over \(1\le x\le3\). Compute the area of \(R\) as the limit of a sum.
\(n=6\): \(\Delta x=\dfrac{3-1}{6}=\dfrac13\) 6 rectangles
left ends: \(1,\ \tfrac43,\ \tfrac53,\ 2,\ \tfrac73,\ \tfrac83\)
heights \(f(x_k)\): \(3,\ \tfrac{11}{3},\ \tfrac{13}{3},\ 5,\ \tfrac{17}{3},\ \tfrac{19}{3}\) \(f(x)=2x+1\)
\(S_6\) \(=\Big(3+\tfrac{11}3+\tfrac{13}3+5+\tfrac{17}3+\tfrac{19}3\Big)\Big(\tfrac13\Big)\)
\(=\dfrac{28}{3}\approx\) 9.333
5.3 · Area Under the Curve
Example 5.3.1: more and more rectangles
Keep subdividing, and the sums \(S_n\) approach the actual area:
n 6 10 20 50 100 500
Sₙ 9.333 9.600 9.800 9.920 9.960 9.992
\(\displaystyle A=\lim_{n\to\infty}S_n=10\)
Exactly the 10 we found with the rectangle + triangle ✓
Adding hundreds of rectangles is painful. Is there a shortcut? Yes!
5.3 · Definite Integral
The Definite Integral
Definition
\[\int_a^b f(x)\,dx=\lim_{n\to\infty}\Big[f(x_1)+f(x_2)+\cdots+f(x_n)\Big]\Delta x,\qquad \Delta x=\frac{b-a}{n}\]
\(a,\ b\)
lower & upper limits of integration
\(dx\)
variable of integration
a number!
not a family of functions
Area as a definite integral
If \(f(x)\ge0\) and continuous on \(a\le x\le b\), the region under \(y=f(x)\) has area \(\displaystyle A=\int_a^b f(x)\,dx\).
Indefinite integral \(\int f(x)\,dx=F(x)+C\) is a function . Definite integral \(\int_a^b f(x)\,dx\) is a number .
5.3 · Fundamental Theorem
The Fundamental Theorem of Calculus
Fundamental theorem of calculus
If \(f(x)\) is continuous on \(a\le x\le b\), then
\[\int_a^b f(x)\,dx=F(b)-F(a)\]
where \(F(x)\) is
any antiderivative of \(f(x)\).
Notation: \(\ F(x)\Big|_a^b=F(b)-F(a)\)
The big idea: area (a limit of sums) can be found with an antiderivative (5.1 and 5.2)!
No "\(+C\)" needed: \(\big[F(b)+C\big]-\big[F(a)+C\big]=F(b)-F(a)\)
Always compute both \(F(b)\) and \(F(a)\), even when \(a=0\).
5.3 · Fundamental Theorem
Why does it work? The area function
Let \(A(x)\) = area under \(y=f(x)\) from \(a\) to \(x\). Drag \(x\) and watch the area grow.
\(A(x+h)-A(x)\) \(\approx f(x)\cdot h\) thin strip ≈ rectangle
\(\dfrac{A(x+h)-A(x)}{h}\) \(\approx f(x)\)
\(A'(x)\) \(=f(x)\) let h → 0
so \(A(x)\) \(=F(x)+C\) A is an antiderivative!
\(A(a)=0\) \(\Rightarrow C=-F(a)\)
\(A(b)\) \(=F(b)-F(a)\) ✓
5.3 · Fundamental Theorem
The shortcut in action
Example 5.3.2
Use the fundamental theorem to find the area under \(y=2x+1\) over \(1\le x\le3\).
\(A\) \(\displaystyle=\int_1^3(2x+1)\,dx\)
\(=\big(x^2+x\big)\Big|_1^3\) \(F=x^2+x\)
\(=\big[9+3\big]-\big[1+1\big]\)
\(=\) 10
Same as the limit of 500 rectangles in Example 5.3.1, in one line!
Back to the road trip
The car's speed was \(v(t)=10t^2\) mph. How far did it travel in 3 hours?
\(D\) \(\displaystyle=\int_0^3 10t^2\,dt\)
\(=\dfrac{10t^3}{3}\Big|_0^3\)
\(=\dfrac{10(27)}{3}-0\)
\(=\) 90 miles
Exactly the 90 miles our rectangles were approaching. 🚗
5.3 · Applications
Example 5.3.3: Value of a Plot of Land
A parcel of land is bounded by streets \(y=0,\ x=0,\ x=1\) and a stream \(y=x^3+1\), with \(x,y\) in hundreds of feet . Land is worth $12 per square foot . What is the parcel worth?
\(A\) \(\displaystyle=\int_0^1(x^3+1)\,dx=\Big(\tfrac14x^4+x\Big)\Big|_0^1\)
\(=\Big[\tfrac14+1\Big]-\Big[0+0\Big]=\tfrac54\) hundred ft × hundred ft
in ft² \(=\tfrac54\times100\times100=12{,}500\text{ ft}^2\)
value \(=\$12\times12{,}500=\) $150,000
5.3 · Practice
Let's Practice
Exercise 25
\(\displaystyle\int_0^1\big(x^4+3x^3+1\big)\,dx\)
\(=\Big(\dfrac{x^5}{5}+\dfrac{3x^4}{4}+x\Big)\Big|_0^1\) power rule
\(=\Big(\dfrac15+\dfrac34+1\Big)-\Big(0+0+0\Big)\) \(F(1)-F(0)\)
\(=\dfrac{4}{20}+\dfrac{15}{20}+\dfrac{20}{20}\) common denominator
\(=\) \(\dfrac{39}{20}\)
5.3 · Signed Area
Can a definite integral be negative?
Example 5.3.5
Evaluate \(\displaystyle\int_1^4\Big(\frac1x-x^2\Big)\,dx\).
\(=\Big(\ln|x|-\dfrac13x^3\Big)\Big|_1^4\)
\(=\Big[\ln4-\dfrac{64}{3}\Big]-\Big[\ln1-\dfrac13\Big]\)
\(=\ln4-21\approx\) −19.61
Why negative?
The curve is
below the x-axis here. Area above the axis counts \(+\), area below counts \(-\). So \(\int_a^b f\,dx\) is a
net (signed) area , and equals the actual area only when \(f\ge0\).
5.3 · Properties
Rules for Definite Integrals
1. Constant multiple
\(\displaystyle\int_a^b kf(x)\,dx=k\int_a^b f(x)\,dx\)
2–3. Sum / difference
\(\displaystyle\int_a^b\big[f\pm g\big]dx=\int_a^b f\,dx\pm\int_a^b g\,dx\)
4. Zero width
\(\displaystyle\int_a^a f(x)\,dx=0\)
5. Reverse the limits
\(\displaystyle\int_b^a f(x)\,dx=-\int_a^b f(x)\,dx\)
6. Subdivision rule
\(\displaystyle\int_a^b f(x)\,dx=\int_a^c f(x)\,dx+\int_c^b f(x)\,dx\)
5.3 · Properties
Example 5.3.6: Using the Rules
Example 5.3.6
\(f,g\) are continuous on \(2\le x\le5\) with \(\displaystyle\int_2^5f(x)\,dx=3,\quad\int_2^5g(x)\,dx=-4,\quad\int_3^5f(x)\,dx=7\).
Evaluate (a) \(\displaystyle\int_2^5\big[2f(x)-3g(x)\big]dx\) (b) \(\displaystyle\int_2^3f(x)\,dx\)
(a) \(\displaystyle=2\int_2^5f\,dx-3\int_2^5g\,dx\) difference & constant rules
\(=2(3)-3(-4)=6+12=\) 18 substitute
(b) \(\displaystyle\int_2^5f\) \(\displaystyle=\int_2^3f+\int_3^5f\) subdivision
\(3\) \(\displaystyle=\int_2^3f+7\)
\(\displaystyle\int_2^3f\,dx\) \(=3-7=\) −4
5.3 · Substitution
Substitution in a Definite Integral
Example 5.3.7
\(\displaystyle\int_0^1 8x\,(x^2+1)^3\,dx\)
Let \(u=x^2+1,\ du=2x\,dx\Rightarrow8x\,dx=4\,du\)
Way 1: back to x \(\displaystyle\int8x(x^2+1)^3dx=\int4u^3du=u^4\)
\(=(x^2+1)^4\) put x back
\(\displaystyle\Rightarrow\int_0^1\cdots=(x^2+1)^4\Big|_0^1\)
\(=2^4-1^4=\) 15
Way 2: change the limits \(x=0\Rightarrow u=0^2+1=1\) new lower limit
\(x=1\Rightarrow u=1^2+1=2\) new upper limit
\(\displaystyle\int_0^1\cdots=\int_1^2 4u^3\,du=u^4\Big|_1^2\)
\(=16-1=\) 15
⚠ The limits belong to the variable. If you change to \(u\), change the limits too (or switch back to \(x\) first).
5.3 · Substitution
Let's Practice: change the limits
Exercise 36
\(\displaystyle\int_1^2\frac{x^2}{(x^3+1)^2}\,dx\)
Let \(u\) \(=x^3+1,\quad du=3x^2dx\ \Rightarrow\ x^2dx=\tfrac13du\)
limits: \(x=1\Rightarrow u=2,\qquad x=2\Rightarrow u=9\)
\(\displaystyle\int_1^2\frac{x^2}{(x^3+1)^2}dx\) \(\displaystyle=\int_2^9\frac{1}{u^2}\cdot\frac13du=\frac13\int_2^9u^{-2}du\)
\(=\dfrac13\Big(-\dfrac1u\Big)\Big|_2^9=\dfrac13\Big(-\dfrac19+\dfrac12\Big)\)
\(=\dfrac13\cdot\dfrac{7}{18}=\) \(\dfrac{7}{54}\)
5.3 · Substitution
Example 5.3.8
Example 5.3.8
\(\displaystyle\int_{1/4}^{2}\frac{\ln x}{x}\,dx\)
Let \(u\) \(=\ln x,\quad du=\tfrac1x\,dx\)
limits: \(x=\tfrac14\Rightarrow u=\ln\tfrac14,\qquad x=2\Rightarrow u=\ln2\)
\(\displaystyle\int_{1/4}^{2}\frac{\ln x}{x}\,dx\) \(\displaystyle=\int_{\ln(1/4)}^{\ln2}u\,du=\frac{u^2}{2}\Big|_{\ln(1/4)}^{\ln2}\)
\(=\tfrac12(\ln2)^2-\tfrac12\big(\ln\tfrac14\big)^2\approx0.240-0.961\)
\(\approx\) −0.721 negative: more area below the axis
5.3 · Net Change
Net Change: Business Applications
Net change
If \(Q'(x)\) is the
rate of change of \(Q\), then \(\displaystyle Q(b)-Q(a)=\int_a^b Q'(x)\,dx\).
marginal cost → change in cost, marginal revenue → change in revenue, …
Example 5.3.9
The marginal cost is \(3(q-4)^2\) dollars per unit. How much does total cost increase if production rises from 6 to 10 units?
\(C(10)-C(6)\) \(\displaystyle=\int_6^{10}3(q-4)^2\,dq\)
\(=(q-4)^3\Big|_6^{10}\) \(u=q-4\)
\(=6^3-2^3=216-8=\) $208
5.3 · Net Change
More Net Change Problems
Example 5.3.10: protein mass
A protein disintegrates at \(\dfrac{dm}{dt}=\dfrac{-30}{(t+3)^2}\) g/hr. Net change in mass during the first 2 hours?
\(m(2)-m(0)\) \(\displaystyle=\int_0^2\frac{-30}{(t+3)^2}dt\)
\(\displaystyle=\int_3^5-30u^{-2}\,du\) \(u=t+3\)
\(=\dfrac{30}{u}\Big|_3^5=30\Big(\dfrac15-\dfrac13\Big)\)
\(=\) −4 g a decrease of 4 g
Extra: marginal revenue
A firm's marginal revenue is \(R'(q)=200-4q\) dollars per unit. How much extra revenue comes from raising sales from 10 to 20 units?
\(R(20)-R(10)\) \(\displaystyle=\int_{10}^{20}(200-4q)\,dq\)
\(=\big(200q-2q^2\big)\Big|_{10}^{20}\)
\(=(4000-800)-(2000-200)\)
\(=\) $1,400
Any Questions…??
Thank You