Calculus · Solutions
Derivatives
Work this sheet on paper and show every step: the route is what is being tested, and the solutions are written so you can check your method rather than just your final expression. Name each rule as you use it (“by the product rule”, “by the chain rule with inner function ”, “by the inverse function theorem”) and, where a rule has a hypothesis such as differentiability or a nonzero denominator, say why it holds. No calculator is needed anywhere and every answer should be exact. Full worked solutions are on a separate page; each question also has its own reveal, so you can check one answer without seeing the rest.
- 1.Computation
Work directly from the definition of the derivative. No differentiation rules may be used, except as a final check. In each part say at which step you divide by the increment and why that is legitimate.
- (a)Using the form of the definition, find for .
- (b)Using the -form, find for . State the domain of and the domain of , and explain the difference.
Solution
(a) Combine, factor, cancel. With and ,
Put the numerator over a common denominator: . For the factor cancels against the denominator, and a limit never inspects itself, so the cancellation is legitimate:
The right side is continuous at , so substitute: .
Check: the power rule gives , and . The sign is right, since is decreasing for .
(b) Rationalise. The difference quotient is
of the form as . Multiply above and below by the conjugate . The numerator becomes , so for (which is all the limit ever looks at) the quotient equals
Let : the denominator tends to , so
Check: the chain rule gives , the same thing.
Domains. is defined where , that is on . The formula for needs , so the domain of is . At the endpoint the function is only defined to the right, and even the one-sided quotient fails: . The graph starts there with a vertical tangent, and a vertical line has no slope. This is the general pattern: the domain of can be strictly smaller than the domain of .
- 2.Computation
Every decision below must be made from one-sided difference quotients at the point in question, not from a picture.
- (a)Let . Compute and , and decide whether exists.
- (b)Write down for every real as a single formula. Is continuous at ? Is differentiable at ? Justify both answers.
- (c)Let . Show that is continuous at , and decide whether its failure to be differentiable there is a corner, a vertical tangent or a cusp.
Solution
(a) . For , and , so the quotient is ; hence . For , and , so the quotient is ; hence . The one-sided derivatives exist and agree, so exists and equals . The absolute value did not produce a corner here, because the factor flattens both branches at the origin.
(b) For , and . For , and . Together with this is
Continuity of at : as , so yes.
Differentiability of at : the difference quotient of is
so the one-sided derivatives of at are and . They differ, so does not exist: the graph of has a corner at the origin. Summary: is differentiable everywhere, but it is not twice differentiable at . Being differentiable once does not make a function smooth.
(c) Continuity: as , so is continuous at .
The quotients: , so the difference quotient is . For this is . For , write : the quotient is .
The two one-sided quotients tend to infinity with opposite signs. That is the signature of a cusp, on the model of : the graph comes to a sharp point at the origin with a vertical tangent direction on each side. It is not a corner (those have finite, unequal one-sided slopes) and not a vertical tangent (those have infinite one-sided quotients of the same sign, like ).
- 3.Computation
Only the constant, constant-multiple, sum and power rules are needed in this question. Do not use the quotient rule anywhere.
- (a)Differentiate for , and write the answer without negative or fractional exponents.
- (b)Find every point on the curve at which the tangent line is horizontal.
- (c)The point is not on the parabola . Find both tangent lines to the parabola that pass through .
Solution
(a) Simplify first. Divide each term by and write everything as a power:
Now the sum and power rules apply term by term:
Sign check on the middle term: is increasing for , so its derivative should be positive, and it is.
(b) Horizontal tangent means . By the power rule , which vanishes at , and . The corresponding heights are and , so the points are
(The curve is even, so the two outer points had to be mirror images.)
(c) Parametrise by the point of tangency. The tangent at touches the parabola at and has slope , so its equation is
Demand that lies on it: , that is , so and or .
For : the point is , the slope is , and the line is .
For : the point is , the slope is , and the line is .
Check both through : and . The common mistake is to differentiate at and use slope ; but is not on the curve, so nothing is tangent there. The unknown is the point of contact, not the given point.
- 4.Computation
Throughout, denotes an arbitrary real number and may be quoted.
- (a)Write down the tangent line to at the point , and prove that it crosses the -axis at no matter what is.
- (b)Use (a) to find the tangent line to that passes through .
- (c)Find the -intercept of the tangent line in (a) as a function of . For which is it negative, for which is it zero, and for which is it positive?
Solution
(a) The slope at is , so the tangent line is
Set . Since for every we may divide by it, leaving , that is .
Geometrically: from any point of the exponential curve, run the tangent down to the axis and you always land exactly one unit to the left of the foot of the point. That fixed horizontal run of is another way of saying "slope equals height": rise over run is slope .
(b) A tangent through is a tangent whose -intercept is , so by (a) and . It touches the curve at and is
Check: at the line gives , which is on the curve, and its slope is the derivative there. The tangent through the origin is the special case , giving .
(c) Put in the tangent line: the -intercept is
As , the sign is the sign of : the intercept is negative for , zero for (the tangent through the origin again), and positive for . In words: tangents drawn to the right of dive below the origin before reaching the -axis, and tangents drawn to the left cross the -axis above it. Every one of them has positive slope , so each is an increasing line; only where it sits changes.
- 5.Proof
Quote the product rule by name wherever it is used, and say what its hypotheses are each time.
- (a)Let , and be differentiable at . Prove that is differentiable at and that .
- (b)Use (a) to differentiate , and evaluate and exactly.
- (c)Suppose is differentiable at with , and is merely continuous at (it need not be differentiable there). Prove directly from the definition that is differentiable at and . Then apply this to at , and say why the product rule itself could not have been used.
Solution
(a) Group the product as . By the product rule, is differentiable at (its hypotheses, that and are differentiable at , are given) with . Now apply the product rule again to the two differentiable factors and :
The shape is worth noticing: one term for each factor, that factor differentiated and the others left alone. The same argument by induction gives the rule for any number of factors.
(b) Take , , , with , , . By (a),
At : . At : and , so .
Sanity check on : near , and , so , which is flat at the origin.
(c) Proof. Since , the product has , and for
where the last step inserts into the numerator. As the first factor tends to , by the definition of the derivative, and the second tends to , by continuity of at . Both limits exist as real numbers, so the product law for limits applies and the difference quotient tends to . That is exactly the statement that is differentiable at with .
Application. Take and at : , , and is continuous at with . Hence is differentiable at and .
The product rule could not be invoked because one of its hypotheses fails: is not differentiable at (it has a corner there). The rule is silent, not wrong; the definition still answers. Away from both factors are differentiable and the product rule gives , which also tends to as from either side, consistent with what we found.
- 6.Computation
All angles are in radians. You may quote and , but nothing else from the trigonometric table.
- (a)Prove that .
- (b)Let . Show that , and note how many terms cancel.
- (c)Find every in at which the curve has a horizontal tangent, and give the value of at each.
Solution
(a) Write and apply the quotient rule with , , , , valid wherever :
The minus sign is the co-function rule at work: is the co-function of , whose derivative is .
(b) Differentiate term by term, using the product rule on the first two.
.
.
.
Add:
Two pairs cancel and a single term survives. (This is the kind of cancellation that integration by parts produces: is an antiderivative of .)
(c) Product rule: .
A horizontal tangent needs . If then , so no solution has , and we may divide: , that is . In this gives
Values: at and the sine and cosine have the same sign and each has magnitude , so ; at and they have opposite signs, so .
Cross-check: , and has derivative by the chain rule; it vanishes when is an odd multiple of , which is the same list. The maxima and minima are the peaks and troughs of .
- 7.Critique
Three short arguments follow. Not all of them are wrong. For each one, either identify precisely which step fails and which rule or hypothesis is being misused, then give the correct derivative — or, if the argument is sound, say so and verify the result by a second method.
- (a)“For the outer function is and the inner is . So .”
- (b)“Given , , and : by the chain rule .”
- (c)“.”
Solution
(a) Wrong: a missing innermost derivative. The student peeled only two layers. There are three: outer , middle , inner . The derivative of the middle layer, , must itself be multiplied by the derivative of what is inside it, . The chain rule says the derivative of the inner function is , not . Correctly,
A check that exposes the error without any computation: is an even function of , and the derivative of an even function is odd. The student's answer is even, so it cannot be the derivative of ; the corrected answer carries the odd factor .
(b) Wrong: the outer derivative is evaluated at the wrong point. The chain rule reads , and , so the outer derivative that matters is , not . The number is the slope of at an input never receives here. Correctly,
(c) Correct. Rewriting the reciprocal as a negative power is legal, and the power case of the chain rule, with , and , gives exactly . The quotient rule was not required.
Second method, by the quotient rule with and , :
the same result. The lesson of the three parts together: the chain rule fails in exactly two ways — a layer forgotten, or a derivative evaluated at the wrong input — and a correct answer that looks unfamiliar is still correct.
- 8.Computation
The curve is given by
It is an ellipse, tilted, centred at the origin. Every time you differentiate a term containing , say which rule supplies the factor .
- (a)Find in terms of and .
- (b)Verify that lies on , and find the tangent and normal lines there.
- (c)Find all points of at which the tangent is horizontal, and all points at which it is vertical. In each case confirm that the other part of your fraction from (a) is nonzero.
- (d)Compute at the point , and say what its sign tells you about the curve there.
Solution
(a) Differentiate each term with respect to , treating as a function of .
. For the product rule gives . For the chain rule (outer , inner ) gives . The right side is a constant, with derivative . So
Collect the terms: , hence
(b) At : , so the point is on . The slope is
Tangent: , that is . Normal: slope , so , that is .
Sanity check: the normal passes through the origin, the centre of the ellipse. That is right, because lies on the line , which is an axis of symmetry of this ellipse (the equation is unchanged when and are swapped, and also when both are negated), and at the end of an axis the normal points straight at the centre.
(c) Horizontal: the numerator vanishes, . Substitute into : , so and the points are and . There the denominator is , so the slope is genuinely .
Vertical: the denominator vanishes, . Substitute: , so and the points are and . There the numerator is , so the fraction really blows up and the tangent is vertical rather than undetermined.
The four points are the top, bottom, right and left extremes of the ellipse: ranges over and over .
(d) Differentiate by the quotient rule, remembering that and hence depend on :
At we know from (c) that and , while . The second product in the numerator is therefore , and
It is negative, so the curve is concave down at : the tangent is horizontal and the curve bends away beneath it. That is what the top of a closed oval must do, and it confirms that is the highest point of rather than the lowest.
- 9.Proof
Let . Quote the theorem on the derivative of an inverse function by name wherever you use it, and check its hypotheses.
- (a)Explain why has an inverse on all of , find , and explain why is the wrong number.
- (b)Prove: if is differentiable on and odd, then is even.
- (c)Prove that is an odd function, and deduce that is even. Hence write down with no further computation.
Solution
(a) for every , so is strictly increasing on , hence one-to-one, and being a polynomial it is continuous. So exists, and the inverse function theorem applies at every point because is never .
To use the theorem at we need , that is the solution of . By inspection works (), and there is no other solution because is one-to-one. Then and
The number is the reciprocal of the slope of at the wrong point. Reflection in sends the point on the graph of to the point on the graph of , so the slope of at input is tied to the slope of at input , not at input .
(b) Oddness says for all . Both sides are differentiable functions of , so differentiate both. On the left, the chain rule with inner function gives ; on the right, . So , that is for all : is even.
(Check on our : it is odd, having only odd powers, and has only even powers.)
(c) is odd. Let be any real number and put , so . Since is odd, . Applying to both sides, .
is even. By the inverse function theorem ( continuous, one-to-one on an interval, everywhere) is differentiable on all of . It is odd by the first half of (c), so by (b) applied to its derivative is even.
One can also see it directly from the formula: , using oddness of and then evenness of .
Consequence. . Check by hand: and , so the theorem gives directly, as it must.
- 10.Computation
In each part state where the expression is positive, so that its logarithm exists, before you take logarithms.
- (a)Differentiate for . Evaluate at and explain the value you get.
- (b)Differentiate for . Find every point with a horizontal tangent and decide, from the sign of , whether it is a maximum or a minimum.
- (c)Let and be differentiable and nonzero on an interval, and assume that is differentiable there. Use logarithmic differentiation to derive the quotient rule, and state which hypotheses your derivation needs that the quotient rule itself does not.
Solution
(a) On we have , so and . Differentiate implicitly. The left side becomes by the chain rule. The right side is a product, and by the chain rule, so
At : , so , and ; hence . The value makes sense: for the base satisfies and the exponent is positive, so , with equality exactly at . That is the maximum of , and a maximum in the interior of the domain must have a horizontal tangent.
(b) For , and . Differentiating, with the chain rule on both sides,
Since and , the sign of is the sign of : negative on , zero at , positive on . The only horizontal tangent is at , and because changes from to there, it is a minimum.
Cross-check: , with equality only when . The chain rule on this form gives , the same derivative.
(c) Since and are nonzero, and
Differentiate, using for each of , , :
Multiply through by :
What was assumed. Two things the quotient rule does not require. First, : the quotient rule needs only , but taking needs as well. Second, the differentiability of itself: we wrote , which presupposes exists, whereas the quotient rule proves that is differentiable. So this derivation is a way of remembering or recovering the formula, not an independent proof of the theorem. Its real content is the bookkeeping identity: the relative rate of change of a quotient is the difference of the relative rates of change of numerator and denominator.
- 11.Proof
Each part asks for a proof for all positive integers or for all constants; a check of the first few cases is not a proof. Set out any induction with its base case and inductive step clearly labelled.
- (a)Let . Compute , and , conjecture a formula for , prove it by induction, and evaluate .
- (b)Prove that for every , and use it to find .
- (c)Prove that for every pair of constants , the function satisfies .
Solution
(a) By the product rule, . Again, , and . Conjecture:
Base case . , computed above.
Inductive step. Suppose for some . Then, by definition of the st derivative and the product rule,
which is the formula with in place of . By induction it holds for all .
Hence .
(b) Base case . , and (shifting the sine a quarter period to the left gives the cosine; equivalently, the addition formula gives ). So the statement holds for .
Inductive step. Suppose . Differentiate once more, using the chain rule with inner function (whose derivative is ) and then the base-case identity:
By induction the formula holds for all .
With : , since is a whole number of periods. Check against the four-step cycle : , so the 50th derivative is the second, namely .
(c) Product rule with the chain rule on (derivative ):
Again:
Now substitute and factor out :
Collect the bracket by type of term. Constants: . Terms in : . The bracket is identically zero, so for every and .
Both (take ) and (take ) solve the equation on their own; the two-parameter family is their general combination. The factor appears because is a repeated root of , a fact the differential equations chapter will explain.
- 12.Sketch
Let on the interval .
A sketch earns credit only for the features you can justify from ; every peak, valley, corner and jump you draw must be accounted for in your working.
- (a)Write without the absolute value, as two formulas on two intervals. Find on each open piece and the one-sided derivatives and . Is a critical point? Is a corner?
- (b)Find every critical point of and classify each as a local maximum, a local minimum or neither, using the sign of on either side.
- (c)Sketch and, directly beneath it with the same -axis, , both for . On the graph of mark the intercepts, the local extremes and the corner; on the graph of mark its zero, the jump at (with open circles) and its values at and . Then state, in one sentence each, how the zero of and the jump of show up on the graph of .
Solution
(a) for and for , so
On the open pieces the power rule applies: for and for .
At both formulas give , so is continuous there, and the one-sided derivatives come from the one-sided formulas: and . (Formally, for the quotient , and for it is .) They differ, so does not exist and has a corner at . Since is in the domain of and does not exist, is a critical point.
is not a corner. The absolute value is smooth except at ; near we are inside the single piece , so exists. The zero of at is an ordinary crossing with slope .
(b) Critical points are where or fails to exist. gives , which lies in the piece , so it counts; gives again, which is not in the piece , so the right piece contributes no zero. Together with from (a), the critical points are and .
Sign of : on , ; on , ; on , .
At the sign changes from to : local maximum, .
At the sign changes from to : local minimum, . The sign-change criterion never asks for itself; it only needs continuous at (it is) and the sign of on either side. A corner can be a minimum just as a smooth valley can.
(c) Values to plot. , , , , , . For : , , , as , as , , .
The graph of . For it is the downward parabola : it rises from , crosses the axis at the origin with slope , peaks at , and descends to arriving with slope . For it is the upward parabola started at its point : it leaves with slope and climbs through to , steepening. At the two arcs meet in a sharp V with symmetric slopes and . Intercepts: and ; the second is also the corner and the local minimum. Mark as the local maximum.
The graph of . For it is the straight line : from down through , crossing the axis at , and reaching height as — draw an open circle at . For it is the line : starting from an open circle at and rising through to . There is no point of the graph on the line , since does not exist. The jump has height .
Reading one graph off the other. The zero of at sits directly beneath the peak of : is positive to its left, where climbs, and negative to its right, where falls, so the crossing from to is the hilltop. The jump of at sits directly beneath the corner of : the left-hand value and right-hand value are the two slopes that meet at the V, and because jumps from negative to positive, the corner is a valley.