1 Integration methods
Students should have no difficulties in solving the problems in this document after taking math
222, a prerequisite course for physics 202.
Physics 201 and 202 both contain line integrals, and simple double or even triple integrals (but this
latter case is rare).
This document illustrates several important points; it details what students should know
coming into 201/202, or what they will be expected to learn in 201/202. Students must
prepare themselves to gain some level of mastery of these concepts in 201/202, either through prior
preparation in math courses or through hard work (homework and problem solving) and
participation in class.
1.1 Integration by parts
This technique is used to rewrite integrals of products of two functions. Consider functions u(x)
and v(x) and integrals of the form
which is numerically equal to the area of the regions C and D in the figure.
Notice that the shaded region has area
Using this our original integral can be rewritten as
which is the entire integration by parts scheme.
Example
Consider integration by parts for
We
let v = x2 and u = - cos(x) to get after one application
and
we apply again to the last integral with v = 2x and u = sinx to get
The
last integral is elementary;
A common situation is to have integration by parts apparently take you around in
circles;
Example
apply partial integration to
with v = e-ax and u = - cos x;
and
now integrate the last integral by parts again with v = e-ax and u = sin x;
and
so
This is a useful integral, it is the Laplace transform of a sine function, and so will appear in
classical mechanics and electronics in the Newtonian equations of motion for a particle with a
sinusoidal (in time) force applied to it, or for the current in a circuit with a sinusoidal applied
voltage.
1.2 Variable Changes
Some of the simplest and most useful are;
1.
Let y = x2 + 2, then dy = 2xdx so that xdx =
and our integral can be written
as
2.
Let
x = sin θ, then dx = cos θ dθ and
= cos θ and our integral becomes
which gives us a rather nice definition of the arcsine or inverse-sine function.
3.
Let
x = tan θ, then dx =
(prove this, it is a nice exercise), and 1 + x2 = 1 +
=
and our
integral becomes
which, again, provides us with a nifty representation of an inverse trig function.
Example
Determine a power series expansion for tan -1x valid near x = 0.
We can use the previous problem
and
if we recognize that in this expression 0 ≤ y ≤ x and x is very small, then y is very small and we
can replace
with its power series for y ≈ 0 in the integrand;
which you should prove. We now integrate term by term;
and
so very near x = 0 we find that
4.
There is a standard substitution to use whenever your integrand has a radical containing 1 ± x2;
try x = cot θ. Then dx = -
and 1 + x2 =
and the integral becomes
At
this stage we notice (after we have become sufficiently experienced) that
and
so the integrand is the derivative of something;
We
now need to recover the answer in terms of x, but
which we solve for
or
and
so
since
This was a rather complicated example, however once an integral has been done, you may archive
it in your own personal integral table and re-use the result without having to go through all of the
trouble of rederiving it.
5.
is
an integral that will come up once or twice in Physics 202. We use the x = tan θ variable change on
it, to get
using the triangle figure to resolve the trig functions.
6.
This integral comes up if we want to compute the area of a unit circle, or at least the part of the
circle that lies in the first quadrant. We use x = sin θ to get
which we simplify by applying a trigonometric identity
and
in terms of x, cos θ =
, so
1.3 Partial Fractions
This method is used when one must evaluate integrals of the form
It is
very easy to show that if we suppose that a function of this form can be expanded as a sum such
as
then we can find the coefficients ai by a limit taking process
as
long as b
a and c
a. Then the last two terms will be zero in the limit. Such a decomposition is
very powerful and is called a partial fraction or pole decomposition and the limit is called the
residue
and
so forth, we find that
7.
We
perform the pole expansion
and
integrate directly
8.
This can be expanded as
9.
The
residue method requires a modification in order to be able to handle multiple roots, in this case the
required decomposition is
and
so
If we have an expression in the integrand such as
we
propose an expansion
Notice that
and
but
the other coefficients are harder to find. To get all of the others, compute
Notice that
which you really should verify by direct calculation. This allows us to compute all of the other
residues Am(b) and finish the expansion. If you go on in math and take a course in complex
variables, you will learn that the residue technique together with Cauchy’s Theorem allow you
to compute virtually any definite integral in a straightforward and systematic way. In fact if
you limit your attention to real variables only, there are no universal procedures for
evaluating integrals, only a bag of tricks. However in complex variables there are genuine
procedures that allow for relatively painless evaluation of even the most ferocious definite
integrals.
10.
and
all of these integrals are elementary.
All of the techniques presented so far have been elementary, though some of the results of their
application have not. You will find that the residue method has very many applications, not only
to the evaluation of limits and integrals, but also the the construction of very powerful
representations of ill-behaved functions. A beautiful example is the cot x function. We have already
seen that near x = 0, it behaves badly,
We
may suspect that since it has a sin x function in the denominator, it probably behaves just as badly
near all of the other zeroes of the sine function, namely x = kπ, k = 0,±1,±2,
. We might then
propose a rather odd series
We
can compute all of the coefficients by residue or limit methods, since
the
evaluation of these limits would be a good exercise for the reader. We obtain the remarkable
expansion
which you will probably never use, but can appreciate how easy it was to obtain using only the
most common tools of calculus (limits) and how beautiful it is!
11. A new category of transcendental functions have been invented to allow one to evalute
integrals of types
called hyperbolic trig functions sinh x, tanh x and cosh x. Consider the function f(x) that
satisfies the equation
We can construct a series for it valid near x = 0 since we know all of its derivatives at
x = 0;
and
so
which is handy. Now multiply the original differential equation by f′(x)
but
now both sides are the derivatives of things
and
can therefore be integrated
or
resulting in
and so the inverse function of f(x), namely f-1(x), is the solution to our third new
integral above. This is called the cosh(x) or hyperbolic cosine function. Notice that
since
and
and
and
that the new function can be written in terms of our exponentials
There is a solution to
whose series is
that
has the following interesting property; differentiate this to get
and
define
but
then note that h(0) = g′(0) = 1, and h′(0) = g′′(0) = g(0) = 0, and so h(x) = f(x) = cosh(x)! This
function is called the hyperbolic sine
and
since we know then that f′(x) = h′(x) = g′′(x) = g(x) and
we
obtain the fundamental identity for hyperbolic functions
analogous to cos 2(x) + sin 2(x) = 1 for the trig (circular) functions. Now we can perform
For
the last one, let x = cosh y, then dx = sinh y dy and
and
so
similarly
sub
2 Problems
1. Use the method illustrated in this section to prove that
2. Show that
by
integrating term by term an integral expression for arcsine of x.
3. Prove the following integrations
4. Prove that
where tanh x =
. You may wish to show that 1 - tanh 2x =
first.
5. Consider the function f(x) for x a real positive number, defined by the identity
Use
the techniques of this section to prove that
6. Use integration by parts to evaluate the integrals
7. Evaluate the integral
3 Line Integrals
Line integrals are used in physics 201 to compute work done by forces. The following is an exerpt
from the physics 201 lecture note set.
The dynamical equations relating cause (forces) to effect (acceleration) in particle dynamics are
technically second order differential equations
and
in general second order differential equations are much harder to solve than first order
equations. The process of transforming this second order equation into a first order one
involves a single integration, which gives rise to a constant of integration called the
energy.
Consider
Now dot the velocity vector into both sides
and
use the identity
We
have manipulated Newton’s law into
This can be integrated
let
be
the initial and final positions (and velocities) of the body as it is displaced along some path, while
being acted upon by the force F, then
and
we arrive at the Work-Energy theorem;
The
left hand side is called the change in kinetic energy, the right is called the work done by the
force F If the force is conservative, we can apply the chain rule of calculus to the integral
on the right-side of the work-energy theorem. A force is conservative if there exists
a function called the potential V (r) such that application of the chain rule results
in
This will mean that the components of F can be gotten directly from V ;
This may not be possible to do for a given force. Friction is a good example of a non-conservative
force; there is no such function V (r) because technically the force of friction depends on both
position r and velocity v of an object.
3.1 When does a force not have a potential?
If one cannot find a function V such that
then the force is not conservative and has no potential. A good example is
We
attempt to solve
(since we integrate with respect to x, our “constant” of integration could depend on anything but
x, including y). This potential does not give the correct Fy;
On the other hand the force
is
conservative and does have a potential function;
checking that this gives the correct Fy;
which works fine of C(y) = C so C′ = 0. The potential that correctly gives both force components
is
Example
Find the work done by
when we move a mass from (0, 0) to (a,b) along the curve
;
Solution
(The work done against the force by the mover of the object is the opposite of this).
Example
Find the work done by
when we move a mass from (0, 0) to (a,b) along the curve
;
Solution We have no choice but to integrate. Parameterize the curve
Find the velocity
find
the force at any point on the curve
and
put it together; t0 = 0, tf = 1;
3.2 Problems
8.
A. For the force
determine the potential function (if there is one) and the work done in moving from (0, 1) to (1, 0)
along the curve x2 + y2 = 1 (let a = 5.0).
B. For the force
determine the potential function (if there is one) and the work done in moving from (0, 1) to (1, 0)
along the curve x2 + y2 = 1 (let a = 5.0).
9.
Consider a force
If
this force is conservative, find its potential and use it to compute the work done by the force in
moving a body along the curve y = 2 - 2x2 from (0, 2) to (1, 0). If the potential does not exist,
find the work by integration.
10.
Consider a force
If
this force is conservative, find its potential and use it to compute the work done by the force in
moving a body along the curve y = 2 - 2x2 from (0, 2) to (1, 0). If the potential does not exist,
find the work by integration.
11.
A test for the existance of V ; for a force in two dimensions, if
then there is a V since if
Apply this to all of the forces above and test for a potential.
12.
Find the work done by the force
in moving a particle from (x,y) = (1 m, 0) to (0, 1 m) along a circular path of radius
1 m.
13.
Find the work done by the force
in moving a particle from (x,y) = (1 m, 0) to (0, 1 m) along a circular path of radius
1 m.
4 Examples of multiple integrals in 201
You will only see a certain type of multiple integrals, those that factor into products of
integrals over different variables. This is nothing new, but one must be prepared for the shock
of it.
Example
Compute the center of mass of a sheet of plywood of dimensions a by b with one corner at the
origin.
Let the plywood have a mass per unit area ρ. Then a differential area of it has mass dm = ρdA. Break
the board up into small elements, located at (x,y) of width dx and height dy. Add up all of the
contributions
which places the COM where we expect it to be, in the center of the board.
Example
Find the center of mass of a wedge of plywood of radius R with apex at the origin, subtending an
angle of
rad.
Again break up the object into elements and sum their contributions. An area element subtending
angle dθ at radius r with a length dr has mass
if it
is located at x = r cos θ and y = r sin θ we find
and
these integrals are trivial, the denominator is
and
the numerator of the x integral is
and
so
and
the y component can be gotten similarly.
Example
Compute the COM for a rod of length L with one end at the origin whose linear mass density is
ρ = ax in
.
again subdivide the body into bits suitable for summation. A fragment of length dx a distance x from
the origin has mass dm = axdx and so
The
COM is closer to the densest end of the stick.