Mast10006 Calculus 2 Notes - Compress
Mast10006 Calculus 2 Notes - Compress
Mast10006 Calculus 2 Notes - Compress
MAST 10006
CALCULUS 2
LECTURE NOTES!
TOPIC 1 - LIMITS, CONTINUITY, SEQUENCES & SERES
If f(x) gets arbitrarily close to L whenever x is close enough to a but x cannot equal a. Note that L
must be finite and the limit can exist even if f is undefined at x = a.
Example 1
As x approaches 0 from above or below, f(x) approaches 4. So the limit must exist. Hence:
Example 2
As x approaches 0 from above and below, f(x) grows without bound. Since f(x) does not approach a
finite number, does not exist.
Example 3
The limit does not exist. As x approaches 0 from above, f(x) approaches 2. As x approaches 0 from
below, f(x) approaches 1.
That is, the limit exists if and only if the left and right hand limits exist and are equal.
Example 4
Example 5
Use the limit laws to evaluate
We say that f has the limit M as x approaches negative infinity if f(x) gets arbitrarily close to M
whenever x is sufficiently large and negative, given by:
Note that L and M must be finite and the same limit laws apply.
Example 6
Example 7
Example 8
Example 9
Example 10
Note that the Sandwich Theorem works for limits approaching infinity.
Example 11
Example 12
1.05 Continuity
A function f is continuous at x = a if:
At the endpoints of a domain, we cannot take both left and right hand limits, so we use the
appropriate limit to test continuity.
Example 13
Example 14
Example 15
For any real-valued functions, the Continuity Theorem 1 states that if the functions f and g are
continuous at a and c for any real numbers is a constant, then the following functions are continuous
at a:
Continuity Theorem 3 states that the following function types are continuous at every point in
their domains: polynomials, trigonometric functions, exponentials, logarithms, nth root functions,
hyperbolic functions.
Example 16
Example 17
Another theorem states that if f is continuous at b and:
Example 18
Let f and g be both real functions that are differentiable near x = a, and g’(x) can not equal 0 at all
points x near a. If:
Example 19
Example 20
Example 21
1.07 Sequences
A sequence is a function f that has a domain of all natural numbers and a range of all real numbers.
It can be thought of as an ordered list of real numbers:
The sequence is denoted by {an}where an is the n-th term. The graph of a sequence {an}can be
plotted on a set of axes with n on the x-axis and {an} on the y-axis.
A sequence {an}has the limit L if an approaches L as n approaches infinity. Note, that L must be
finite. We write:
If the limit exists we say that the sequence is convergent. Otherwise, we say that the sequence is
divergent.
Example 22
Determine whether the following sequences converge or diverge.
This means that we can use the techniques for evaluating limits of functions to evaluate limits of
sequences.
Let {an} and {bn}be sequences of real numbers. Suppose that c is a real constant and the limit of
{an} and {bn} exist. Then:
Let {an}, {bn} and {cn}be sequences of real numbers. If {an} < {bn} < {cn}for all n > N for some N,
and:
Example 24
Find the limit of the sequence with terms:
Example 25
1.08 Series
The series with terms {an} is denoted by the sum:
If the sum is finite, we say that the series converges. Otherwise we say that the series diverges. In
fact, the decimal representation of a number is actual a series.
Some properties of convergent series includes:
Example 26
Note that:
The Divergence Test would hence be irrelevant, so we need to use another test to determine if the
series converges or diverges.
Example 27
To apply the Comparison Test, we compare a given series to a harmonic p series or geometric
series.
Example 28
Properties include:
1. cosh(0) = 1
2. cosh(-x) = cosh(x)
3. cosh(x) is an even function.
Properties include:
1. sinh(0) = 0
2. sinh(-x) = -sinh(x)
3. sinh(x) is an odd function.
Properties include:
1. tanh(0) = 0
2. tanh(-x) = -tanh(x)
3. tanh(x) = is an odd function.
A flexible, heavy cable of uniform mass per length p and tension T at its lowest point has the shape:
Example 1
Example 2
Example 3
Some of the hyperbolic addition formulae include:
Example 4
The inverse hyperbolic tangent function is defined as arctanhx. Since tanhx is an injective (1-1)
function, then:
1. Domain arctanh(x) = range tanh(x) = (-1, 1)
2. Range arctanh(x) = domain tanh(x)
3. arctanh(tanhx) = x for -1 < x < 1
4. arctanh(tanhx) = x
Example 5
Find the exact value of sinh(arccosh3).
The derivatives of inverse hyperbolic functions are given by the formulae:
Each formula is derived using implicit differentiation or by differentiating the logarithm definition
of each function.
Example 6
TOPIC 3 - COMPLEX NUMBERS
Where:
Note that the angle theta is not unique - only defined up to multiples of 2π. We choose theta such
that -π < ø ≤ π and call this angle the principal argument of z.
We can then write the polar form of a complex number in terms of z, as shown above.
Examples:
1.
2.
From the definition of the complex exponential, we will soon obtain the following:
Notice that these properties are consistent with the usual index laws for exponentials for real
numbers (so they are easy to remember). This is why we generally work with the exponential polar
form instead of the trigonometric polar form.
Interpreting this geometrically shows that the product of two complex numbers in polar form is
obtained by multiplying their moduli and adding their arguments.
For two complex numbers, the quotient is given by:
Interpreting this geometrically is that the quotient of two complex numbers in polar form is
obtained by dividing their moduli and subtracting their arguments.
Fortunately, there is a much easier way to calculate powers by first expressing complex numbers in
their exponential polar form. In the other direction, complex numbers in exponential form also
yields a relatively easy way to find their nth roots.
De Moivre’s Theorem can be used to avoid expanding the brackets when finding large powers of
complex numbers, given by:
Example:
We can express the real numbers cos(ø) and sin(ø) in terms of complex exponentials. We start with:
These formulae give a connection between the hyperbolic and trigonometric functions.
We can use these identities to express powers of cos(ø) or sin(ø) in terms of cos(nø) or sin(nø) and
are also very useful in the study of integration. The properties of the complex exponential can be
used to derive trigonometric identities. First we recall the expansion of the binomial:
Where each entry is obtained by summing the two entries above it in the previous row. This is the
binomial formula, given below:
Using Pascal’s triangle to find binomial coefficients is much easier than using the definition in
terms of factorials. Putting the binomial formula together with our exponential formulas for sin and
cos lets us convert expressions of powers of sin and cos into a form where we can integrate them.
Examples:
1.
Example 1
Using the complex exponential, find:
Note that this example also gives the answer to
Example 2
Evaluate the following complex integral.
Note that this example also gives the answer to
TOPIC 4 - INTEGRAL CALCULUS
Example 1
Example 2
We can use trigonometric and hyperbolic substitutions to integrate expressions containing:
Where a is a positive real number. This is employed by using the following method:
Example 3
Example 4
Example 5
Linear Factor
#
Example 6
The method of partial fractions is used to decompose a rational function into a sum of simpler
fractions. You can check that an expression like this is correct by bringing the right hand side to a
common denominator and then comparing the two sides. When integrating a rational function
where f and g are polynomials:
We may assume that the degree of f is strictly smaller than the degree of g. If not, polynomial long
division gives a polynomial part plus a remainder that satisfies this requirement. The next step is to
factorise g. As we have seen, g always factorises into linear and quadratic factors with real
coefficients (but we may not be able to express these nicely).
Example 7
Evaluate:
Example 8
Example 9
Note that this technique can also be used to integrate inverse trigonometric functions and inverse
hyperbolic functions.
Example 10
TOPIC 5 - FIRST ORDER DIFFERENTIAL EQUATIONS
A solution of an ordinary differential equation is a function y that satisfies the ordinary differential
equation for all x in some interval.
Example 1
This is the general solution where c is an arbitrary constant. Each value of c corresponds to a
different solution of the ordinary differential equation.
For an initial value problem for a first order ordinary differential equation, then solve the first order
differential equation subject to the condition y(x0) = y0.
To solve these:
Example 2
The aim is to find an integrating factor I so that the left side will be the derivative of yI. Then:
Since we only need one integrating factor I, we can neglect the +c and modulus signs when
calculating I.
Example 3
5.03 Other First Order Ordinary Differential Equations
Sometimes it is possible to make a substitution to reduce a general first order ordinary differential
equation to a separable or linear ordinary differential equation.
Example 4
Solve the homogeneous type differential equation below.
Example 5
Solve the Bernoulli equation:
5.04 Population Models
The Malthus Doomsday Model states that the rate of growth is proportional to the population P at
time t. That is:
Where k is the net birth rate. Hence the general solution would be:
An equilibrium solution is a solution that does not change with time, that is:
A stable equilibrium are solutions that start nearby and move closer as t increases (this is ideal for
population models). An unstable equilibrium is where the solutions that start nearby the
equilibrium solution and move further away as t increases (an example of the Doomsday model, and
is hence not suitable for population models). A semistable equilibrium is where on one side of the
solutions start nearby the equilibrium solution and move closer as t increases whereas on the other
side the solutions move further away as t increases. This is suitable for population models only if
the right section is chosen (i.e. must avoid exponential growth or dying out).
If , then a phase plot of this as a function of x will give the equilibrium solutions
and the behaviour of solutions close by.
Removing some of the population at a constant rate is known as the Doomsday model with
harvesting. So:
The Logistic Model includes the ‘competition’ term in Malthus’ model since overcrowding,
disease, lack of food and natural resources will cause more deaths. This model is shown below,
where a is the carrying capacity.
Example 1
Solve the below population model, given P(0) = 1.
Note that the Logistic model accurately predicts:
1. Population in a limited space (e.g. bacteria culture).
2. Population of USA from 1790 to 1950.
The logistic model with harvesting involves removing some of the population at a constant rate:
Example 2
Find the concentration of pollutant in the pond if input flow rate is decreased to 5 m3 / min.
Let V be volume in pond at time t minutes.
Kirchhoff’s Voltage Law states that the sum of the voltages around a closed circuit is zero.
Voltage drop across the:
Example 3
Find the charge on a capacitor at any time, if the current is initially 0.4 Amps, there is a resistor of
1000 Ohms, a capacitor of 10-5 Farad and a voltmeter of 200 Volts.
Example 4
Find the current in the circuit at any time, if initially there is no current. There is a voltmeter with
voltage 240cos10t, an inductor with inductance 20 Henry and a resistor with resistance 100 Ohm.
TOPIC 6 - SECOND ORDER DIFFERENTIAL EQUATIONS
If R(x) = 0 then the o.d.e is homogeneous. If it does not equal 0, then the o.d.e is inhomogeneous.
Note that a homogeneous linear o.d.e is different to a homogeneous type first order o.d.e.
The general solution of:
Where both y functions are two linearly independent solutions of the homogeneous o.d.e and C and
D are arbitrary real constants.
The homogeneous second order linear o.d.e with constant coefficients has the general form:
ay’’ + by’ + cy = 0
To solve for y(x):
Example 2
Note that imposing real conditions on the o.d.e. will always lead to real coefficients A and B.
Example 3
Where yH is the general solution of the homogeneous o.d.e. (called the homogeneous solution) and
yP is a solution of the inhomogeneous o.d.e (called a particular solution).
Example 4
Example 5
Example 6
Example 7
Example 8
6.03 Springs - Free Vibrations
An object (mass m kg) stretches a spring (natural length L m) hanging from a fixed support by s m.
The forces are:
1. Gravitational force = mg
2. Restoring force in spring (from Hooke’s Law): T = k . extension (k > 0)
At equilibrium, forces balance so:
T = mg so kS = mg
Suppose the mass is set in motion. Let y be the displacement of the object from the equilibrium
position (y = 0) at any time t. Assume:
1. Downward direction is positive.
2. Spring is stretched below equilibrium.
3. Mass is moving down (so damping is upwards).
4. Damping force is proportional to the velocity (damping constant).
Using Newton’s Law, the equation of motion is:
To solve:
Example 10
A 40/49 kg mass stretches a spring hanging from a fixed support by 0.2 m. The mass is released
from the equilibrium position with a downward velocity of 3m/s. Find the position of the mass y
below equilibrium at any time t, if the damping constant is 0.
If an external downwards force f is applied to the spring mass system at time t, then the equation of
motion becomes:
Resonance occurs when the external force f is one of the terms in the GS(H). The PS(IH) will grow
without bound as t approaches infinity.
The o.d.e. for the electric circuit gives the full range of solutions obtained in vibrations of springs.
Example 1
A defibrillator discharges a current through the patient in an attempt to restart the patient’s heart. It
consists of an open circuit containing a capacitor of 32 microfarads, an inductor of 0.05 H and a
resistor of 50 Ohms. The patient has a resistance of 50 Ohms when the device is discharged through
them. Find the current during discharge, if the capacitor is initially charged to 6000 V.
TOPIC 7 - FUNCTIONS OF TWO VARIABLES
This is a surface lying directly above the domain D. The x and y axes lie in the horizontal plane and
the z axis is vertical.
Example 1
The plane 4x + 3y + z = 2 can be written as z = 2 - 4x - 3y, so is the graph of the function given by
f(x, y) = 2 - 4x - 3y. Sketch the plane.
Find the intercepts:
Note that the plane extends perpendicular to each face.
A curve on the surface z = f(x,y) for which z is a constant is a contour. The same curve drawn in the
xy plane is a level curve. Thus a level curve of f has the form:
If when (x, y) approaches the point along any path in the domain, then f(x, y) gets arbitrarily close to
L. Note that:
1. L must be finite.
2. The limit can exist if f is undefined at the point.
3. The usual limit laws apply.
Let f be a real-valued functions. Then f is continuous at (x, y) if:
Note that the continuity theorems for two functions of one variable can be generalised to functions
of two variables.
Example 1
Example 2
The first order partial derivatives of f with respect to the variables x and y are defined by the
limits:
The partial derivative with respect to x measures the rate of change of f with respect to x when y is
held constant. The partial derivative with respect to y measures the rate of change of f with respect
to y when x is held constant.
Example 3
Example 4
The second order partial derivatives of f with respect to x and y are defined by:
Note that if the second order partial derivatives of f exist and are continuous then:
Example 5
Example 6
Find the second order partial derivatives of the following function f.
Note that the last two second order partial derivatives are equal as expected since trigonometric
functions and polynomials are continuous for all (x, y) in their domain.
If f is differentiable at a point, we can approximate z = f(x,y) by its tangent plane. The linear
approximation of f near a point is:
Example 8
If x changes from 2 to 2.05 and y changes from 3 to 2.96, estimate the change in z defined below.
Example 9
Find the linear approximation of the following surface defined below at (1, 0). Hence, approximate
f(1.1, -0.1).
7.04 Chain Rule
If z = f(x,y) and x=g(t) and y=h(t) are differentiable functions, then z = (f(g(t),h(t)) is a function of t,
and:
Example 10
If z = f(x,y) and x=g(s,t) and y=h(s,t) are differentiable functions, then z is a function of s and t
with:
Example 11
Example 1
Find the directional derivative of z defined below at (2,0) in the direction from (2,0) towards (0.5,2).
So for a fixed gradient vector, the directional derivative is maximum when theta is equal to 0 (that
is, f increases most rapidly along the gradient vector). The directional derivative is a minimum
when theta is equal to π (that is, f decreases most rapidly along the negative of the gradient vector).
When the directional derivative is equal to 0, then theta is equal to π/2 and hence the gradient vector
is orthogonal (perpendicular) to the unit vector u. Note that the directional derivative is equal to 0
whenever u is tangent to a level curve of f (where f = constant).
Example 2
In what direction does f(x,y) increase and decrease most rapidly at (2,0)? Express direction as a unit
vector.
7.06 Stationary Points
A stationary point of f is a point at which the gradient vector is equal to the zero vector. So the
partial derivatives of x and y are both equal to 0 simultaneously. Geometrically, this means that the
tangent plane to the graph z at a certain point is horizontal, i.e. parallel to the xy-plane. The three
types of stationary points are:
1. Local maximum
2. Local minimum
3. Saddle point
If the gradient vector is equal to the zero vector and the second partial derivatives of f are
continuous on an open disk centred at a certain point, consider the Hessian function given by:
Example 1
Find and classify the stationary points of the following function.
7.07 Double Integrals
Let f be a continuous function over a domain D. The partial indefinite integrals of f with respect to
the first and second variables (say x and y) are denoted by:
The first is evaluated by holding y fixed and integrating with respect to x, while the second is
evaluated by holding x fixed and integrating with respect to y.
Example 1
Evaluate the following partial integral.
Where this is the volume under the surface of f(x,y) that lies above the domain D in the xy plane.
The double integral is defined as the limit of sums of the volumes of the rods:
For double integrals over rectangular domains, then R = [a, b] x [c, d] is a rectangular domain
defined by a < x < b and c < y < d. Hence:
Example 2
Evaluate the following double integral.