









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










MATH 22B
Welcome to the final exam. Please don’t get started yet. We start all together at 9: AM after getting reminded about some formalities. You can fill out the attendance slip already. Also, you can already enter your name into the larger box above.
Figure 1. A two dimensional discrete sphere S.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
Total :
Linear Algebra and Vector Analysis
Problems
Problem 39.1) (10 points): In Figure 2 (see the next page for a larger version) you see a discrete two dimensional region G in which all triangles are oriented counter clockwise. The one-form F as a function on oriented edges is given in the picture. Answer the following questions and give reasons:
a) (2 points) The curl dF of F is a function on oriented triangles. What can you say about the sum over all the curl values dF in the graph G of Figure 2?
b) (2 points) Is F a gradient field F = df for some function f on vertices?
c) (2 points) What is the sum of the natural divergence values d∗F on vertices?
d) (2 points) What was the name of the matrix K = d∗d that acts on 0-forms. It has been defined more than 150 years ago.
e) (2 points) In Figure 1 on the front page, you saw a two-dimensional discrete sphere S. which plays the role of a closed surface x^2 + y^2 + z^2 = 1 in R^3. Given a 1-form F , a function on oriented edges of S, what is the sum over all curls on S? The answer is a number but you have to justify the answer.
(^1 )
1
1 1 1 11
1 1^1 1 11
1 111 11
(^11 1 1 )
1 11 1111
(^11)
1
1 1 1
1 1 1
(^1 )
1 1
1 1 111
(^1 )
1
1 11
(^1 ) (^11) 1 1
1 (^11)
1 (^111) 11 1 11 11
(^11) 1 1
1 11
1 111
(^1) 1 1 11
(^1 )
1 1
1
1 1 (^1111) 1
1 1 1 11 1
11
1 1
(^11) 1
(^11) 1
(^11 ) 1 1 1
1 (^11) 1
(^1 1 ) (^1 11 )
(^11) 1 111
(^11)
11
1 1
11
1 (^11) 1 1
1 1
1 1
1 1
1 1
1
(^1111) 1
1 1
1
1 1
1 1 1 1
1 1
1 1
(^11) (^1111) 1 1
1 1
1
1
1 1
1
1 1 1
1 1
1 1
1
1
1
(^1111 1 )
(^11 ) (^1) 1 1 1 1 1
1 1
1 (^1 )
1
(^11) 1
1 1
1 1
1
1
111
1 1 1
1 1 11
1
1
1 1
1
1
1 11 (^1 1 ) 1
1 1 1 1 (^11 )
1
Figure 2.
Linear Algebra and Vector Analysis
Solution: Solution: a) By the discrete Stokes rsp Green theorem, the sum of all curls is equal to the line integral along the boundary, which is zero. b) This was often done wrong. The fact that one line integral is zero does not mean it is a gradient field. All line integrals have to be zero, especially line integrals along triangles which is called the curl. The curl is actually nowhere zero. c) By the natural divergence theorem (Kirchhoff’s law) the sum over all divergences is zero. d) It is called the Kirchhoff matrix. e) The sum of the curls is zero because the surface is closed. The surface does not have a boundary. By Stokes theorem, the sum of all curl values is equal to the line integral over the empty set which is zero.
Problem 39.2) (10 points) Each question is one point:
a) Albert Einstein used the notation vkwk^ for two vectors v, w. It is today called “Einstein notation”. What did Einstein mean, when he wrote vkwk?
b) If S = r(R) is a two-dimensional surface parametrized by r(u, v) = [x(u, v), y(u, v), z(u, v)]T^ , what is the relation between |ru × rv| and
det(drT^ dr)?.
c) What is the Newton method used for? We have seen this nu- merical tool in a proof seminar.
d) What is the curvature of a circle with radius 20?
e) Define the 1 × 5 matrix A = [1, 1 , 1 , 1 , 1]. One of the two ma- trices A, B = AT^ is row reduced. Which one?
f) What is the distortion factor of the coordinate change Φ(x, y) = (3x + y, x + y)?
g) What is the numerical value of i^22 , if i =
−1 is the imaginary unit?
h) What is the name of the differential equation iℏ (^) dtd ψ = Kψ, where K is a matrix? It appears in a theory which also is called “matrix mechanics”.
i) Why is the distance between two lines r 1 (t) = Q + tv and r 2 (t) = P + tw given by the formula |(v × w) · P Q|/|v × w|?
j) You are given a Morse function f on a 2-torus and you count that f has 11 maxima and 11 minima. How many saddle points are there?
Herr Einstein wishes you good luck!
Solution: a) dF = 2xy^2 z^2 w^2 dxdydz + 2wx^2 y^2 z^2 dwdydz. b) dF = 2yx^2 z^2 w^2 dydxdzdw. c) This is a triple integral
G dF^ of^ dF^ over a solid^ G^ has the two-dimensional torus as boundary. This is not necessarily zero. d) 0 (done in homework) e) 0 (done in homework) f) This is equivalent to a matrix A. Indeed, a matrix defines a bi-linear map (v, w) → vAw taking a row vector v and a column vector w and getting a real number (and so by defi- nition is a (1, 1) tensor). g) This is a row vector v. A row vector defines a linear map from the space of column vectors to the reals. The map is the matrix product w → vw. h) No, grad is an operation which gives from a 0-form a 1-form. You can not apply grad on a 1-form. i) No, div is an operation which gives from a (n − 1)-form in n dimensions a n-form in n dimensions. You can not apply divergence again. Similarly we have seen the natural di- vergence which is the adjoining of the gradient and which defines from a 1-form a 0-form. But also this can not be applied twice. We can apply divgrad for example if we identify 1-forms and 2-forms. We have also seen it making sense with the “natural divergence” grad∗, as then it is d∗d = grad∗grad = divgrad. This is how calculus books do it and how it is also implemented in the discrete when getting the Kirchhoff matrix. j) It is the first one. If three level surfaces intersect we have a critical point which is not of the 3 possible Morse types maximum, minimum and saddle point. By the way, one can look at level surfaces and so contour maps also in the discrete. (See https://arxiv.org/abs/1508.05657). I was not joking when predicting that in 2072 when your grand kids are in college, calculus will no more be taught using old-fashioned “limits”. Limits are so lame!
Linear Algebra and Vector Analysis
Problem 39.4) (10 points): a) (3 points) Parametrize the line L which contains the points
A = (3, 2 , 1), B = (3, 3 , 2).
b) (3 points) Given the additional point P = (3, 3 , 3), find the dis- tance between P and L.
c) (4 points) Write down the equation ax + by + cz = d of the plane containing L and P.
Solution: a) r(t) = [3, 2 , 1] + t(B − A) = [3, 2 + t, 1 + t]T b) We use the area/base formula to get |[0, 1 , 1] × [0, 0 , 1]|/|[0, 1 , 1]| = 1/
c) The cross product of AB × AP = [1, 0 , 0]T^ = [a, b, c] is perpendicular to the plane. This gives x = d. Plug in the point like A or B to x = 3. Remark. The problem was constructed with the intention to have the computations rea- sonable. This of course risks allowing short cuts. While we like clever short solutions, we wanted to test here multi-variable concepts and not high school geometry. One can notice for example that all x-coordinates of the point are 3, we can write down the plane x=3 immediately. Then we can use a two dimensional situation and draw out the points (2, 1), (3, 2) and (3, 3) figuring out the distance like a 9th grader. We point this out in an other problem again: you do not gain much sympathy with “smarty-pant” solutions without demonstrating that you master the general technique. The best way to handle this as a student to solve it the standard way (demonstrating that you can do the general case and for example could write down a computer program which does the general case) and then say: “By the way, the problem can also be solved with school geometry by notic- ing ...”. This assures that everybody applauds, also the grader. Here, the problem was designed to have low complexity. A case A = (13, 32 , 31), B = (7, 9 , 11), P = (13, 17 , 2) could not have been hi-jacked but would produce nasty integer arithmetic.
Linear Algebra and Vector Analysis
Problem 39.7) (10 points): a) (5 points) Find the tangent plane at the point P = (3, 1 , 3 , −1) of the hyper cone S = {f (x, y, z, w) = x^2 + y^2 − z^2 − w^2 = 0} in R^4.
b) (5 points) Write down the linearization L(x, y, z, w) of f (x, y, z, w) at (3, 1 , 3 , −1).
Solution: a) 6x + 2y − 6 z + 2w = 0. b) L(x, y, z, w) = 6(x − 3) + 2(y − 1) − 6(z − 3) + 2(w + 1)
Problem 39.8) (10 points): Estimate the value f (0. 1 , − 0 .02) for f (x, y) = ex+y^ using quadratic ap- proximation Q(x, y) at (x 0 , y 0 ) = (0, 0).
Solution:
Compute the gradient ∇f (x, y) =
ex+y ex+y
and the Hessian H(x, y) =
ex+y^ ex+y ex+y^ ex+y
which at the point (0, 0) are ∇f (0, 0) =
and H(0, 0) =
. This gives
L(x, y) = 1 + x + y and Q(x, y) = 1 + x + y + x^2 /2 + y^2 /2 + xy. Plugging in the values into the quadratic approximation! gives 1.0832. Remark: There is a short cut which a few students have used (I have mixed feelings about this as we try to make the problems so simple that they can be solved in reasonable time the risk is that the problem can be hi-jacked with single variable. In general, we want to test what you have learned in the current course. A problem like√ f (x, y) = y ∗ sin(xex+xy) not allowing a short cut would have been painful. Most sympathies are gained from the grader by solving it the way intended and then say: “By the way, the problem can also be solved by noting eu^ = 1 + u + u^2 /2! + ... and plugging in u = x + y.” Or, alternatively “By the way, the problem can also be solved by writing ex^ = 1 + x + x^2 /2! + ... and ey^ = 1 + y + y^2 /2! + ..., then writing ex+y^ = (1 + x + x^2 /2! + ...)(1 + y + y^2 /2! + ...) and neglecting terms of order 3 and higher”. Still, also show that you know what a “gradient” and what a “Hessian” and demonstrate you understand what the Taylor theorem in higher dimensions.
Problem 39.9) (10 points):
a) (6 points) Find the curve r(t) which satisfies r(0) =
(^) and
r′(0) =
(^) and r′′(t) =
1 − sin(t) −4 sin(2t) −9 sin(3t)
b) (4 points) What is the curvature of the curve at the point r(0)?
Solution: a) r(t) = [t^2 /2 + sin(t), sin(2t), sin(3t)]T^. b) In the formula |r′(0) × r′′(0)|/|r′(0)|^3 both vectors are known. This is
Problem 39.10) (10 points): Find the area of the region enclosed by the curve
r(t) =
3 cos(t) 2 sin(t) + cos(7t)
where 0 ≤ t ≤ 2 π.
Figure 3. The region in problem 39.10.
Solution: Use Green’s theorem with [0, x]T^ as vector field to get 6π. For the integral, use the symmetry that if an odd 2π- periodic function is integrated over [0, 2 π] this gives zero. And a double angle formula is needed to integrate cos^2 (x). But we have this done a thousand times.
Problem 39.12) (10 points): Compute the line integral ∫
C
F · dr =
0
F (r(t)) · r′(t) dt
of the vector field
F =
3 x^2 + yz 3 y^2 + xz 3 z^2 + xy
along the path C parametrized by
r(t) =
cos(7πt)et(1−t) sin(11πt) et(1−t)
from t = 0 to t = 1.
Solution: Use the FTLI. The potential is f (x, y, z) = x^3 + y^3 + z^3 + xyz. Now compute A = r(0) and B = r(1) to get f (B) − f (A) = −2.
Problem 39.13) (10 points): Find the line integral
C F^ ·^ dr^ of the vector field
F (x, y) =
y + x^4 y^3 + y^4
along the boundary C of the hexagon region shown in the picture. The curve C is a closed polygon going counter clockwise from (2, 0) over (1, 2), (− 1 , 2), (− 2 , 0), (− 1 , −2), (1, −2) back to (2, 0).
Solution: Use Green’s theorem again. The curl(F ) is constant −1. The area is 12. The result is −12. Quite many missed that problem. Possibly because it never happend before in any of my exams that two times the same integral theorem was used. Knill, the sneaky bastard!
Linear Algebra and Vector Analysis
1
2
Figure 5. The hexagon in Problem 39.13.
Problem 39.14) (10 points): Find the flux
S curl(F^ )^ ·^ dS^ of the curl of the vector field
x^7 −x sin(z^2 ) + z^3 x
through the surface S parametrized by
r(s, t) =
(6 + 2 cos^2 (s/2) cos(t)) cos(2s) 2 cos^2 (s/2) sin(t) + 2s (6 + 2 cos^2 (s/2) cos(t)) sin(2s)
with 0 ≤ s ≤ 7 π/2 and 0 ≤ t < 2 π. Hint: The surface has two boundary curves obtained by looking at s = 0 or s = 7π/2. We don’t tell you the orientation of the larger curve r 1 (t) = r(0, t) = [6 + 2 cos(t), 2 sin(t), 0]T is but you should know that the smaller curve r 2 (t) = r(7π/ 2 , t) = [− 6 − cos(t), sin(t) + 7π, 0]T is correctly oriented.
Solution: Of course, this is a Stokes theorem. It had been written all over the wall in this problem. The line integral along the smaller one is π. The line integral along the larger one is − 4 π. but the later is oriented in the wrong direction. The result is 5π.
Linear Algebra and Vector Analysis
Solution: Use the divergence theorem. The divergence is constant 3. The result is 3 times the volume of the solid, which is 3(8 − 4 π/3). Note that each corner is 1/8 of a sphere and there are 8 corners so that we have to subtract 4π/3 from 8.
Oliver Knill, [email protected], Math 22b, Harvard College, Spring 2022