Applications of Integration

Stage 20 of 23 Strand 2 of 4 21 lessons

21 illustrated lessons, each teaching the why before the how.

Start with Velocity and Displacement by Integration in the app →
Revise Applications of Integration with flashcards →

Jump to a lesson

Velocity and Displacement by Integration

The motion chain, run backwards.

Integrating acceleration recovers velocity, and integrating velocity recovers displacement

Read the full lesson →

, v = 2t, a = 2
differentiate to go from s to v to a
integrate to go from a to v to s

Differentiating took s to v to a. Integrating reverses each step: a to v, then v to s.

v = 2t, so
the start pins down C
s = 0 at t = 0, so C = 0

v = 2t integrates to s = t² + C, and starting at s = 0 when t = 0 pins C at 0.

xy

Where v is below the axis the motion is backward: the integral gives the displacement, and distance adds the absolute values.

evaluate at both ends
at 2, less at 0
s = 8

For v = 3t² from t = 0 to 2, integrate to get t³ and evaluate at both ends: 8 − 0 = 8.

Now you

xy

v = 3t². The displacement from t = 0 to t = 2 is

xy

v dips below the axis. The signed integral gives

Total Distance Traveled

Integrate the speed, not the velocity.

Integrating the speed rather than the velocity counts every stretch as a positive amount

Read the full lesson →

xy

Velocity here is positive, then negative, then positive: the particle turns twice.

the backward stretch cancels part of the forward
displacement

The signed integral gives displacement — the trip back subtracts from the trip out.

every stretch counted as a positive amount
total distance

For total distance integrate the speed |v|, so no stretch can cancel another.

solve v = 0then add their absolute valuesintegrate between the turns

In practice: find where v = 0, integrate between those times, and add the absolute values.

, ,
distance takes the middle piece as positive
distance 4, displacement

Here the pieces are 4/3, −4/3 and 4/3: the distance is 4, but the displacement is only 4/3.

Now you

, ,
add them how?

A particle moves off and returns to its start. Its displacement is

, ,
add them how?

The three stretches measure 4/3, −4/3 and 4/3. The displacement is

Area Between Two Curves

Integrate the gap: upper minus lower.

Subtracting the lower curve from the upper one before integrating gives the gap

Read the full lesson →

xy

Two curves cross, and the region between them is what is wanted.

one height minus the other, integrated
the gap at each x

At every x the gap is one height minus the other, so integrate that difference.

find the crossings firstsolve for them before integrating anythingthey are the limits

The points where they meet are the limits, so solve for those before integrating.

xy

Three crossings here: which curve is on top changes, so split at each crossing.

Now you

xy

The limits of that integral come from

xy

To find the area between two curves, integrate

Volumes of Revolution

Spinning a curve about an axis sweeps a solid.

Spinning a curve about an axis sweeps out a solid made of circular discs

Read the full lesson →

xy

Take the region under a curve and spin it about the x-axis.

y

A thin slice becomes a disc of radius y, so its area is πy².

dx

Add the discs by integrating: the volume is π ∫ y² dx.

about the x-axis:
radius is x now, thickness is dy
about the y-axis:

Spin about the y-axis instead and x and y change places: the radius is x, and the thickness is dy.

Now you

ydx

Spinning about the y-axis, the integral is

xy

y = √x spun about the x-axis, from 0 to 4. V = ?

Volumes by Washers

Each slice is a disc with a hole punched out.

Spinning a region that misses the axis leaves a hole, so every slice is a ring

Read the full lesson →

xy

Spin the region between y = x and y = x² about the x-axis, rather than the region under a single curve.

rR

Each slice is a ring: a disc of radius R with a disc of radius r punched out.

the outer disc less the inner one

Its face has area πR² − πr²: the outer disc minus the hole.

a difference of squares is not a squared difference
never

Square each radius before subtracting — π(R − r)² is a different number entirely.

both measured at the same x
R and r are distances to the axis

So V = π ∫ (R² − r²) dx, both radii measured out from the axis of the spin.

R = x, on [0, 1]
which comes to 2π/15

For y = x and y = x² on [0, 1]: π(1/3 − 1/5) = 2π/15.

spin about y = 2 insteaddistance to the new axisradius = 2 − (height of the curve)

About another line, each radius is the distance from that line down to the curve.

Now you

rR

Compared with the disc method, the washer method needs

xy

y = x and y = x² on [0, 1], spun about the x-axis. The volume is

Volumes with Known Cross Sections

Stack the slices; nothing has to spin.

Multiplying each slice area by its thickness and integrating gives a volume without spinning

Read the full lesson →

xy

Start with a flat base region — here everything under y = √x from 0 to 4.

s = √x

