Académique Documents
Professionnel Documents
Culture Documents
5 Integration 2
6 Differential Equations 12
9 Optimization 29
CourseCram
c 1
Chapter 5
Integration
Solution 5.1. At first glance, this doesn’t look like anything we recognize! The most complicated
dw
piece inside the integral is the sin2 x, so let w = sin x. Then = cos x, and we can rewrite
dx
dw
dx = . This gives:
cos x Z Z Z
2 2 dw 1 1
cos x sin xdx = w cos x = w2 dw = w3 + C = sin3 x + C.
cos x 3 3
Notice how the dx term ends up being replaced by precisely what we needed to cancel what was
left of the original function? This is no coincidence! If you do a substitution, and things don’t
cancel nicely, you may have chosen the wrong substitution, or the problem cannot be done that way.
You should also note that the final stage of the problem involves back-substituting our original
expression for w, since the integral was in terms of x, after all.
Solution 5.2. Since we are told to use Integration by Parts, we begin by choosing u and dv. The
only way to really decide is to remember that we are going to want the derivative of u and the
integral of dv, so choose them based on which combination give a simpler pairing.
In our case, we choose u = x and dv = e−3x dx. Then du = 1dx and v = − 13 e−3x (by inspection
and recognition).
Thus: Z Z
x 1 −3x x 1
xe−3x dx = − e−3x + e dx = − e−3x − e−3x + C
3 3 3 9
Solution 5.3. Since we are told to use Integration by Parts, we again begin by choosing u and dv.
Let u = cos2 x and dv = sin xdx. Then du = −2 cos x sin xdx and v = − cos x (by inspection and
recognition).
Thus:
Z Z Z
sin x cos2 xdx = cos2 x(− cos x) − cos x(2 cos x sin x)dx = − cos3 x − 2 sin x cos2 xdx
Notice how the same piece appears on both the left- and the right-hand sides? Rearrange the
equation:
CourseCram
c 2
CourseCram
c
Z Z
sin x cos2 xdx + 2 sin x cos2 xdx = − cos3 x
so Z
1
sin x cos2 xdx = − cos3 x.
3
This is one form of what can happen when you do an integral “by parts” that can actually be done
by substitution or another method.
Solution 5.5. Inspecting this integral doesn’t seem to give an obvious answer, so we will attempt
to use Substitution to solve. The complicated term we will replace is x3 , so let w = x3 . Then
dw
= 3x2 ⇒ dw = 3x2 dx. This gives:
dx
Z x=4 x=4
2ew dw = 2ew
x=0 x=0
but the terms that we are supposed to use to evaluate this definite integral are in terms of x! We
now have two choices:
If we wished to convert:
• x = 0 ⇒ w = x3 = 03 = 0
• x = 4 ⇒ w = x3 = 43 = 64
and thus
Z w=64 w=64
2dwew = 2ew = 2e64 − 2e0 = 2(e64 − 1).
w=0 w=0
If, however, we did back-substitution:
Z x=4 x=4 3 x=4
2dwew = 2ew = 2ex = 2e64 − 2e0 = 2(e64 − 1),
x=0 x=0 x=0
the same answer!
Solution 5.6. We assume that the rod has infintesimal thickness, both in depth and height, so
that it is 1-dimensional (x). Then, the density varies with x, so write
Z 2 Z 2
2
(1 + 3x2 )dx = x + x3 0 = 2 + 8 − 0 − 0 = 10kg.
ρ(x)dx =
0 0
4
3
2
y
1
0
0 1 2 3 4
Solution 5.7. Since we are rotating around the x-axis, our slices will be perpendicular to it,
running parallel to the y-axis. The slices technique takes discs of some radius, small thickness ∆x:
in this case, there is no inner radius because the shape is completely solid (no hole in the middle).
Thus, rout = 4x − x2 and we can write the volume as an integral on x:
Z x=4 Z 4
2
V = πrout dx = π (4x − x2 )2 dx
x=0 0
Z 4
16x2 − 8x3 + x4 dx
=π
0
4
x5
16 3 4
=π x − 2x +
3 5 0
45
16 3 4
=π (4) − 2(4) + − [0 − 0 + 0]
3 5
= π [34.13] = 107.23
Solution 5.8.
Z ∞ Z T Z T
1 1 −2
T
−1
dt = lim dt = lim t dt = lim −t
1 t2 1 t
T →∞ 2 T →∞ 1 T →∞ 1
1 1
= lim −(T )−1 + 1−1 = lim − + 1 = 1 − lim
=1
T →∞ T →∞ T T →∞ T
Z ∞
1
Thus dt = 1.
1 t2
Solution 5.9. Notice that while the bounds on the integration are simple and finite, the function
1
1 goes to ∞ as x → 0. Still, let’s see what we can do.
(t) 3
Z 1 Z 1 Z 1
1 1
1 dt = lim 1 dt = lim t−1/3 dt
0 (t) 3 T →0+ T (t) 3 T →0+ T
3 2/3 1 3 2/3 3
= lim t = lim (1 − T ) =
T →0+ 2 T T →0+ 2 2
and thus the integral does converge. So we see that even integrands that diverge wildly (going to
infinity!), can still be integrated if they diverge fast enough so that the area remains finite.
Solution 5.10. The key to this problem is recognizing that when you divide by a power of x, the
behaviour between x = 0 and x = 1 is opposite to the behaviour between x = 1 and x = ∞. Thus,
if the integral provided were to diverge, it would do so because of exploding behaviour between 0
and 1, not between 1 and 9. Accordingly, we split the integral:
Z 9 Z 1 Z 9
x−1/2 dx = x−1/2 dx + x−1/2 dx
0 0 1
and the second integral is obviously convergent. Now, between 0 and 1, we hypothesize that the
integral converges (‘Yes’, above), and thus we need to find some g(x) > x−1/2 for all x ∈ (0, 1] that
has finite integral. This can be rewritten as
√ 1
x>
g(x)
k
which implies that if g(x) = x , we need k < −0.5, e.g., k = −0.9. Quickly checking this, we see
that
x−0.9 > x−0.5 for x = 0.5, x = 0.1, x = 0.01
so our intuition is correct, and g(x) = x−0.9
> f (x) = x−0.1 . Now, integrate g(x):
Z 1 Z 1 x=1
g(x)dx = x−0.9 dx = 10x0.1 = 10 < ∞
0 0 x=0
R R
and thus g(x)dx is convergent, so f (x)dx is also convergent, and we are done.
Solution 5.11. The future value of the account is equal to the integral
Z T Z 10
FV = f (t)er(T −t) dt = 900e0.045(10−t) dt
0 0
and solving this integral we obtain
Z 10
FV = 900e0.45−0.045t dt
0
Z 10
= 900e 0.45
e−0.045t dt
0
t=10
e−0.045t
0.45
= 900e
t=0−0.045
= 900e0.45 e−0.45 − 1
= $11, 366.
Solution 5.12. Z
00
f (t) = 60t2 dt = 20t3 + A
Z
0
f (t) = (20t3 + A)dt = 5t4 + At + B
Z
A 2
f (t) = (5t4 + At + B)dt = t5 + t + Bt + C
2
A
and since A, B, C are just constants, redefine D = , so we have
2
f (t) = t5 + Dt2 + Bt + C.
Solution 5.13.
Z 2
(t − a)(t2 − b)
Z 4
t − (a + b)t2 + ab
Z
1
√ dt = √ dt = (t4 − (a + b)t2 + ab)t− 2 dt
t t
Z
7 3 1 2 2(a + b) 5/2
= t 2 − (a + b)t 2 + abt− 2 dt = t9/2 − t + 2abt1/2 + C
9 5
Solution 5.14. Since f (x) = 10x4 , we can solve for the family that F (x) belongs to:
Z
F (x) = 10x4 dx = 2x5 + C.
Then F (1) = 3 = 2(1)5 +C = 2+C so C = 1 and F (x) = 2x5 +1. Then, F (−1) = 2(−1)5 +1 = −1.
Solution 5.15.
5x
Z Z Z
2+x 2 x
5 dx = (5 · 5 )dx = 25 5x dx = 25 + C.
ln 5
dq dq
Solution 5.16. Let q = p2 + 3 then = 2p ⇒ = dp.
dp 2p
Z Z Z
2 1 1 1 1 2
pep +3 dp = eq dq = eq dq = eq + C = ep +3 + C.
2 2 2 2
dy 3 xdy
Solution 5.17. Similar to previous, let y = 3 ln x and then = so dx = .
Z e Z x=e Z x=e dx x 3
sin(3 ln x) sin(y) xdy 1
dx = = sin ydy
1 x x=1 x 3 x=1 3
1 x=e
1 x=e
1 1
= − cos y = − cos(3 ln x) = − (cos(3) − cos(0)) = (1 − cos 3)
3 x=1 3 x=1 3 3
dy dy
Solution 5.18. Using y = sin x, we get = cos x ⇒ dx = . Thus:
dx cos x
Z Z Z
3 3 dy 1 1
cos x sin xdx = cos xy = y 3 dy = y 4 + C = sin4 x + C
cos x 4 4
dy dy
Solution 5.19. Using y = x2 + 4x + 1, we get = 2x + 4 = 2(x + 2) ⇒ dx = . Thus:
dx 2(x + 2)
Z Z Z
x2 +4x+1 y dy 1 1 1 2
(x + 2)e dx = (x + 2)e = ey dy = ey + C = ex +4x+1 + C
2(x + 2) 2 2 2
Solution 5.20. There is no obvious identity to use here, so we will try Integration by Parts. Let
u = ln x and dv = dx. Then du = x1 dx and v = x.
Z Z Z
x
ln xdx = uv − vdu = x ln x − dx = x ln x − x + C
x
Solution 5.21. Again, there’s nothing obvious we can use here, so use Integration by Parts. Let
1
u = cos 2x, giving du = −2 sin 2xdx, and similarly, dv = e3x dx so v = e3x . Thus:
Z Z Z 3
3x 1 3x 1 3x
cos(2x)e dx = uv − vdu = cos 2x e + 2 e sin 2xdx.
3 3
Now this hasn’t really taken us anywhere “better”, but the integral on the right looks a lot like
what we started with, except with a sin x instead of cos x. Use Integration by Parts again, with
the same choices for u and v:
which is
1 a 1 2
= lim 3(x − 1) + lim 3(x − 1)
3 3
a→1− 0 a→1+ a
giving
1 1
1 1
= lim (a − 1) 3 − 3(−1) 3 + lim 3(1) 3 − 3(a − 1) 3
a→1− a→1+
= -(-3) + 3 = 6.
Z b
Solution 5.25. Recall that the average value can be found as f (x)dx/(b − a) , so
a
Z 3 3
1 2 1 1 3 1
(x + 1)dx = x + x = [9 + 3 − 0 − 0] = 4
3−0 0 3 3 0 3
du
= (1 − x + x2 ) + (1 + x)(−1 + 2x) = 1 − x + x2 − 1 − x + 2x + 2x2 = 3x2
dx
Z 2 Z x=2 2
x2 1 x=2 du
Z
x du
2 2 2
dx = 2 2
=
0 (1 + x) (1 − x + x ) x=0 u 3x 3 x=0 u2
x=2 2
1 1 1 1 1 1 1 8
= − = − 2
= − + =
3 u x=0 3 (1 + x)(1 − x + x ) 0 3 3·3 1·1 27
Solution 5.27. Since we do not recognize any pattern, and there’s no obvious substitution, we
will use Integration by Parts. Let u = x and dv = sin xdx, giving du = dx and v = − cos x.
Z Z Z
x sin xdx = uv − vdu = −x cos x + cos x = −x cos x + sin x + C
du du
Solution 5.30. Use Substitution, with u = 3x , giving du = 3x (ln 3)dx, so dx = x
= .
(ln 3)3 ln 3u
Z ∞ Z x=∞ Z x=∞
ln 3 ln 3 du du
dx = =
1 3 + 3−x
x
x= 21
−1
u + u ln 3u x= 12 u2 +1
2
x=∞ x x=∞ 1 π π π
= [arctan u]x= 1 = [arctan(3 )] 1 = arctan(∞) − arctan(3 2 ) = − =
2
x= 2 2 3 6
π √ √ π
using the fact that tan = 3, so arctan 3 = 3 .
3
Solution 5.31. Since our interval is 2.0 units long, with 5 intervals, each interval will be 0.4 wide.
We will do the left-hand Riemann sum first:
Thus the left- and right-hand Riemann sums are 4.96 and 5.76 square units, respectively. Note
8
the difference from the actual accurate solution of 4 + = 5.33.
6
Solution 5.32. To find the mass of this solid, we integrate the density function ρ over z ∈ [0, 10000]
and over the base of the cylinder, a circle of radius 2m. Thus:
Z Z Z 10,000
M= 1.3e−0.0001z dzdA
Z ZR 0
1.3 z=10,000
= e−0.0001z dA
−0.0001 z=0
Z ZR
= 8217.567dA and converting the circle to polar coordinates
R
Z 2π Z 2
= 8217.567rdrdθ
0 0
Z 2
= 2π 8217.567rdr
0
r=2
= 4108.8π r2 r=0
= 103, 264kg.
Now, in your class emphasis was placed on single integration primarily. This problem can be
rephased in that setting. Visualize a column of air, and consider a cross-sectional slice. Since the
column is a cylinder, a cross-section has the area of a circle, with some infintesimal thickness ∆h.
Thus:
Vslice = πr2 ∆h = π(2)2 ∆h = 4π∆h
and we can convert this from volume into mass by multiplying by the density:
mslice = 4π∆h · 1.3e−0.0001h = 16.336e−0.0001h ∆h.
Now, we integrate these slices as h ranges from 0 to 10, 000, changing ∆h to dh:
Z 10,000
= 16.336e−0.0001h dh
0
Z 10,000
= 16.336 e−0.0001h dh
0
10,000
e−0.0001h
= 16.336
−0.0001 0
0.36788 − 1
= 16.336
−0.0001
= 103, 264kg.
Solution 5.33. Begin by drawing a clear picture:
1.0
0.5
0.0
1 − x^4
−0.5
−1.0
−1.5
and realize that 1 − x4 is greater than x2 − x4 for the enclosed region. We need the intersect points
(they may be clear from the picture, but you would need them to actually draw the picture!), so
set the two functions equal and solve:
1 − x4 = x2 − x4 ⇒ x2 = 1
so the intersection points are x = ±1 and y = 0 (for both). Now, write the equation for the area
of this shape:
Z 1 Z 1
(1 − x4 ) − (x2 − x4 ) dx = 1 − x2 dx
−1 −1
x=1
1 1 1
= x − x3 = 1− − −1 − (−1)3
3 x=−1 3 3
2 2 4
= + = .
3 3 3
Solution 5.34. This is a very badly worded question (it comes from an old exam). We can
easily draw the xy-plane “base”: but once we’ve done so, what does “the cross-section piece taken
perpendicular to the x-axis is a circle” mean? It should mean that the cross-section, as viewed
from the position (∞, 0, 0) is a circle; i.e., if we drew the yz-plane, it would have a circle shape
for this solid. However, this contradicts the idea that the “base” of the figure is in the xy-plane,
3.0
2.5
2.0
1.5
y
1.0
0.5
0.0
0 1 2 3 4 5 6
because such a circular extrusion would actually have “base” on the x-axis alone. We will go with
this latter interpretation, for lack of any alternative. Thus, for each x ∈ [0, 6], the cross-section at
that point is a circle with diameter y = 3 − 0.5x:
3 − 0.5x 2
Z 6
V = π dx
0 2
π 6
Z
1 2
= 9 − 3x + x dx
4 0 4
1 3 x=6
π 3 2
= 9x − x + x
4 2 12 x=0
π
= [18 − 0]
4
9
= π.
2
Solution 5.35. This is again a Future Value problem, so write:
Z 10
FV = Re0.0425(10−t) dt
0
Z 10
50000 = R e0.425−0.0425t dt
0
10
e−0.0425t
0.425
= Re
−0.0425 0
= R · 1.5296 · 8.14659
50000
=R
12.461
Thus, R = $4012.52/year.
Solution 5.36. The oil slick is assumed to be infintesimally thin, so that it is a 2D shape with
density. Accordingly, when creating a Riemann sum to represent its mass, we sum the product of
a volume and the density. The volumes will be concentric circles, and can actually be thought of
as areas, since the density provided is kg/m2 . Thus:
r=250
X
50
M≈ π2r∆r
1+r
r=0
where the area is taken for a disc of radius r − ∆r/2 to r + ∆r/2 with circumference 2πr. To
convert this into a true mass, change the sum to an integral, and the ∆r to dr:
Z 250
50
M= 2πr dr
0 1+r
Z 250
r
= 2π50 dr
0 1+r
Z 250
r+1−1
= 100π dr
0 r+1
Z 250
r+1 1
= 100π − dr
0 r+1 r+1
= 100π [r − ln |r + 1|]250
0
= 100π [250 − ln |251| − 0 + ln |1|]
= 76, 803.94 ≈ 7.68 × 104 .
Solution 6.1.
Solution 6.3. Begin by writing what we know: T (0) = 80◦ , Ts = Ta = Tenv = 20◦ .
Now, write the differential equation:
dT
= k(T − Ts ) = k(T − 20)
dt
CourseCram
c 13
CourseCram
c
Solution 6.4.
y(0) = −2
y(0.5) = y(0) + ((0)2 (−2) + 1)(0.5) = −1.5
y(1.0) = y(1) + ((0.5)2 y(0.5) + 1)(0.5) = −1.1875
y(1.5) = −1.1875 + ((1.0)2 (−1.1875) + 1)(0.5) = −1.28125
y(2.0) = −1.28125 + ((1.5)2 (−1.28125) + 1)(0.5) = −2.22266
y(2.5) = −2.22266 + ((2.0)2 (−2.22266) + 1)(0.5) = −6.17
y(3.0) = −6.17 + ((2.5)2 (−6.17) + 1)(0.5) = −24.95
Solution 6.5. Note that we do not need to solve the differential equation to answer this question.
The disease spreads at a rate according to the differential equation, so to maximize the rate, we
differentiate the differential equation, set itequal to zero and solve. This gives
dP
[kP (1 − P )] = k − 2kP = 0
dt
k
with solution P (t) = 2k = 0.5. Thus the disease spreads most rapidly when 1/2 of the population
is infected, and at this point the rate of spread is 0.25k. To check that this is indeed a maximum,
2
consider the second derivative test, using ddtP2 = −2k < 0 always, so all critical points are maxima.
If we were interested in finding explicit P (t) (up to the factor of k), this is a logistic differential
equation, so write:
Z Z
dP
= kdt.
P (1 − P )
Now, the first integral is something we can decompose using Partial Fractions, so
1 A B
= +
P (1 − P ) P 1−P
giving
A(1 − P ) + B(P ) = 1
which has solution B =
Z A and A
Z = 1. So: Z Z
dP dP dP
kt + C = kdt = = + = ln |P | − ln |1 − P |.
P (1 − P ) P 1−P
Thus,
1 − P 1−P
ln
= −kt + C ⇒ = Ce−kt .
P P
Rearranging slightly we get
h i 1
1 = P (t) 1 + Ce−kt ⇒ P (t) = .
1 + Ce−kt
Note that if we had not multiplied by −1 before we exponentiated, we would have found a similar
but different solution with Cekt in both the numerator and denominator.
Solution 6.6. This is a separable differential equation, so we can explicitly solve it:
√
Z Z Z Z
dx 1 1
= − √ dt ⇒ xdx = − √ dt
x−1/2 3π 3π
which has solution
2 1.5 1
x = −√ t + C
3 3π
which we can simplify slightly as
2/3
3
x(t) = − √ t+C .
2 3π
Apply the initial condition of x(0) = 25:
2/3
3
x(0) = 25 = − √ (0) + C
2 3π
giving C = 125. Then this is in the form promised by the question, so that
2/3
3
x(t) = 125 − √ t
2 3π
3
giving k = − 2√3π .
where k is the constant of proportionality, and Ta is the ambient temperature. For the given
information,
dT
= −k(T − 20)
dt
with T0 = 100, so that the general form of the solution
T (t) = Ta + (T0 − Ta )e−kt
can be filled in as
T (t) = 20 + 80e−kt .
Now, we are told that at a later point the coffee is cooling at a rate half that of its initial cooling
rate, so that:
dT dT
= 0.5 (0) = 0.5(−k(100 − 20)) = −40k.
dt dt
Then
−40k = −k(T (t) − 20)
◦
so that 40 = T (t) − 20 and T (t) = 60 C.
Solution 6.9. This is a Zseparable differential
Z equation, so
V −1/2 dV = kdt ⇒ 2V 1/2 = kt + C
2
which can be simplified as V (t) = 21 kt + C . Then use the initial condition:
2
1
V (0) = k(0) + C = C 2 = 36
2
which gives C = 6. To solve for k, use the second point:
2
1
V (1) = k(1) + 6 = 16
2
so that 4 = 6 + k/2 giving k = −4. Thus
V (t) = (6 − 2t)2 .
The tank will be empty when V (t) = 0 which can be solved for as
V (t) = 0 = (6 − 2t)2 ⇒ 6 − 2t = 0
so the tank is empty at t = 3 hours.
Solution 6.10. We begin by writing the piece-wise differential equation the governs the population
of bees:
dP P/4 P < 10, 000
=
dt P/12 10, 000 ≤ P < 50, 000
Next, we are given P (0) = 5000, so we solve the differential equation:
Z Z
dP 1
= P (t)
dt 4
Z Z
dP 1
= dt
P 4
t
ln |P | = + C
4
P (t) = C2 et/4
and then applying the Initial Condition, P (0) = 5000, we obtain P (0) = 5000 = C2 , so the equation
governing the population of bees is
P (t) = 5000e0.25t .
given in the problem, and y(x + ∆x) = y(x) + y 0 (x) · ∆x. Thus, the method estimates y(2) = 2.625.
Solution 6.12. This is a separable differential equation, so write
Z Z
dy
= 0.5dt
y(y − 2)
Z
1 1 1
− = 0.5t + C
2 y−2 y
1
[ln |y − 2| − ln |y|] = 0.5t + C
2
y − 2
ln
= t + C2
y
y−2
= C3 e t
y
y(t) − 2 = C3 et y(t)
y(t) 1 − C3 et = 2
2
y(t) = .
1 − C3 et
Now, apply the initial condition, y(0) = 1, to get C3 = −1, so that
2
y(t) = .
1 + 1et
Solution 6.13. There is no work for this problem, just write the solution:
dP P
=α .
dt Q
Solution 6.14. The differential equation can be written as
dh √
= −α h for α > 0.
dt
Then, since dh/dt is always negative, and h → 0 as t → ∞, this implies that the greatest √ (magni-
tude) change in water level will occur at t = 0 when the level will be dropping at rate α h0 .
Finally, solve the equation:
Z Z
dh
√ = αdt
h
√
2 h = αt + C
αt + C 2
h(t) = .
2
We cannot finish the solution because we have not been given enough information to continue.
Solution 6.15. 16 litres of saline solution enter the tank every minute, with concentration 0.75g/L,
so 16 · 0.75 = 12g of salt enter the tank every minute. If A(t) is the amount of salt (in grams) in
the tank at time t, A(0) = 800L · 0.25g/L = 200g. Finally, we write the differential equation:
dA A A
= −16 · + 16 · 0.75 = 16 0.75 − .
dt 800 800
We were not actually asked to solve this equation, but it’s not hard, so for practice:
Z Z
dA
= 16dt
0.75 − A/800
ln |0.75 − A/800| = 16t + C
0.75 − A/800 = C2 e16t
A(t) = 0.75 · 800 − 800C2 e16t .
Using the initital condition A(0) = 200, we obtain
A(0) = 200 = 600 − 800C2 e0 = 600 − 800C2
so C2 = 0.5 and the salt equation becomes
A(t) = 600 − 400e16t .
Solution 6.16. None of the lines sketched will ever cross y = −x, as it is the equilibrium line for
this differential equation. They will converge to it as time goes on, but never cross it.
Solution 6.17. Begin by writing the differential equation:
dP
= αP (1500 − P )
dt
and then using α = 6 × 10−4 , write
dP
= 6 × 10−4 P (1500 − P ).
dt
To maximize the rate, we differentiate dP/dt:
0 = 6 × 10−4 (1500 − P ) + 6 × 10−4 P (−1)
which has solution P (t) = 750. Thus, when half the population knows the rumour, it spreads
fastest, at rate 337.5 persons/day.
300
200
dP/dt
100
0
P(t)
Solution 7.1. The vectors of interest are (with h1, 0i pointing east):
h500, 0i and h50, 50i.
Thus, adding these together gives
h550, 50i
which has magnitude
p
|h550, 50i| = 5502 + 502 = 552.3
and direction
−1 500
cos = 25.1◦
552.3
so the plane’s direction is E25.1N, with speed 552.3km/hr.
Solution 7.5. To solve this, write your initial position vector plus the vectors representing the
motion described:
h−1, −3, −3i + h2, 0, 0i + h0, −2, 0i = h1, −5, −3i.
To an observer standing on the positive x−axis, you are in front of the yz-plane.
CourseCram
c 20
CourseCram
c
Solution 7.6. Given three points, we need two vectors joining them, and one vector perpendicular
to those vectors. First, find the two vectors:
h1, 0, 1i − h1, −1, 3i = h0, 1, −2i
and
h1, 0, 1i − h3, 0, −1i = h−2, 0, 2i.
Then we need a vector perpendicular to these two vectors, which we can compute using the cross
product:
~i ~j ~k
~n = ~a × ~b = 0 1 −2 = h2, 4, 2i
−2 0 2
so we write
2(x − 3) + 4(y − 0) + 2(z + 1) = 0
or
2x + 4y + 2z = 4.
Solution 7.7. Level surfaces of f (x, y, z) look like
0=z−y
1=z−y
k =z−y
which generalize to z = y + k, which are planes with slope in yz− of 1, and no change in the
x−direction. If you were to stand on the positive x−axis, you would see a line with slope 1
extending in front of you.
Solution 7.8.
~v h1, 3i 1
~u = =√ = √ h1, 3i.
|~v | 1+9 10
Solution 7.9.
h1, 1, 1i · h1, −1, −1i = |h1, 1, 1i| |h1, −1, −1i| cos θ
so cos θ = −1/3 or θ = 109.5◦ .
Solution 7.10. The coordinate axes are the lines where y = z = 0 (x−axis), x = z = 0 (y−axis)
and x = y = 0 (z−axis). Thus, the three points where the plane intersects the axes are:
~v1 = h−0.6, 0, 0i, ~v2 = h0, 0.75, 0i, ~v3 = h0, 0, 3i.
Then, taking these three points as vertices in a triangle, we have the vectors that join them:
h0.6, 0, 3i, h0, 0.75, −3i, h−0.6, −0.75, 0i,
which have lengths
3.06, 3.092, 0.96.
Then, the angles between these vectors are:
between ~v1 and ~v2 : θ1 = 162◦
between ~v2 and ~v3 : θ2 = 101◦
between ~v3 and ~v1 : θ2 = 97◦
Solution 7.11. If the plane is parallel to z = 4x − 3y + 8, then ~n = h4, −3, −1i. Since it goes
through the origin,
4x − 3y − z = 0.
CourseCram
c 23
CourseCram
c
Solution 8.17. The chain rule for this setup can be written as
dz ∂z dx ∂z dy
= +
dt ∂x dt ∂y dt
1
= [sin(y) + y cos(x)] (2t) + [x cos(y) + sin(x)] ( )
t
1
= sin(ln t) + (ln t) cos(t2 ) (2t) + t2 cos(ln t) + sin(t2 )
.
t
Solution 8.18. Find the partial derivatives implicitly:
∂f
: 2x − yz − yzzx = 0
∂x
2x − yz 4−3 1
zx = = = .
xy 6 6
h2,3,1i
∂f
: 2y − xz − xyzy = 0
∂y
2y − xz 6−2 4
zy = = = .
xy 6 6
h2,3,1i
Then, using these two partials, write
1 4
(x − 2) + (y − 3) = z − 1
6 6
or
x + 4y − 6z = 8.
For the second method, we compute the gradient vector:
∇F (2, 3, 1) = h2x − yz, 2y − xz, −xyi = h1, 4, −6i.
h2,3,1i
Then
(x − 2) + y(4 − 3) − 6(z − 1) = 0
which simplifies to
x + 4y − 6z = 8.
Solution 8.19. The direction of the maximum rate of change at h1, 2, 3i is found using the gradient:
∇G(1, 2, 3) = h2x − 5y, −5x + 2yz, y 2 i = h−8, 7, 4i.
h1,2,3i
The maximum rate of change is this vector’s magnitude:
√
||∇G(1, 2, 3)|| = 64 + 49 + 16 = 11.36.
Now, in the direction v = h2, 1, −4i, we convert this to unit length:
~v h2, 1, −4i 1
~u = =√ = √ h2, 1, −4i.
||~v || 4 + 1 + 16 21
Then:
1
D~u (G) = √ h−8, 7, 4i · h2, 1, −4i = −5.46.
21
Solution 8.26. This is definitely not a linear function: to see, fix t = 0, then as the wind goes
from 2 to 6 m/s, the wind chill goes from −1 to −10; but when the wind goes from 6 m/s to 10
m/s, the wind chill goes from −10 to −15. The slope of the first is −9/4 while the slope of the
second is −5/4.
∂C −36 − (−30)
(−8, 14) = = 1.5
∂t −12 − (−8)
∂C −32 − (−30) −30 − (−27)
(−8, 14) = = −0.5 or = = −0.75
∂s 18 − 14 14 − 10
∂C −33 − (−32) −32 − (−30)
(−8, 18) = = −0.25 or = = −0.5
∂s 22 − 18 18 − 14
∂C
The meaning of (−8, 14) is the rate of change of wind chill with respect to temperature, assuming
∂t
wind speed is fixed: the resulting positive number indicates that if temperature increases (e.g., from
−4 to 0) then wind chill also increases, and vice versa, if temperature decreases (e.g., from 0 to
−4) then wind chill also decreases.
Finally:
∇C(−8, −14) ≈ h1.5, −0.625i
where the second term is the average of the two terms we found.
Solution 8.27. To find the contour that passes through (1, 2), simply substitute:
f (1, 2) = (1)2 (2) = 2
so it is 2 = x2 y ⇒ y = 2/x2 .
Now, find the gradient:
∇f (1, 2) = h2xy, x2 i = h4, 1i.
(1,2)
If we want the tangent line to the contour, the gradient is perpendicular to this tangent line, so we
need a vector perpendicular to ∇f (1, 2). The negative reciprocal works, so the slope of the tangent
line will be h−1, 4 rangle, and we can write the line either as
~l = 1 + t −1
2 4
or in y = mx + b form as
y = −4x + b ⇒ 2 = −4(1) + b
which gives y = −4x + 6.
d 2
f 0 (x) = x = 2x
dx
so find all solutions of f 0 (x) = 0:
2x = 0 ⇒ x = 0.
Thus there is only one critical point, and it occurs at x = 0. Finally:
f (0) = 02 = 0 (endpt)
f (0) = 0 (critical)
2
f (4) = 4 = 16 (endpt)
Solution 9.2. First, find the critical points:
2 2
g 0 (x) = 2xex = 0 ⇒ xex = 0
2
and since ex 6 0 for any x, x = 0. Thus, only two points to consider: x = 0 and x = 1 (endpoints):
=
CourseCram
c 30
CourseCram
c
2
1. g(0) = e0 = 1
2
2. g(1) = e1 = e
and thus the global maximum occurs at x = 1, with y−value e = 2.718.
Solution 9.4. To find and classify extrema, we need all first and second-order partial derivatives.
fx = 24x − 24y
fy = 24y 2 − 24x
fxx = 24
fyy = 48y
fxy = −24
then set the first derivatives equal to 0 and solve:
24x = 24y ⇒y=x
24y 2 = 24x ⇒ y2 = x
which have solutions x = 0, y = 0 and y = 1, y = 1. Classifying these two critical points:
(0, 0) : D = 24(0) − (−24)2 < 0 so a saddle point
(1, 1) : D = 24(48) − (−24)2 > 0 so a local minimum.
Solution 9.5. Compute the two partial derivatives and three second-order partials:
rt = −10t − 6h + 400
rh = −6t − 6h + 300
rtt = −10
rhh = −6
rth = −6
Now, set rt = rh = 0 and solve:
100 + 6h + 6t = 10t + 6h
which has solution t = 25 and h = 25. Evaluating this:
D(25, 25) = (−10)(−6) − (−6)2 > 0
and since rtt < 0, this is a local maximum. Thus, the optimal conditions (at least as far as range
goes) for controlling this missile occur at 25◦ C and 25% humidity.
Solution 9.6. Write the constraint:
g(x, y) = x3 + y 4 = 2,
and then the f (·) function:
p
f (x, y) = x2 + y 2
and then compute the two gradients:
−1/2 −1/2
∇f (x, y) = hx x2 + y 2 , y x2 + y 2 i
2 3
∇g(x, y) = h3x , 4y i.
Now, write the Lagrange multiplier equation:
−1/2 −1/2
hx x2 + y 2 , y x2 + y 2 i = λh3x2 , 4y 3 i
and solve, giving:
x y
p = p
3x2 x2 + y 2 4y 3 x2 + y 2
which simplifies to
p p
4xy 3 x2 + y 2 = 3x2 y x2 + y 2
and simplifies again, canceling the root, to:
4xy 3 = 3x2 y
giving solutions x = 0 and y = 0. If x 6= y 6= 0, then
4y 2 = 3x.
Substituting these values into the constraint equation, we obtain the points:
x=0: y4 = 2 ⇒ h0, 1.18921i
y=0: x3 = 2 ⇒ h1.25992, 0i.
The final relation is a bit tricky, but we can manipulate it for a solution. Rewrite as
9
16y 4 = 9x2 ⇒ y 4 = x2
16
and then substituting obtain
9
x3 + x2 − 2 = 0.
16
This question was on an old exam, and I’m fairly sure that the final root being a cubic like this was
unintentional, because you don’t know how to solve it! If we use the closed-form solution for a cubic
polynomial (or Matlab/Maple/etc.), the root turns out to be x = 1.097607. The corresponding y
1/4
value is 2 − (1.097607)3 = 0.97465. The corresponding distances for these three points are:
f (0, 1.18921) = 1.18921
f (1.25992, 0) = 1.25992
f (1.097607, 0.97465) = 1.4678845.
Thus, the point on the curve g(x, y) closest to the origin is (0, 1.18921), and the furthest point does
not exist, because g(x, y) grows without bound as x → ∞, y → ∞: for example, x = −100 has
y = 31.623 which has distance 104.8.
Solution 9.8. First, find f 0 (x) = 3x2 − 6x − 9 and find the critical points:
f 0 (x) = 0 = 3x2 − 6x − 9 = (3x − 9)(x + 1) ⇒ x = −1, x = 3
The only critical point in [−2, 1] is x = −1, so we have three points to check:
• x = −2: −8 − 12 + 18 + 1 = −1
• x = −1: f (−1) = −1 − 3 + 9 + 1 = 6 (max)
• x = 1: f (1) = 1 − 3 − 9 + 1 = −10 (min)
Therefore, the minimum value on [−2, 1] is −10 and the maximum value is 6. Thus M − m =
6 − (−10) = 16.
Solution 9.9. Describe the box as l times w times h, three variables. The volume is the product
of the three, and the surface area is composed of five pieces (consider lw, the top, to be missing,
although the question is flexible to choice here). Thus, write the constraint equation:
2lh + 2wh + lw = 12
and the optimizing equation
V = f (l, w, h) = lwh
This is a more complicated version of a Lagrange multiplier problem, but we proceed as normal.
∇f (l, w, h) = hwh, lh, lwi
∇g(l, w, h) = h2h + w, 2h + l, 2l + 2wi.
Set these equal and solve:
hwh, lh, lwi = λh2h + w, 2h + l, 2l + 2wi
giving
2h + w 2h + l 2l + 2w
= =
wh lh lw
Cross-multiply all denominators:
(2h + w)(lh)(lw) = (2h + l)(wh)(lw) = (2l + 2w)(lh)(wh)
(2h + w)(lhw)(l) = (2h + l)(lhw)(w) = (2l + 2w)(lhw)(h)
and then cancel the (lhw) term, giving
(2h + w)(l) = (2h + l)(w) = (2l + 2w)(h) ⇒ 2lh + lw = 2wh + lw = 2lh + 2wh.
The first and third of these give lw = 2wh or l = 2h, and the second and third give lw = 2lh or
w = 2h. Thus, we have triplets h2h, 2h, hi, which gives
12 = 2(2h)h + 2(2h)h + (2h)(2h) = 4h2 + 4h2 + 4h2 = 12h2
so that h = 1, w = l = 2 and
V = (2)(2)(1) = 4.
Solution 9.10. To find and classify critical points, we need all first- and second-order partial
derivatives:
2 2 2 2
fx = 4xe2x +y = 0 fy = 2ye2x +y = 0
2 +y 2 2 +y 2 2 +y 2 2 +y 2
fxx = 4e2x + (4x)2 e2x fyy = 2e2x + (2y)2 e2x
2 2
fxy = 8xye2x +y .
Then, solving the first two equations, the only solutions are x = y = 0, so there is only one critical
point.
(0, 0) : D = (4)(2) − (0)2 = 8 > 0
so this critical point is a local minimum.
Solution 9.11. To find and classify critical points, we need all first- and second-order partial
derivatives:
fx = cos(x) sin(y) = 0 fy = sin(x) cos(y) = 0
fxx = − sin(x) sin(y) = 0 fyy = − sin(x) sin(y) = 0
fxy = cos(x) cos(y) = 0
The set of critical points for this set is fairly complicated. If x = kπ, then fy = 0 and fx =
± sin(y) = 0 has solutions y = lπ. Thus there are an infinite set of solutions from these pairs of
(x, y) = (kπ, lπ) for l, k integers. Similarly, if x = (2k+1)
2 π for k an integer, then cos(x) = 0 and
(2l+1)
fx = 0, while fy = ± cos(y) = 0 which forces y = 2 π. Thus there is a second infinite set of
solutions from these pairs of (x, y) = ( 2k+1 2l+1
2 π, 2 π). Classifying these pairs is slightly difficult.
(kπ, lπ) : D = (0)(0) − [(±1)(±1)]2 = −1 < 0 thus saddles.
2k + 1 2l + 1
π, π : D = sin2 (x) sin2 (y) − (0)2 > 0 thus mins/maxes.
2 2
To further classify the minimums and maximums from the odd-half-pi multiples (i.e. π/2, 3π/2,
etc.) we need to consider fxx . As it is negative by default, if sin(x) and sin(y) share signs, the
critical point is a maximum, while if sin(x) and sin(y) differ by a sign, the critical point is a
minimum. Thus, we can write:
2k + 1 2l + 1
π, π only one of 2k + 1 and 2l + 1 is divisible by 3
2 2
are local minimums, while
2k + 1 2l + 1
π, π both 2k + 1 and 2l + 1 are either divisible by 3 or not
2 2
are local maximums.
Solution 9.15. This question starts off with unconstrained optimization, so find all of the necessary
partials, after noting that h(0, 0) = 4000mis the altitude of the hotel.
hx = 60 − 20x
hy = 40 − 20y
hxx = −20
hyy = −20
hxy = 0 = hyx .
Then, set ∇h(x, y) = 0 which gives x = 3 and y = 2. Checking this on h(x, y):
h(3, 2) = 10(6(3) − (3)2 + 4(2) − (2)2 ) + 4000 = 4110m.
Next, we use Lagrange multipliers to evaluate the altitudes on the circle 10km in radius around
your hotel. In this case, the given h(x, y) is our f (x, y), and the constraint is
g(x, y) = x2 + y 2 = 10
Find the two gradients:
∇f (x, y) = h60 − 20x, 40 − 20yi
∇g(x, y) = h2x, 2yi.
Setting these equal and solving we get
60 − 20x 40 − 20y
=
2x 2y
which has simplification
120y − 40xy = 80x − 40xy ⇒ 3y = 2x.
providing solution x = 1.5y. Substituting this into the constraint gives
(1.5y)2 + y 2 = 100 ⇒ y = ±5.547.
This gives additional point x = ±8.32, so we have four possible solutions. Evaluating these on
h(x, y):
h(8.32, 5.55) = 3721
h(8.32, −5.55) = 3676
h(−8.32, 5.55) = 2723
h(−8.32, −5.55) = 2678
so the maximum altitude on the circle 10km in radius around your hotel is at h8.32, 5.55i km away,
and has altitude 3721, not particularly exciting given that your hotel is at 4000m.