1 Differentiation
Physics 201 and 202 are calculus-based physics courses. This means that calculus will
be used on a routine basis, most likely every day in class and on most homework
assignments. It is very important that you be able to perform the basic calculus
operations;
1. computations of limits and derivatives,
2. expansions of functions,
3. simple integrations.
In this review we will make sure that you are up to speed on all of these basic skills, and we
will review trigonometry while we are at it.
There is no substitute for a full year of calculus instruction, and so math 221 is an
absolute prerequisite for physics 201, and math 222 is an absolute prerequisite for physics 202.
There is no back door.
A smooth function y = f(x) of a variable x is differentiable at x if its derivative
exists (is a number) at x. The limit-taking process is very simple; we expand the numerator in
ascending powers of dx, perform the division, and take the limit by setting dx = 0 afterwards
(in a nutshell).
The geometrical interpretation of the derivative of f(x) at x0 is that f′(x0) is the slope of the
line tangent to f(x) at x0;
Therefore a useful formula for translating calculus to geometry is
for
the tangent to the curve at x0.
The limit taking process is most easily handled for polynomial functions such as
by
use of the following simple rule;
which is easy to prove from the definition above. This says that the derivative of a (finite) sum
is the sum of the derivatives of the summands.
Example. Let f(x) = x3, the steps taken in computing the derivative are;
Step 1. Write out the fraction
Step 2. Perform the division;
Step 3. Perform the limit (set dx = 0);
Example. Let f(x) = a + bx2, in which a and b are constants.
Step 1. Write out the fraction
Step 2. Perform the division;
Step 3. Perform the limit (set dx = 0);
which we can see is the sum of the derivatives of the two terms a and bx2, the derivative of a
constant being zero.
1.1 Problems
1 Compute the derivative of
with
respect to t. x0, v0 and a are constants. In other words
2 Compute the derivative of
with
respect to t. a and b are constants.
3 Compute the second derivative of
with
respect to t. This means first compute
and
then compute
4 The following problem is very useful in the study of one dimensional motion at constant
acceleration. The average velocity of an object over the time interval from t -
to t +
is
with
no limit being taken, Δt can be of any size.
Show that if the average velocity equals the instantaneous velocity at the interval midpoint,
namely that if
then the acceleration is constant. The acceleration is
2 Derivative rules and formulas; products
Derivatives of a product f(x) g(x) can be easily computed from the definition,
by
replacing f(x + dx) with f(x + dx) - f(x) + f(x) and rearranging
If
f(x), f′(x), g(x) and g′(x) all exist, then
We
state this as being the product rule for derivatives.
2.1 The binomial theorem
This theorem is of great antiquity, and is extremely useful for both algebraic and calculus
applications. It says that
where the number
is a
binomial coefficient, and the factorial of an integer N is
(the
last relation is a definition). For example
2.2 Problems
5 Use the product rule to show that
and
that in general
2.3 A power tool, series expansion
This last calculation was a little on the tricky side, but there exists a powerful tool for
performing most of the operations of calculus in a simple way, the series expansion.
We suppose that the function f(x) exists at the point x0, and for that matter that it exists
near x0. Let x-x0 be small, so that x is close to x0. The idea of the series expansion is that in
the neighborhood of x0, we could replace f(x) with a polynomial
in
which n! = n ⋅ (n - 1) ⋅ (n - 2)
2 ⋅ 1 is our factorial of the integer n.
The number of terms N that we need to calculate to get Pf depends on what we want to do
with it, and is based on the following concept: the function f(x) and polynomial Pf(x)
agree at x0, and have the same derivative at x0, and the same second derivative,
and so on up to the Nth derivative. We would call P
f(x) an Nth order series expansion of f(x)
about the point x0.
Step 1. Both f(x) and Pf(x) agree at x0;
requires that a0 = f(x0).
Step 2. Both f′(x) and d _
dxPf(x) agree at x0;
requires that a1 = f′(x0) = df
dxx=x0.
Step 3. Both f′′(x) and d _
dxPf(x) agree at x0;
requires that a2 = f′′(x0) = d2f
dx2 x=x0.
For ninety percent of all of the calculus applications in our physics text, this is enough; the
polynomial Pf(x) that agrees with f(x) up to two derivatives in the neighborhood of x0
is
This
is called the Euler-Maclaurin or Taylor series for f(x) near x0, and it may be substituted in
place of f(x) in the neighborhood of x0.
What do we use it for? For starters it can be used to get formulas for derivatives of products
and quotients. In most applications you only need to keep one or two terms in a
Taylor series. For example, let x = t + dt and x0 = t, then
and
you can replace any occurrence of f(t + dt) in a formula that involves taking the limit dt → 0
with this expression.
Example
and
we are done quickly and cleanly, all of the terms in (
) contain at least two factors of dt, and
so in the limit become zero.
Example; l’Hospitals rule is a formula for computing the limit of the ratio of two functions
that both vanish at x0,
The
limit of the ratio is then
but
both f(x0) = 0 and g(x0) = 0, so
divide out the factor (x - x0) from numerator and denominator:
and
in the limit x → x0, (x - x0) → 0,
We
restate this as l’Hospitals rule;
provided g′(x0) is non-zero. If g′(x0) and f′(x0) are in fact both zero, we simply repeat the
process noting that in
the
first term in both numerator and denominator are zero and we can divide out another factor
of (x - x0);
3 Non-polynomial functions
The most complicated derivatives that you will need to perform are of functions such
as
which are not polynomials. These can be very simply differentiated by using the product rule
alone, resulting in differentiation rules for radicals and quotients.
3.1 Rational functions
Consider a function that is the ratio of two functions, both of which you can differentiate;
To
compute the derivative of h(x) we take these algebraic steps, first
now
apply the product rule
and
rearrange
which we will call the quotient rule.
3.2 Radicals
Consider the radical
To
compute its derivative, first raise both sides to the nth power
Now
differentiate and apply the product rule repeatedly to the left side
solve for f′(x);
We
have shown that
and
therefore for any power a, integral, rational or otherwise
which we call the power rule for differentiation.
Example Find a series expansion for f(x) =
valid near x
0 = 4.
The first step is to compute a few derivatives, using the power rule with a =
,
and
so inserting this all into Eq. 5 we find that
This
should be written using x = 4 + dx, as
and
in any formula involving
that will be used for x near 4, this is a valid replacement.
In particular, this can be used to calculate square roots of numbers close to 4, such as 5 for
which
which gives quite good accuracy (we are off in the third decimal place) with only these three
terms in the series.
3.3 Problems
6 Compute
7 Compute
8 Compute
9 Compute
10 Find a series expansion for
valid
near x = 1 that agrees with f(x) up through the third derivative at x = 1.
11 Find a series expansion for
valid
near x = 0 that agrees with f(x) up through the third derivative at x = 0.
12 There is a certain function with the truly unique property that at any point x, all of its
derivatives are the same;
If
we define f(0) = 1, find the Taylor series expansion for x near zero for this function.
13 Show that
This
can be done by purely elementary means.
Use l’Hopital’s rule to show that
14 Use l’Hopital’s rule to compute
15 Suppose that you can find two functions f(x) and g(x) such that
for
any point x. Prove that
Can
you think of two functions for which this is true?
4 Integration
Integration is the anti-derivative; this is how we will define it. The process of integration must
undo the process of differentiation, and so we define
A
Riemann sum will do the trick; consider
which is the area under the curve f(x) from a to b, being made up of little strips of width (b-a)
N
of height f(a + n(b-a)
N ).
How does this undo the derivative? Let
and
write the Riemann sum as
and
insert into this a differentiated function f(x) = dg(x)
dx = lim Δ→0g(x+Δ)-g(x)
Δ ;
You
can see that consecutive terms partially cancel, and so does the Δ in the denominator,
leaving
Integration is a harder problem than differentiation, since the only procedure for performing
integrals is to either do the Riemann sum directly, or find a function whose derivative is the
integrand, or to perform variable changes that put the integrand into a more readily recognized
form.
Example. It is not hard to show that
To
do it lay out all numbers 1 through N in a row
and
below it all numbers in reverse order
and
add the two rows
but
this is each number counted twice.
We can use this to integrate
with
Δ = b-a
N . Put this in;
By
considering more difficult Riemann sums we can establish
This
formula is valid for any n
- 1, even irrational values.
Like differentiation, integration is a linear operation
and
another very useful property inherited from the Riemann sum definition is
What is integration used for in 201? Suppose that you know the value of a function, such as
the position of a body, at time t0, and the velocity at all times. Integration is used to recover
the position at any time t from
4.1 Problems
These problems are similar to any integration exercises that you may encounter in the
homework for the first few chapters of the book.
16 Evaluate
17 Evaluate
18 The distance traveled, or your odometer reading, depends on your speed, not your
velocity, the odometer does not care which way you are going. Speed is s(t) = ∣v(t)∣ = ∣
∣.
Suppose that your position versus time is
Find your velocity v(t), and the distance traveled from t = 0 to t = 3 seconds;
Hint
Find the time at which your velocity switches from positive to negative, and break the integral
up into two parts.
5 Trigonometric functions
We will use the radian as the measure of an angle in 201 and 202. The angle θ in radians
equals the ratio of the arc-length subtended by the angle θ on a circle of radius R, to the
radius;
as in
the figure.
This means that technically, the radian is a dimensionless quantity, being the ratio of two lengths,
and there are 2π rad in a full circle. The conversion factor is then
Trig
functions are defined as the base and height of right-triangles inscribed within the circle, with
R cos(θ) the base and R sin(θ) the height. The Pythagorean theorem then states
that
Virtually all trig identities can be derived from this picture by stacking triangles. Consider the
figure below, for which;
Now just apply the Pythagorean theorem to the two little triangles
and
and
from these we get
These give us the sum formula;
rearranging;
In a
similar way we get the sum formula for sine;
5.1 The calculus of trig functions
We can see from the triangle definition that
In
addition, since the cosine function decreases from its peak value of 1 as the angle θ moves away
from 0, we see that
We
now establish the most important limit regarding trig functions, consider
and
apply this to
and
again...
and
keep doing this forever...
(the
notation is for an infinite product). Now let θ → 0, every term on the right-hand side is
1;
We
have established that for small θ
This
is the small-angle approximation, it holds in radians only, and you will use it extensively in
the course. Differentiate it
and
let θ → 0;
Return now to
and
differentiate;
This
has solution
Take
each of these relations and let θ → 0;
and
we arrive at the derivative formulas
All
other trigonometric derivative formulas can be gotten rom these.
5.2 Problems
19 For a particle with position vector
with
α,ω and r0 constant, find the velocity
= d
dt
and acceleration
= 
vectors.
20 For a particle with position vector
with
ω and r0 constant, find the velocity
= d
dt
and acceleration
= 
vectors.
Call
and
show that
6 Lines
To find the equation y = ax + b of the line passing through points (x1,y1) and (x2,y2) we
notice that
is
constant (independent of x) for a straight line, and so can be computed without having to take
a limit,
and
we then solve
for
the intercept
7 ex and ln x
The function f(x) all of whose derivatives agree at x
is
special. Consider its Taylor expansion around x;
and
around 0;
Combining these two relations we get
and
if we let f(0) = 1, this means that the function obeys the characteristic identity of an
exponential function
In
other words there is some number q such that
since
We
can easily calculate q;
which is simply called e. We have constructed the classic exponential function as the unique
function equal to its own derivative at any point
The integral
turns out to be the inverse function of the exponential. We will show that
in
the last integral let x = ay, when y = 1, x = a, when y = b, x = ab;
Any
function with this property is an inverse-exponential;
and
These have solution
The
function is called the natural logarithm
7.1 Problems
21 Compute the derivatives (with respect to x) of
22
Compute the following integrals
23
Consider the simple biological problem of computing the population of a culture of organisms
that reproduce by mitosis (cell division). Each organism splits into two complete organisms
once it reaches maturity.
Suppose that you begin at time t = 0 with N0 organisms. If a fraction of them α ΔtN0,
0 < α < 1 will reach maturity in time Δt, then the population at time 0 + Δt will be
N0 + α ΔtN0 (the longer you wait, the more mature).
Show that the rate of population N(t) increase follows
and demonstrate (using the ideas of this section) that the population at time t will
be
8 Partial derivatives
A function of several variables can have rates of change with respect to any of its variables.
The partial derivative of a function f(x,y) with respect to x is the rate of change with respect
to x;
Example Consider the function f(x,y) = xy;
Example Consider the function f(x,y) =
;
Follow the rules; neglect squares of very small quantities;
apply the binomial theorem;
Example
Example