On each strip stands a square, and its side s is the strip’s height √x.

face area times thickness
slab = A(x) dx

The square’s face is s² = x, so a slab of thickness dx holds A(x) dx.

no π anywhere, because nothing was spun

Add the slabs: V = ∫ A(x) dx, which is 8 here, and no π appears at all.

square:
rectangle of height h: s h
equilateral triangle:
same method, a different area formula
semicircle:

Change the slice and only A changes: a rectangle uses sh, and a semicircle uses (π/8)s².

s = upper − lowerthe side is the gap at that x

If the base sits between two curves, the side s is the gap: upper minus lower.

Now you

semicircle, diameter sarea = ?

Cross sections are semicircles of diameter s. Each face has area

xy

A known-cross-section volume needs

Arc Length

Pythagoras on a tiny piece of curve.

Pythagoras on a tiny piece of curve gives a formula for its whole length

Read the full lesson →

dydxds

Zoomed in far enough, a small piece of curve is almost straight, and Pythagoras gives ds from dx and dy.

take a dx out of the root

Factor out dx, and integrating adds every small piece into the total length.

x and y both given by ttake a dt out instead

If x and y are both given in terms of a parameter t, take dt out of the same root instead.

Now you

dydxds

Arc length integrates

dydxds

The arc length formula comes from

The Mean Value of a Function

The integral divided by the width.

Dividing the integral by the width gives the average height of a curve

Read the full lesson →

xy

The integral is the area. Now ask what constant height would give the same area.

xy

A horizontal line at that height encloses the same area: the mean value is the integral divided by the width.

,
the shaded area
that area shared over the width 4

Work it out: the area is 64/3, and spread over a width of 4 the height is 16/3.

Now you

32 ÷ 4what does this come to?

A function has integral 32 over a width of 4. What is its mean value?

12 ÷ 4what does this come to?

A function has integral 12 over a width of 4. What is its mean value?

Improper Integrals

Run to a finite t, then let t grow forever.

An integral running to infinity is defined as the limit of ordinary ones

Read the full lesson →

x

This region extends forever to the right, so there is no upper limit to substitute.

to t, then
infinity itself is never substituted in
the integral is defined as a limit

Integrate to a finite t, then take the limit as t grows without bound.

evaluate at both ends
from 1 to
as t grows, 1/t shrinks to 0

Work it out: the area out to t is 1 − 1/t, and 1/t shrinks to 0, leaving exactly 1.

x

An endless region can still have a finite area, if it thins out fast enough.

x

1/x falls too slowly: the area under it grows without bound, while the area under 1/x² converges.

xy

The other kind is finite-width but infinitely tall, blowing up at an end point.

,
take the limit at the singularity instead
, then
the same limit, taken at the other end point

Start at t, integrate, then take the limit as t approaches the singularity.

Now you

x

An infinite region can have a finite area

x

An improper integral is defined as

Numerical Integration

No antiderivative? Trapezia still get close.

When no antiderivative exists the area can still be estimated by trapezia

Read the full lesson →

xy

This bell-shaped curve has no antiderivative that can be written down, yet the area under it is a definite number.

xy

Cut the region into strips and let each top slant with the curve, not sit flat.

xy

Adding those trapezia estimates the area, and thinner strips estimate it better.

each strip: h × (left + right) ÷ 2each inner height belongs to two strips, so it is counted twice

Add the strips and the formula follows: h over 2, times the two end heights plus twice the inner heights.

Now you

Heights 0, 1, 4 with h = 1. The trapezium estimate is

The trapezium rule treats each strip top as

Simpson's Rule

Parabolas over the strips beat straight lines.

Fitting parabolas across the strip tops estimates an area far better than straight lines

Read the full lesson →

xy

On a curve that bulges upward, a straight top cuts across it and undershoots the area.

xy

Simpson’s rule takes the strips in pairs: three points fix one parabola for the top.

each pair:
all multiplied by h ÷ 3
shared ends add: 1, 4, 2, 4, …, 4, 1

Add the areas of those parabolas and the weights come out as 1, 4, 2, 4, …, 4, 1, all multiplied by h / 3.

same strips, same heightsa parabola matches the bendfar smaller error

With the same strips the answer is far closer, because a parabola follows the bend.

Now you

xy

Simpson’s rule tops each strip pair with a

xy

Why is Simpson’s rule more accurate than the trapezium rule?

Separable Differential Equations

Each variable on its own side, then integrate.

Gathering each variable on its own side lets both halves be integrated

Read the full lesson →

xy

An equation linking a rate to the quantity itself describes growth or decay.

y to one side, x to the other
integrate both sides
ln y = kx + c

Separate the variables and integrate each side, which gives ln y = kx + c.

