This set closes the geometry of space and opens the calculus of several variables. Problem 1 uses planes and parametric equations of lines. Problems 2 and 3 practise partial derivatives and contour plots and the approximation formula and critical points of the next lesson. The page follows MIT's Problem Set 3, in our own words.
MIT's set has two parts. Part B holds MIT's three longer problems (19 points), for which OpenCourseWare has no solutions. All three are written out below, with hints and solutions of our own. Part A is a list of short exercises, most of them from MIT's own Supplementary Notes, which also hold their solutions. Those are not rewritten here: the last section of this page lists them and links to MIT's exercises and solutions.
MIT's sheet numbers the lectures by the calendar of Fall 2007, which counts the review day and the day of Exam 1 as Lectures 7 and 8. So the lecture that the sheet calls Lecture 9 (functions of several variables, level curves, partial derivatives) is Lecture 8 in MIT's lecture summaries, in the videos and on this site. The sheet also lists the tangent plane approximation for that day. By the lecture summaries it was taught at the start of the lecture after it, which is Lecture 9 here. Problem 1 can be done with Lectures 4 and 5, Problem 3 parts (a) to (c) with Lecture 8, and Problem 2 and Problem 3 part (d) need the first half of Lecture 9. (MIT's sheet marks Problems 2 and 3 for the Tuesday lecture, but its summaries put the approximation formula in the next one.)
How to answer#
Work each problem on paper first. Then type your result in the answer box and press Check. A formula box takes plain typing, for example 2*y0/(1 + x0) or x^y*ln(x), and accepts every correct way of writing the answer. Type x0, y0, z0 for , , and ln(x) for the natural logarithm. A number box wants a decimal number, not a fraction or a square root, and its question says how exact your value must be: keep all the digits your calculator shows while you work. Unless a box asks for more digits, give 3 significant figures in the box; an answer with only 2 significant figures may or may not be accepted. The points, and their split over the parts of a problem, are MIT's. If you are stuck, open the hints one at a time. Each part ends with its full solution. Try before you open it: an answer given after its solution was opened earns no points. Parts that ask you to show or explain something have no answer box, or a box for only a piece of them: compare your work with the solution and mark it yourself. Your score is kept in this browser only.
Problem 1#
Drawing space on a screen: perspective
A program for 3D computer graphics has to show objects of space on a flat screen. It draws each point at the place where the straight line from to the eye of the viewer goes through the screen. Take the -plane (the plane ) as the screen, and put the eye at the point
In words
capital E equals (2, 0, 0)
(a)2 points
A point is drawn on the screen at a point of the -plane. Express the coordinates and of in , and . Assume that . Why is it reasonable to assume that?
Hint
Write parametric equations for the line through and , as in the lesson on lines: start at and add a multiple of the vector from to .
Hint
The screen is the plane . For which value of the parameter is the -coordinate of the moving point equal to zero?
Solution
The idea. The point is where the line through and meets the plane . Write the line with a parameter and find the value of the parameter at which .
The line of sight
The lesson writes a line as a starting point plus times a vector along the line. Here the parameter is called , because will be the time in part (d). Start at and move along :
In words
x equals 2 plus s the quantity x nought minus 2, y equals s y nought, z equals s z nought
At the moving point is at the eye and at it is at .
Where it meets the screen
On the screen , so , which gives . Put this value in and :
In words
Q: y equals 2 y nought over the quantity 2 minus x nought, z equals 2 z nought over the quantity 2 minus x nought
Why the assumption is reasonable
The viewer looks from towards the screen at , in the direction of decreasing . Everything the viewer can see through the screen lies in front of the eye, where . A point with is behind the viewer's head. A point with is beside the eye: its line of sight is parallel to the screen and never meets it, and the formula divides by zero there.
Check the result
A point on the screen, with , is drawn at itself: and . For a point behind the screen, , the factor is less than : far objects are drawn smaller, as they should be. The factor is the distance from the eye to the screen, , divided by the distance from the eye to measured along the -axis, , as similar triangles give.
(b)1 point
What does the picture on the screen of a line segment in space look like? Justify your answer. (As in part (a), all of the segment lies where .)
Hint
Think of all the lines of sight from the eye to the points of the segment together. What kind of surface do they sweep out?
Hint
Two planes that are not parallel meet in a line.
Solution
The idea. The eye and the segment lie in one plane. Every line of sight to a point of the segment stays in that plane, so the picture lies where that plane cuts the screen: on a straight line.
The geometric reason
Suppose first that the line of the segment does not go through . Then and the segment lie in exactly one plane. The line of sight from to any point of the segment lies in that plane, so the picture of that point is in that plane and in the screen. The plane contains , which is not on the screen, so it is not the screen itself, and it is not parallel to the screen either, because it holds lines of sight that cross the screen. Two planes that are not parallel meet in a straight line. So the picture lies on a straight line, and as the point runs along the segment from one end to the other, its picture runs from the picture of one end to the picture of the other end. The picture is a line segment.
If the line of the segment does go through , all its points share one line of sight. The viewer sees the segment end on, and its picture is a single point.
The same with formulas
Let the segment run from to , and let with be its points. Write and for the distances of the two ends from the eye along the -axis (our names), and , for the pictures of the ends. The point is at the distance , and part (a) gives for its picture
In words
Q(t) equals the quantity 1 minus lambda, Q nought plus lambda Q one, lambda equals t d one over the quantity the quantity 1 minus t, d nought plus t d one
To see this, put in: the -coordinate of the right side is divided by , which is divided by the distance of : the formula of part (a). The same holds for . The number is at and at , and it grows in between, because both and are positive. So runs along the straight segment from to , once and without turning back.
Check the result
The number equals only when , when the segment is parallel to the screen. Otherwise the middle of the segment in space () is not drawn at the middle of the picture: the half that is nearer to the eye takes up more of the picture. The picture is straight, but lengths along it are not kept. If , the formula gives that one point for every : the case of the segment seen end on.
(c)1 point
A line segment joins the points
In words
P nought equals (-1, minus 3, 1), P one equals (-2, 4, 6)
What is drawn on the screen? Give the coordinates of the pictures of and of as decimals, to three decimal places where they do not come out even.
Hint
By part (b) you only need the pictures of the two ends. Use the formulas of part (a) twice.
Solution
The idea. By part (b) the picture is the straight segment between the pictures of the two ends, and part (a) gives those.
The two ends
For the distance from the eye along the -axis is , and for it is :
In words
Q nought equals ( 2 times (-3) over 3, 2 times 1 over 3 ) equals (-2, two thirds ), Q one equals ( 2 times 4 over 4, 2 times 6 over 4 ) equals (2, 3)
What is drawn
The screen shows the straight segment from to , in the coordinates of the screen.
Check the result
Take the middle of the segment in space, . Its picture is . From to the screen coordinates change by and by , and from to this picture by and by : both are of the way, so the picture of the middle is on the drawn segment. It is not at its middle, as part (b) warned.
(d)2 points
A bird leaves at the time and flies in a straight line at constant speed, in such a way that it passes at . What does the path of the bird for look like on the screen? Show that the picture of the bird tends to a limit point as tends to infinity. This point is called the vanishing point. Give its coordinates.
Hint
The lesson's moving point: . Write its three coordinates as functions of .
Hint
Put those coordinates in the formulas of part (a). For the limit, divide the top and the bottom of each fraction by .
Solution
The idea. The bird is the moving point of the lesson on parametric equations. Part (a) turns its position at each time into a point of the screen.
The bird in space
The vector from to is , and it is the velocity of the bird:
In words
x(t) equals minus 1 minus t, y(t) equals minus 3 plus 7 t, z(t) equals 1 plus 5 t
The bird on the screen
Its distance from the eye along the -axis is . By part (a) its picture is at
In words
y equals 2 the quantity 7 t minus 3, over the quantity t plus 3, z equals 2 the quantity 5 t plus 1, over the quantity t plus 3
The limit
Divide the top and the bottom of each fraction by :
In words
y equals the quantity 2 the quantity 7 minus 3 over t, all over the quantity 1 plus 3 over t, goes to 14, z equals the quantity 2 the quantity 5 plus 1 over t, all over the quantity 1 plus 3 over t, goes to 10 (t goes to infinity )
Call the limit point (our name).
The shape of the path
By part (b), every piece of the flight is drawn as a piece of one straight line. Subtracting from the picture of the bird gives and , so
In words
Q(t) equals Q nought plus t over the quantity t plus 3, times vector Q nought V, vector Q nought V equals the average of 16, 28 over 3
The fraction grows from towards and never reaches it. So the path on the screen is the straight segment from to without its end point . The picture of the bird moves along it more and more slowly: it is at a quarter of the way at (that is ), halfway at , and at three quarters only at . The bird flies on for ever, but on the screen it shrinks into the point .
Check the result
At the formula gives , as in part (c). The vanishing point has a meaning of its own (our remark): it is where the line through the eye parallel to the flight meets the screen. That line is , , , and it reaches at , at the point of the screen. So every bird flying in the direction heads for the same point of the screen, wherever it started: parallel lines are drawn as lines through one point.
(e)2 points
In fact a fence in front of the viewer hides part of the flight. The fence stands upright in the plane and its top is at the height . (Our reading: the fence is long enough in the -direction, and it hides every line of sight that crosses the plane at or below .) Which part of the flight of the bird is hidden?
MIT's hint: the hidden points are exactly the points that lie below a certain plane through .
The boxes ask for the time at which the bird comes into view, and for the place on the screen where it does, to three decimal places where it does not come out even.
Hint
The last line of sight that the fence blocks just touches its top edge. All such lines together make a plane. It contains and the whole top edge of the fence, the line , .
Hint
Find a normal vector of that plane from two vectors in it, with a cross product, as in the lesson on planes. Then put the coordinates of the bird into the equation of the plane.
Solution
The idea. The plane through the eye and the top edge of the fence separates what the viewer sees over the fence from what the fence hides. Find its equation and see when the bird crosses it.
The plane through the eye and the top of the fence
The top edge is the line of points . Two vectors in the plane are , along the edge, and , from to the point of the edge. Their cross product is a normal vector:
In words
the average of 0, 1, 0 times the average of minus 1, 0, 1 equals the average of (1)(1) minus (0)(0), minus the quantity (0)(1) minus (0)(-1), (0)(0) minus (1)(-1) equals the average of 1, 0, 1
The plane with this normal vector through is :
In words
x plus z equals 2
Which side is hidden
A point beyond the fence is hidden when it lies on or below this plane, where : lowering a point lowers its , and its line of sight then meets the fence. Directly: the line of sight of part (a) crosses the plane at , at the height . That is at most , the top of the fence, exactly when .
The bird
For the bird, . It is hidden while :
In words
0 is less than or equal to t is less than or equal to one half
At the bird is at , exactly in line with the top edge of the fence. By our reading of the fence that is the last moment at which it is hidden. After that it is in view for good, because keeps growing. The hidden part is the straight piece of the flight from to that point. On the screen it is the piece of the path from to the picture of that point,
In words
( 2 times 0.5 over 3.5, 2 times 3.5 over 3.5 ) equals ( two sevenths, 2 ) equals (0.286, 2)
Check the result
A second route: draw the fence itself on the screen. By part (a) a point of its top edge is drawn at the height . So on the screen the fence covers everything on or below the horizontal line , and the bird is hidden while its picture is on or below that line: , which is , or . The same answer. In the formula of part (d), the fraction is at : only the first seventh of the path on the screen is hidden, and that includes but not yet , which is at a quarter.
Problem 2#
A power in which base and exponent both change
Let
In words
w equals x to the power y equals e to the power y log x
for .
(a)3 points
Give a formula for the approximate small change in the value of that small changes and in and produce. Use it to calculate an approximate value of , and compare it with the exact value.
The first two boxes ask for the two partial derivatives that the formula needs. The last two ask for the approximate value from the formula and for the value from a calculator, both to four decimal places.
Hint
The lesson's approximation formula says , where and are the two partial derivatives.
Hint
For the exponent is a constant: a power of . For the base is a constant: use the form , an exponential in .
Hint
is close to . Which and lead from to ?
Solution
The idea. The approximation formula of the lesson, with in the place of :
In words
capital delta w is approximately w sub x capital delta x plus w sub y capital delta y
It needs the two partial derivatives of at the starting point.
The partial derivatives
For , treat as a constant. Then is a power of , and the power rule applies. For , treat as a constant. Then with the constant , and its derivative is :
In words
w sub x equals y x to the power y minus 1, end of power, w sub y equals ( log x) x to the power y
The formula for the change
In words
capital delta w is approximately y x to the power y minus 1, end of power, capital delta x plus ( log x) x to the power y capital delta y
The numbers
Start from , , where , and . To reach take and :
In words
capital delta w is approximately 4 times (-0.02) plus 2.7726 times 0.01 equals minus 0.0800 plus 0.0277 equals minus 0.0523, 1.98 to the power 2.01 is approximately 4 minus 0.0523 equals 3.9477
Compare with the exact value
A calculator gives (more digits: , against from the formula). The estimate is too high by about . That is small next to the change itself, : the formula finds the change to within about 1% of its size.
Check the result
Check the two derivatives one at a time with a calculator, at and with a step of : , close to , and , close to .
(b)1 point
Start from . Is the value of more sensitive to a small change in the base or to an equally small change in the exponent ? Justify your answer.
Hint
In the formula of part (a), which of and is multiplied by the larger number at ?
Solution
The idea. A partial derivative is the rate at which changes when one variable changes alone. The variable with the larger partial derivative (in size) has the stronger effect.
Compare the two rates
At the formula of part (a) reads
In words
capital delta w is approximately 4 capital delta x plus 2.77 capital delta y
The same small step changes by times the step when it is made in , and by times the step when it is made in . So the value is more sensitive to the base , by the factor .
Check the result
Try a step of each way on a calculator: , a change of , and , a change of . The first change is the larger one, and their ratio is . This holds at this point only: at , for example, and , and there the exponent counts for more.
Problem 3#
Reading a contour plot
MIT's sheet shows the contour plot of a function for and between and , with level curves apart. The plot below is our own, computed from the same function (its formula comes in part (b)) and with the same levels.
(a)2 points
Use the contour plot, not the formula, to decide whether and are positive, zero or negative at the point . Do the same at the point .
Hint
is the rate of change of when you move east (to the right) on the map, and when you move north (up). Do you cross to higher or to lower levels?
Hint
At a point where you move along a level curve for a moment, you cross to no other level at all.
Solution
The idea. As in the lesson: moving east changes only , moving north changes only . If the levels you cross go up, the partial derivative is positive, and if they go down it is negative.
The point (1, 1.5)
The point lies in the upper part of the plot among the dashed curves, between the levels and (count down from the solid curve of level : , , , ). The curves there run from the upper left to the lower right, with the lower levels above and to the right. Moving east you cross to the curve : goes down, so . Moving north you cross to the curve as well, so .
The point (1.2, 0.6)
This point is on the solid curve of level , at the place where that curve reaches furthest to the right. There the curve runs straight up and down: its tangent is vertical. Moving north or south you move along the level curve for a moment, and does not change at first: . Moving east you leave the solid curve for the dashed ones, the negative levels: .
Check the result
Part (b) gives the same four signs from the formula.
(b)2 points
The function of the plot is
In words
f(x, y) equals x cubed minus x y squared minus 4 x squared plus 3 x plus x squared y
Calculate the values of and at and at .
Hint
For treat as a constant and differentiate each of the five terms in . For the other way round: three of the terms have no .
Solution
The idea. Differentiate term by term, with the other variable held constant.
The two partial derivatives
In words
f sub x equals 3 x squared minus y squared minus 8 x plus 3 plus 2 x y, f sub y equals minus 2 x y plus x squared
At (1, 1.5)
and .
At (1.2, 0.6)
and .
Check the result
The signs are those read from the plot in part (a). The values fit the plot too. At the function is , between the levels and as read. Going north with , the level drops by in a distance of about : the curves are about apart in the -direction there, as the plot shows. At the formula gives : the point is on the level curve .
(c)0 points
MIT gives no points for this part. It asks its students to explore the function with an applet on the course's own web page (outside OpenCourseWare, and not used here). The applet shows the graph of next to the contour plot and, for a chosen point, the two slices of the graph through that point: the curve you get by changing alone, and the curve you get by changing alone.
The two graphs below are our own replacement, computed from the formula of part (b). Move the sliders to choose a point . The first graph is the slice of the graph of in the -direction through that point, with its tangent line: the slope of the tangent is . The second is the slice in the -direction, and the slope of its tangent is . Any program that plots surfaces or level curves will do as well.
Use them to check your answers to part (b), and to see part (a) again: set and and look at the tangent of the second slice.
Solution
The idea. A partial derivative is the slope of a slice of the graph, as in the lesson.
What to see
With and , both tangent lines go down to the right: the first with the slope , the second with the slope . With and the tangent of the first slice still goes down, with the slope , and the tangent of the second slice is horizontal: the point is the top of that parabola, and .
Check with the formula
The second slice is . For it is a parabola in that opens downwards, with its top where , at . For the top is at .
(d)3 points
Find two points inside the plot where and at the same time, and give their approximate coordinates. What happens to the level curves of at these points? For each of the two points, say what happens when you move away from it towards the North, the South, the East and the West: does the value of go up, go down, or stay exactly the same?
MIT's students found the points with the applet. Here, look for them on the contour plot and with the two slices of part (c). Then find them exactly, by solving the two equations (the boxes are our addition): give the coordinates to two decimal places.
Hint
On the contour plot, look for a place that the level curves surround, and for a place where they seem to come together from four sides and turn away.
Hint
Start with the equation : it factors. Use it to remove from the equation .
Hint
For the four directions, use the slices of part (c): at the point, is the slice in the -direction at its top or at its bottom? And the slice in the -direction?
Solution
The idea. Points where both partial derivatives are zero are the critical points of the lesson: a maximum, a minimum or a saddle. Solve the two equations, then look at the two slices through each point.
Solve the two equations
The second equation factors: . Inside the plot , so . Put that in :
In words
3 x squared minus x squared over 4 minus 8 x plus 3 plus x squared equals 15 over 4, times x squared minus 8 x plus 3 equals 0 which gives 15 x squared minus 32 x plus 12 equals 0
In words
x equals the quantity 32 plus or minus the square root of 304, all over 30 equals 0.485 or 1.648, y equals x over 2 equals 0.243 or 0.824
The values of there are at and at .
The level curves
Around the level curves , and surround the point, one inside the other. They close just below the -axis, outside the plot, and shrink onto the point as the level rises. The level curve through the point itself, , has shrunk to that single point. This is the top of a hill.
At the level curve through the point, , crosses itself: two branches of the same level go through the point, like the two diagonal lines at the saddle of the lesson. It is not drawn in the plot, because is not one of the plotted levels. The plotted curves next to it show it, though: the two pieces of the level come towards the point from the left and from the right and turn back, and the two curves of the level come towards it from above and from below and turn back.
North and South
By part (c), the slice in the -direction through a point with is a parabola that opens downwards with its top at . Both points have : each is at the top of its parabola. So at both points goes down towards the North and towards the South.
East and West
The slice in the -direction is (our name). It has at both points, and its second derivative is
In words
g double prime (x) equals 6 x minus 8 plus 2 y nought
At this is , negative: the slice has a maximum there, and goes down towards the East and towards the West. At it is , positive: the slice has a minimum there, and goes up towards the East and towards the West.
Conclusion
At the value of goes down in all four directions: a local maximum. At it goes up towards the East and the West and down towards the North and the South: a saddle. In none of the four directions does stay exactly the same. (At the saddle does stay the same along the two branches of its level curve, but those run diagonally.)
Check the result
Step away from each point and compute with the formula. From the first point: to the North and to the South, to the East and to the West. All four go down. From the second point: to the North and to the South, to the East and to the West.
MIT asks for two points. The two equations have one more solution that touches the plot (our remark): with the equation holds for every , and then gives . The point is on the left edge of the plot, where the solid curve of level meets the -axis, which is itself part of the level : two branches of one level crossing, as at the saddle.
More practice: MIT's own solved exercises#
Part A of MIT's Problem Set 3 (10 points at MIT, not scored here) is a list of short exercises for the lecture on functions of several variables and partial derivatives. Most come from the problems section of MIT's "18.02 Supplementary Notes and Problems", which is on MIT OpenCourseWare under the same licence as the rest of the course, with solutions to the exercises that are not marked with a star. They are not rewritten here: open the exercises (section 2, Partial differentiation), try them, then compare with MIT's solutions.
An exercise number such as 2B-3 means section 2, group B, exercise 3; the letters after it are its parts. MIT assigned these:
| For | Exercises in section 2 of the Notes |
|---|---|
| Lecture 8 on this site (Lecture 9 on MIT's sheet): functions of two variables, level curves and partial derivatives | 2A-1a, b, c, d, e, 2A-2a, b, c, d, e, 2A-3a, b, c, 2A-5a, b |
| The first half of Lecture 9 on this site: the tangent plane and the approximation formula | 2B-1a, b, 2B-3, 2B-6, 2B-9 |
Exercise 2B-9 asks the question of Problem 2(b) above for another function. MIT's reading for these exercises is section TA of the Notes, The tangent approximation, which is on OpenCourseWare too.
MIT's list also has exercises from the course textbook (Edwards and Penney, Multivariable Calculus, 6th edition), and sections of that book to read. The textbook is not openly licensed and is not used on this site, so they are not part of this page. The sheet lists no exercises for its Lectures 7 and 8, the review and Exam 1.