Corrected exercises: power, exponential, product and quotient rules (MATH 140)
This is the corrected exercise set for the first differentiation rules in MATH 140, Calculus 1, at McGill University: sections 3.1, 3.2 and 3.7 of Stewart, the power rule, the exponential ex, the product and quotient rules, higher derivatives, tangent and normal lines, and the motion of a particle on a line.
What the set covers, the traps it targets
The derivative is no longer computed as a limit: it is computed by rules, and the rules are where the marks go. Every number is exact and chosen to be done by hand, and each solution names the rule it applies and the two functions it applies it to.
The thread running through the whole set: every rule applies to a FORM, so the work happens before and after differentiating. Before, roots and fractions are rewritten as powers of x, a quotient by a monomial is divided term by term, and e−x or e2x are rewritten with the laws of exponents, since the chain rule comes later. After, the point is substituted only once f′ is a function, so that a tangent line has a number for its slope, and a tangent through a point off the curve starts with an unknown point of tangency.
The traps named in the solutions: differentiating a product or a quotient factor by factor, applying the power rule to ex or to a constant such as π3, differentiating the denominator of 3x21, swapping the terms of the quotient rule, leaving f′(x) unevaluated in a tangent line, giving the normal the slope −f′(a) or no normal at all when f′(a)=0, using the slope at the abscissa of a point that is not on the curve, deciding speeding up from the sign of a alone, and taking the displacement for the distance travelled.
•Tangent at a: y=f(a)+f′(a)(x−a). Normal: slope −f′(a)1 if f′(a)=0, the line x=a if f′(a)=0.
•Motion: v=s′, a=v′=s′′; speeding up when v and a have the same sign; distance split at the zeros of v.
Part A: the basics (/50)
Exercise 1: The power rule, after rewriting roots and fractions as powers
6 answers to check
The power rule dxdxn=nxn−1 holds for EVERY real exponent n: positive, negative, fractional, even irrational. But it applies to one form only, a power of x with a constant exponent. A root, a fraction with x in its denominator, or a quotient by a power of x must first be REWRITTEN as a sum of terms cxn; only then is the rule quoted, term by term, with the sum and constant multiple rules.
Two more facts complete the toolkit: the derivative of a constant is 0, whatever the constant looks like (π3, e2, 7), and dxdex=ex.
a) Differentiate f(x)=4x5−3x2+7x−π3.
b) Differentiate g(x)=63x−x8+x25, and give the answer without negative or fractional exponents.
c) Let h(x)=xx2−3x+5 for x>0. Find h′(x) as a single fraction, then h′(4).
d) Differentiate m(x)=xe+ex+ee and p(x)=(2x+1)2, the second without the chain rule.
e) A student writes: dxd(3x21)=6x1. Name the two errors and give the correct derivative.
Show the solution
Answers
a)f′(x)=20x4−6x+7
b)g′(x)=3x22+xx4−x310
c)h′(x)=2xx3x2−3x−5, h′(4)=1631
d)m′(x)=exe−1+ex; p′(x)=4+x2
e)The denominator was differentiated and the fraction kept: dxd(31x−2)=−3x32
a)
By the sum and constant multiple rules, each term is differentiated separately: (4x5)′=4⋅5x4=20x4, (−3x2)′=−6x, (7x)′=7, and (π3)′=0 because π3≈31 is a NUMBER, not a power of x. So f′(x)=20x4−6x+7. Writing 3π2 for the derivative of π3 applies the power rule to a constant: the variable is x, and π3 does not contain it. That single slip costs a mark on every paper where it appears.
b)
Rewrite first: 3x=x1/3, x1=x−1/2 and x21=x−2, so g(x)=6x1/3−8x−1/2+5x−2. The power rule then gives g′(x)=6⋅31x−2/3−8⋅(−21)x−3/2+5⋅(−2)x−3=2x−2/3+4x−3/2−10x−3. Back to radicals: g′(x)=3x22+xx4−x310, since x3/2=xx. The trap is the sign of the middle term: the exponent −21 multiplies −8, and two minus signs make +4. Subtracting 1 from a negative exponent also moves it AWAY from zero: −21−1=−23, not −21+1.
c)
The denominator is a single power of x, so divide term by term instead of using the quotient rule: h(x)=x1/2x2−x1/23x+x1/25=x3/2−3x1/2+5x−1/2. Then h′(x)=23x1/2−23x−1/2−25x−3/2. Over the common denominator 2x3/2=2xx: 23x1/2=2x3/23x2 and 23x−1/2=2x3/23x, so h′(x)=2xx3x2−3x−5. At x=4: 4=2, so h′(4)=2⋅4⋅248−12−5=1631. The quotient rule would give the same answer after twice the algebra; rewriting is the method a marker expects when the denominator is a monomial.
d)
The three terms of m look alike and are three different objects. xe is a POWER of x with the constant exponent e: (xe)′=exe−1. ex is the exponential, constant base and variable exponent: (ex)′=ex, and the power rule does not apply to it. ee is a constant: its derivative is 0. So m′(x)=exe−1+ex. For p, expand the square, which removes any composition: p(x)=4x+4x+1=4x+4x1/2+1, so p′(x)=4+2x−1/2=4+x2. Check at x=1: p goes from p(1)=9 with slope 6, and indeed 4+2=6.
e)
First error: the student differentiated the denominator 3x2 into 6x and kept the fraction bar, as if (u1)′=u′1, a rule that does not exist. Second error, as a consequence: the sign is lost, although 3x21 is decreasing for x>0, so its derivative there must be NEGATIVE. The correct route rewrites first: 3x21=31x−2, so the derivative is 31⋅(−2)x−3=−3x32. At x=1 the student's answer is 61 and the true slope is −32: one test value is enough to expose the rule.
Points are earned before the solution; after it, you can keep practising.
For you:
Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.
Exercise 2: Product and quotient rules: never factor by factor
7 answers to check
The derivative of a product is NOT the product of the derivatives, and the derivative of a quotient is not the quotient of the derivatives. The rules are (fg)′=f′g+fg′ and (gf)′=g2f′g−fg′. In the quotient rule the ORDER of the numerator matters, because of the minus sign, and the g2 of the denominator is left as it is: expanding it only produces a longer expression that no longer factors.
In every part, name the rule you are applying and the two functions f and g before you write the derivative.
a) Differentiate F(x)=(x2+1)(x3−2x) with the product rule, then check your answer by expanding F first.
b) Differentiate G(x)=x2+23x−1 and compute G′(0).
c) Differentiate H(x)=x2ex, factor the result, and find the values of x where H′(x)=0.
d) Differentiate K(x)=1−ex1+ex for x=0, and simplify.
e) A student writes (x2ex)′=2xex and (x+1x)′=11=1. Refute both answers with a single value of x each.
Show the solution
Answers
a)F′(x)=5x4−3x2−2
b)G′(x)=(x2+2)2−3x2+2x+6, G′(0)=23
c)H′(x)=x(x+2)ex, zero at x=−2 and x=0
d)K′(x)=(1−ex)22ex
e)At x=1: 3e=2e; at x=1: 41=1
a)
Product rule with f(x)=x2+1, f′(x)=2x, and g(x)=x3−2x, g′(x)=3x2−2: F′(x)=2x(x3−2x)+(x2+1)(3x2−2)=2x4−4x2+3x4−2x2+3x2−2=5x4−3x2−2. Check by expanding first: F(x)=x5−2x3+x3−2x=x5−x3−2x, so F′(x)=5x4−3x2−2, the same. On a product of two polynomials both routes are legal; expanding is the natural CHECK of the product rule, and the factor-by-factor answer 2x(3x2−2) fails it at once, being of degree 3 instead of 4.
b)
Quotient rule with f(x)=3x−1, f′(x)=3, and g(x)=x2+2, g′(x)=2x: G′(x)=(x2+2)23(x2+2)−(3x−1)(2x)=(x2+2)23x2+6−6x2+2x=(x2+2)2−3x2+2x+6. Then G′(0)=46=23. The parentheses around (3x−1)(2x) carry the minus sign to BOTH terms: dropping them gives −6x2−2x and a wrong numerator. Writing fg′−f′g in the numerator flips the sign of the whole answer; the order follows the rule's reading, derivative of the TOP first.
c)
Product rule with f(x)=x2 and g(x)=ex, whose derivative is ex itself: H′(x)=2x⋅ex+x2⋅ex=(x2+2x)ex=x(x+2)ex. Since ex>0 for every x, the product is zero exactly when x(x+2)=0: x=0 or x=−2. Factoring ex out is not cosmetic: it is the step that turns an equation with an exponential into a polynomial equation, and the fact ex=0 must be SAID to justify dividing by it.
d)
Quotient rule with f(x)=1+ex, f′(x)=ex, and g(x)=1−ex, g′(x)=−ex: K′(x)=(1−ex)2ex(1−ex)−(1+ex)(−ex). The numerator is ex−exex+ex+exex=2ex, the two products exex cancelling. So K′(x)=(1−ex)22ex, positive wherever it is defined. The double minus in −(1+ex)(−ex) is where most papers lose the answer: write the product fg′ in full, with its own sign, before expanding.
e)
At x=1, the true derivative from c) is H′(1)=1⋅3⋅e=3e, while 2xex gives 2e: the student multiplied the derivatives of the two factors and forgot the term x2ex. For the quotient, the true derivative is (x+1)21⋅(x+1)−x⋅1=(x+1)21, which equals 41 at x=1, not 1. Choosing the test value matters: at x=0 both wrong answers happen to agree with the right ones (0 and 1), so a single lucky value proves nothing. A test value can refute a rule, never confirm it.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 3: Choosing the form: rewrite first, or use the quotient rule?
8 answers to check
The quotient rule always works on a quotient, but it is often the longest road. Three shapes deserve a shortcut: a denominator that is a single power of x (divide term by term), a CONSTANT numerator (the reciprocal rule (gc)′=−g2cg′, a special case of the quotient rule), and a quotient that simplifies, provided the domain is kept. The laws of exponents play the same role for ex: without the chain rule, which comes two chapters later, ex+2, e−x and e2x can only be differentiated after being rewritten.
The figure shows the graph of g(x)=x−3x2−9.
a) Differentiate f(x)=x2x3−4x+1 in two ways, by rewriting and by the quotient rule, and check that the answers agree.
b) Differentiate q(x)=x2+45 and compute q′(1). Why is (x2+4)′(5)′=0 absurd?
c) Find g′(x) for the function of the figure. What happens at x=3?
d) Without the chain rule, differentiate ex+2, e−x and e2x. A student claims (e−x)′=e−x, since ex is its own derivative: refute it by looking at the graph of e−x.
e) Differentiate w(x)=x2−1x2+1 by first writing it as 1+x2−1c, and check with the quotient rule.
Show the solution
Answers
a)f′(x)=1+x24−x32=x3x3+4x−2
b)q′(x)=−(x2+4)210x, q′(1)=−52; q is not constant, so its derivative is not 0
c)g′(x)=1 for x=3; g′(3) does not exist, g is not defined at 3
d)(ex+2)′=ex+2, (e−x)′=−e−x, (e2x)′=2e2x; e−x decreases, so its slope is negative
e)w(x)=1+x2−12, w′(x)=−(x2−1)24x
a)
Rewriting: f(x)=x2x3−x24x+x21=x−4x−1+x−2, so f′(x)=1+4x−2−2x−3=1+x24−x32. Quotient rule, with (x3−4x+1)′=3x2−4 and (x2)′=2x: f′(x)=x4(3x2−4)x2−(x3−4x+1)(2x)=x43x4−4x2−2x4+8x2−2x=x4x4+4x2−2x=x3x3+4x−2 after dividing by x. Over the denominator x3, the first answer is also x3x3+4x−2: they agree. The rewriting took one line, the quotient rule four, with a denominator x4 to simplify at the end.
b)
Reciprocal rule with c=5 and g(x)=x2+4: q′(x)=−(x2+4)25⋅2x=−(x2+4)210x, and q′(1)=−2510=−52. The quotient rule gives the same, since the f′g term vanishes: (x2+4)20⋅(x2+4)−5⋅2x. The answer 2x0=0 would mean that q has a horizontal tangent everywhere, so that q is constant; yet q(0)=45 and q(1)=1. A constant NUMERATOR does not make the quotient constant.
c)
For x=3, x2−9=(x−3)(x+3) and the factor x−3 cancels: g(x)=x+3, so g′(x)=1. This is exactly the figure, a line of slope 1. But g is not defined at x=3, which the open circle at (3,6) shows, so g′(3) does not exist: a derivative at a point needs the function AT that point. Check with the quotient rule: (x−3)22x(x−3)−(x2−9)=(x−3)2x2−6x+9=1 for x=3. Simplifying is allowed and fast, as long as the answer keeps the condition x=3 that the simplification hides.
d)
By the laws of exponents, ex+2=e2ex, a constant times ex: its derivative is e2ex=ex+2. Next, e−x=ex1, so by the reciprocal rule (e−x)′=−(ex)2ex=−ex1=−e−x. Finally e2x=exex, and the product rule gives exex+exex=2e2x. The student's claim is refuted by one look at the graph of e−x: it DECREASES on the whole real line, so its tangent lines all have negative slopes, and a derivative equal to e−x>0 is impossible. The rule (ex)′=ex is about the exponent x exactly; any other exponent must be rewritten first here, or handled by the chain rule later.
e)
Divide first: x2+1=(x2−1)+2, so w(x)=1+x2−12, for x=±1. The constant 1 has derivative 0 and the reciprocal rule gives w′(x)=−(x2−1)22⋅2x=−(x2−1)24x. Check with the quotient rule: (x2−1)22x(x2−1)−(x2+1)(2x)=(x2−1)22x3−2x−2x3−2x=(x2−1)2−4x. Same answer. When numerator and denominator have the same degree, one division turns the quotient into a constant plus a simpler fraction.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 4: Tangent and normal lines, and where the tangent is horizontal
14 answers to check
The tangent line to y=f(x) at x=a is y=f(a)+f′(a)(x−a): a line, so its slope f′(a) is a NUMBER, obtained by differentiating first and substituting a afterwards. The normal line at the same point is perpendicular to the tangent: when f′(a)=0 its slope is −f′(a)1, and when f′(a)=0 the tangent is horizontal and the normal is the vertical line x=a.
The figure shows the graph of f(x)=x3−3x2−9x+5 on [−3,5].
a) Find f′(x), then the equation of the tangent line at the point of abscissa 1, in the form y=mx+b.
b) Find the equation of the normal line at the same point.
c) Find the points of the curve where the tangent is horizontal, and give the normal line at each of them.
d) Find the points where the tangent is parallel to the line y=15x+2.
e) Write f′(x) in the form 3(x−1)2−k. Deduce that no tangent to the curve has slope −13, and find the smallest slope of a tangent.
Show the solution
Answers
a)f′(x)=3x2−6x−9; tangent y=−12x+6
b)Normal y=121x−1273
c)(−1,10) and (3,−22); normals x=−1 and x=3
d)(−2,3) and (4,−15)
e)f′(x)=3(x−1)2−12≥−12: no slope −13; smallest slope −12, at x=1
a)
By the power, sum and constant multiple rules, f′(x)=3x2−6x−9. At a=1: f(1)=1−3−9+5=−6 and f′(1)=3−6−9=−12. The tangent is y=−6−12(x−1)=−12x+6. Check: at x=1 the line gives −12+6=−6=f(1), so it does pass through the point. On the figure the curve is indeed going down steeply at x=1. The form y=−6+(3x2−6x−9)(x−1), with f′(x) left unevaluated, is a CUBIC, not a line, and earns no mark: substitute a into f′ before writing the equation.
b)
The tangent has slope −12=0, so the normal has slope −−121=121 and passes through (1,−6): y=−6+121(x−1)=121x−1273. The check is the product of the slopes: (−12)⋅121=−1, the condition for two non-vertical lines to be perpendicular. Answering with slope 12 (the opposite, forgetting the reciprocal) or −121 (the reciprocal, forgetting the sign) are the two classic errors, and each costs the question.
c)
A horizontal tangent means slope 0: 3x2−6x−9=3(x2−2x−3)=3(x−3)(x+1)=0, so x=−1 or x=3. Then f(−1)=−1−3+9+5=10 and f(3)=27−27−27+5=−22: the points are (−1,10) and (3,−22), the top of the hump and the bottom of the valley on the figure. At each of them the tangent is horizontal, y=10 and y=−22, and the normal is VERTICAL: x=−1 and x=3. The formula −f′(a)1 breaks down here, and writing no normal exists is wrong: a vertical line is a line, it simply has no slope.
d)
Parallel lines have equal slopes, so solve f′(x)=15: 3x2−6x−9=15, 3x2−6x−24=0, x2−2x−8=0, (x−4)(x+2)=0. So x=4 or x=−2, with f(4)=64−48−36+5=−15 and f(−2)=−8−12+18+5=3. The points are (4,−15) and (−2,3). The question asks for POINTS, so both coordinates are expected; stopping at x=4 and x=−2 loses part of the marks.
e)
Complete the square: 3x2−6x−9=3(x2−2x+1)−3−9=3(x−1)2−12. Since (x−1)2≥0, every slope satisfies f′(x)≥−12, with equality only at x=1. The equation f′(x)=−13 would need 3(x−1)2=−1, impossible: no tangent has slope −13. The smallest slope of a tangent is −12, reached at x=1, which is why the tangent of a) looked like the steepest descent on the figure. Every question about the slopes of a curve is a question about the FUNCTION f′, here a parabola that opens upward.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 5: Tangent lines through a point that is not on the curve
10 answers to check
When the point P is ON the curve, its abscissa is the point of tangency and the tangent line is immediate. When P is NOT on the curve, the point of tangency is unknown: call its abscissa a, write the tangent at a with a as a letter, and require that this line passes through P. That condition is an equation in a, and each of its solutions gives one tangent.
The figure shows the parabola y=x2 and the point P(1,−3), which lies below it.
a) Show that the tangent to y=x2 at the point of abscissa a has equation y=2ax−a2.
b) Find the equations of all the tangents to y=x2 that pass through P(1,−3), and their points of tangency.
c) Show that no tangent to y=x2 passes through Q(0,1). More generally, how many tangents pass through a point (p,q), depending on q and p2?
d) Find all the tangents to y=x3 that pass through R(2,0).
e) A student answers b) with the line through P of slope f′(1)=2, that is y=2x−5. Show that this line does not even touch the parabola.
Show the solution
Answers
a)y=a2+2a(x−a)=2ax−a2
b)y=6x−9, tangent at (3,9); y=−2x−1, tangent at (−1,1)
c)a2=−1 has no solution; two tangents if q<p2, one if q=p2, none if q>p2
d)y=0 (at the origin) and y=27x−54 (at (3,27))
e)x2=2x−5 gives x2−2x+5=0, discriminant −16<0: no common point
a)
With f(x)=x2, f′(x)=2x, so at the point (a,a2) the slope is 2a and the tangent is y=a2+2a(x−a)=2ax−2a2+a2=2ax−a2. Here a is kept as a LETTER on purpose: this equation describes every tangent to the parabola at once, and the next questions choose a.
b)
The tangent at a passes through P(1,−3) when −3=2a⋅1−a2, that is a2−2a−3=0, (a−3)(a+1)=0. For a=3: y=6x−9, tangent at (3,9). For a=−1: y=−2x−1, tangent at (−1,1). Check that both lines pass through P: 6−9=−3 and −2−1=−3. The figure of the solution shows the two lines leaving P and grazing the parabola on either side. Two tangents is the normal situation for a point below a parabola that opens upward.
c)
Through Q(0,1) the condition is 1=2a⋅0−a2, that is a2=−1: no real solution, so no tangent passes through Q. In general the tangent at a passes through (p,q) when q=2ap−a2, that is a2−2pa+q=0, a quadratic in a with discriminant 4p2−4q=4(p2−q). If q<p2, the point is below the parabola and there are two tangents; if q=p2, it is on the parabola and there is one; if q>p2, it is inside the cup and there are none. P has −3<1, Q has 1>0: the discriminant sorts the points, and the figure makes it believable, since from inside the cup every line meets the parabola twice.
d)
For y=x3, y′=3x2, and the tangent at a is y=a3+3a2(x−a)=3a2x−2a3. Through R(2,0): 0=6a2−2a3=2a2(3−a), so a=0 or a=3. For a=0 the tangent is y=0, the x-axis, tangent at the origin; for a=3 it is y=27x−54, tangent at (3,27), and 27⋅2−54=0 confirms that it passes through R. The tangent y=0 CROSSES the curve at the origin, since x3 changes sign there: a tangent line is defined by its slope, not by staying on one side of the curve.
e)
The student used the slope at the abscissa of P, as if P were the point of tangency. But P is not on the parabola, since 12=1=−3, so f′(1) is the slope of the curve at (1,1), a point that has nothing to do with the line through P. The line y=2x−5 meets the parabola where x2=2x−5, that is x2−2x+5=0, whose discriminant is 4−20=−16<0: no common point at all. A tangent that does not touch the curve is the clearest sign that the point of tangency was never looked for.
Points are earned before the solution; after it, you can keep practising.
For you:
Part B: problems and reasoning (/50)
Exercise 6: Higher derivatives: the product rule applied twice
7 answers to check
The second derivative f′′ is the derivative of f′, the third is the derivative of f′′, and f(n) denotes the n-th. Nothing new is needed to compute them, only care: each step differentiates the RESULT of the previous one, simplified first. Two facts organize the chapter: a polynomial of degree n has f(n) constant and f(n+1)=0, and the second derivative of a product is not the product of the second derivatives.
When a pattern appears after three or four derivatives, the general formula is a conjecture until it is proved by induction.
a) Let f(x)=x4−2x3+x. Find f′, f′′, f′′′, f(4) and f(5), and compute f′′(2).
b) Apply the product rule twice to prove that (uv)′′=u′′v+2u′v′+uv′′. Use it to find the second derivative of x2ex, and explain why (uv)′′=u′′v′′ is false.
c) Let g(x)=xex. Compute g′, g′′ and g′′′, conjecture g(n), and prove your conjecture by induction. What is g(n)(0)?
d) Let h(x)=x1. Find h′, h′′, h′′′, conjecture and prove a formula for h(n)(x), and compute h(5)(1).
e) Find the 100-th derivative of P(x)=5x100+x99−7x3, and the first derivative of x7 that is identically zero.
Show the solution
Answers
a)4x3−6x2+1, 12x2−12x, 24x−12, 24, 0; f′′(2)=24
b)(x2ex)′′=(x2+4x+2)ex; at x=1, u′′v′′=2e=7e
c)g(n)(x)=(x+n)ex, so g(n)(0)=n
d)h(n)(x)=xn+1(−1)nn!, h(5)(1)=−120
e)P(100)(x)=5⋅100!; the 8-th derivative of x7
a)
f′(x)=4x3−6x2+1, f′′(x)=12x2−12x, f′′′(x)=24x−12, f(4)(x)=24 and f(5)(x)=0. Each derivative lowers the degree by one, from 4 to 0, then the constant 24 differentiates to 0 and every later derivative stays 0. At x=2: f′′(2)=48−24=24. Note that the constant term of f and the term x both vanish by the second derivative: information is lost at each step, which is why a higher derivative never determines the function.
b)
First derivative by the product rule: (uv)′=u′v+uv′. Differentiate again, applying the product rule to EACH of the two products: (u′v)′=u′′v+u′v′ and (uv′)′=u′v′+uv′′. Adding, (uv)′′=u′′v+2u′v′+uv′′. For u=x2, v=ex: u′=2x, u′′=2, v=v′=v′′=ex, so (x2ex)′′=2ex+2⋅2x⋅ex+x2ex=(x2+4x+2)ex. Check against the first derivative x(x+2)ex=(x2+2x)ex of Exercise 2: its derivative is (2x+2)ex+(x2+2x)ex=(x2+4x+2)ex. The formula u′′v′′ gives 2ex: at x=0 it happens to agree with the true value 2, but at x=1 it gives 2e against 7e. Missing the middle term 2u′v′ is the error, and the correct formula has the same coefficients 1,2,1 as (a+b)2.
c)
Product rule: g′(x)=ex+xex=(x+1)ex. Again: g′′(x)=ex+(x+1)ex=(x+2)ex, and g′′′(x)=(x+3)ex. Conjecture: g(n)(x)=(x+n)ex for n≥1. Induction. Base: g′(x)=(x+1)ex. Step: if g(n)(x)=(x+n)ex, then by the product rule g(n+1)(x)=1⋅ex+(x+n)ex=(x+n+1)ex, which is the formula for n+1. Hence g(n)(x)=(x+n)ex for every n≥1, and g(n)(0)=n. Stopping after three derivatives and writing the pattern is a guess, and a marker gives the proof marks only for the inductive step written out.
d)
Rewrite h(x)=x−1. Then h′(x)=−x−2, h′′(x)=2x−3, h′′′(x)=−6x−4. The signs alternate, the coefficients are 1,2,6=3!, the exponent is −(n+1): conjecture h(n)(x)=(−1)nn!x−(n+1). Induction: true for n=1, since (−1)1⋅1!⋅x−2=−x−2; if true for n, the power rule gives h(n+1)(x)=(−1)nn!⋅(−(n+1))x−(n+2)=(−1)n+1(n+1)!x−(n+2), the formula for n+1. So h(n)(x)=xn+1(−1)nn!, and h(5)(1)=(−1)5⋅120=−120. Without rewriting x1 as a power, each derivative would need the quotient rule and the pattern would be buried under the algebra.
e)
The term x99 and the term −7x3 are polynomials of degree less than 100, so their 100-th derivative is 0. For x100, each derivative brings down the current exponent: 100⋅99⋅98⋯1=100!, a constant. Hence P(100)(x)=5⋅100!. For x7, the 7-th derivative is the constant 7!=5040 and the 8-th is the first one that is identically zero. Answering 0 for P(100) because 100 derivatives feels like many is the error: the degree decides, and here the degree is exactly 100.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 7: Product and quotient rules from a table of values and from a graph
13 answers to check
The product and quotient rules need only four numbers at the point: the values of the two functions and of their derivatives. A function can therefore be known only through a table, or through its graph, and the derivative of a product or a quotient still be computed exactly. The table gives two functions f and g, differentiable everywhere:
x12f(x)23f′(x)5−1g(x)1−2g′(x)−34
The figure gives the graphs of two other functions u (blue) and v (orange), each made of line segments joining the marked points.
a) Let P=fg and Q=gf. Find P′(2) and Q′(2).
b) Find the derivatives at x=1 of R(x)=x2f(x), S(x)=exg(x) and T(x)=f(x)2, the last one as the product f⋅f.
c) Find the equation of the tangent line to the graph of P at x=2.
d) Let U=uv and W=vu. Read what you need on the figure and find U′(1), U′(4) and W′(4).
e) Can the product rule give U′(2)? Compute the slopes of U just to the left and just to the right of x=2, and conclude.
Show the solution
Answers
a)P′(2)=14, Q′(2)=−25
b)R′(1)=9, S′(1)=−2e, T′(1)=20
c)y=14x−34
d)U′(1)=6, U′(4)=−4, W′(4)=−254
e)No, u′(2) does not exist; left slope 6, right slope −3: U′(2) does not exist
a)
Product rule at x=2: P′(2)=f′(2)g(2)+f(2)g′(2)=(−1)(−2)+3⋅4=2+12=14. Quotient rule: Q′(2)=g(2)2f′(2)g(2)−f(2)g′(2)=(−2)2(−1)(−2)−3⋅4=42−12=−25. Two slips cost these marks: reading a value from the wrong row of the table, and squaring g(2)=−2 into −4 instead of 4. Write the rule with the letters first, then substitute, one number per letter.
b)
R′(x)=2xf(x)+x2f′(x), so R′(1)=2⋅2+1⋅5=9. S′(x)=exg(x)+exg′(x)=ex(g(x)+g′(x)), so S′(1)=e(1−3)=−2e, an exact answer that stays in terms of e. T=f⋅f gives T′(x)=f′(x)f(x)+f(x)f′(x)=2f(x)f′(x), so T′(1)=2⋅2⋅5=20. The tempting T′(1)=f′(1)2=25 is the factor-by-factor rule again; the square of a function is a product, and the product rule is the only tool of this chapter that handles it.
c)
The tangent to the graph of P at x=2 goes through (2,P(2)) with slope P′(2). From the table, P(2)=f(2)g(2)=3⋅(−2)=−6, and P′(2)=14 from a). So y=−6+14(x−2)=14x−34. The value P(2) is not in the table and must be computed from it; using f(2)=3 as the height of the point is a frequent slip that shifts the whole line.
d)
Near x=1, u is the segment from (0,1) to (2,5): u(1)=3 and u′(1)=2−05−1=2; v is horizontal there, v(1)=3 and v′(1)=0. So U′(1)=u′(1)v(1)+u(1)v′(1)=2⋅3+3⋅0=6. Near x=4, u is the segment from (2,5) to (7,0), slope −1, so u(4)=3 and u′(4)=−1; v is the segment from (3,3) to (7,1), slope −21, so v(4)=25 and v′(4)=−21. Then U′(4)=(−1)⋅25+3⋅(−21)=−4 and W′(4)=v(4)2u′(4)v(4)−u(4)v′(4)=425−25+23=−254. The slopes are computed between two MARKED points, never from a value read between grid lines.
e)
No: the product rule needs u′(2) and v′(2), and u has a corner at x=2, where its slope jumps from 2 to −1, so u′(2) does not exist and the rule cannot be quoted. On [0,3], v=3 is constant, so U=3u near x=2: its slope is 3⋅2=6 just to the left and 3⋅(−1)=−3 just to the right. The two one-sided slopes differ, so U has a corner at x=2 and U′(2) does not exist. A rule is a statement with hypotheses, both factors differentiable at the point; when one of them fails, look at the function itself.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 8: Five statements to correct
5 answers to check
Each statement below was written by a student on a MATH 140 assignment, and each is false. Say what is wrong, give a counterexample with numbers, and write the correct statement.
a) If f and g are differentiable, then (fg)′=f′g′.
b) By the power rule, dxdex=xex−1.
c) dxd(e3)=3e2 and dxd(π)=2π1.
d) The quotient rule is (gf)′=g2fg′−f′g.
e) At a point where f′(a)=0, the normal line would have slope −01, so the curve has no normal line there.
Show the solution
Answers
a)False: (x⋅x)′=2x, not 1. (fg)′=f′g+fg′.
b)False: the slope of ex at 0 is 1, not 0. (ex)′=ex.
c)False: e3 and π are constants, their derivatives are 0.
d)False: for f=x, g=1 it gives −1. (gf)′=g2f′g−fg′.
e)False: the normal is the vertical line x=a.
a)
FALSE. Take f(x)=g(x)=x: f′g′=1⋅1=1, while fg=x2 has derivative 2x, which is 6 at x=3, not 1. Correct statement: (fg)′=f′g+fg′, which gives 1⋅x+x⋅1=2x. The factor-by-factor rule is the single most frequent error of the chapter, and the quickest check against it is a product of two polynomials, where expanding gives the answer independently.
b)
FALSE. The power rule is about xn: a VARIABLE base raised to a CONSTANT exponent. In ex the base is the constant e and the exponent is the variable: it is an exponential function, not a power. The student's formula gives 0⋅e−1=0 at x=0, a horizontal tangent, while the graph of ex is rising there with slope 1. Correct statement: dxdex=ex, and e is precisely the base for which the slope at 0 equals 1.
c)
FALSE. e3≈20 and π≈1.77 are NUMBERS: their graphs, as functions of x, are horizontal lines, with slope 0. The student differentiated with respect to e and to π, which are not variables. Correct statement: the derivative of any constant is 0; only an expression containing x has a nonzero derivative. The same trap hides inside longer expressions: (x2+π2)′=2x, not 2x+2π.
d)
FALSE, the two terms of the numerator are swapped. With f(x)=x and g(x)=1, the quotient is x, whose derivative is 1; the student's formula gives 1x⋅0−1⋅1=−1, the opposite. Correct statement: (gf)′=g2f′g−fg′, derivative of the top FIRST. Swapping the order changes the sign of every answer, so a mnemonic is worth having: low d-high minus high d-low, over the square of what is below.
e)
FALSE. When f′(a)=0, the tangent at a is the horizontal line y=f(a), and the line perpendicular to it through (a,f(a)) is the VERTICAL line x=a. It exists; it just has no slope, which is why the formula −f′(a)1 cannot produce it. For f(x)=x2 at a=0: tangent y=0, normal x=0, the y-axis. Correct statement: if f′(a)=0 the normal has slope −f′(a)1; if f′(a)=0 the normal is x=a.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 9: A particle on a line: velocity, acceleration, and the distance travelled
15 answers to check
A particle moves along a straight line, and its position at time t seconds is s(t)=t3−9t2+24t metres, for 0≤t≤6. Its velocity is v(t)=s′(t) and its acceleration is a(t)=v′(t)=s′′(t). The SIGN of v gives the direction of motion; the particle speeds up when v and a have the same sign and slows down when they have opposite signs, because the speed is ∣v∣, not v.
The figure shows the graph of the position. The acceleration here is NOT constant, so the constant-acceleration formulas of a physics course do not apply: everything comes from s′ and s′′.
a) Find v(t) and a(t). When is the particle at rest?
b) On which intervals does the particle move in the positive direction, and in the negative direction? Find its positions at t=0,2,4,6.
c) Find the displacement and the total distance travelled over [0,6].
d) Draw a sign chart of v and a, and find when the particle speeds up and when it slows down.
e) Write v(t)=3(t−3)2−3. A student concludes that the particle is slowest at t=3. Correct this, and give the average velocity and the average speed over [0,6].
Show the solution
Answers
a)v(t)=3t2−18t+24=3(t−2)(t−4), a(t)=6t−18; at rest at t=2 s and t=4 s
b)Positive on [0,2) and (4,6], negative on (2,4); s=0,20,16,36 m
c)Displacement 36 m, distance 20+4+20=44 m
d)Speeds up on (2,3) and (4,6], slows down on [0,2) and (3,4)
e)At t=3 the VELOCITY is smallest (−3 m/s), the speed is 3 m/s; slowest at t=2 and 4. Averages 6 m/s and 322 m/s
a)
By the power rule, v(t)=s′(t)=3t2−18t+24 m/s, and a(t)=v′(t)=6t−18 m/s2. Factor the velocity: v(t)=3(t2−6t+8)=3(t−2)(t−4). The particle is at rest when v(t)=0: at t=2 s and t=4 s. On the figure these are the two instants where the position graph has a horizontal tangent. At rest does not mean without acceleration: a(2)=−6 and a(4)=6, which is exactly why the particle does not stay at rest.
b)
The factored form gives the sign of v at once: both factors negative on [0,2), so v>0; opposite signs on (2,4), so v<0; both positive on (4,6], so v>0. The particle moves in the positive direction on [0,2) and (4,6], in the negative direction on (2,4). Positions: s(0)=0, s(2)=8−36+48=20, s(4)=64−144+96=16, s(6)=216−324+144=36 metres. The particle goes out to 20 m, comes back to 16 m, then leaves again to 36 m.
c)
The displacement is s(6)−s(0)=36 m. The distance counts every leg positively, split at the changes of direction found in b): ∣s(2)−s(0)∣+∣s(4)−s(2)∣+∣s(6)−s(4)∣=20+4+20=44 m. Answering 36 m for the distance ignores the backward leg, which is travelled once backward and then once more forward: the 4 m between 16 and 20 are covered three times in all. The split points are the zeros of v, never the endpoints alone.
d)
a(t)=6(t−3) is negative on [0,3) and positive on (3,6]. Combining with the sign of v, interval by interval: on [0,2), v>0 and a<0, opposite signs, the particle slows down; on (2,3), v<0 and a<0, same sign, it speeds up (backward); on (3,4), v<0 and a>0, it slows down; on (4,6], v>0 and a>0, it speeds up. The sign chart of the solution puts the four sign changes in one picture. Deciding from a alone (speeding up because a>0 on (3,4)) is the classic error: on (3,4) the particle moves backward, and a positive acceleration there brakes it.
e)
Completing the square, 3t2−18t+24=3(t2−6t+9)−27+24=3(t−3)2−3, so v(t)≥−3 with equality at t=3: the VELOCITY is smallest at t=3, where the particle moves backward at its greatest speed, ∣v(3)∣=3 m/s. It is the SPEED ∣v∣ that measures how slow the particle is, and the speed is 0, its smallest possible value, at t=2 and t=4. The average velocity is the displacement over the time, 636=6 m/s; the average speed is the distance over the time, 644=322 m/s. They differ because the particle turned back once, and they would agree only for a motion that never changes direction.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 10: A final exam question: the curve y = e^x / x
6 answers to check
Let f(x)=xex, defined for x=0; its graph is shown below. This is the shape of a long final exam question on the chapter: a quotient rule, a factored derivative, horizontal tangents and normals, a tangent at a given point, a tangent through a point off the curve, and a second derivative, every rule named and no calculator.
Answers are exact: keep e, e2 and e−1 as they are.
a) Show that f′(x)=x2ex(x−1).
b) Find the points where the tangent is horizontal, and the normal line at each of them.
c) Find the equation of the tangent line at x=−1, and where it crosses the x-axis.
d) Find all the tangent lines to the curve that pass through the origin.
e) Show that f′′(x)=x3ex(x2−2x+2), and deduce that f′′(x) is never 0.
Show the solution
Answers
a)f′(x)=x2xex−ex=x2ex(x−1)
b)Only (1,e); the normal there is x=1
c)y=−e2x+3, crossing at x=−23
d)One tangent: y=4e2x, at (2,2e2)
e)x2−2x+2=(x−1)2+1>0 and ex>0: f′′(x)=0
a)
Quotient rule with top ex, whose derivative is ex, and bottom x, whose derivative is 1: f′(x)=x2ex⋅x−ex⋅1=x2ex(x−1), for x=0. Factoring ex is part of the answer: it is what makes the sign and the zeros of f′ readable in the next questions.
b)
A horizontal tangent needs f′(x)=0. Since ex>0 and x2>0 on the domain, f′(x)=0 exactly when x−1=0: x=1, and f(1)=e. The only point with a horizontal tangent is (1,e), the bottom of the right branch on the figure; the left branch has none, since there x−1<0 makes f′<0. At (1,e) the tangent is y=e and the normal is the vertical line x=1.
c)
At x=−1: f(−1)=−1e−1=−e1 and f′(−1)=1e−1(−2)=−e2. The tangent is y=−e1−e2(x+1)=−e2x+3. It crosses the x-axis where 2x+3=0, at x=−23. Keeping e exact makes the line clean; a decimal slope such as −0.74 would break the no-calculator rule and hide the fact that the intercept is exactly −23.
d)
The origin is not on the curve, since f(0) does not exist, so the point of tangency is unknown: call its abscissa a=0. The tangent at a is y=f(a)+f′(a)(x−a), and it passes through (0,0) when 0=f(a)−af′(a)=aea−aea(a−1)=aea(2−a). Since ea=0, a=2. Then f(2)=2e2 and f′(2)=4e2, and the tangent is y=2e2+4e2(x−2)=4e2x, which does pass through the origin. There is exactly one such tangent, touching the right branch at (2,2e2).
e)
Differentiate f′(x)=x2ex(x−1) with the quotient rule. The top is a product, so its derivative comes from the product rule: (ex(x−1))′=ex(x−1)+ex=xex. Then f′′(x)=x4xex⋅x2−ex(x−1)⋅2x=x4xex(x2−2x+2)=x3ex(x2−2x+2). Completing the square, x2−2x+2=(x−1)2+1≥1>0, and ex>0, so the numerator never vanishes and f′′(x)=0 for every x in the domain. Simplifying f′ BEFORE differentiating again, with ex factored out, is what keeps this second derivative to three lines.
Points are earned before the solution; after it, you can keep practising.
Something missing from this set?A type of exercise your teacher gives, a problem you are stuck on, a mistake you spotted: tell me, I read every request.
Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space.
Rather not create an account? Write to me directly.