Professional Documents
Culture Documents
for
Engineers and Scientists 3
F18XC1
Heriot-Watt University
2
Contents
4 Partial Differentiation 39
4.1 Reminder of derivatives of functions of a single variable . . . . . . . . . . . 39
4.2 Partial derivatives of functions of two variables . . . . . . . . . . . . . . . . 40
4.3 Higher-order partial derivatives . . . . . . . . . . . . . . . . . . . . . . . . 43
4.4 Directional Derivatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
3
4.5 Using the chain rule to find derivatives . . . . . . . . . . . . . . . . . . . . 45
4.6 Functions of many variables . . . . . . . . . . . . . . . . . . . . . . . . . . 47
4.7 Partial differential equations . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7 Multiple Integrals 67
7.1 Integration of functions of one variable . . . . . . . . . . . . . . . . . . . . 67
7.2 Integration of functions of two variables . . . . . . . . . . . . . . . . . . . . 68
7.3 Interchanging the order of integration . . . . . . . . . . . . . . . . . . . . . 74
4
Chapter 1
Example 1.2. The following differential equation represents how the current I in an
electrical circuit changes with time t,
d2 I dI 1
L 2
+ R + I = 0,
dt dt C
where L, inductance, R, resistance and C, capacitance are constants.
Here, I is the dependent variable and t is the independent variable (we seek solutions for
2
I in terms of t). Note there is a second derivative ddt2I and so this is called a second order
differential equation.
1
1.1 Terminology
The order of a differential equation is determined by the highest order derivative in the
differential equation.
Example 1.3. The general linear second order differential equation is represented by
d2 y dy
a(t) 2
+ b(t) + c(t)y = f (t) .
dt dt
Here, y is the dependent variable and t is the independent variable, the highest order
2
term is ddt2y and so it is a second order differential equation.
It is linear since the coefficients of y and its derivatives are functions of t only (so there
are no powers of y or its derivatives or products of these). If a differential equation is not
linear it is said to be nonlinear.
If we are given further information, such as y(0) = 1, we can determine the value of C
and find a particular solution.
2
Example 1.5. Find the solution of the differential equation
dy
= cos x ; y(π/2) = 2.
dx
dx
= f (x)g(t)
dt
This is called separable as the differential equation to be written in the following form
dx
= g(t) dt
f (x)
where the functional dependence of x and t are on different sides of the equation. We can
then integrate both sides as follows
Z Z
dx
= g(t) dt
f (x)
dy x2
= .
dx y
3
By performing the integration, the general solution is
1 2 1 3
y = x + C.
2 3
Note, we only need one arbitrary constant C.
Example 1.8. Newton’s second law of motion (‘F = ma’) can be applied to a dragster
that has deployed its parachute and is slowing down. The differential equation is
dv 1
F =m where the drag force F = − CD ρ A v 2
dt 2
where CD , the drag coefficient, ρ, the density of air, and A the area of the parachute
are constants. This looks complicated but we can combine all the constants as k =
(CD ρA)/(2m) to write as a separable differential equation
dv
= −kv 2 .
dt
4
1.4 1st Order Differential Equation: Transformations
Some differential equations are not separable but can be made separable by using a
transformation (or substitution). The first transformation we will consider sets y = vx
and considers homogeneous differential equations of the form
dy y
=f .
dx x
To apply the transformation we substitute
dy dv
y = vx and =v+x
dx dx
dy
into the original equations. (Note the substitution for dx comes from using the product
d(vx) dv
rule to give dx = v + x dx .) The differential equation is now separable as it can be
written as Z Z
dv 1 1
v+x = f (v) ⇒ dv = dx
dx f (v) − v x
dy dv
Substitute y = vx and dx
= v + x dx to get
dv (vx)2 + x(vx) dv dv
v+x = 2
⇒ v+x = v2 + v ⇒ x = v2.
dx x dx dx
Using the separable variables methods gives
Z Z
1 1 1
2
dv = dx ⇒ − = ln(x) + C.
v x v
We substitute v = y/x to return to the original variables
x x
− = ln x + C ⇒ y = .
y ln x + C
Other transformations can be used. For example the transformation v = ax + by + c can
be used for differential equations of the form
dy
= f (ax + by + c).
dx
To apply the transformation we substitute
dy 1 dv
v = ax + by + c and = −a
dx b dx
into the original equations.
5
Example 1.10. Find the solution of the differential equation
dy x−y+2
= .
dx x−y+3
dy dv
Let v = x − y + 3 and therefore substitute y = x − v + 3 and dx
= 1 − dx into the original
equation to get
dv v−1 dv v−1 dv 1
1− = ⇒ =1− ⇒ = .
dx v dx v dx v
Using the separable variables methods gives
Z Z
v2
v dv = 1 dx ⇒ = x + C ⇒ (x − y + 3)2 = 2(x + C).
2
We have chosen to leave the answer as an implicit solution for y.
In the special case that g(x) is the derivative of f (x), then the LHS can be simplified,
using the product rule for differentiation, as illustrated by the following example.
d 2
Since (x ) = 2x, the equation can be written
dx
d
x2 y = ex .
dx
Integrating gives the solution:
x2 y = ex + C.
If we do not have the special condition f ′ (x) = g(x), we can find a function I(x), called
an integrating factor, such that on multiplying the differential equation by I(x) the
resulting equation does satisfy the special condition.
6
Formula for integrating factor
dy
f (x) + g(x) y = h(x)
dx
can be written in standard form
dy
+ p(x) y = q(x).
dx
If I = I(x) is an integrating factor for the standard form equation, then
dI
= I(x)p(x)
dx
Z
dI
⇒ = p(x) dx ⇒ ln I = p(x) dx.
I
Thus: Z
R
p(x) dx
I(x) = e i.e. I(x) = exp p(x) dx .
In words: integrate p(x) (omit arbitrary constant C) and take e to this power. For
example:
2
p(x) = 2x ⇒ I(x) = ex .
Summary
3. Write Z
I(x)y = I(x)q(x) dx
Example 1.12. Find the general solution of the linear first order differential equation
dy
+ 4y = e−2x .
dx
7
The equation is already in standard form with p(x) = 4 and q(x) = e−2x . Therefore the
integrating factor is R R
I(x) = e p(x)dx = e 4dx = e4x .
Writing Z Z
4x
I(x)y = I(x)q(x) dx ⇒ e y = e4x e−2x dx.
Therefore
1 1
e4x y = e2x + C ⇒ y = e−2x + Ce−4x .
2 2
Example 1.13. Find the general solution of the linear first order differential equation
dy
x + 2y = x cos x3 .
dx
Example 1.14. The lumped capacity differential equation model that represents the cool-
ing of a block of hot steel with initial temperature T0 can be solved using the integrating
factor method.
dT dT
= −k (T − Tamb ) ⇒ + kT = kTamb
dt dt
where k and the ambient temperature of the environment, Tamb , are constants. This is in
standard form and so we determine the integrating factor:
R
kdt
I(t) = e = ekt .
Therefore
Z
kt
e T = ekt kTamb dt ⇒ ekt T = Tamb ekt + C ⇒ T = Tamb + Ce−kt .
8
1. Problems: 1st Order ODEs
Problem 1.1.
Find the general solution of the differential equations using the transformation y = vx.
dy dy y 2 + xy dy
(a) xy = y 2 + x2 , (b) x = , (c) x = y + xey/x .
dx dx x dx
9
(e) Use a suitable transformation to find the general solution of
dy
= 2x + y + 2.
dx
(f) Use a suitable transformation to find the general solution of
dy
= (2x + y)2 − 2.
dx
Problem 1.4.
Find the general solution of the linear first order differential equations
dy dy 1
(a) − 2y = et , (b) t + 4y = 2 ,
dt dt t
dy dx
− 2y = x3 sin 2x,
(c) x (d) + 3t2 x = t2 .
dx dt
(e) Find the particular solution of the differential equation
dy
= x + y : y(0) = 0.
dx
(f) In an open storage vessel where the flow rates are governed by gravity, the flow rate
Q out of the vessel at time t is represented by the following initial value problem
dQ
+ aQ = bh(t) : Q(0) = Q0 ,
dt
where a and b are constants representing chemical and frictional losses and h(t) is the
depth of fluid in the storage vessel. If a = 5, b = 2 and h(t) = 10e−4t solve the initial
value problem.
Answers
1
1. (a) y = 4
e4x + C, (b) y = sin x − cos x + 1.
x3 1 2 /2 √
2. (a) −e−y = 3
+ C, (b) x = (3 − 3 cos t) 3 , (c) y = ex , (d) x = ± 2C − 2 cos t,
5
(e) x = (t1/2 + C/2)2 , (f) Y = 5 − , K = 2/75 and Y = 5mol cm−3 .
5Kt + 1
p
3. (a) y = ± 2x2 ln(Cx), (b) y = − ln xCx , (c) y = −x ln(− ln Cx)),
√ 1
(d) y = x − 1 ± 2x + 2C, (e) y = Cex − 2x − 4, (f) y = −2x − x+C
.
1 C
4. (a) y = −et + Ce2t , (b) y = 2t2
+ t4
, (c) y = − 12 x2 cos 2x + Cx2 ,
1 3
(d) x = 3
+ Ce−t , (e) y = −x − 1 + ex , (f) Q = 20e−4t + (Q0 − 20)e−5t .
10
Chapter 2
Homogeneous, Linear,
Constant-Coefficient, 2nd-Order
ODEs
dy
+ a(t)y = f (t) ,
dt
Rt
can be solved by multiplying by the integrating factor, I(t) = exp( a(t) dt), to get
d dy
(I(t)y) = I(t) + a(t)I(t)y = I(t)f (t)
dt dt
and integrating:
Z t Z t
I(t)y = I(t)f (t) dt + C so y= I(t)f (t) dt /I(t) + C/I(t) .
In particular, if a(t) = constant and f (t) = Kekt , with both k and K constant, and
k 6= −a, Z t
at Ke(a+k)t
I(t) = e , I(t)f (t) dt = ,
(a + k)
Kekt
so y= + Ce−at .
(a + k)
Note that the first term is of the same form of the right-hand side in the original ODE,
and the second term is the general solution for a corresponding “homogeneous” problem,
with f (t) replaced by 0.
11
Question 2.1. Taking a, α and β to be constants, with β 6= 0, solve
dy
+ ay = α sin βt .
dt
at
Solution. As in R theat previous example, the integrating factor is I(t) = e , so we must
now find F (t) = αe sin βt dt. This we do by integrating by parts twice:
Z Z
α at αβ at α at αβ at αβ 2
F (t) = e sin βt − e cos βt dt = e sin βt − 2 e cos βt − 2 eat sin βt dt .
a a a a a
Thus
β2 α αβ
1 + 2 F (t) = eat sin βt − 2 eat cos βt
a a a
α(a sin βt − β cos βt)
so F (t) =
a2 + β 2
α(a sin βt − β cos βt)
and y = + Ce−at .
a2 + β 2
More generally, we can see use integrating factors for problems of this type (with a con-
stant) to find that:
1. If f (t) = Ktn ekt , with k 6= −a and n a non-negative integer, then y = (An tn +
An−1 tn−1 + · · · + A1 t + A0 )ekt + Ce−at ;
2. If f (t) = Ktn e−at , with n a non-negative integer, then y = (An+1 tn+1 + An tn + · · · +
A1 t + C)e−at ;
3. If f (t) = tn ekt (K1 cos βt + K2 sin βt), with β 6= 0 and n a non-negative integer, then
y = (An tn + An−1 tn−1 + · · · + A1 t + A0 )ekt cos βt + (Bn tn + Bn−1 tn−1 + · · · + B1 t +
B0 )ekt sin βt + Ce−at .
The constants A0 , B0 , A1 , etc. are not arbitrary but are fixed by the values of the
constants in the ODE (as with Ex. 2.1 and Qu. 2.1).
Newton’s second law states that the force F applied to an object is equal to its
d2 y
mass m times its acceleration 2 , i.e.
dt
d2 y
F =m .
dt2
12
Question 2.2. Find the height y(t), at time t, of a body falling freely under gravity (take
the convention that we measure positive displacements upwards).
Solution. The equation of motion of a body falling freely under gravity, is, by Newton’s
second law (and weight = mass × gravity),
d2 y
= −g . (2.1)
dt2
We can solve equation (2.1) by integrating with respect to t, which yields an expression
for the velocity of the body,
dy
= −gt + v0 ,
dt
where v0 is the constant of integration which here also happens to be the initial velocity.
Integrating again with respect to t gives
1
y(t) = − gt2 + v0 t + y0 ,
2
where y0 is the second constant of integration which also happens to be the initial height
of the body.
• the solutions of the equation are a family of functions with two parameters
(in this case v0 and y0 );
where the constant k > 0 depends on the properties of the spring, for example its stiffness.
13
Equilibrium position
Extension
Figure 2.1: Mass m slides freely on the horizontal surface, and is attached to a spring,
which is fixed to a vertical wall at the other end. We take the convention that positive
displacements are measured to the right.
d2 y
m = −ky
dt2
d2 y k
(assuming m 6= 0) ⇔ =− y
dt2 m
p d2 y
(setting ω = + k/m) ⇔ = −ω 2 y
dt2
d2 y
⇔ + ω2y = 0 . (2.2)
dt2
Eqn. (2.2) is an example of Simple Harmonic Motion (SHM).
Can we guess a solution of (2.2), i.e. a function that satisfies the relation (2.2)? When
written in the form on the line just above (2.2), we see that we are essentially asking
ourselves: what function, when you differentiate it twice, gives you minus ω 2 times the
original function you started with?
T = 2π/ω .
14
Example 2.2. For the equation
d2 y
+ 36y = 0
dt2
we have that ω 2 = 36 and ω = 6 so the general solution is y(t) = C1 sin 6t + C2 cos 6t.
Example 2.3. For the equation 16 d2 y/dt2 + y = 0 we first rewrite it as d2 y/dt2 + y/16 =
0 . For this equation, ω 2 = 1/16 and ω = 1/4 so the general solution is y = C1 sin 4t +
C2 cos 4t .
d2 y
+ 9y = 0
dt2
with y(0) = 2, dy/dt(0) = 0 . Find also the frequency of oscillations, the period of
oscillations, the amplitude of the solution, and the maximum velocity.
Solution. The general solution to d2 y/dt2 + 9y = 0 is
d2 y
+ 16y = 0
dt2
dy
with y(0) = 0, (0) = 12 .
dt
Solution. The general solution to d2 y/dt2 + 16y = 0 is
15
Differentiating (2.5) we get
dy
= 4C1 cos 4t − 4C2 sin 4t . (2.6)
dt
dy
Ffriction = −C ,
dt
where C is a constant known as the drag or friction coefficient. The frictional
force acts in a direction opposite to that of the motion and so C > 0.
Newton’s Second Law implies (adding the restoring and frictional forces together)
d2 y
m = Fspring + Ffriction ,
dt2
i.e.
d2 y dy
m 2
= −ky − C .
dt dt
Hence the damped oscillations of a spring are described by the differential equation
d2 y dy
m 2 +C + ky = 0. (2.7)
dt dt
16
• Order. The order of a differential equation is the order of the highest
derivative present in the equation.
1. The dependent variable and all its derivatives are of first degree, i.e.
the power of each term involving y is 1.
2. Each coefficient depends on the independent variable t only.
is second order because the highest derivative is second order, and nonlinear because the
second term on the left-hand side is cubic in dy/dt.
d2 y dy
a(t) 2
+ b(t) + c(t)y = 0 , (2.9)
dt dt
17
• If y1 (t) and y2 (t) satisfy (2.9), then for any two constants C1 and C2 , the
Principle of Superposition says that
is a solution also.
Question 2.5. Find the general solution to the ODE d2 y/dt2 + 2dy/dt − 3y = 0.
Solution. The auxiliary equation is λ2 + 2λ − 3 = 0.
b2 − 4ac = 4 + 12 = 16
so
−2 ± 4
λ=
2
hence λ = 1 or λ = −3 .
The general solution is
y = C1 et + C2 e−3t .
19
Example 2.5. Find the general solution to the ODE d2 y/dt2 + 4dy/dt + 4y = 0 .
Solution. The auxiliary equation is λ2 + 4λ + 4 = 0.
b2 − 4ac = 16 − 16 = 0
so λ = −2 and the general solution is
y = (C1 + C2 t) e−2t .
2. A1 and A2 are arbitrary (and in general complex) constants—at this stage this means
we appear to have a total of four constants because A1 and A2 both have real and
imaginary parts. However we expect the solution y(t) to be real—the coefficients
are real and we shall pose real initial data.
20
Question 2.6. Find the solution to d2 y/dt2 + 4dy/dt + 9y = 0.
Solution. The auxiliary equation is λ2 + 4λ + 9 = 0.
√ √
b2 − 4ac = 16 − 36 = −20 = 20i2 so λ = (−4 ± 20i)/2 = −2 ± 5i.
√ √
The general solution is y = e−2t C1 cos 5t + C2 sin 5t .
Question 2.7. Find the solution to the initial-value problem d2 y/dt2 − dy/dt − 6y = 0
dy
, with y(0) = 5 , (0) = 10.
dt
Solution. The auxiliary equation is λ2 − λ − 6 = 0.
b2 − 4ac = 1 + 24 = 25 so that λ = 3 or λ = −2 .
The general solution is
y = C1 e3t + C2 e−2t .
Now dy/dt = 3C1 e3t − 2C2 e−2t .
dy
Using y(0) = 5, (0) = 10 and e0 = 1,
dt
C 1 + C2 = 5 , 3C1 − 2C2 = 10 .
y = 4e3t + e−2t .
Question 2.8. Find the solution to the initial-value problem d2 y/dt2 − 6dy/dt + 9y = 0 ,
dy
with y(0) = 2 , (0) = 1.
dt
Solution. The auxiliary equation is λ2 − 6λ + 9 = 0.
Then b2 − 4ac = 36 − 36 = 0 so λ = 3 . The general solution is
y = (C1 + C2 t) e3t .
21
Case Roots of General
auxiliary equation solution
√
−b± b2 −4ac
b2 − 4ac > 0 λ1,2 = 2a
y = C1 eλ1 t + C2 eλ2 t
b
b2 − 4ac = 0 λ1,2 = − 2a y = C 1 + C2 t e λ 1 t
λ1,2 = p ± iq
2
b − 4ac < 0 √ y = ept C1 cos qt + C2 sin qt
b |b2 −4ac|
p= − 2a , q= 2a
Question 2.9. Find the solution to the initial-value problem d2 y/dt2 +6dy/dt+13y = 0 ,
dy
with y(0) = −1 , (0) = 11.
dt
Solution. The auxiliary equation is λ2 + 6λ + 13 = 0.
b2 − 4ac = 36 − 52 = −16 = 16i2 so
−6 ± 4i
λ= = −3 ± 2i .
2
b2 − 4ac = C 2 − 4mk .
22
(a) Overdamped (m=1, C=3, k=1)
1
y(0)=1, y′(0)=0
0.5 y(0)=−1, y′(0)=4
y(t)
0
−0.5
−1
0 1 2 3 4 5 6 7 8 9 10
−0.5
−1
0 1 2 3 4 5 6 7 8 9 10
−0.5
−1
0 1 2 3 4 5 6 7 8 9 10
t
Figure 2.2: Overdamping, critical damping and underdamping for a simple mass–spring
system. We used the specific values for m, C and k shown. In (a) and (b) we plotted the
two solutions corresponding to the two distinct sets of initial conditions shown.
Since the physical parameters m, k and C are all positive, we have that
√
C 2 − 4mk < |C| ,
and so λ1 and λ2 are both negative. Thus for large times (t → ∞) the solution y(t) → 0
exponentially fast. For example, the mass might be immersed in thick oil. Two possi-
ble solutions, starting from two different initial conditions, are shown in Figure 2.2(a).
Whatever initial conditions you choose, there is at most one oscillation. At some point
for all practical purposes the spring is in the equilibrium position.
23
2.9.2 Critical damping: C 2 − 4mk = 0
In appearance—see Figure 2.2(b)—the solutions for the critically damped case look very
much like those in Figure 2.2(a) for the overdamped case.
24
2. Problems: 2nd Order Homogeneous ODEs
Problem 2.1. Find the general solutions to the following differential equations:
d2 y d2 y dy d2 y dy
(a) −9y = 0 ; (b) + −6y = 0 ; (c) +8 +16y = 0 .
dt2 dt2 dt dt2 dt
Problem 2.2. Find the general solutions to the following differential equations:
d2 y dy d2 y dy d2 y dy
(a) +2 +5y = 0 ; (b) −4 +5y = 0 ; (c) −6 +13y = 0 .
dt2 dt dt2 dt dt2 dt
Problem 2.3. Find the solutions of :
d2 y dy dy
(a) + 7 + 10y = 0, with y(0) = 0, (0) = 3;
dt2 dt dt
d2 y dy dy
(b) 2 + 6 + 9y = 0, with y(0) = 1, (0) = 2;
dt dt dt
d2 y dy dy
(c) 2 + 4 + 5y = 0, with y(0) = 3, (0) = 1.
dt dt dt
Problem 2.4. Find the solution of d2 y/dt2 + ω 2 y = 0 with y(0) = a, dy/dt (0) = 0.
Write down the frequency, period and amplitude of oscillation.
d2 y dy
1. + 4y = 0, y(0) = 5, (0) = 0,
dt2 dt
d2 y dy
2. 4 + y = 0, y(0) = 10, (0) = 0,
dt2 dt
d2 y dy
3. + 6y = 0, y(0) = 4, (0) = 0,
dt2 dt
d2 y dy
4. 6 + y = 0, y(0) = 20, (0) = 0.
dt2 dt
(a) the spring oscillating most quickly (with the shortest period)?
(c) the spring oscillating most slowly (with the longest period)?
25
Answers
26
Chapter 3
d2 y dy dy
m 2
+C + ky = f (t), y(0) = (0) = 0 .
dt dt dt
Here y(t) is the displacement of the mass, m, from equilibrium at time t. The external
forcing f (t) could be oscillatory, say
f (t) = A sin ωt ,
where A and ω are also (given) positive constants. We will see in this chapter how solutions
to such problems can behave quite dramatically whenpthe frequency of the external force
ω matches that of the natural oscillations ω0 = + k/m of the undamped (C ≡ 0)
system—undamped resonance! We will also discuss the phenomenon of resonance in the
presence of damping (C > 0).
d2 y dy
a(t) 2
+ b(t) + c(t)y = f (t) . (3.1)
dt dt
We can abbreviate the ODE (3.1) to
d2 d
L = a(t) 2
+ b(t) + c(t) . (3.3)
dt dt
27
We can re-interpret our general linear second-order ODE as follows. When we operate on
a function y(t) by the differential operator L, we generate a new function of t:
d2 y dy
Ly(t) = a(t) (t) + b(t) (t) + c(t)y(t) .
dt2 dt
To solve (3.2), we want the most general expression, y as a function of t, which is such
that L operated on y gives f (t).
An operator L is said to be linear if
L αy1 + βy2 = αLy1 + βLy2 ,
Ly = f . (3.4)
To solve this problem we first consider the solution to the associated homogeneous ODE:
LyCF = 0 . (3.5)
This solution is called a Complementary Function (CF). Since the ODE (3.5) is linear,
second-order and homogeneous, we can always find an expression for the solution. In the
constant-coefficient case the solution has one of the forms given in Table 2.1. Now suppose
that we can find a particular solution—often called the particular integral (PI)—of (3.4),
i.e. some function, yPI , which satisfies (3.4):
LyPI = f .
y = yCF + yPI .
This must be the general solution because it contains two arbitrary constants (in the yCF
part) and satisfies the ODE, since, using that L is a linear operator,
Hence to summarise:
28
To solve an inhomogenous linear ODE of the form
Ly = f :
1. Find the general solution—the complementary function yCF —to the cor-
responding homogeneous linear ODE
LyCF = 0 .
2. Find any solution—the particular integral yPI —to the full inhomogeneous
linear ODE
LyPI = f .
y = yCF + yPI .
d2 y dy
− 3 − 4y = 3e2t .
dt2 dt
Solution.
29
Inhomogeneity f (t) Try yPI (t)
eαt Aeαt
b0 + b1 t + b2 t2 + · · · + bn tn A0 + A1 t + A2 t2 + · · · + An tn
Table 3.1: Method of undetermined coefficients. When the inhomogeneity f (t) has
the form (or is any constant multiplied by this form) shown in the left-hand column, then
you might try a yPI (t) of the form shown in the right-hand column. We can also make
the obvious extensions for combinations of the inhomogeneities f (t) shown.
30
Step 2: Find the particular integral
Assume that the particular integral has the form (using Table 3.1)
where the coefficient A is yet to be determined. Substituting this form for yPI into the
ODE, we get
(4A − 6A − 4A)e2t = 3e2t ⇔ −6Ae2t = 3e2t .
Hence A must be − 12 and a particular solution is
d2 y dy
2
− 3 − 4y = 2 sin t .
dt dt
Solution.
where the coefficients A and B are yet to be determined. Substituting this form for yPI
into the ODE implies
(−A sin t − B cos t) − 3(A cos t − B sin t) − 4(A sin t + B cos t) = 2 sin t
⇔ (−A + 3B − 4A) sin t + (−B − 3A − 4B) cos t = 2 sin t .
−5A + 3B = 2 and − 5B − 3A = 0 .
31
5 3
Hence A = − 17 and B = 17
and so
5 3
yPI (t) = − 17 sin t + 17
cos t .
d2 y dy dy
2
+ 4 + 5y = 20 , y(0) = 2 , (0) = 7 .
dt dt dt
The general solution for the homogeneous equation is yCF = e−2t (C1 cos t + C2 sin t).
Step 2 Find a particular integral of d2 y/dt2 + 4dy/dt + 5y = 20 .
Set y = C.
Then dy/dt = d2 y/dt2 = 0 so 5C = 20 and C = 4. Hence a particular integral is yPI = 4.
Step 3 The general solution of d2 y/dt2 + 4dy/dt + 5y = 20 is
Step 4 Use the initial conditions for the general solution obtained in Step 3. Now
dy
= −2e−2t (C1 cos t + C2 sin t) + e−2t (−C1 sin t + C2 cos t) .
dt
dy
Using y(0) = 2, (0) = 7,
dt
C1 + 4 = 2 , −2C1 + C2 = 7 ,
so C1 = −2 and C2 = 3 . Hence
32
3.5 Degenerate inhomogeneities
Question 3.4. Find the general solution of the degenerate linear ODE
d2 y
+ 4y = 3 cos 2t .
dt2
Solution.
where the coefficients A and B are yet to be determined. Substituting this form for yPI
into the ODE implies
Since the left-hand side is zero, there is no choice of A and B that satisfies this equation.
Hence for some reason we made a poor initial choice for our particular solution yPI (t).
This becomes apparent when we recall the solutions to the homogeneous equation (3.6) are
sin 2t and cos 2t. These are solutions to the homogeneous equation and cannot possibly be
solutions to the inhomogeneous case we’re considering. We must therefore try a slightly
different choice for yPI (t), for example,
Substituting this form for yPI into the ODE and cancelling terms imply
33
Hence the general solution is
Solution.
(a) y = C1 cos 4t + C2 sin 4t .
(b) y = A sin 2t + B cos 2t .
(c) y = A t sin 4t + B t cos 4t .
Solution. For part (a), the auxiliary equation is λ2 − 36 = 0 so λ = ±6 and the general
solution is
y = C1 e6t + C2 e−6t .
(b) y = Ae4t .
(c) y = A te−6t .
34
Resonance
Example 3.2. Undamped resonance Consider the following initial value problem for
a forced harmonic oscillator, which, for example, models a mass on the end of a spring
which is forced externally,
d2 y dy
+ ω02 y = 1
m
f (t), y(0) = (0) = 0 .
dt2 dt
p
Here y(t) is the displacement of the mass m from equilibrium at time t, and ω0 = k/m
is a positive constant representing the natural frequency of oscillation when no forcing is
present. Suppose
f (t) = A sin ωt
is the external oscillatory forcing, where A and ω are also positive constants.
The solution depends on if ω 6= ω0 or if ω = ω0 .
Aω 1 1
y(t) = · sin ω0 t − sin ωt , (3.9)
m(ω 2 − ω02 ) ω |ω {z }
| 0 {z }
natural oscillation forced oscillation
where the first oscillatory term represents the natural oscillations, and the second, the
forced mode of vibration.
What happens when ω → ω0 ? If we naively take the limit ω → ω0 in (3.9) we see that
the two oscillatory terms combine to give zero, but the denominator in the multiplicative
term
Aω
m(ω 2 − ω02 )
also goes to zero. This implies we should be much more careful.
A 1
y(t) = · sin ω0 t − t cos ω0 t . (3.10)
2mω0 ω
| 0 {z } | {z }
natural oscillation resonant term
The important aspect to notice is that when ω = ω0 , the second term ‘t cos ω0 t’ grows
without bound (the amplitude of these oscillations grows like t) and this is the “signature
of undamped resonance”.
Damped resonance
Suppose we introduce damping into our simple spring system so that the coefficient of
friction C > 0. In the overdamped, critically damped or underdamped cases the com-
plementary function is always exponentially decaying in time. We call this part of the
35
solution the transient solution—it will be significant initially, but it decays to zero ex-
ponentially fast. The contribution to the solution from the particular integral, which
arises from the external forcing, cannot generate unbounded resonant behaviour for any
bounded driving oscillatory force. However the amplitude of the forced oscillations of the
solution (from the particular integral, which is potentially the only significant component
for large times) does have a global maximum at a given practical resonance frequency.
36
3. Problems: 2nd Order Inhomogeneous ODEs
Problem 3.1. For the following inhomogeneous differential equations, determine the
complimentry function and write down what form for the particular integral you would
try (just write it down, there’s no need to do any calculations):
d2 y d2 y d2 y d2 y
(a) +16y = sin 3t ; (b) +16y = cos 4t ; (c) −25y = e4t ; (d) −25y = e−5t .
dt2 dt2 dt2 dt2
Problem 3.2. Find the general solution to the inhomogeneous differential equations:
d2 y dy
Problem 3.3. Solve 2
− y = 12e2t , with y(0) = 4, (0) = 10.
dt dt
d2 y dy dy
Problem 3.4. Solve 2
− 5 + 6y = cos 3t, with y(0) = 0, (0) = 5.
dt dt dt
Problem 3.5. The charge Q(t) in a simple electrical circuit, consisting of a coil with
inductance L, a capacitance C and resistance R, satisfies
d2 Q dQ 1
L 2
+R + Q = V (t)
dt dt C
where V (t) is an imposed voltage. Find Q(t), given that L = 1, R = 2, C = 1/5,
dQ
Q(0) = Q0 , (0) = 0, and the voltage is V (t) = e−t sin 3t.
dt
Problem 3.6. The landing gear of a plane, consisting of a spring and a damper, is tested
using a drop test, where the response of a subsystem of the landing gear is subjected to an
instantaneous force representative of a plane landing. The spring force Fspring , modelled
using Hooke’s law, and the damper force, Fdamper are as follows:
dx
Fspring = kx , Fdamper = B ,
dt
where x is the height and t is time.
Applying Newton’s 2nd law, ’F = ma’, (and the force due to gravity) we get
dx d2 x d2 x B dx k
mg − B − kx = m 2 ⇒ + + x = g.
dt dt dt2 m dt m
Given the intial conditions x(0) = 0 and dx
dt
= V when t = 0 and that m = 50, k = 312.5,
B = 150 and we approximate g = 10 find the solution to the initial value problem (your
answer will be in terms of V ).
37
Answers
3. y = et − e−t + 4e2t .
31 3t 67 2t 5 1
4. y = 6
e − 13
e − 78
sin 3t − 78
cos 3t .
−t 5Q0 + 3 1
5. Q = e Q0 cos 2t + sin 2t − e−t sin 3t.
10 5
6. x = e−1.5t (−1.6 cos 2t + (0.5V − 1.2) sin 2t) + 1.6.
38
Chapter 4
Partial Differentiation
To date most functions have had only one variable; for example,
• “y is a function of x”,
• “position is a function of time”.
However functions can have two or more variables — they often do in physical situations!
Partial differentiation gives us a way to generalise differentiation for functions of several
variables.
f (x)
x x+h
39
Question 4.1. Let y = x ln x. Find dy/dx.
dy d dv du
Solution. Use the product rule: if y(x) = u(x)v(x) then = (uv) = u +v .
dx dx dx dx
Here we let u = x and v = ln x so du/dx = 1 and dv/dx = 1/x. Then
dy d
= (x ln x) = x · (1/x) + (ln x) · 1 = 1 + ln x .
dx dx
d x
Question 4.3. Find .
dx ex
d u v du − u dv
Solution. This time we use the quotient rule: = dx 2 dx . Letting u = x
dx v v
and v = ex we have du/dx = 1 and dv/dx = ex . Thus the quotient rule gives
d x ex − xex
= = (1 − x)e−x .
dx ex (ex )2
Note that x/ex is the same as xe−x which can be differentiated using the product rule.
Question 4.5. A particle moves along a line y = 6x−3 in such a way that its x coordinate
at time t is x = 3t + 5. Find the instantaneous velocity in the y direction.
dy dy dx
Solution. It is possible to use the chain rule: = = 6 × 3 = 18.
dt dx dt
(Alternatively the expression for x can be substituted into that for y: y = 6(3t + 5) − 3 =
18t + 27. Then dy/dt = 18.)
40
Example 4.2. Consider the volume V of box with sides x, y and z:
✏
✏✏ ✏
✏✏
✏✏ ✏✏
✏✏ ✏
✏✏ y
x
f (x, y) = x2 + 3xy − y 2 .
∂f ∂f
= 2x + 3y and = 3x − 2y.
∂x ∂y
Note the use of the different style “d”, ∂, when we take partial derivatives.
These partial derivatives can be got from:
∂f f (x + h, y) − f (x, y)
(x, y) = lim ; (4.1)
∂x h→0 h
∂f f (x, y + h) − f (x, y)
(x, y) = lim . (4.2)
∂y h→0 h
It can be seen from these that
41
Example 4.4. Consider the function f of two variables given by
Then
∂f ∂f
= sin y + 2ye2x and = x cos y + e2x .
∂x ∂y
2.5
1.5
f
0.5
0
1
0.8 1
0.6 0.8
0.4 0.6
0.4
0.2 0.2
0 0
y x
Alternatively, still for a function of two variables f (x, y), we might plot curves giving
constant values of f in the x - y plane. (Like contour lines on a map.)
f = r12
f = r22
42
Question 4.6. Find ∂f /∂x and ∂f /∂y where f (x, y) = 3y/(y + cos x).
Solution. For ∂f /∂x we regard y as a constant and use the quotient rule:
∂ ∂
∂f ∂ 3y (y + cos x) ∂x (3y) − 3y ∂x (y + cos x)
= =
∂x ∂x y + cos x (y + cos x)2
(y + cos x) × 3 − 3y × 1 3 cos x
= = .
(y + cos x)2 (y + cos x)2
f (x, y) = exy + x2 y
∂f ∂f
= yexy + 2xy and = xexy + x2 .
∂x ∂y
43
It is a general rule that for “reasonable” functions,
∂ 2f ∂ 2f
= . (4.3)
∂x∂y ∂y∂x
For “mixed” derivatives of functions which you meet in this course, the order
in which the derivatives are taken does not matter.
∂ 2w ey
Question 4.8. Find given that w(x, y) = xy + 2 .
∂x∂y y +1
Solution. This is made simpler by reversing the order of differentiation:
∂ 2w ∂ 2w ∂ ∂w ∂
= = = y = 1.
∂x∂y ∂y∂x ∂y ∂x ∂y
∂f
Similarly, the value of ∂y
at a point (a, b) gives the gradient of f (x, y) in the y-direction
at (a, b).
44
If we require the gradient mα of f (x, y) at a point (x, y) in a direction α to the x-axis
(measured in the anti-clockwise direction) we can use the expressiion
∂f ∂f
mα = cos α + sin α
∂x ∂y
Evaluate the gradient of f(x,y) in the (a) x-direction and (b) the y-direction at (0, 0), (c)
at (1, 1) at an angle of 60◦ to the x-axis, and (d) at (1, 2) at an angle of 30◦ to the x-axis
in the clockwise direction.
∂f ∂f
(a) = −400x(y − x2 ) − 2(1 − x) therefore at (0,0) we get = −2.
∂x ∂x
∂f ∂f
(b) = 200(y − x2 ) therefore at (0,0) we get = 0.
∂y ∂y
∂f ∂f
(c) At (1, 1) we get = 0 and = 0 so mα = 0
∂x ∂y
∂f ∂f √
(d) At (1,2) we get = −400 and = 200. Also, cos(−30o ) = 3/2 and sin(−30o ) =
∂x ∂y
−1/2.
√ √
So mα = −400( 3/2) + 200(−1/2) = −200 3 − 100.
For f = f (x, y), x = x(t) and y = y(t), then as t varies, f changes because both
x and y change:
df ∂f dx ∂f dy
= + . (4.4)
dt ∂x dt ∂y dt
If x and y are functions of both s and t, x = x(s, t) and y = y(s, t), the ordinary
derivatives are replaced by partial derivatives,
∂f ∂f ∂x ∂f ∂y
= + , (4.5)
∂t ∂x ∂t ∂y ∂t
and there is the obvious formula for the partial derivative of f with respect to
s,
∂f ∂f ∂x ∂f ∂y
= + . (4.6)
∂s ∂x ∂s ∂y ∂s
45
Question 4.9. Suppose f (x) = ex and x(t) = t3 . Compute df /dt.
3
Solution. As a function of t we have f (t) = et . Now
df dx
= ex and = 3t2
dx dt
so the chain rule gives
df df dx 3
= = ex · 3t2 = 3t2 et .
dt dx dt
Example 4.8. Suppose that f (x, y) = yex , where x = sin t and y = t2 . Then
∂f ∂f dx dy
= yex , = ex and = cos t , = 2t.
∂x ∂y dt dt
df ∂f dx ∂f dy
= + = yex · cos t + ex · 2t = t2 esin t cos t + 2tesin t .
dt ∂x dt ∂y dt
f (t) = t2 esin t .
We can also compute df /dt from this expression (using the product and chain rules for
one variable — do this to see that the same result is obtained!)
∂f ∂f ∂x ∂f ∂y s
2
= + = 3x · s + (−2y) − 2
∂t ∂x ∂t ∂y ∂t t
46
4.6 Functions of many variables
Partial differentiation extends easily to functions of many variables.
• To calculate the partial derivative with respect to a certain variable keep all the
other variables constant.
f (x, y, z, t) = xy + z 2 t.
∂ 2f ∂ ∂f ∂ 2
= = (z ) = 2z.
∂z∂t ∂z ∂t ∂z
∂ 2f
Note that we also have = 2z. (Check this!)
∂t∂z
47
4.7 Partial differential equations
• A partial differential equation (or PDE ) is an equation involving several variables,
a function of these variables and its partial derivatives.
• PDEs arise in very many physical situations. They describe how physical quantities
change with respect to several different variables.
• In this course we will only show that a given function is a solution of a given PDE
— a straightforward calculation!
∂ 2w ∂ 2w
+ 2 = 4w.
∂t2 ∂x∂y
where w is a function of x, y and t.
48
2
Question 4.12. Show that u(x, y) = e2x+y is a solution of the partial differential equation
∂ 2 u 1 ∂u ∂ 2 u
y2 + − 2 = 0.
∂x2 y ∂y ∂y
∂u 2 ∂ 2u 2 2 ∂u 2 ∂ 2u 2
= 2ye2x+y , 2
= 4y 2 e2x+y + 2e2x+y , = 2e2x+y , 2
= 4e2x+y .
∂y ∂y ∂x ∂x
Thus
∂ 2 u 1 ∂u ∂ 2 u 2x+y 2 1 2x+y 2
2 2x+y 2 2x+y 2
y2 + − = y 2
× 4e + × 2ye − 4y e + 2e = 0.
∂x2 y ∂y ∂y 2 y
Example 4.13. Let w(x, t) denote the displacement of the point at x on a string at time t.
A wave moving along the string with speed c can be modelled by the one-dimensional wave equation:
∂ 2w 2
2∂ w
= c . (4.7)
∂t2 ∂x2
A slice of the graph with t fixed shows us the shape of the string at that time t. The
figure shows three such slices:
u = f (x + cT )
u = f (x − cT )
u = f (x)
x
cT cT t = −T t=0 t=T
A slice of the graph with x fixed would show us how the point at x on the string moves
with time.
49
Question 4.13. Show that the function
∂w ∂ 2w
= c sin(x − ct), = −c2 cos(x − ct)
∂t ∂t2
and
∂w ∂ 2w
= − sin(x − ct), = − cos(x − ct).
∂x ∂x2
It follows that
∂ 2w 2
2∂ w
= c ,
∂t2 ∂x2
as required.
Note: The alternative notation of subscripts is also used for partial differentiation, so
that fx means ∂f /∂x, uyz is the same as ∂ 2 u/∂y ∂z, etc.
50
4. Problems: Partial Differentiation
Problem 4.1. Find ∂f /∂x and ∂f /∂y for each of the following functions:
(a) 3x + 4y (b) xy 3 + x2 y 2 (c) x3 y + e x
(d) xe2x+3y (e) (x − y)/(x + y) (f) 2x sin(x2 y) .
Problem 4.2. Find ∂f /∂x, ∂f /∂y and ∂f /∂z for f (x, y, z) = x cos z + x2 y 3 ez .
Problem 4.3. Find ∂ 2 f /∂x2 and ∂ 2 f /∂y 2 , and check that ∂ 2 f /∂x∂y = ∂ 2 f /∂y∂x for
y
2 2
(i) f (x, y) = x sin y + y cos x ; (ii) f (x, y) = ln x .
x
Problem 4.4. Calculate the gradient for the Rosenbrock’s function
f (x, y) = 100(y − x2 )2 + (1 − x)2
at (a) (x, y) = (−1, 1) at an angle α = 45◦ to the x-axis is an anti-clockwise direction.
(b) (x, y) = (−1, 1) at an angle α = 45◦ to the x-axis is an clockwise direction.
(c) (x, y) = (1, 2) at an angle α = 80◦ to the x-axis is an anti-clockwise direction.
1
Problem 4.5. Suppose that f (x, y) = , x = r cos t and y = r sin t. Find ∂f /∂r
x2 + y2
and ∂f /∂t.
Problem 4.6. Suppose that f (x, y) = x2 + xy − y 2 , x = r cos θ and y = r sin θ. Find
∂f /∂r and ∂f /∂θ, (i) by direct substitution and (ii) by using the chain rule.
Problem 4.7. Suppose that f (x, y) = x3 y − y 3 x, x = uv and y = u/v. Find ∂f /∂u and
∂f /∂v.
Problem 4.8. Suppose that f (x, y, z) = 2y − sin xz, x = 3t, y = et−1 and z = ln t. Find
df /dt.
Problem 4.9. Suppose that f (x, y) = x2 + xy + y 2 , x = uv and y = u/v. Show that
∂f ∂f ∂f ∂f ∂f ∂f
u +v = 2x and u −v = 2y .
∂u ∂v ∂x ∂u ∂v ∂y
Is the same true for f (x, y) = x sin y + y sin x?
Problem 4.10. Show that u = ln(1+xy 2 ) is a solution of the partial differential equation
∂ 2u 2
3 ∂ u
2 + y = 0.
∂x2 ∂x∂y
Problem 4.11. Show that u(x, y) = x2 cosh(1+xy 2 ) is a solution of the partial differential
equation
∂u ∂u
2x −y − 4u = 0 .
∂x ∂y
Problem 4.12. Show that u(x, t) = ln(2x + 2ct) is a solution of the one-dimensional
wave equation
∂ 2u 2
2 ∂ u
= c
∂t2 ∂x2
51
Answers
5. −2/r3 , 0.
6. 2r(cos2 θ + cos θ sin θ − sin2 θ), r2 (cos2 θ − sin2 θ − 4 cos θ sin θ).
52
Chapter 5
Example 5.1. Returning to the previous example we have f ′′ (x) = 2x. The second
derivative test then gives us the following information:
Stationary point x f ′′ (x) Nature of stationary point
−1 −2 < 0 local maximum
+1 +2 > 0 local minimum
The graph of f looks something like the following:
y✻
8
s 3
2
4 s
3
✲
−1 1 x
53
Example 5.2. Consider the function f (x) = x4 . Then f ′ (x) = 4x3 so the stationary
points of f occur when
f ′ (x) = 0 ⇐⇒ 4x3 = 0 ⇐⇒ x = 0.
Now f ′′ (x) = 12x2 so at the stationary point x = 0 we get f ′′ (x) = 0; it follows that we
cannot use the second derivative test to determine the nature of the stationary point!
However f (x) = x4 = (x2 )2 ≥ 0 for all values of x while f (0) = 0. It follows that x = 0
must be a local minimum.
Question 5.2. You have been asked to design a 1-litre oil can shaped like a cylinder.
What dimensions will use the least material?
Solution. Consider the oil can:
...................................................
.................. ...........
............... .......
.
....
.
.....
.....
✛
r ✲
...
...
... s ..
...
..... ....... ✻
........ ..
............ .......
.......................... ...................................
............
h
.... .... .... .... .... .... ...
... .... . ....
.... . ...
... ..
..
...
...
.
.. ❄
.... . ..
..
.....
.......... .....
.............. ..........
................................................................
The amount of material need to make the oil can is simply A, the surface area of the
cylinder; we wish to minimise A whilst keeping the volume of the can, V equal to 1 l =
1000 cm3 .
Now
54
p
Thus A has a stationary point when r = 3
500/π; we need to check the nature of this
stationary point. Now
4000
A′′ (r) = 4π +
r3
p
so when r = 3
500/π we get
π
A′′ (r) = 4π + 4000 × = 12π > 0.
500
Thus the stationary point is a local minimum. It follows that use of material is minimised
if we make a cylindrical oil can with radius
p
3
r= 500/π ≈ 5.42 cm.
Two variables are more complicated! But we shall clearly still need first derivatives to
vanish, so, for f = f (x, y), we need both
∂f ∂f
(x, y) = 0 and, simultaneously, (x, y) = 0 . (5.1)
∂x ∂y
Example 5.3. What sort stationary points might (i) f (x, y) = x2 + y 2 , (ii) g(x, y) =
−x2 − 2y 2 , (iii) h(x, y) = x2 + 4xy + y 2 have?
The first two are fairly obvious: For (x, y) 6= (0, 0), f > 0 and g < 0 but f = g = 0 if
(x, y) = (0, 0). f clearly has a minimum at x = y = 0 while g has a maximum there.
The third one is not so straightforward, although it’s apparent that ∂h/∂x = 2(x + 2y)
and ∂h/∂y = 2(2x + y) are only simultaneously zero at the origin. Taking x = 0 gives
h = y 2 ≥ 0, while if y = 0, h = x2 ≥ 0. However, we can complete the square to get
h = (x + 2y)2 − 3y 2 . It can now be seen that if x 6= 0 = y then h > 0 but if x = −2y 6= 0
then h ≤ 0. Depending upon which direction we move away from the stationary point at
x = y = 0, the graph of h = h(x, y) can curve either up or down. For (iii), the stationary
point, at x = y = 0, is a saddle point of h.
More generally, suppose that f (x, y) has a stationary point at (x, y) = (a, b), then
∂f ∂f
(a, b) = (a, b) = 0. Now taking a Taylor expansion of f (x, y) − f (a, b) about
∂x ∂y
∂ 2f ∂ 2f ∂ 2f
(a, b), the first terms will be those in , and . By completing the square for
∂x2 ∂x∂y ∂y 2
these three terms, like for (iii) in the above example leads to the following version of the
second-derivative test:
55
2
∂ 2f ∂ 2f ∂ 2f ∂ 2f
If − > 0 and < 0 then (a, b) is a local maximum. (5.2)
∂x2 ∂y 2 ∂x∂y ∂x2
2
∂ 2f ∂ 2f ∂ 2f ∂ 2f
If − > 0 and > 0 then (a, b) is a local minimum. (5.3)
∂x2 ∂y 2 ∂x∂y ∂x2
2
∂ 2f ∂ 2f ∂ 2f
If − < 0 then (a, b) is a saddle point. (5.4)
∂x2 ∂y 2 ∂x∂y
2 2
∂ 2f ∂ 2f ∂ f
Note: If 2 2
− = 0 the test is inconclusive — the stationary point could
∂x ∂y ∂x∂y
be either a local maximum, a local minimum or a saddle point!
f (x, y) = x2 + 3xy − 2y 2 − 8x + 5y .
Solution. We have
∂f ∂f
(x, y) = 2x + 3y − 8 and (x, y) = 3x − 4y + 5
∂x ∂y
so
∂f /∂x = 0 2x + 3y − 8 = 0 2x + 3y = 8 (A)
⇐⇒ ⇐⇒
∂f /∂y = 0 3x − 4y + 5 = 0 3x − 4y = −5 (B)
2x + 3(2) = 8 ⇐⇒ x = 1.
It follows that f has exactly one stationary point, namely (1, 2).
Example 5.4. In the above previous question we found that (1, 2) was the unique sta-
tionary point of the function
f (x, y) = x2 + 3xy − 2y 2 − 8x + 5y .
Now
∂ 2f ∂ 2f ∂ 2f
(x, y) = 2, (x, y) = −4, (x, y) = 3,
∂x2 ∂y 2 ∂x∂y
so the second-derivative test gives us the following information:
56
∂ 2f ∂ 2f ∂ 2f ∂ 2f ∂ 2f ∂ 2f 2
Stationary point − ( ) Nature of stationary point
∂x2 ∂x∂y ∂y 2 ∂x2 ∂y 2 ∂x∂y
(1, 2) 2 3 −4 −17 < 0 saddle point
Question 5.4. Find and classify all the stationary points of the function
Solution. We have
∂f
(x, y) = −xy + y(1 − x − y) = y(1 − 2x − y)
∂x
∂f
and (x, y) = −xy + x(1 − x − y) = x(1 − x − 2y) .
∂y
Therefore
∂f
∂x
(x, y) =0 y(1 − 2x − y) = 0
∂f ⇐⇒
∂y
(x, y) =0 x(1 − x − 2y) = 0
We must solve these simultaneous equations; this can be done by considering four separate
cases:
Case (i):
y=0
x=0
This immediately gives the stationary point (0, 0).
Case (ii):
y=0
1 − x − 2y = 0
Putting y = 0 in the second equation gives 1 − x − 0 = 0 or x = 1. Thus we get the
stationary point (1, 0).
Case (iii):
1 − 2x − y = 0
x=0
Putting x = 0 in the first equation gives 1−0−y = 0 or y = 1. Thus we get the stationary
point (0, 1).
Case (iv):
1 − 2x − y = 0 2x + y = 1 (A)
⇐⇒
1 − x − 2y = 0 x + 2y = 1 (B)
Taking (A) − 2(B) gives
57
Substituting this back into (B) then gives
x + 2 13 = 1 ⇐⇒ x = 13 .
Thus we get the stationary point 13 , 13 .
We have thus found four stationary points for f . To determine their natures we first
calculate
∂ 2f ∂ 2f ∂ 2f
(x, y) = −2y, (x, y) = −2x, (x, y) = 1 − 2x − 2y.
∂x2 ∂y 2 ∂x∂y
Applying the second-derivative test we now get the following information:
∂ 2f ∂ 2f ∂ 2f ∂ 2f ∂ 2f ∂ 2f 2
Stationary point − ( ) Nature of stationary point
∂x2 ∂x∂y ∂y 2 ∂x2 ∂y 2 ∂x∂y
(0, 0) 0 1 0 −1 < 0 saddle point
(1, 0) 0 −1 −2 −1 < 0 saddle point
(0, 1) −2 −1 0 −1 < 0 saddle point
1 1
,
3 3
− 23 − 13 − 23 1
3
>0 local maximum
Question 5.5. A company makes open rectangular crates of volume 8m3 . If the material
for the bottom costs twice as much as that for the sides, find the dimensions that minimise
the cost.
Solution. Suppose the crate has a width, depth and height of x, y and z respectively:
✏
✏✏ ✏
✏✏
✏✏ ✏✏
✏✏ ✏
✏✏ y
x
Suppose the cost per m2 of the side material is £K (so the cost of the bottom material is
£2K). Then the total cost C is
58
We now find the stationary points of C; firstly we calculate
∂C 16K ∂C 16K
(x, y) = − 2 + 2Ky and (x, y) = − 2 + 2Kx.
∂x x ∂y y
The stationary points are then given by solving
∂C 16K 8
(x, y) = 0
− 2 + 2Ky = 0
y= 2
(A)
∂x x x
⇐⇒ ⇐⇒
∂C 16K 8
(x, y) = 0
− 2 + 2Kx = 0
x= 2
(B)
∂y y y
8 x4
x= ⇐⇒ x= ⇐⇒ x3 = 8 ⇐⇒ x = 2.
8 2 8
x2
59
5. Problems: Maxima and Minima
Problem 5.1. Find the stationary points of the following functions and determine their
nature:
(a) f (x, y) = 7 − 2x + 6y + 2x2 + 3y 2 ;
(b) f (x, y) = x2 − xy + y 2 ;
(c) f (x, y) = x2 − 3xy − 2y 2 + 2x;
(d) f (x, y) = xy(6 − x − 2y);
(e) f (x, y) = x sin y.
Problem 5.2. Find the shortest distance from the point (−1, 3, −2) to the plane x − y +
2z = 4.
Hint: A point on the plane satisfies z = (4 − x + y)/2 and so the distance of (−1, 3, −2)
from (x, y, z) is
p q
2 2
(x + 1) + (y − 3) + (z + 2) =2 (x + 1)2 + (y − 3)2 + [ 12 (4 − x + y) + 2]2
q
= (x + 1)2 + (y − 3)2 + (4 − 12 x + 12 y)2 .
Problem 5.3. A company plans to manufacture closed rectangular crates which have a
volume of 8 m3 . Given that the material for the top and bottom costs twice as much as
the material for the sides, find the dimensions of the crate that will minimise cost.
Problem 5.4. If an open rectangular box is to have a fixed surface area A, what dimen-
sions will make the volume a maximum ?
Answers
60
Chapter 6
Example 6.1. If h is small then h2 and h3 etc., are very small compared to h. For
example, if
h = 0.02 then h2 = 0.0004.
A function f (x) with x “near” some value a, say x = a + h, can then be given by its
Taylor series:
df h d2 f
f (x) = f (a + h) = f (a) + h (a) + (a) + . . . .
dx 2 dx2
With h small enough we might stop with the second term on the right-hand side to get
the linear approximation
df
f (x) = f (a + h) ≈ f (a) + h (a) .
dx
(1.01)1/3 = f (1 + 0.01)
≈ f (1) + f ′ (1) × 0.01
1
= 1 + × 0.01
3
≈ 1.0033.
61
f (x) + hf ′(x)
f (x + h)
f (x)
x x+h
Changes in x produce changes in f (x).
We often use the notation
δx = change in x,
δf = change in f .
Then
df
δf ≈ δx .
dx
Example 6.2. Taking f = f (x, y), the first few terms in a Taylor series about a point
(a, b), taking x = a + h, y = b + k, gives us
∂f ∂f
f (x, y) = f (a + h, b + k) = f (a, b) + (a, b)h + (a, b)k + . . . . (6.1)
∂x ∂y
f (x, y) = xy 2 − 2y
62
while
δx = 1.01 − 1 = 0.01 and δy = −1.98 − (−2) = 0.02.
Therefore
∂f ∂f
δf ≈ (1, −2) × δx + (1, −2) × δy
∂x ∂y
= 4 × 0.01 + (−6) × 0.02
= −0.08.
f (x, y) = xy 3
Therefore
∂f ∂f
δf ≈ (1, 2) × δx + (1, 2) × δy = 8 × (−0.01) + 12 × 0.02 = 0.16 .
∂x ∂y
∂Q ∂Q
δQ ≈ δx + δy.
∂x ∂y
Example 6.3. A company makes tanks 6m high with a of radius 2m. How do errors in
construction affect the volume? Consider a tank of height h and radius r:
63
...................................................
.................. ...........
............... .......
. .....
....
.
.....
✛
r ✲
...
...
... s ..
...
..... ....
.. ✻
........ ...
............ ......
......................... ...........
......................................
h
.... .... .... .... .... .... ...
.. .... . ....
... ..
... . ...
.. ..
... .
.. ❄
... ...
.... .
.
...... ..
.......... ......
............... .........
............................................................
∂V ∂V
= πr2 and = 2πrh.
∂h ∂r
Now suppose : actual height of tank= 6 + δh and actual radius of tank = 2 + δr.
Then the error in the volume of the tank is given by
∂V ∂V
δV ≈ (6, 2) × δh + (6, 2) × δr
∂h ∂r
= (π × 22 )δh + (2π × 2 × 6)δr
= 4π δh + 24π δr.
Often the percentage error is of at least as much concern. For a quantity A this is defined
by
error in A
% error in A = × 100 . (6.3)
A
Question 6.4. Consider again the tank from the previous example. If the percentage
error in the height is 2% and the percentage error in the radius is 1%, estimate the
percentage error in the volume.
Solution. Using the previous calculations, we have
δV
(% error in V ) = × 100
V
πr2 δh + 2πrh δr
= × 100
πr2 h
δh δr
= × 100 + 2 × 100
h r
= (% error in h) + 2 (% error in r).
64
Question 6.5. A company makes boxes with dimensions x, y and z.
✏
✏✏ ✏
✏✏
✏✏ ✏✏
✏✏ ✏
✏✏ y
x
Estimate the percentage error in the volume in terms of the percentage errors in x, y and
z.
Solution. The volume of the box is given as V (x, y, z) = xyz so
∂V ∂V ∂V
δV ≈ δx + δy + δz
∂x ∂y ∂z
= yz δx + xz δy + xy δz.
Hence
δV yz δx xz δy xy δz δx δy δz
≈ + + = + + .
V xyz xyz xyz x y z
It follows that
δV
(% error in V ) = × 100
V
δx δy δz
≈ × 100 + × 100 + × 100
x y z
= (% error in x) + (% error in y) + (% error in z).
65
6. Problems: Linear Approximation and Error Analysis
Problem 6.1. Consider the function f (x) = x1/3 .
Derive a linear approximation (using Taylor series) centred at x0 = 8. Use the linear
approximation to approximate 91/3 .
What is the percentage error in the approximation compared to the true value of 91/3 .
√
Problem 6.2. Use linear approximation to estimate 24.
Problem 6.3. Use linear approximation to estimate the change in f (x, y) = x2 − 3x3 y +
4x − 2y 3 + 6 if (x, y) changes from (−2, 3) to (−2.02, 3.01) and hence find an approximate
value for f (−2.02, 3.01).
Problem 6.5. The height of a tower is calculated by measuring the horizontal distance
x from the foot of the tower to a point A and the angle of elevation θ of the top of the
tower from A. Using linear approximation, estimate the percentage error in the height in
terms of the percentage errors in x and θ.
1 5
Problem 6.6. The rate of flow of gas in a pipe is given by v = Cd 2 T − 6 where C is a
constant, d is the diameter of the pipe and T is the temperature of the gas. By using
linear approximation, find the % change in v when the diameter of the pipe is increased
by 1% and the gas temperature is increased by 2%.
Answers
1
1. f (x) ≈ 2 + 12
(x − 8), 91/3 ≈ 2.0833, 0.16% .
2. 4.9.
3. 1.86, 21.86.
4. 0.047 m3 , 0.048 m2 .
θ
5. % error in x + × % error in θ.
sin θ cos θ
6. − 76 % .
66
Chapter 7
Multiple Integrals
• Integration by parts.
• Integration by substitution.
Z 1
3
Question 7.1. Calculate 3x4 + x2 ex dx.
0
Solution. This integral is designed to use a few different techniques! Firstly we can
split the integral as
Z 1 Z 1 Z 1
4 2 x3
4 3
3x + x e dx = 3 x dx + x2 ex dx.
0 0 0
67
To calculate the second integral on the right hand side we use integration by substitution;
1
taking u = x3 we have du/dx = 3x2 so x2 dx = du. Therefore
3
Z Z
2 x3 1 u 1 1 3
x e dx = e du = eu + C = ex + C.
3 3 3
Z 1 h1 i1
3 3 1 1 1 0 e−1
x2 ex dx = ex = e − e = .
0 3 0 3 3 3
Z 1
3 1 e−1 4 + 5e
3x4 + x2 ex dx = 3 × + = .
0 5 3 15
One interpretation of an integral like this is the area under a graph: assuming
R b that f is
positive, the area of a strip of width dx and length f is f dx and then A = a f (x) dx is
the total area between the x axis and the curve y = f (x) for a < x < b.
y = f (x)
A
x
a b
More generally, if f represents the density of some quantity,R i.e. it is the amount per unit
b
length, f dx is the amount in a short length dx and A = a f (x) dx is the total amount
between x = a and x = b.
68
z = f (x, y)
dx
dy
The volume between the x - y plane and the surface in theRslab of width dx between y = c
d
and y = d is then given by integrating with respect to y: ( c f (x, y) dy) dx. (In doing this
integral, x is held fixed.) Finally, to get the total volume, we must integrate with respect
to x from a to b: Z b Z d
volume = V = f (x, y) dy dx . (7.1)
a c
Noting that, for cases we’ll be considering at least, we could have integrated with respect
to x first and then y, we also have
Z dZ b Z Z
V = f (x, y) dx dy = f (x, y) dx dy , (7.3)
c a D
where D is our region of integration, here D is the rectangle a < x < b, c < y < d.
More generally if f once again represents
R R some sort of density, e.g. mass per unit area in
a sheet of metal, the double integral D
f (x, y) dx dy is the total amount in the region
D.
Z 4Z −1
Example 7.1. An example of a double integral is x2 y + sin(xy) dy dx.
1 −3
Z 4Z 3
Question 7.2. Calculate (xy 2 + y) dy dx.
2 1
Solution. Calculating the inner integral first gives
Z 3 3
2 xy 3 y 2 9 x 1 26x
(xy + y) dy = + = 9x + − + = + 4.
1 3 2 1 2 3 2 3
69
Therefore Z 4Z Z 4
3
26x
2
(xy + y) dy dx = + 4 dx
2 1 2 3
4
13x2 13 × 16 13 × 4
= + 4x = + 16 − + 8 = 13 × 4 + 8 = 60 .
3 2 3 3
Z 1Z 3
Question 7.3. Calculate 2xy dx dy.
0 2
Solution. Calculating the inner integral first gives
Z 3
3
2xy dx = x2 y 2 = 9y − 4y = 5y.
2
Therefore Z 1Z Z 1
3 1
5y 2 5
2xy dx dy = 5y dy = = .
0 2 0 2 0 2
Z 3Z 1
2
Example 7.2. For the double integral 2xyexy dy dx the region of integration D is
2 0
the rectangle given by
0 ≤ y ≤ 1, 2 ≤ x ≤ 3.
y✻
✲
x
2 3
Z 3Z 1
2
Question 7.4. Calculate 2xyexy dy dx.
2 0
Solution. Firstly consider the inner integral
Z 1
2
2xyexy dy.
0
∂u
We will use integration by substitution for this integral; taking u = xy 2 we have = 2xy
∂y
so du = 2xy dy and hence
Z Z
xy 2 2
2xye dy = eu du = eu + C = exy + C.
70
Thus Z 1 2 1
2
2xyexy dy = exy 0 = ex − 1.
0
It follows that
Z 3Z 1 Z 3
xy 2
3
2xye dy dx = (ex − 1) dx = ex − x 2 = (e3 − 3) − (e2 − 2) = e3 − e2 − 1 .
2 0 2
−1 ≤ y ≤ 0, 1 ≤ x ≤ 3.
ZZ
Calculate (x2 + y) dy dx.
D
Solution. The region of integration is the following:
y✻
1 3
✲
x
D
−1
Now
ZZ Z 3Z 0 Z 3 0 Z 3
2 2 2 y2 1
(x + y) dy dx = (x + y) dy dx = x y+ dx = x2 − dx
D 1 −1 1 2 −1 1 2
3
x3 x 3 1 1 23
= − = 9− − − = .
3 2 1 2 3 2 3
R b R h(x)
We can drop the brackets and simply write this as a g(x)
f (x, y) dy dx.
71
y✻ √
y= 1 − x2
✂
✂✌
✲
−1 1 x
❇▼ √
❇
y = − 1 − x2
D
✲
1 x
Z Z
Question 7.6. Calculate y dA over the region D below:
D
Solution. In this region we have 0 ≤ x ≤ 1, whilst, for a given x, we have
√
x ≤ y ≤ 1.
y √
y= x
1
D
x
0 1
72
Therefore Z Z Z 1Z 1
y dA = √
y dy dx.
D 0 x
Hence Z Z 1 1
1 x x x2 1 1 1
y dA = − dx = − =0− − = .
D 0 2 2 2 4 0 2 4 4
D
✲
1 x
ZZ
Question 7.7. Calculate (3 − x − y) dA where D is the region described in the
D
previous question.
Solution. Recall that D is described by
0 ≤ y ≤ 1, y ≤ x ≤ 1.
Therefore ZZ Z 1Z 1
(3 − x − y) dA = (3 − x − y) dx dy.
0 y
Now
Z 1 1
x2 1 y2 5 3y 2
(3 − x − y) dx = 3x − − yx = 3 − − y − 3y − − y 2 = − 4y + .
y 2 y 2 2 2 2
It follows that
ZZ Z 1 1
5 3y 2 5y 2 y3 5 1
(3 − x − y) dA = − 4y + dy = − 2y + = −2+ −0 = 1.
0 2 2 2 2 0 2 2
73
7.3 Interchanging the order of integration
As noted before,
R R we can swapR R the orderRinR which the order in which the integrals are
carried out : D
f dy dx = D
f dA = D
f dx dy. It is sometimes easier to calculate
the value of a double integral doing the integrations in one order than the other.
Example 7.6. Consider the region D which lies between the line y = x and the parabola
y = x2 :
y✻
y = x2 PP
q
❇▼
1 ❇
D y=x
❏
❏
❫
✲
1 x
0 ≤ x ≤ 1, x2 ≤ y ≤ x.
√
On the other hand, the parabola is also given by the equation x = y so the region D
can also be described by
√
0 ≤ y ≤ 1, y ≤ x ≤ y.
It follows that we have
Z 1Z x ZZ Z 1Z √
y
f (x, y) dy dx = f (x, y) dA = f (x, y) dx dy.
0 x2 D 0 y
ZZ
2
Question 7.8. Calculate ey dA where T is the triangular region with vertices (0, 0),
T
(0, 1) and (1, 1):
y✻
1 ❇▼❇
❇
T y=x
✲
1 x
74
Solution. As a first attempt we may describe T by
0 ≤ x ≤ 1, x ≤ y ≤ 1.
It follows that ZZ Z 1Z 1
y2 2
e dA = ey dy dx.
T 0 x
The inner integral is then Z 1
2
ey dy
x
which can’t be evaluated very easily! We’ve got stuck!
As a second attempt let us describe T the other way; that is
0 ≤ y ≤ 1, 0 ≤ x ≤ y.
Then ZZ Z 1Z y
y2 2
e dA = ey dx dy.
T 0 0
Evaluating the inner integral first gives
Z y
2 2 y 2
ey dx = xey 0 = yey .
0
It follows that
ZZ Z h ey2 i1
y2 y2 e 1 1
e dA = ye dy = = − = (e − 1) ,
T 2 0 2 2 2
RR
Note. On evaluating a double integral I = D
f (x, y) dA by doing the y integral first,
R b R g2 (x)
i.e. taking I = a g1 (x) f (x, y) dy dx, we integrate along vertical strips between the lower
boundary, say y = g1 (x), and the upper boundary, say y = g2 (x) (this gives a result which
R g (x)
generally depends upon x, but definitely does not depend on y): Iy (x) = g12(x) f (x, y) dy.
We then total up the contributions of strips by integrating Iy from the lowest value
Rb
of x taken in D, say a, to the largest, say b (see Fig. 7.1(i)): I = a f (x, y) dx. On
R d R h (y)
the other hand, doing the y integral first, we take I = c h12(y) f (x, y) dx dy, we integrate
along horizontal strips between the left-hand boundary, say x = h1 (y), and the right-hand
boundary, say x = h2 (y) (this gives a result which generally depends upon y, but definitely
R h (y)
does not depend on x): Ix (y) = h12(y) f (x, y) dx. We then total up the contributions of
strips by integrating Ix from the lowest value of y taken in D, say c, to the largest, say d
(see Fig. 7.1(ii)). (Either way, the final result does not depend on either x or y!)
75
(i) (ii)
y y
x = h2(y)
y = g2(x)
d
D
D
x = h2(y)
c
y = g1(x)
a b x x
76
7. Problems: Multiple Integrals
Problem 7.1. Evaluate the integrals :
Z 4Z 6
(i) x2 + y 2 dx dy ;
0 0
Z 2Z 1
(ii) x2 y 2 + 2xy 3 dx dy.
1 0
Problem 7.2. Evaluate the following integrals :
RR
(i) D
x2 y dx dy where D is the rectangle 0 < x < 2, 1 < y < 3;
RR
(ii) D
e2x+y dx dy where D is the rectangle 0 < x < 1, 0 < y < 3;
RR
(iii) T
(x − y) dx dy where T is the triangle with vertices (0, 0), (1, 0), (2, 1);
RR
(iv) P
xy dx dy where P is the parallelogram with vertices (0, 0), (1, 1), (1, 0), (2, 1).
Problem 7.3. Sketch the regions of integration of the following:
Z 2 Z 2y Z 1 (Z √x )
(a) f (x, y) dx dy ; (b) f (x, y) dy dx .
1 y 0 x
Problem 7.4. Sketch the region of integration and evaluate the following iterated inte-
grals in each case :
Z 2 Z √x Z 1 Z x+1 Z 1Z 1
2 1
(i) x y dy dx ; (ii) (3x + 2y) dy dx ; (iii) 2
dx dy .
1 1−x −1 x3 0 y 1+y
Problem 7.5. Find the following integrals by first interchanging the order of integration
: Z Z Z 9Z 3
2 2
x2
(i) e dx dy; (ii) sin x3 dx dy; √
0 y 0 y
Z 2 Z 1 Z π/4 Z π/2
2 cos y
(iii) ln(1 + y ) dy dx; (iv) dy dx.
0 x/2 0 2x y
Answers
1. (i) 416, (ii) 163/36.
32
2. (i) 3
. (ii) 12 (e2 − 1)(e3 − 1). (iii) 13 . (iv) 7
12
.
163 334 π
4. (i) 120
. (ii) 105
. (iii) 4
− 12 ln 2.
77
78
Chapter 8
Now we can look at how they are used for double integrals.
A key step is to see what replaces the dx dy we were using for Cartesian co-ordinates we
had our small area element a rectangle of area dA = dx dy. For polars, with change in
angle, dθ, and change in distance from the origin, dr, both small, we get something which
is approximately rectangular, with sides of length rdθ and dr.
dr r dθ
dθ dA
r
79
RR RR RR RR
We can then write a double integral f dA = f dx dy as f dA = f r dr dθ.
✲
2
is given by
π
0 ≤ r ≤ 2, 0≤θ≤ ,
2
whilst the annulus
✻
✲
1 2
is given by
1 ≤ r ≤ 2, 0 ≤ θ ≤ 2π.
80
✻ √
y= 1 − x2
1 !
!
✠
✲
1
8.2 Volume
Question 8.3. Find the volume of the solid which lies under the graph of
f (x, y) = x2 + 3y 2
over the triangle with corners (0, 0), (0, 1) and (1, 0).
Solution. The region of integration is the following
y✻
y =1−x
1 !
!
✠
✲
1 x
81
Therefore Z 1Z 1−x
Volume = (x2 + 3y 2 ) dy dx.
0 0
Hence
Z 1 1
2 3 3
x3 x4 (1 − x)4 1 1 1 1
Volume = x −x +(1−x) dx = − − = − −0 − 0−0− = .
0 3 4 4 0 3 4 4 3
Example 8.2. Consider a 3m×3m metal plate R. For convenience take the origin to be
the bottom left corner.
y✻
✲
3 x
T (x, y) = 40 + 2x + 2y.
Question 8.4. Find the centre of mass of a triangular metal plate P with vertices at
(0, 0), (1, 0) and (0, 1), and which has uniform density given by ρ(x, y) = 1 g/cm2 .
82
y✻
y =1−x
1 !
!
✠
P
✲
1 x
0 ≤ x ≤ 1, 0 ≤ y ≤ 1 − x.
83
8. Problems: Applications of Multiple Integrals
RR p
Problem 8.1. Find C
x2 + y 2 dA where C is the circle x2 + y 2 < a2 .
Problem 8.2. For each of the following sketch the region of integration evaluate the
integral by using polar coordinates.
Z 3 Z √9−y2 Z 1/√2 Z √1−x2 p
(a) x2 y dx dy . (b) 1 + x2 + y 2 dy dx .
0 0 0 x
RR p
Problem 8.3. Find D
sin( x2 + y 2 ) dA where D is
Problem 8.4. Find the volume V of the solid bounded by the paraboloid z = 4 − x2 − y 2
and the x - y plane.
Problem 8.5. Find the volume of the solid which lies under the surface z = x2 + 2y 2 and
over the triangle in the x - y plane with vertices (0, 0), (1, 0) and (1, 2).
Problem 8.6. Find the volume of the tetrahedron bounded by the co-ordinate planes
and the plane of equation 2x + y + z = 2.
Problem 8.8. A flat plate in the shape of a triangle with vertices (0, 0), (1, 1), (2, 0)
(using cm) lies in the x - y plane. The density of the plate, ρ(x, y), atR the
R point (x, y) is
2
equal to 1 + 6x + 12y g/cm . Find the mass of the plate (given by T
ρ(x, y) dx dy).
Write down the co-ordinates of the centre of mass of the triangle in terms of double
integrals.
84
Answers
1. 2πa3 /3.
81 π
√
2. (a) 5
. (b) 12
(2 2 − 1).
3. (i) π(sin 1 − cos 1). (ii) 2π(sin 2 − 2 cos 2 − sin 1 + sin 2).
4. 8π.
11
5. 6
.
6. 23 .
16
7. 3
.
1
R 1 R 2−y 1
R 1 R 2−y
8. 11; 11 0 y
x(1 + 6x + 12y) dx dy; 11 0 y
y(1 + 6x + 12y) dx dy.
85