ln y = kx + cundo the log
a power of a sum splits into a product
e^c is just a constant — call it A

Undo the log: e^(kx + c) splits into e^c times e^(kx), and that e^c is the A.

Now you

xy

dy/dx = ky has solutions of the form

y = 2 at x = 0

dy/dx = 4y, and y = 2 when x = 0. What is y?

Solving a Differential Equation by Substitution

A given substitution, and the variables separate.

A given substitution turns the equation into one in which the variables separate

Read the full lesson →

, u = x + y
differentiate the substitution

dy/dx = (x + y)² does not separate. Start from the substitution given: differentiate it to link du/dx with dy/dx.

replace dy/dx and x + y

Replace dy/dx and every x + y. The new equation has only u and x, and it separates.

put x + y back for u
y = tan(x + C) − x

Integrate each side, then put x + y back for u and make y the subject.

, y = vx
product rule: v changes with x

For y = vx, the product rule gives dy/dx = v + x dv/dx, because v changes with x too.

v = ln|x| + Cmultiply back by xy = x ln|x| + Cx

Separate and integrate, then multiply by x to return to y: y = x ln|x| + Cx.

Now you

dy/dx = (4x + y)². With u = 4x + y, the equation becomes

u = 4x + y

u = 4x + y. Which expression is du/dx?

Forming Differential Equations

A sentence about rates becomes an equation.

A sentence about a rate translates into a differential equation before any solving starts

Read the full lesson →

grows at a rate proportional to its size"a rate" is dP/dt; "its size" is P
kP

The sentence names both sides: "grows at a rate" is dP/dt, and "its size" is P.

cools, in proportion to the gap T − Rthe minus says the temperature falls

A hot drink cools toward room temperature R: dT/dt = −k(T − R). The minus sign shows that T falls.

find the rate:
find what drives itjoin them with a constant k

Name the rate, name what drives it, and join the two with a constant k.

first, write the equationseparate, then integrate both sidesseparating the variables solves it

Writing the equation is half the work, and separating the variables then solves it.

Now you

cools the gap T − R
write the rate equation

"Cools in proportion to how far it sits above the room" becomes

leaks volume left
write the rate equation

"Leaks at a rate proportional to the volume left" becomes

Slope Fields

Every solution of an equation, drawn at once.

Drawing the gradient an equation prescribes at each point shows every solution at once

Read the full lesson →

xy

dy/dx = x names a gradient at every point. Draw a short piece of it at each one.

xy

A solution is a curve that runs along the segment at every point it passes through.

xy

Shift that curve up and it still fits, because the field holds the whole family y = x²/2 + c.

xy

When the gradient depends on y, the segments change as you go up a column, not across.

flat segments mean
read the field before solving
a column all alike means y is absent

Flat segments mark stationary points, and a column of identical segments means the gradient does not depend on y.

Now you

xy

If every segment in a column is identical, dy/dx depends on

xy

In the slope field of dy/dx = x, the segments on the y-axis are

Euler’s Method

A differential equation stepped into numbers.

Stepping along the tangent a short way at a time turns a differential equation into numbers

Read the full lesson →

,
known at the starting point
no formula for y, but the gradient is known

Some equations will not separate. The gradient at the starting point is still known.

follow the tangent for a width h

Follow the tangent for a width h, then use the equation to find a new gradient.

xy

Three steps, each one straight, track the true curve that runs above them.

, y(0) = 1, h = 0.5
true value at 1.5 is about 4.48

For dy/dx = y starting at 1, the steps give 1.5, 2.25 and 3.375. The true value at x = 1.5 is about 4.48.

a tangent lies under a curve bending uphalve h and the error roughly halvesso every step lands low

On a curve bending upward each tangent sits below it, so the estimate always lands low.

Now you

height + width · gradient

The Euler step rule is

y + h · f(x, y)the gradient at the start is 11 + 0.5 · 1

dy/dx = y with y(0) = 1 and h = 0.5. After one step, y is

The Integrating Factor

One factor turns the left side into a product rule.

Multiplying a linear equation by a chosen factor turns its left side into one product rule

Read the full lesson →

y is multiplied by a function of x
the y and the x will not separate

This form does not separate: y is multiplied by a function of x, and dy/dx stands on its own.

the product rule
wanted:
so I′ = I P

The left side is almost a product rule. Find the factor I that turns it into exactly one derivative, d/dx(Iy).

I′/I = Pseparate and integrate
the integrating factor

That condition is itself separable, and solving it gives I as e to the integral of P.

the whole left side is now one derivative

Multiply through by I and the left side collapses to one derivative, then integrate.

P = 2/x
y = x²/4 + c/x²

Here P is 2 over x, so the integrating factor is x², and the rest is a single integral.

