This set practises the lessons on the chain rule and higher derivatives, implicit differentiation and inverse functions, exponentials and logarithms, linear and quadratic approximations and curve sketching.
MIT handed out Problem Set 2 in two halves, 2A and 2B, and each half has a Part I and a Part II. The seven problems below are Part II of both halves, in our own words. MIT publishes no solutions for Part II, so the hints and the solutions here are our own. Three things are left out: Problem 0 of each half (a note on who you worked with, 2 points each), Problem 5 of 2A (five exercises from the course textbook, 10 points, which we may not reproduce), and Part I, which is described at the end of this page. That leaves 32 points that count for the score. Part (d) of the golf ball problem was extra credit at MIT; it is set here as an optional problem of its own.
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 3*x^2*cos(x^3) or 1/sqrt(1 - x^2), and accepts every correct way of writing the answer. The boxes know sin, cos, tan, sqrt and pi, but not sec: type 1/cos(x) for . The number boxes of the golf ball problem accept your value if it is correct to two decimal places, and the others accept any value within 1% of ours. Unless a box asks for more digits, give 3 significant figures and keep 4 in intermediate steps; an answer with only 2 significant figures may or may not be accepted. MIT gives points per problem and, for most problems, per part; where we split a part further or add a check of our own, we say so. If you are stuck, open the hints one at a time. Each problem or part ends with its full solution. Try before you open it: an answer given after its solution was opened earns no points. Several parts ask for a sketch or an argument, not a result. They have no answer box: compare your work with the solution and mark it yourself. Your score is kept in this browser only.
2A, Problem 1#
Graphs of an even and an odd function, and of their slopes
Every function can be written as an even function plus an odd function. For the function MIT's Problem Set 1 asks for these two parts. Call the even part and the odd part . For any function they are and . (If you do not have them worked out, the first hint gives them.)
(a)3 points
Sketch the graphs of and . Directly below each, sketch the graph of its derivative. Do this from the picture alone: estimate the slope of your graph at a number of points and plot those slopes. Do not work out formulas for the derivatives, except to check your sketch afterwards.
Hint
The two parts are and . You can check that their sum is .
Hint
For the graphs of and : where is the denominator zero, and what happens on each side of such a point? What happens for very large ? What are the values at ?
Hint
For the derivative graphs, go along each curve from left to right. Mark where the curve is level (slope zero), where it rises (slope positive), where it falls (slope negative), and where it becomes very steep.
Solution
The idea. Sketch each function from its asymptotes, its symmetry and a few values. Then read slopes off the sketch: the height of the lower graph is the steepness of the upper one.
The even part
In words
capital E (x) equals the quantity x squared plus 1, all over the quantity x squared minus 1
The graph is the same on both sides of the -axis. The denominator is zero at , so there are vertical asymptotes there. Between them the denominator is negative: the curve starts at and drops to on both sides. Outside them the curve comes down from and levels off at the height 1, because for large the top and the bottom are both close to .
The slope of the even part
Go from left to right. For the curve rises, more and more steeply as it nears the asymptote: the slope is positive, close to 0 far out and very large near . Between and the curve still rises, steeply at first and then less, until it is level at the top of the arch at . From there everything is mirrored: the curve falls, so the slope is negative, very large in size near on both sides and close to 0 far out.
So the graph of is positive on the left, negative on the right, passes through 0 at , and has vertical asymptotes at without a change of sign across them.
The odd part
In words
O(x) equals 2 x over the quantity 1 minus x squared
This graph is unchanged by a half turn about the origin, and it passes through the origin. It also has vertical asymptotes at . Between them it rises from through 0 to . For it is negative and rises from towards 0; for it is positive and rises from 0 towards . For large it is close to .
The slope of the odd part
Every branch of this curve rises, so the slope is positive everywhere. It is very large near both asymptotes and close to 0 far out. In the middle branch it is smallest at the origin, where the curve looks like the line : slope 2.
So the graph of lies above the axis everywhere, is the same on both sides of the -axis, has the value 2 at and shoots up at .
Check with the formulas
Now that the sketches are done, the quotient rule may be used as a check:
In words
capital E prime (x) equals minus 4 x over the quantity x squared minus 1, all squared, O prime (x) equals 2 the quantity 1 plus x squared, over the quantity 1 minus x squared, all squared
has the sign of and is zero only at . is positive everywhere and . Both agree with the sketches.
(b)1 point
This part is our own addition, as a check of your sketches. Look at the symmetry of your two derivative graphs. Which statement fits?
Solution
Mirror the graph, and the slopes change sign
The graph of an even function is its own mirror image in the -axis. A mirror turns a rising piece into a falling piece, so the slope at is minus the slope at : the derivative is odd. That is what the sketch of shows.
The graph of an odd function is unchanged by a half turn about the origin. A half turn keeps slopes as they are, so the slope at equals the slope at : the derivative is even, as the sketch of shows.
Check with the chain rule
If , differentiate both sides. The chain rule gives , so is odd. If , the same step gives , so is even.
2A, Problem 2#
Two chain rule derivatives
(a)2 points
Find the derivative with respect to of , which means .
Hint
There are three functions inside one another here. Name them from the outside in.
Hint
The chain rule gives one factor for each layer: the derivative of the cube, of the tangent, and of the fourth power, each taken at whatever sits inside it.
Solution
The idea. Peel the layers from the outside in and multiply the derivatives.
The layers
Write with and . The chain rule, used twice:
In words
d over d x f(g(x)) equals f prime (g(x)) g prime (x)
Multiply the three derivatives
In words
d y over d x equals d y over d u, times d u over d w, times d w over d x equals 3 u squared times secant squared w times 4 x cubed equals 12 x cubed tan squared (x to the power 4 ) secant squared (x to the power 4 )
Check the result
For small , , so the function is close to and its derivative should be close to . The result gives .
(b)3 points
Find the derivative with respect to of in two ways. First use the product rule. Then rewrite the function as a function of and use the chain rule. Show that the two results agree, and type either of them in the box.
Hint
For the second way: what is in terms of the double angle?
Hint
To compare the two results, bring both to double angles: and .
Solution
The idea. The same function, differentiated along two routes, must give the same derivative, even if the two results look different at first.
First way: the product rule
Each factor is a square, so each needs the chain rule:
In words
d over d y ( sine squared y cos squared y ) equals 2 sine y cos y times cos squared y plus sine squared y times 2 cos y (- sine y) equals 2 sine y cos y the quantity cos squared y minus sine squared y
Second way: a function of 2y
Because , the function is . That is with , and . The inside has derivative 2:
In words
d over d y f(2 y) equals 2 f prime (2 y) equals sine 2 y cos 2 y
The two results agree
In the first result, and . So it equals , the second result. (Both can be shortened once more, to .)
Check the result
The function is zero at , rises to its largest value at and falls back to zero at . The derivative is indeed positive before , zero at and negative after it.
2A, Problem 3#
Higher derivatives of a product
Let and be functions of that can be differentiated as often as needed, and let .
(a)1 point
Show that .
Hint
Start from the product rule for . It is a sum of two products.
Solution
Differentiate the product rule once more
The product rule gives . Each of the two terms is again a product, so use the product rule on each:
In words
y double prime equals the quantity u double prime v plus u prime v prime, all plus the quantity u prime v prime plus u v double prime, equals u double prime v plus 2 u prime v prime plus u v double prime
The middle term appears twice: once from differentiating in , once from differentiating in .
Check the result
Take , so and . The formula gives .
(b)2 points
Find the third derivative of , written as in the lesson. In the answer box, type u0, u1, u2, u3 for , , , , and v0 to v3 in the same way for .
Hint
Differentiate the result of part (a) term by term. Each of its three terms is a product.
Hint
Collect equal terms and count how often each one appears.
Solution
Differentiate each term of part (a)
In words
y to the power (3) equals the quantity u to the power (3) v plus u double prime v prime, all plus 2 the quantity u double prime v prime plus u prime v double prime, all plus the quantity u prime v double prime plus u v to the power (3), equals u to the power (3) v plus 3 u double prime v prime plus 3 u prime v double prime plus u v to the power (3)
Check the result
The coefficients 1, 3, 3, 1 are those of , just as 1, 2, 1 in part (a) are those of . That is no accident. Take and , so that . Every derivative of brings out a factor , every derivative of a factor , and every derivative of a factor . The formula then says , which is true.
2A, Problem 4#
The derivative of the inverse cosine
The inverse cosine, written or , is the inverse of the function on the interval . So means with .
(a)3 points
Use implicit differentiation to find the derivative of with respect to , for . Take care with the sign of the square root.
Hint
Differentiate both sides of with respect to , remembering that depends on . Then solve for .
Hint
Your result contains , and the answer should contain only . The identity gives up to a sign. Which sign does have for between 0 and ?
Solution
The idea. Differentiate the equation as it stands, as the lesson does for the inverse tangent and the inverse sine.
Differentiate the equation
By the chain rule the left side gives times :
In words
minus sine y d y over d x equals 1 which gives d y over d x equals minus 1 over the quantity sine y
This is the lesson's rule for any inverse function, with :
In words
d over d y f to the power minus 1 (y) equals 1 over the quantity d y over d x
The sign of the square root
From follows . The angle lies between 0 and , and there the sine is never negative. So the plus sign is right: .
In words
d over d x arc cos x equals minus 1 over the square root of 1 minus x squared, end of root, (-1 less than x less than 1)
Check the result
The derivative is negative everywhere. That fits: falls from 1 to as goes from 0 to , so its inverse falls from to . At the slope is , matching the slope of the cosine at (the reciprocal of is ). Near the slope becomes infinite, because the cosine is level at and .
(b)1 point
Explain, without calculating, why the derivatives of and add up to zero.
Hint
If the derivative of a sum is zero everywhere on an interval, what kind of function is the sum?
Hint
Draw a right triangle with hypotenuse 1 and one side . Find the angles and in it.
Solution
The two angles of one triangle
Take and a right triangle with hypotenuse 1 and one side of length . The angle opposite that side has sine : it is . The angle next to that side has cosine : it is . The two acute angles of a right triangle add up to a right angle:
In words
arc sine x plus arc cos x equals pi over 2
The sum is a constant, and the derivative of a constant is zero. So the two derivatives are each other's opposite.
All x between −1 and 1
The triangle needs , but the identity holds on the whole interval. Let , an angle between and . Then , and lies between 0 and , which is exactly where the inverse cosine takes its values. So .
Check the result
Part (a) gave for the inverse cosine, and the lesson gives for the inverse sine. Their sum is zero.
2A, Problem 6#
The product rule for n factors, by logarithms
MIT's Problem Set 1 asks for the derivative of a product of functions of . The result is a sum of terms. In each term one factor is differentiated and the others are left as they are:
In words
( u one u two and so on u sub n ) prime equals u one prime u two and so on u sub n plus u one u two prime and so on u sub n plus and so on plus u one u two and so on u sub n prime
Derive this formula by logarithmic differentiation. You may assume that every is positive.
Hint
Call the product and take the natural logarithm of both sides. What does the logarithm do to a product?
Hint
Differentiate both sides with the rule for the derivative of . Then solve for .
Solution
The idea. The logarithm turns a product into a sum, and a sum is differentiated term by term.
Take the logarithm
Let . All factors are positive, so
In words
log y equals log u one plus log u two plus and so on plus log u sub n
Differentiate
The lesson's rule for the derivative of a logarithm:
In words
( log u) prime equals u prime over u
Used on both sides:
In words
y prime over y equals u one prime over u one plus u two prime over u two plus and so on plus u sub n prime over u sub n
Multiply by y
Multiply both sides by . In the term with the factor of cancels, and takes its place. That gives exactly the sum in the statement: one term for each factor, with that factor differentiated.
Check the result
For the formula is the product rule . If all factors are equal to , the product is and the sum has equal terms : the power rule .
A remark on the assumption. The logarithm needs positive factors. A negative factor can be replaced by , which changes neither nor the result. But at a point where a factor is zero this method says nothing, although the formula still holds there. The proof by induction, which Problem Set 1 asks for, has no such gap.
2B, Problem 1#
Golf balls
Cut a sphere of radius with two parallel planes a distance apart. The part of the sphere's surface between the planes has an area that depends only on and :
In words
area equals 2 pi h capital R
MIT's set gives this formula without proof (the course derives it later) and points out two cases that make it believable: gives , half a sphere, and gives , the whole sphere.
Now cut the sphere with one horizontal plane, at or above its centre. The plane meets the sphere in a circle of radius . The part of the sphere's surface above the plane is called a spherical cap. Think of the part of the Earth's surface north of a circle of latitude. The formula holds for a cap too, with the height of the cap: the distance from the plane up to the highest point of the sphere.
(a)2 points
Find the height of the cap in terms of and . Then find the area of the cap in terms of and .
Hint
Draw the sphere from the side: a circle of radius , cut by a horizontal line. Join the centre to a point where the line meets the circle. Which right triangle do you see?
Hint
The triangle gives the distance from the centre up to the plane. The height of the cap is what is left of the radius above the plane.
Solution
The idea. A side view turns the question into one about a right triangle.
The height of the cap
In the side view, the centre of the sphere, the centre of the cutting circle and a point on that circle form a right triangle. Its hypotenuse is and one side is , so the plane lies above the centre. The top of the sphere lies above the centre. So
In words
h equals capital R minus the square root of capital R squared minus r squared, end of root
The area of the cap
In words
capital A equals 2 pi h capital R equals 2 pi capital R the quantity capital R minus the square root of capital R squared minus r squared, end of root
Check the result
If the plane passes through the centre, and : half the sphere. If the plane only touches the top, and .
(b)4 points
Write the area of the cap as times a function of the ratio . (That is the natural form: if and are both made times as large, the area becomes times as large.) Then use the linear and the quadratic approximation of near to find a good approximation and a better approximation of the area, for a cap with small . Simplify both as far as you can.
Hint
Take a factor out of the square root. What is left under the root has the form . What is ?
Hint
The lesson on approximations lists the linear approximation of a power of , and the quadratic version with one more term. Here the power is . Mind the sign of .
Solution
The idea. Bring the exact area into a form that contains with a small , and replace the root by its first terms.
The area in terms of the ratio
Take out of the root: . Then
In words
capital A equals 2 pi capital R squared the quantity 1 minus the square root of 1 minus ( r over capital R ) squared, end of root
The root is with , which is small when is small.
The approximations of the square root
The lesson's two approximations, for the power (the general formulas use the letter for the power, which here would clash with the radius):
In words
the quantity 1 plus x, all to the power one half is approximately 1 plus one half x, the quantity 1 plus x, all to the power one half is approximately 1 plus one half x minus one eighth x squared
The coefficient is .
The linear approximation
With the root is about , so
In words
capital A one equals 2 pi capital R squared times one half ( r over capital R ) squared equals pi r squared
This is the area of the flat disc of radius : a small cap is nearly flat.
The quadratic approximation
Now the root is about , so
In words
capital A two equals 2 pi capital R squared the quantity one half ( r over capital R ) squared plus one eighth ( r over capital R ) to the power 4, equals pi r squared plus pi r to the power 4 over the quantity 4 capital R squared, equals pi r squared the quantity 1 plus r squared over the quantity 4 capital R squared
Check the result
The correction is positive, as it must be: a curved cap has more area than the flat disc with the same edge. A number of our own: for the exact area is , the linear approximation gives and the quadratic one . Even for a cap this large the quadratic approximation is within 1%.
(c)4 points
MIT's set tells of a question from a mathematics contest for middle schools (with other numbers). A golf ball has a diameter of 3 centimetres and carries 100 dimples, each a hollow half sphere with a diameter of 3 millimetres. (Real dimples are much shallower.) Find the surface area of the ball, rounded to the nearest hundredth of a square centimetre, using . A wrongly rounded answer earned nothing.
The examiner seems to have expected the pupils to treat the piece of the ball's surface that each dimple removes as a flat disc. Is that good enough under the contest's rule? Take for the radius of the ball and for the radius of a dimple. Each dimple removes a spherical cap with edge radius from the ball and puts a half sphere of radius in its place.
Write the surface area of the ball with 100 dimples in three ways, with , and as letters: with each removed cap taken as a flat disc, with the quadratic approximation of part (b), and exactly. Then work out all three for cm and cm with , in square centimetres, and say how accurate the two approximations are. How is related to part (b)? (MIT gives 4 points for this part; the boxes are our way of checking it.)
Hint
The surface of the dimpled ball is the whole sphere, minus 100 caps, plus the inside surfaces of 100 half spheres. What is the area of half a sphere of radius ?
Hint
The three versions differ only in what you take for the area of one removed cap: the disc, from part (b), or the exact from part (a).
Solution
The idea. Count surface: start from the smooth sphere, take away what each dimple removes and add what each dimple brings.
The exact area
A smooth ball has the area . Each dimple removes a cap of area (part a) and adds half a sphere of radius , with area . With 100 dimples:
In words
S sub 3 equals 4 pi capital R squared plus 200 pi r squared minus 200 pi capital R the quantity capital R minus the square root of capital R squared minus r squared, end of root
The two approximations
With each cap taken as a flat disc of area , the ball loses and gains :
In words
S one equals 4 pi capital R squared plus 100 pi r squared
This is the linear approximation of part (b), used 100 times. With the quadratic approximation each cap takes away a little more:
In words
S two equals 4 pi capital R squared plus 100 pi r squared minus 25 pi r to the power 4 over capital R squared
The numbers
With , and , all in centimetres: and , so
cm².
The quadratic correction is , so
cm².
For the exact value, , so the height of a cap is cm and one cap has the area cm². Then
cm².
Is the flat disc good enough?
Rounded to hundredths, the exact area is 35.31 cm². The version with flat discs gives 35.325, which rounds to 35.33 (or to 35.32, if the final 5 is rounded down). Either way it is not 35.31: under the contest's rule the answer the examiner expected would have been marked wrong.
The flat version is too large by cm², which is only 0.05% of the area but enough to change the second decimal. The quadratic version is too large by about 0.00009 cm², two hundred times less, and rounds to the correct 35.31.
A remark of our own: the contest's is itself too coarse for two decimals. With the true value of the exact formula gives 35.3252 cm², which rounds to 35.33.
Check the result
The ratio is 0.1, so . The quadratic term changes each cap by the fraction of a disc, and 0.0025 of the 7.065 cm² of all discs is 0.0177 cm², as found. The next term of the series is smaller by a further factor of about , which explains why the quadratic version is two hundred times better.
2B, Problem 1(d) (optional)#
How many dimples fit on the ball?
MIT's set adds that the examiner made a second, larger mistake that nobody noticed: with the contest's original sizes (which MIT changed and does not give), that many dimples could not have been placed on the ball without overlapping. For the ball of this problem ( cm, dimples of radius cm), give a reasonable estimate of the largest number of dimples that fit without overlap.
Hint
Each dimple claims a piece of the ball's surface. Compare the area of that piece with the area of the whole ball.
Hint
Circles cannot cover a surface completely: gaps stay between them. Think of coins pushed together on a table, each touching six others. What fraction of the table do they cover?
Solution
The idea. Divide the area of the ball by the area that one dimple needs, and allow for the gaps between circles.
An upper limit from the areas
Each dimple removes a cap whose area is close to (part b). The ball has the area . So the number of dimples cannot be more than
In words
4 pi capital R squared over the quantity pi r squared, equals 4 capital R squared over r squared equals 4 times 1.5 squared over 0.15 squared equals 400
Allow for the gaps
Circles of equal size leave gaps. On a flat surface the tightest arrangement is the honeycomb pattern, in which each circle touches six others. Each circle then owns a regular hexagon drawn around it, with area , and fills the fraction of it. On the ball that suggests
In words
4 pi capital R squared over the quantity 2 the square root of 3 r squared, equals 0.907 times 400 is approximately 363
A sphere cannot carry a perfect honeycomb pattern all over, so the true largest number is somewhat lower still. A reasonable estimate is about 350, and any answer between about 300 and 400 with a sound argument is a good one.
Check the result
The 100 dimples of this problem fit easily: they take up only a quarter of the surface. MIT's remark is about the contest's own numbers, which the set does not give.
2B, Problem 2#
A bell-shaped curve and its two derivatives
Let .
MIT asks for one thing here, worth 4 points: the graph of with, directly below it, the graphs of and , the critical points and inflection points of labelled with their coordinates, and vertical lines joining these points to the matching points of the two lower graphs. The split into three parts, and the boxes, are ours.
(a)1 point
Find and .
Hint
Write and use the chain rule. For you need the product rule or the quotient rule as well.
Solution
The first derivative
In words
f prime (x) equals minus the quantity 1 plus x squared, all to the power minus 2 times 2 x equals minus 2 x over the quantity 1 plus x squared, all squared
The second derivative
Differentiate the product :
In words
f double prime (x) equals minus 2 the quantity 1 plus x squared, all to the power minus 2 plus (-2 x)(-2) the quantity 1 plus x squared, all to the power minus 3 times 2 x equals the quantity minus 2 the quantity 1 plus x squared, all plus 8 x squared, all over the quantity 1 plus x squared, all cubed equals the quantity 6 x squared minus 2, all over the quantity 1 plus x squared, all cubed
Check the result
is even, so must be odd and even: they are. For large , , whose derivatives are and ; the formulas above approach exactly these.
(b)1 point
Find the critical point of and its inflection points. Type the coordinates of the inflection point with positive .
Hint
A critical point is where . The lesson calls a point with an inflection point; check that the bending really changes there.
Solution
The critical point
only where : at , with . Since is negative, the second derivative test says the critical point is a maximum:
In words
f prime ( x nought ) equals 0 and f double prime ( x nought ) less than 0 which gives maximum
The inflection points
where :
In words
x equals plus or minus 1 over the square root of 3 is approximately plus or minus 0.577, f ( plus or minus 1 over the square root of 3 ) equals 1 over the quantity 1 plus one third, equals three quarters
The sign of is that of : negative between the two points (concave down) and positive outside them (concave up). So the bending does change at both points.
(c)2 points
Draw the three graphs under one another, label the special points of with their coordinates, and join them by vertical lines to the matching points of the graphs of and . What is special about those matching points?
Hint
At the critical point of , which of the lower graphs crosses the axis? And at the inflection points?
Hint
An inflection point of is a place where , the derivative of , is zero. What does that say about the graph of there?
Solution
The graph of f
is positive everywhere, even, has its maximum 1 at and falls towards 0 on both sides: the -axis is a horizontal asymptote. It is concave down on the hill between and and concave up on the two tails.
The graph of f′
is positive for (where rises), zero at and negative for . It goes to 0 far out on both sides. Its own highest and lowest points are where its derivative is zero, at the inflection points of :
In words
f prime ( plus or minus 1 over the square root of 3 ) equals the quantity minus or plus 2 over the square root of 3, all over the quantity ( four thirds ) squared, equals minus or plus 9 over the quantity 8 the square root of 3, is approximately minus or plus 0.65
So the graph of is steepest at its inflection points.
The graph of f″
is even, with its lowest value at the top of the hill. It crosses the axis at , is positive outside and goes to 0 far out.
The vertical lines
The line through the maximum of passes through the zero of and through the lowest point of . The lines through the inflection points pass through the highest and the lowest point of and through the zeros of .
Part I: exercises from MIT's course reader#
Part I of each half is a list of short exercises from the course reader of 18.01 (the supplementary notes by Arthur Mattuck, with exercises and solutions by David Jerison). They are worth 25 points at MIT and are not counted on this page. We do not rewrite them: MIT publishes the exercises and their worked solutions, so do them from MIT's own files. The exercises are in Section E of the course reader and the solutions in Section S. The exercises set for this problem set, by lecture:
- Lecture 5 (implicit differentiation, inverse functions): 1F-3, 1F-5, 1F-8c; 1A-5b; 5A-1a, b, c (only the parts on sine, cosine and secant); 5A-3f, h.
- Lecture 6 (exponentials and logarithms): 1H-1, 1H-2, 1H-3a, 1H-5b; 1I-1c, d, e, f, m; 1I-4a.
- Lecture 7 (logarithmic differentiation, hyperbolic functions): 5A-5a, b, c.
- Lecture 9 (linear and quadratic approximations): 2A-2, 2A-3, 2A-7, 2A-11, 2A-12a, d, e.
- Lecture 10 (curve sketching): parts a, e and h of 2B-1 and of 2B-2; 2B-4; 2B-6a, b; 2B-7a, b.
MIT's list also names sections of the course textbook to read. They are not part of this page.