Now you

work out

For dy/dx + 2y/x = x, what is the integrating factor?

Py = Q
the factor I

For dy/dx + P(x)y = Q(x), what is the integrating factor?

The Auxiliary Equation

A second-order equation becomes a quadratic.

Trying an exponential in a second-order equation turns it into a quadratic

Read the full lesson →

a y″ + b y′ + c y = 0its derivatives are multiples of itself
try

A second-order equation asks for a function whose derivatives are multiples of itself.

,
the exponential is never zero

Substituting leaves a common exponential factor, and that factor is never zero.

: two real roots
two independent exponentials
Be

A positive discriminant gives two real roots, so the solution is two exponentials.

: one repeated root
an x supplies the second solution

A repeated root gives only one exponential, so an x is attached to build a second one.

: roots
e^(iqx) is cos qx + i sin qx

A negative discriminant gives complex roots, and the solution becomes an exponential times sines and cosines.

xy

With complex roots the solution oscillates, and the exponential sets the envelope.

Now you

repeated root m = 4the shape of the solution

The auxiliary equation has a repeated root m = 4. What is the solution?

y″ − 5y′ + 6y = 0
try

What is the auxiliary equation of y'' − 5y' + 6y = 0?

Complementary Function and Particular Integral

One part kills the left side, one builds the right.

A second-order equation with a right-hand side needs one solution of its own added on

Read the full lesson →

y″ − 3y′ + 2y = 4xso the auxiliary equation alone cannot finishthe right side is no longer 0

With a nonzero right side, the exponentials from the auxiliary equation no longer satisfy the equation on their own.

y″ − 3y′ + 2y = 4xu solves the equation with 0 on the right, v solves the full onelet y = u + vdifferentiating is linearthen the left side gives 0 + 4x

Split the answer in two: one part makes the left side 0, the other gives the right side.

, roots 1 and 2
the complementary function
Be

The first part solves the equation with 0 on the right: the complementary function.

v″ − 3v′ + 2v = 4xthe right side is linear, so guess a linear vtry v = px + q0 − 3p + 2(px + q) = 4xmatch the x terms, then the constants2p = 4 and 2q − 3p = 0

For the second part, try a function shaped like the right side and match the coefficients.

p = 2, q = 3the particular integralv = 2x + 3
Be

Solve for p and q, and the answer is the two parts added: complementary plus particular.

right side try px + q
right side try
right side try p cos ax + q sin ax

The trial function copies the form of the right side, with unknown coefficients in place of the given numbers.

Now you

right side 4xwhat shape to try?

For y'' − 3y' + 2y = 4x, what should the particular integral be tried as?

y″ − 3y′ + 2y = 0solve with 0 on the right

What is the complementary function of y'' − 3y' + 2y = 4x?

Simple Harmonic Motion

Pulled back in proportion, so it swings forever.

When acceleration is proportional to displacement and points back, the auxiliary roots are ±ωi and the motion is a wave

Read the full lesson →

a second-order equation with no ẋ term
the auxiliary equation

Acceleration proportional to displacement and pointing back is ẍ = −ω²x.

p = 0, q = ω

The roots are ±ωi. The real part is 0, so there is no decay: the motion is a steady oscillation.

xy

x = 2 cos 2t oscillates between 2 and −2 forever, and its amplitude never changes.

the harmonic form
the amplitude

Combine the two terms into R cos(ωt − α), where R = √(A² + B²) is the amplitude.

period
gives
so amplitude cannot change it
R never appears

The period is 2π/ω. Only ω sets it, so a larger amplitude takes exactly as long.

Now you

where is R?

The amplitude of a harmonic motion is doubled. What happens to the period?

A = 5, B = 12

x = 5 cos 2t + 12 sin 2t. What is the amplitude?

Damped Oscillations

Light, critical or heavy — the discriminant says.

A resistance term adds a middle term km to the auxiliary equation, and its discriminant decides whether the motion still swings

Read the full lesson →

the kẋ term is the resistance
km
the discriminant decides

Resistance grows with speed, so a kẋ term appears and the auxiliary equation gains a middle term.

xy

Light damping is k² < 4ω²: the roots are complex, so the motion oscillates inside a shrinking envelope.

xy

Heavy damping is k² > 4ω²: two negative real roots, so the particle returns slowly with no oscillation at all.

xy

k² = 4ω² is critical damping: the fastest return that never crosses the center.

: light,
: critical,
: heavy, Be

The three cases of the discriminant are the three kinds of damping, each with its own name.

Now you

what does the exponential do?

Under light damping, what happens to the amplitude?

which of the three?

Which case returns to rest fastest without passing through it?

Continue your journey in the app — save your progress