This is the corrected exercise set for curve sketching in MATH 140, Calculus 1, at McGill University, section 4.5 of Stewart.It is the chapter where everything learned since the first week meets: limits give the asymptotes, the first derivative the increase and the extrema, the second derivative the concavity.
What the set covers, the traps it targets
It is the chapter where everything learned since the first week meets: limits give the asymptotes, the first derivative the increase and the extrema, the second derivative the concavity.
Each exercise is a complete study or a synthesis, never a single test, and the final sketch is always in the solution, because the statement asks for it. Every value is exact and computed by hand, as on the exam.
The thread running through the whole set: a sketch is only as good as its sign table, and the table is built on the DOMAIN. The domain decides what a sign change means. A change of concavity at a vertical asymptote is not an inflection point, a point where f′ does not exist but f does is a critical number, and a zero of the denominator that cancels is a hole, not an asymptote. Then the features must agree with each other before the pencil moves.
The traps named in the solutions: an interval of increase written across an asymptote, an inflection point placed where f is undefined, x2=x at −∞, the belief that a curve cannot cross its asymptote, the forgotten critical number of a cusp, a zero of f′ taken for an extremum, L'Hospital's rule applied to a form that is not indeterminate, the tallest curve taken for f, and a local maximum below a local minimum taken for a contradiction.
•Checklist: domain, intercepts, symmetry, asymptotes, f′ and its sign, extrema, f′′ and its sign, inflection points, then ONE sign table and the sketch.
•Vertical asymptote at a: an infinite one-sided limit at a. Cancel common factors first; a cancelled factor gives a hole.
•Horizontal asymptote: limx→±∞f(x)=L, computed at EACH end. x2=∣x∣, so −x for x<0. Slant asymptote y=mx+b: f(x)−(mx+b)→0.
•Critical number: a in the domain with f′(a)=0 or f′(a) undefined. Extremum only if f′ changes sign.
•Inflection point: (a,f(a)) with a in the domain, f continuous at a, and a change of concavity at a.
•f′→±∞ with opposite signs on the two sides: a cusp. Same sign: a vertical tangent.
Part A: the basics (/50)
Exercise 1: The full checklist on a rational function with two vertical asymptotes
12 answers to check
Sketch the graph of f(x)=x2−4x2+4 by following the checklist: domain, intercepts, symmetry, asymptotes, increase and decrease, extrema, concavity, inflection points. Every feature of the sketch must come from a computed sign or a computed limit, and all of them go into ONE sign table written on the domain.
No calculator: every value below is exact.
a) Find the domain, the intercepts and the symmetry of f.
b) Find the vertical and horizontal asymptotes. For each vertical asymptote, give the limit of f on EACH side.
c) Show that f′(x)=(x2−4)2−16x. Find the intervals of increase and decrease and the local extrema.
d) Show that f′′(x)=(x2−4)316(3x2+4) and study the concavity. The concavity changes at x=±2: does f have inflection points?
e) Gather everything in one sign table, sketch the graph and give the range of f.
Show the solution
Answers
a)Domain R∖{−2,2}; y-intercept (0,−1), no x-intercept; f is even.
b)x=±2: f→+∞ for ∣x∣→2+, f→−∞ for ∣x∣→2−; y=1 at both ends.
c)Increasing on (−∞,−2) and (−2,0], decreasing on [0,2) and (2,∞); local max f(0)=−1.
d)Concave up for ∣x∣>2, down for ∣x∣<2; no inflection point, since ±2 are not in the domain.
e)Range (−∞,−1]∪(1,∞).
a)
The denominator x2−4=(x−2)(x+2) vanishes at ±2, so the domain is R∖{−2,2}. The numerator x2+4≥4 never vanishes: no x-intercept. f(0)=−44=−1, the y-intercept is (0,−1). Only even powers of x appear, so f(−x)=f(x): f is even and its graph is symmetric about the y-axis. Symmetry halves the computations, but the table is still written on the whole domain, and the two excluded points will cut EVERY row of it. That is why the domain comes first.
b)
At x=2 the numerator tends to 8=0 and the denominator to 0, so the limit is infinite and its sign is the sign of x2−4. As x→2+, x2−4→0+ and f→+∞; as x→2−, x2−4→0− and f→−∞. By symmetry, f→+∞ as x→−2− and f→−∞ as x→−2+. No factor cancels, so x=2 and x=−2 are genuine vertical asymptotes. At ±∞, divide by x2: f(x)=1−4/x21+4/x2→1, so y=1 is the horizontal asymptote at both ends. Its position: f(x)−1=x2−48>0 for ∣x∣>2, so the two outer branches stay ABOVE y=1 and never cross it.
c)
Quotient rule: f′(x)=(x2−4)22x(x2−4)−(x2+4)(2x)=(x2−4)22x[(x2−4)−(x2+4)]=(x2−4)2−16x. The denominator is positive on the domain, so f′ has the sign of −16x: positive for x<0, negative for x>0. The only critical number is 0; the points ±2 are NOT critical numbers, since they are not in the domain. So f increases on (−∞,−2) and on (−2,0], decreases on [0,2) and on (2,∞), and the first derivative test gives a local maximum f(0)=−1. Writing increasing on (−∞,0] in one piece is false: −3<−1 and yet f(−3)=513>f(−1)=−35. The asymptote breaks the interval, and so must the answer.
d)
Write f′(x)=−16x(x2−4)−2 and use the product rule, then the chain rule with inner function x2−4: f′′(x)=−16(x2−4)−2+(−16x)(−2)(x2−4)−3(2x)=(x2−4)3−16(x2−4)+64x2=(x2−4)348x2+64=(x2−4)316(3x2+4). The numerator is always positive, so f′′ has the sign of x2−4: concave up for ∣x∣>2, concave down for ∣x∣<2. The concavity does change at x=±2, but an inflection point is a POINT (a,f(a)) of the graph where the concavity changes, and f(2) does not exist. So f has NO inflection point. Listing (2,f(2)) as an inflection point costs the mark, and the sketch cannot even place it.
e)
The table, from left to right: on (−∞,−2), f′>0 and f′′>0, the branch leaves y=1 from above and climbs, concave up, to +∞ at −2−; on (−2,2), the branch comes up from −∞, reaches its maximum (0,−1) and falls back to −∞, concave down all the way; on (2,∞) the branch comes down from +∞ toward y=1, concave up. The sketch in the figure is nothing more than this table drawn. Range: the middle branch takes every value of (−∞,−1], by continuity and the values of the limits; the outer branches take every value of (1,∞), never 1 itself. Values in (−1,1] are never taken, so the range is (−∞,−1]∪(1,∞). Consistency check: a middle branch drawn crossing the x-axis would contradict a), and outer branches dipping below y=1 would contradict b).
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: A square root in the denominator: two horizontal asymptotes, and one of them crossed
15 answers to check
Sketch the graph of f(x)=x2+1x+3. There is no vertical asymptote here: the whole difficulty moves to infinity, where the square root behaves differently at the two ends, and to the middle, where the curve rises above its own asymptote.
No calculator: every coordinate asked for is exact.
a) Find the domain, the intercepts and any symmetry. Find limx→∞f(x) and limx→−∞f(x), writing x2=∣x∣.
b) Show that f′(x)=(x2+1)3/21−3x and find the extrema of f, with exact values.
c) Solve f(x)=1. What does the answer say about the graph and its horizontal asymptote?
d) Show that f′′(x)=(x2+1)5/23(2x+1)(x−1). Study the concavity and give the inflection points with exact coordinates.
e) Sketch the graph from one sign table and give the range of f.
Show the solution
Answers
a)Domain R; intercepts (−3,0) and (0,3); no symmetry; f→1 as x→∞, f→−1 as x→−∞.
b)Increasing on (−∞,31], decreasing on [31,∞); absolute max f(31)=10; no minimum.
c)x=−34 only: the graph crosses y=1 once, then approaches it from above as x→∞.
d)Concave up on (−∞,−21) and (1,∞), down on (−21,1); inflection points (−21,5) and (1,22).
e)Range (−1,10].
a)
x2+1≥1>0, so the domain is R and f is continuous everywhere: no vertical asymptote, since that would need an infinite limit at a finite point. f(0)=3 and f(x)=0⟺x=−3. f(1)=24=22 while f(−1)=22=2, neither equal nor opposite: no symmetry. At infinity, factor x2 under the root: x2+1=∣x∣1+1/x2. For x>0, ∣x∣=x and f(x)=1+1/x21+3/x→1. For x<0, ∣x∣=−x and f(x)=−1+1/x21+3/x→−1. Two different horizontal asymptotes: y=1 on the right, y=−1 on the left. Writing x2=x on both sides gives y=1 twice, and the whole left half of the sketch is then wrong.
b)
Product rule on (x+3)(x2+1)−1/2, with the chain rule on the second factor (inner function x2+1): f′(x)=(x2+1)−1/2+(x+3)(−21)(x2+1)−3/2(2x)=(x2+1)3/2(x2+1)−x(x+3)=(x2+1)3/21−3x. The denominator is positive, so f′ has the sign of 1−3x. The only critical number is 31, where f′ goes from + to −. Since f increases on all of (−∞,31] and decreases on all of [31,∞), this local maximum is the absolute maximum: f(31)=10/910/3=310⋅103=10. There is no minimum: the values come arbitrarily close to −1 on the left without reaching it.
c)
f(x)=1⟺x+3=x2+1. The right side is positive, so a solution needs x+3≥0. Squaring: x2+6x+9=x2+1, so 6x=−8 and x=−34, which satisfies x+3=35≥0 and is kept (check: 916+1=35). The graph crosses the line y=1 exactly once, at x=−34, on the way UP, far to the left of the region where y=1 is an asymptote. There is no contradiction: a horizontal asymptote describes the behaviour as x→∞ only, and says nothing about finite x. After the crossing f>1 for good, so the curve climbs to 10 and then comes back down toward y=1 from above, never touching it again.
d)
From f′(x)=(1−3x)(x2+1)−3/2, product rule and chain rule: f′′(x)=−3(x2+1)−3/2+(1−3x)(−23)(2x)(x2+1)−5/2=(x2+1)5/2−3(x2+1)−3x(1−3x)=(x2+1)5/26x2−3x−3=(x2+1)5/23(2x+1)(x−1). Signs: + for x<−21, − on (−21,1), + for x>1. Both points are in the domain and f′′ changes sign there, so both are inflection points: f(−21)=5/45/2=25⋅52=5 and f(1)=24=22.
e)
Reading the table from left to right: the curve leaves y=−1 from above, rising and concave up; crosses y=0 at −3 and y=1 at −34; turns concave down at (−21,5); reaches its top (31,10); turns concave up again at (1,22) while decreasing; and settles on y=1 from above. The values agree with each other: 5<10 and 22=8<10, as they must on either side of the maximum. Range: f increases from values just above −1 up to 10, then decreases toward 1, so the range is (−1,10]. The last concave up piece is forced by the asymptote: a decreasing curve that levels off must bend upward.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 3: A fractional power: the critical number where the derivative does not exist
14 answers to check
Sketch the graph of f(x)=x2/3(x−5). The function is defined on all of R, but its derivative is not, and the one point where f′ fails to exist is the most characteristic point of the graph.
Recall that x2/3=(3x)2 is defined for every real x, negative ones included.
a) Find the domain, the intercepts, the symmetry, the sign of f and its limits at ±∞. Does the graph have any asymptote?
b) Write f(x)=x5/3−5x2/3 and show that f′(x)=3x1/35(x−2). List ALL the critical numbers of f.
c) Classify each critical number. Compute the one-sided limits of f′ at 0 and describe the graph at the origin.
d) Show that f′′(x)=9x4/310(x+1). Study the concavity and find the inflection points.
e) Sketch the graph, and explain why a smooth rounded top at the origin would be wrong.
Show the solution
Answers
a)Domain R; intercepts (0,0) and (5,0); no symmetry; f≤0 for x≤5; f→−∞ at −∞, +∞ at +∞; no asymptote.
b)Critical numbers 0 (f′ undefined) and 2 (f′=0).
c)Local max f(0)=0, a cusp (f′→+∞ at 0−, −∞ at 0+); local min f(2)=−334.
d)Concave down on (−∞,−1), up on (−1,0) and (0,∞); inflection point (−1,−6).
e)The graph reaches the origin vertically from both sides: a cusp, not a horizontal tangent.
a)
The cube root exists for every real number, so the domain is R and f is continuous everywhere: no vertical asymptote. f(x)=0⟺x=0 or x=5. f(−1)=1⋅(−6)=−6 and f(1)=−4: neither even nor odd. Since x2/3≥0, f has the sign of x−5: negative for x<5 except at 0, positive after 5. So the graph TOUCHES the axis at the origin without crossing it. As x→∞, both factors tend to ∞; as x→−∞, x2/3→∞ and x−5→−∞, so f→−∞. No horizontal asymptote, and no slant one either, because xf(x)=x2/3(1−x5)→∞: the graph ends up steeper than any line.
b)
The power rule on each term: f′(x)=35x2/3−310x−1/3. Factor out 35x−1/3: f′(x)=35x−1/3(x−2)=3x1/35(x−2). A critical number is a point of the DOMAIN of f where f′=0 or f′ does not exist. f′=0 at x=2; f′ does not exist at x=0, and 0 IS in the domain of f. So there are two critical numbers, 0 and 2. Forgetting 0 is the classic loss on this chapter: the sign table then runs from −∞ to 2 in one piece and the local maximum disappears from the sketch.
c)
x1/3 has the sign of x, so the table of f′ reads: for x<0, (−)(−)>0; for 0<x<2, (+)(−)<0; for x>2, f′>0. So f increases on (−∞,0], decreases on [0,2] and increases on [2,∞). First derivative test: local maximum f(0)=0, local minimum f(2)=22/3(2−5)=−3⋅22/3=−334. By hand, 1.53=3.375<4<4.096=1.63, so 34 lies between 1.5 and 1.6 and f(2) between −4.8 and −4.5. At 0: the numerator tends to −10 and 3x1/3→0− from the left, 0+ from the right, so f′→+∞ as x→0− and f′→−∞ as x→0+. The tangent lines become vertical from both sides while the graph goes up, then down: a cusp.
d)
f′′(x)=910x−1/3+910x−4/3=910x−4/3(x+1)=9x4/310(x+1). For x=0, x4/3=(3x)4>0, so f′′ has the sign of x+1: concave down on (−∞,−1), concave up on (−1,0) and on (0,∞). At −1, which is in the domain, the concavity changes: inflection point (−1,f(−1))=(−1,−6). At 0, f′′ does not exist, but the concavity is up on both sides: the cusp is NOT an inflection point. A missing f′′ is not a sign change.
e)
The table, left to right: from −∞ the curve rises, concave down, bends at (−1,−6), keeps rising concave up and arrives at the origin with a vertical tangent; it leaves the origin going down, again vertically, falls to (2,−334), then rises through (5,0) and on to +∞, concave up. A rounded top at the origin would mean f′(0)=0, a horizontal tangent, and the one-sided limits of c) say exactly the opposite. The same limits explain why both sides near the origin are concave up although 0 is a maximum: the two arcs curve upward, like the two halves of a bird's beak meeting at the tip. That is the picture the computation draws, and the one the marker looks for.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 4: Logarithm over x: a one-sided domain, a limit that is not indeterminate, and its odd extension
14 answers to check
Sketch the graph of f(x)=xlnx. The logarithm brings a one-sided domain and one-sided asymptotes, and one of the two limits needed is a trap: it LOOKS like a case for L'Hospital's rule, and is not.
Symmetry then gives a second graph almost for free, provided each feature is transformed correctly.
a) Find the domain, the intercept and the sign of f. Find limx→0+f(x), explaining why L'Hospital's rule must NOT be used there, then limx→∞f(x).
b) Show that f′(x)=x21−lnx, study the increase and decrease of f and find its maximum exactly.
c) Show that f′′(x)=x32lnx−3, study the concavity and find the inflection point exactly.
d) Gather the results in one sign table, sketch the graph and give the range of f.
e) Let g(x)=xln∣x∣ for x=0. Show that g is odd and, without computing any new derivative, give its asymptotes, its extrema and its inflection points. Is there an inflection point at x=0?
Show the solution
Answers
a)Domain (0,∞); x-intercept (1,0); f<0 on (0,1), f>0 on (1,∞); f→−∞ as x→0+ (asymptote x=0), f→0 as x→∞ (asymptote y=0).
b)Increasing on (0,e], decreasing on [e,∞); absolute max f(e)=e1.
c)Concave down on (0,e3/2), up on (e3/2,∞); inflection point (e3/2,23e−3/2).
d)Range (−∞,e1].
e)g is odd and equals f for x>0; asymptotes x=0 (g→+∞ at 0−) and y=0 at both ends; max (e,e1), min (−e,−e1); inflection points (±e3/2,±23e−3/2); none at 0.
a)
lnx requires x>0, which also keeps the denominator away from 0: the domain is (0,∞). f(x)=0⟺lnx=0⟺x=1, and since x>0, f has the sign of lnx: negative on (0,1), positive on (1,∞). As x→0+, lnx→−∞ while x→0+: the form is 0+−∞, which is NOT indeterminate. A very large negative number divided by a very small positive one is very large and negative: f→−∞, and x=0 is a vertical asymptote, from the right only. A student who applies L'Hospital's rule here writes 11/x→+∞, the wrong sign, because the rule needs 00 or ∞∞ and its conclusion is false outside those forms. As x→∞, the form is ∞∞ and the rule applies: lim11/x=0. So y=0 is a horizontal asymptote as x→∞, approached from above since f>0 there.
b)
Quotient rule: f′(x)=x2x1⋅x−lnx⋅1=x21−lnx. Since x2>0, f′ has the sign of 1−lnx, positive exactly when lnx<1, that is x<e, because ln is increasing. So f increases on (0,e] and decreases on [e,∞), and e is the only critical number. The local maximum is the absolute one: f(e)=elne=e1.
c)
Write f′(x)=(1−lnx)x−2; product rule: f′′(x)=−x1⋅x−2+(1−lnx)(−2x−3)=x3−1−2+2lnx=x32lnx−3. As x3>0, f′′ has the sign of 2lnx−3: negative for x<e3/2, positive after. Inflection point at x=e3/2=ee, with f(e3/2)=e3/23/2=23e−3/2. The position is coherent with b): after its maximum the curve decreases toward an asymptote from above, so it must end up concave up, and the switch has to happen to the RIGHT of the maximum, which it does since e3/2>e. Order of magnitude: e≈1.65 because 1.652≈2.72, so e3/2≈4.5.
d)
Table: from x=0+, where f→−∞, the curve rises, concave down, through (1,0) to its top (e,e1), then decreases, still concave down, until the inflection point near x=4.5, and finally decreases concave up toward y=0. The maximum and the inflection point have close heights, e1 and 23e−3/2, which is why the right part of the graph looks almost flat. Range: on (0,e], f is continuous and increasing from −∞ to e1, so it takes every value of (−∞,e1]; on [e,∞) it takes only values of (0,e1]. The range is (−∞,e1].
e)
For x=0, g(−x)=−xln∣−x∣=−g(x): g is odd, its graph is symmetric about the origin, and g=f on (0,∞). The half turn about the origin carries every feature of the right half to the left half, changing the sign of BOTH coordinates. The maximum (e,e1) becomes a minimum (−e,−e1). The limit −∞ at 0+ becomes +∞ at 0−: x=0 is a vertical asymptote with opposite behaviours on its two sides. y=0 is an asymptote at both ends, approached from below as x→−∞. A half turn also swaps concave up and concave down, since g′′(x)=−f′′(−x): g is concave down on (−∞,−e3/2) and concave up on (−e3/2,0), and the inflection points are (e3/2,23e−3/2) and (−e3/2,−23e−3/2). At x=0 the concavity changes as well, up on the left and down on the right, but 0 is not in the domain: no inflection point there. Symmetry is one line of the checklist, and this is what it is worth: half the work for free, provided each feature is transformed, a maximum into a minimum and one concavity into the other.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 5: Three graphs to match: f, f prime and f double prime on one figure
14 answers to check
The figure shows, on [−1,5], the graphs of a function f, of its derivative f′ and of its second derivative f′′, labelled A, B and C in no particular order. The function is f(x)=xe−x, but part a) must be answered from the figure alone.
Matching graphs is the sketching skill read backwards: each feature of one curve must appear, at the same x, as a sign or a zero on another.
a) From the figure alone, decide which curve is f, which is f′ and which is f′′. Give at least two independent reasons.
b) Compute f′(x) and f′′(x) and check your answer to a) on the zeros and on the values at x=0.
c) Find the exact local extremum and the exact inflection point of f, and the intervals where f increases and where it is concave up.
d) Find the limits of f at −∞ and at +∞, and its horizontal asymptote.
e) Prove by induction that f(n)(x)=(−1)n(x−n)e−x for every n≥1. What does this say about the positions of the zeros seen on the figure?
Show the solution
Answers
a)B is f, C is f′, A is f′′.
b)f′(x)=(1−x)e−x, zero at 1; f′′(x)=(x−2)e−x, zero at 2; f′(0)=1, f′′(0)=−2.
c)Max f(1)=e1; inflection point (2,e22); increasing on (−∞,1], concave up on (2,∞).
d)f→−∞ as x→−∞; f→0 as x→∞: asymptote y=0 on the right only.
e)f(n) vanishes only at x=n: each zero sits one unit to the right of the previous one.
a)
First reason, zeros against horizontal tangents. B has exactly one horizontal tangent, a maximum near x=1, and C crosses zero at x=1, positive before and negative after: C is positive exactly where B increases, so C is the derivative of B. Second, C has a horizontal tangent, a minimum near x=2, and A crosses zero at x=2, negative before and positive after: A is the derivative of C. Third, an independent check on concavity: B is concave down around its maximum and becomes concave up after x=2, exactly where A changes from negative to positive. So B is f, C is f′ and A is f′′. The tempting shortcut, taking the tallest curve for f, has no basis: a derivative can be larger than its function, as C is on the left.
b)
Product rule, with the chain rule on e−x (inner function −x): f′(x)=e−x+x(−e−x)=(1−x)e−x. Again: f′′(x)=−e−x+(1−x)(−e−x)=(x−2)e−x. Since e−x>0, the zeros are 0 for f, 1 for f′ and 2 for f′′: B passes through the origin, C crosses at 1, A at 2, as read in a). At x=0: f′(0)=1 and f′′(0)=−2, and C does pass through (0,1), A through (0,−2).
c)
f′ has the sign of 1−x: f increases on (−∞,1] and decreases on [1,∞), with maximum f(1)=e−1=e1, absolute since it is the only critical number and the test changes sign there. f′′ has the sign of x−2: concave down on (−∞,2), concave up on (2,∞), and the inflection point is (2,2e−2)=(2,e22). At the inflection point f decreases FASTEST: that is where f′ reaches its minimum, the bottom of curve C, with f′(2)=−e−2. An inflection point of f is always an extremum of f′ when f′′ changes sign.
d)
As x→−∞, x→−∞ and e−x→+∞: the product tends to −∞, and no indeterminate form arises. As x→∞, xe−x=exx has the form ∞∞, and L'Hospital's rule gives limex1=0. So y=0 is a horizontal asymptote as x→∞ only, approached from above since f>0 for x>0. On the left there is no asymptote at all, and the sketch must show the curve plunging.
e)
For n=1: (−1)1(x−1)e−x=(1−x)e−x=f′(x). Assume f(n)(x)=(−1)n(x−n)e−x. By the product rule, f(n+1)(x)=(−1)n[e−x−(x−n)e−x]=(−1)n(n+1−x)e−x=(−1)n+1(x−(n+1))e−x, the formula at rank n+1. So f(n) has a single zero, at x=n, where it changes sign. Consequently f(n−1) has its only extremum at x=n, and f(n−2) its only inflection point there. This is the staircase on the figure: the maximum of B stands above the zero of C at 1, the minimum of C above the zero of A at 2, and A itself has its maximum at 3, where f′′′=−(x−3)e−x vanishes.
Points are earned before the solution; after it, you can keep practising.
For you:
Part B: problems and reasoning (/50)
Exercise 6: From a sign table to the graph, and a table that cannot exist
9 answers to check
Every complete study ends in a sign table, and the sketch is only that table drawn. Here the table is GIVEN, for a function f defined on R∖{−1}; the double bar marks the value excluded from the domain, and the arrows show where f increases and decreases.
Parts a) to c) use the table only. The formula comes in d).
a) Read the table: domain, asymptotes (with the side of each limit), local extrema and inflection points. Is there an extremum at x=−1?
b) Find the sign of f on each interval and the range of f, justifying from the table alone.
c) Sketch a graph that respects every entry of the table.
d) Show that f(x)=(x+1)24x matches every entry of the table.
e) A student claims that some function, defined and twice differentiable on all of R, satisfies f(x)>0, f′(x)<0 and f′′(x)<0 for every x. Prove that no such function exists.
Show the solution
Answers
a)Domain R∖{−1}; x=−1 with f→−∞ on both sides; y=0 at both ends; local max (1,1); inflection point (2,98); no extremum at −1.
b)f<0 on (−∞,−1) and (−1,0), f(0)=0, f>0 on (0,∞); range (−∞,1].
c)See the figure: two branches plunging along x=−1, the right one rising to (1,1) and settling on y=0 from above.
d)f′(x)=(x+1)34(1−x), f′′(x)=(x+1)48(x−2); signs, values and limits all agree.
e)Concave down, the graph lies below its tangent at 0, of negative slope, so f→−∞: contradiction with f>0.
a)
The domain is R∖{−1}. Just left of the double bar the row of f ends at −∞, and just right of it the row restarts at −∞: x=−1 is a vertical asymptote with f→−∞ on BOTH sides. The row starts at 0 at −∞ and ends at 0 at +∞: y=0 is a horizontal asymptote at both ends. f′ changes from + to − at x=1, where f=1: local maximum (1,1). f′ also changes sign across −1, but −1 is not in the domain, so there is no extremum there. f′′ changes from − to + at x=2, a point of the domain: inflection point (2,98). Across −1 the concavity does not even change.
b)
On (−∞,−1), f decreases from the limit 0 toward −∞, so all its values are below 0. On (−1,0], f increases from −∞ to f(0)=0, so f<0 on (−1,0). On [0,1], f increases from 0 to 1. On [1,∞), f decreases strictly toward the limit 0 and stays ABOVE it: if some f(b)≤0 with b>1, then f(x)<f(b)≤0 for x>b, and the limit would be at most f(b+1)<0, not 0. So f>0 on (0,∞). Range: (−1,0] already gives (−∞,0] and [0,1] gives [0,1], so the range is (−∞,1], the maximum 1 being absolute.
c)
The sketch follows the columns. Left branch: it leaves y=0 from below and falls, concave down, into −∞ along x=−1. Right of the asymptote: the curve rises from −∞, concave down, through the origin to the top (1,1), falls, still concave down, to (2,98), then keeps falling, concave up, toward y=0 from above. The table gives no other values: a sketch only has to respect EVERY entry, and the figure shows one that does.
d)
Quotient rule: f′(x)=(x+1)44(x+1)2−4x⋅2(x+1)=(x+1)44(x+1)[(x+1)−2x]=(x+1)34(1−x). Signs: for x<−1, (−)(+)<0; on (−1,1), (+)(+)>0; for x>1, (+)(−)<0. Next, from f′(x)=4(1−x)(x+1)−3, the product rule gives f′′(x)=4[−(x+1)−3−3(1−x)(x+1)−4]=(x+1)44[−(x+1)−3+3x]=(x+1)48(x−2), with the sign of x−2 since (x+1)4>0: negative on both sides of −1, zero at 2, positive after. Values: f(0)=0, f(1)=44=1, f(2)=98. Limits: degree 1 over degree 2 gives 0 at ±∞; at −1 the numerator tends to −4 and (x+1)2→0+ from both sides, so f→−∞ on both sides. Every entry matches.
e)
Suppose such an f exists, and let m=f′(0)<0. Since f′′<0, f′ is decreasing, so f′(c)≤m for every c≥0. For x>0, the Mean Value Theorem on [0,x] (valid since f is differentiable everywhere) gives some c in (0,x) with f(x)=f(0)+f′(c)x≤f(0)+mx. As x→∞, f(0)+mx→−∞ because m<0, so f(x)→−∞, contradicting f>0. Geometrically: a concave down curve lies below each of its tangent lines, and a tangent with negative slope eventually crosses below the axis. This is why the table above NEEDS its inflection point at x=2: a decreasing curve that settles on a horizontal asymptote from above must end up concave up.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 7: A trigonometric function on one period: symmetry, a flat point and four inflections
15 answers to check
Sketch f(x)=2cosx+sin2x on one period, [0,2π]. A trigonometric function has no asymptote: the checklist lives in its symmetries and in trigonometric equations solved EXACTLY, with the double angle identities sin2x=2sinxcosx and cos2x=1−2sin2x.
No calculator: an angle that is not a standard one is written with arcsin.
a) Show that f has period 2π and that f(π−x)=−f(x). What symmetry of the graph does this give? Find the zeros of f in [0,2π] by factoring.
b) Show that f′(x)=−2(2sinx−1)(sinx+1) and find the critical numbers in [0,2π].
c) Classify each critical number with a sign table of f′, give the exact values, and compare them with f(0) and f(2π).
d) Show that f′′(x)=−2cosx(1+4sinx) and find the four inflection points in (0,2π), with exact coordinates. Let α=arcsin41.
e) Sketch the graph on [0,2π] and give the absolute maximum and minimum of f on that interval.
Show the solution
Answers
a)Period 2π; the graph is symmetric about the point (2π,0); zeros 2π and 23π.
b)6π, 65π and 23π.
c)Local max f(6π)=233, local min f(65π)=−233; at 23π a horizontal tangent and no extremum; f(0)=f(2π)=2.
e)Absolute max 233 at 6π, absolute min −233 at 65π.
a)
cosx has period 2π and sin2x has period π, which divides 2π, so f(x+2π)=f(x): one period tells everything. Next, f(π−x)=2cos(π−x)+sin(2π−2x)=−2cosx−sin2x=−f(x). Writing x=2π−t, this reads f(2π+t)=−f(2π−t): the graph is symmetric about the POINT (2π,0), a half turn. With sin2x=2sinxcosx, f(x)=2cosx(1+sinx), so f=0⟺cosx=0 or sinx=−1, that is x=2π or x=23π. Since 1+sinx≥0, f has the sign of cosx: positive on [0,2π) and (23π,2π], negative in between.
b)
Chain rule on sin2x, inner function 2x: f′(x)=−2sinx+2cos2x. With cos2x=1−2sin2x: f′(x)=−2sinx+2−4sin2x=−2(2sin2x+sinx−1)=−2(2sinx−1)(sinx+1), the factorization of 2u2+u−1 with u=sinx. f′ exists everywhere, and f′(x)=0⟺sinx=21 or sinx=−1: the critical numbers in [0,2π] are 6π, 65π and 23π.
c)
The factor sinx+1 is ≥0 and vanishes only at 23π, so apart from that point f′ has the sign of 1−2sinx: positive where sinx<21, on [0,6π) and (65π,2π], negative on (6π,65π). So f has a local maximum f(6π)=2⋅23+sin3π=3+23=233 and a local minimum f(65π)=−233, as the symmetry of a) predicts since 65π=π−6π. At 23π, f′ is positive on BOTH sides: f keeps increasing through a horizontal tangent, and there is no extremum. A table that marks every zero of f′ as an extremum draws a false bump there. Endpoints: f(0)=f(2π)=2, and (233)2=427>4=22, so the maximum beats the endpoints.
d)
Differentiate f′(x)=−2sinx+2cos2x, with the chain rule on cos2x: f′′(x)=−2cosx−4sin2x=−2cosx−8sinxcosx=−2cosx(1+4sinx). Zeros in (0,2π): cosx=0 at 2π and 23π; sinx=−41 in the third and fourth quadrants, at π+α and 2π−α with α=arcsin41, and 0<α<6π since 41<21. Signs of f′′ on the five intervals: − on (0,2π), + on (2π,π+α), − on (π+α,23π), + on (23π,2π−α), − on (2π−α,2π). Four sign changes, four inflection points. Values from f=2cosx(1+sinx): at sinx=−41, 1+sinx=43 and cosx=∓1−161=∓415, so f(π+α)=−8315 and f(2π−α)=8315; and f=0 at 2π and 23π. At 23π the curve is flat AND changes concavity: an inflection point with a horizontal tangent.
e)
Left to right: from (0,2) the curve rises, concave down, to (6π,233); falls through the inflection point (2π,0) to (65π,−233); rises concave up, bends at π+α, flattens to a horizontal tangent at (23π,0) and keeps rising, concave up, through 2π−α, then concave down to (2π,2). The half turn about (2π,0) is visible on the first half. On the closed interval [0,2π] the absolute extrema are among the critical values and the endpoint values 2, 233, −233, 0: the absolute maximum is 233 at 6π and the absolute minimum −233 at 65π. Check: 8315<2 since 64135<4, so the last inflection point sits below the endpoint, as a rising curve requires.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 8: Five statements to correct
6 answers to check
Each statement below was written by a student while sketching a graph for MATH 140, and each is false. Say what is wrong, give a counterexample, and write the correct statement.
a) If the concavity of f changes at x=a, then f has an inflection point at a.
b) A graph can never cross its horizontal asymptote.
c) If the denominator of a rational function vanishes at x=a, then the line x=a is a vertical asymptote.
d) If f′(a) does not exist, then the graph of f has a vertical asymptote or a break at x=a.
e) If xf(x)→1 as x→∞, then the line y=x is a slant asymptote.
Show the solution
Answers
a)False: x1 changes concavity at 0, which is not in the domain. True when a is in the domain and f is continuous at a.
b)False: x2+1x crosses y=0 at x=0; the function of Exercise 2 crosses y=1 at −34.
c)False: x2−1x2−3x+2=x+1x−2 for x=1 has a hole at (1,−21).
d)False: x2/3(x−5) is continuous at 0 with a cusp; 3x has a vertical tangent at 0.
e)False: x+lnx has xf(x)→1 but f(x)−x=lnx→∞.
a)
FALSE. f(x)=x1 has f′′(x)=x32, negative for x<0 and positive for x>0: the concavity changes at 0, but there is no point (0,f(0)) on the graph. The same happens at x=±2 in Exercise 1 and at x=0 for xex in Exercise 10. Correct statement: if a is in the domain, f is continuous at a and the concavity changes at a, then (a,f(a)) is an inflection point. Note that f′′(a) need not exist: 3x has an inflection point at the origin, where f′′ is undefined.
b)
FALSE. A horizontal asymptote describes f(x) as x→∞ or x→−∞ only; it says nothing at finite x. f(x)=x2+1x tends to 0 at both ends and equals 0 at x=0: it crosses its asymptote y=0 at the origin. The function of Exercise 2 crosses y=1 at x=−34, and xsinx crosses y=0 infinitely many times. Correct statement: the graph may cross a horizontal asymptote, even infinitely often; what is true is that f(x) gets as close as we like to the asymptote's value for x large enough.
c)
FALSE. f(x)=x2−1x2−3x+2=(x−1)(x+1)(x−1)(x−2), and for x=1 the common factor cancels: f(x)=x+1x−2. At x=1 the limit is 1+11−2=−21, finite: the graph has a HOLE at (1,−21), drawn as an open circle, and no asymptote. At x=−1 the reduced numerator tends to −3=0: that one is a genuine vertical asymptote. Correct statement: cancel the common factors first; x=a is a vertical asymptote when the limit of f at a is infinite, which for a reduced fraction means a zero of the denominator where the numerator does not vanish. The figure shows both situations on one graph.
d)
FALSE. f(x)=x2/3(x−5) of Exercise 3 is continuous at 0 with f(0)=0, and f′(0) does not exist: the graph has a cusp, no break at all. 3x is continuous and increasing through 0, with f′(x)=3x2/31→∞: a vertical TANGENT, not an asymptote. ∣x∣ has a corner. Correct statement: if a is in the domain and f′(a) does not exist, a is a critical number, and the graph may have a corner, a cusp or a vertical tangent there. A vertical asymptote needs an infinite limit of f itself, not of f′.
e)
FALSE. Take f(x)=x+lnx for x>0: xf(x)=1+xlnx→1, by the limit of Exercise 4, but f(x)−x=lnx→∞. The vertical gap between the curve and the line y=x grows without bound: the curve runs parallel to that direction without approaching the line. Correct statement: y=mx+b is a slant asymptote as x→∞ exactly when f(x)−(mx+b)→0. The limit m=limxf(x) is only the first step; b=lim(f(x)−mx) must then exist and be finite.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 9: A final exam problem: slant asymptote, a flat point and a maximum below a minimum
14 answers to check
A typical long question from a MATH 140 final: every item of the checklist appears, and the marks go to the justification of each line of the table. Let f(x)=x2−3x3.
No calculator. For the sketch only, 3≈1.73.
a) Find the domain, the intercepts and the symmetry of f. Find the vertical asymptotes, with the sign of the limit on each side.
b) Show that f(x)=x+x2−33x. Deduce the slant asymptote and the position of the curve relative to it on each interval. Where does the graph meet its asymptote?
c) Show that f′(x)=(x2−3)2x2(x2−9) and find the local extrema. What happens at x=0?
d) Show that f′′(x)=(x2−3)36x(x2+9). Study the concavity and find the inflection points.
e) Sketch the graph. The local maximum value is smaller than the local minimum value: explain why this is not a contradiction, and give the range of f.
Show the solution
Answers
a)Domain R∖{±3}; only intercept (0,0); f is odd; f→−∞ as x→3−, +∞ as x→3+, −∞ as x→−3−, +∞ as x→−3+.
b)Slant asymptote y=x; curve above it on (−3,0) and (3,∞), below on (−∞,−3) and (0,3); they meet only at the origin.
c)Local max f(−3)=−29, local min f(3)=29; f′(0)=0 but no extremum at 0.
d)Concave down on (−∞,−3) and (0,3), up on (−3,0) and (3,∞); only inflection point (0,0).
e)The two values lie on different branches; range R.
a)
x2−3=0⟺x=±3: the domain is R∖{−3,3}. f(x)=0⟺x=0: the only intercept is the origin. f(−x)=x2−3−x3=−f(x): f is odd, the graph symmetric about the origin. At 3 the numerator tends to 33>0 and the denominator to 0, with the sign of x2−3: f→−∞ as x→3− and f→+∞ as x→3+. By oddness, f→−∞ as x→−3− and f→+∞ as x→−3+. No factor cancels: two vertical asymptotes. Writing the four one-sided limits, not just ±∞, is what allows the branches to be drawn on the right side of each line.
b)
Long division: x3=x(x2−3)+3x, so f(x)=x+x2−33x. As x→±∞, x2−33x→0 (degree 1 over degree 2), so f(x)−x→0 and y=x is a slant asymptote at both ends. The position of the curve is the sign of f(x)−x=x2−33x: for x<−3, (+)(−)<0, below; on (−3,0), (−)(−)>0, above; on (0,3), below; for x>3, above. The curve meets the line where x2−33x=0, only at x=0: the graph CROSSES its slant asymptote at the origin, which is allowed, as for a horizontal one.
c)
Quotient rule: f′(x)=(x2−3)23x2(x2−3)−x3⋅2x=(x2−3)2x4−9x2=(x2−3)2x2(x2−9). Since x2≥0 and the denominator is positive, f′ has the sign of x2−9, except at 0 where it vanishes: f′>0 for ∣x∣>3, f′<0 for ∣x∣<3, x=0,±3. Critical numbers: −3, 0, 3. At −3, f′ goes from + to −: local maximum f(−3)=6−27=−29. At 3, from − to +: local minimum f(3)=29. At 0, f′ is negative on BOTH sides: a horizontal tangent with no extremum, the curve keeps decreasing through the origin. So f increases on (−∞,−3], decreases on [−3,−3) and on (−3,3), decreases on (3,3] and increases on [3,∞).
d)
x2+9>0, so f′′ has the sign of (x2−3)3x, which is the sign of x2−3x: negative for x<−3, positive on (−3,0), negative on (0,3), positive for x>3. The concavity changes at 0, −3 and 3, but only 0 is in the domain: the only inflection point is (0,0), where the tangent is horizontal. A remark that saves time on the sketch: this is exactly the sign pattern of b). The curve is concave up where it lies above its asymptote and concave down where it lies below, as it must be to approach the line from that side.
e)
The sketch has three branches: on the left, the curve comes up from below the line y=x, reaches (−3,−29) and dives to −∞ along x=−3, concave down; in the middle, it comes down from +∞ along x=−3, crosses the asymptote at the origin with a horizontal tangent, and falls to −∞ along x=3; on the right, it comes down from +∞ to (3,29) and rises back toward y=x from above. A LOCAL maximum is compared only with its neighbours: −29 is the top of the left branch, which lives entirely in (−∞,−29], and nothing forces it above a point of another branch. The asymptotes separate the branches, so local maximum below local minimum is not a contradiction. Range: the middle branch alone, continuous and decreasing from +∞ to −∞, takes every real value, so the range is R.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 10: A final exam problem: e to the x over x, and the number of solutions of e to the x equals kx
15 answers to check
Another final exam question, in which the sketch is not the end but the tool. Let f(x)=xex.
The figure shows the curve y=ex and four lines y=kx through the origin, for k=−1, k=1, k=e and k=4. It suggests an answer to part e); only the study of f can prove it.
a) Find the domain, the sign and the intercepts of f. Find the limits of f at −∞, 0−, 0+ and +∞, naming each form.
b) Show that f′(x)=x2ex(x−1), and find the intervals of increase and decrease and the local extrema.
c) Show that f′′(x)=x3ex(x2−2x+2) and study the concavity. Does f have an inflection point?
d) Sketch the graph of f and give its range.
e) Using the graph of f, find, according to the value of the real number k, the number of real solutions of ex=kx. Compare with the figure, and explain what is special about the line y=ex.
Show the solution
Answers
a)Domain R∖{0}; no intercept; f<0 for x<0, f>0 for x>0; limits 0 (from below), −∞, +∞, +∞.
b)Decreasing on (−∞,0) and on (0,1], increasing on [1,∞); local min f(1)=e.
c)Concave down on (−∞,0), up on (0,∞); no inflection point.
d)Range (−∞,0)∪[e,∞).
e)k<0: one solution; 0≤k<e: none; k=e: one (x=1); k>e: two. The line y=ex is tangent to y=ex at (1,e).
a)
The domain is R∖{0}. Since ex>0, f has the sign of x, never vanishes, and 0 is not in the domain: no intercept at all. As x→−∞, ex→0+ and x→−∞: a small positive number over a large negative one, NOT an indeterminate form, so f→0 from below and y=0 is a horizontal asymptote on the left. As x→0−, xex is of the form 0−1: f→−∞; as x→0+, 0+1: f→+∞. So x=0 is a vertical asymptote. As x→∞, the form ∞∞ IS indeterminate, and L'Hospital's rule gives lim1ex=∞. No asymptote on the right: not even a slant one, since xf(x)=x2ex→∞ by the rule applied twice.
b)
Quotient rule: f′(x)=x2ex⋅x−ex⋅1=x2ex(x−1). With ex>0 and x2>0, f′ has the sign of x−1. The only critical number is 1, since 0 is not in the domain. f decreases on (−∞,0) and on (0,1], increases on [1,∞), and has a local minimum f(1)=e. It is the lowest point of the right branch, NOT the absolute minimum of f: the left branch goes down to −∞.
c)
Write f′(x)=ex(x−1−x−2); product rule: f′′(x)=ex(x−1−x−2)+ex(−x−2+2x−3)=ex(x−1−2x−2+2x−3)=x3ex(x2−2x+2). Completing the square, x2−2x+2=(x−1)2+1>0, so f′′ has the sign of x3, that is of x: concave down on (−∞,0), concave up on (0,∞). The concavity changes at 0, but 0 is not in the domain: no inflection point.
d)
Left branch: it leaves y=0 from below and plunges, decreasing and concave down, to −∞ along the y-axis. Right branch: it comes down from +∞ along the y-axis, concave up, to its bottom (1,e), then climbs faster and faster. Range: the left branch, continuous and decreasing from 0− to −∞, takes every value of (−∞,0); the right branch takes every value of [e,∞), twice for values above e. The range is (−∞,0)∪[e,∞): the values of [0,e) are never taken.
e)
x=0 is never a solution of ex=kx, since e0=1=0. So for x=0 we may divide: ex=kx⟺xex=k⟺f(x)=k, and the number of solutions is the number of points where the horizontal line y=k meets the graph of f. If k<0, the left branch takes the value k exactly once (strictly decreasing and continuous from 0 to −∞), the right branch never: ONE solution. If 0≤k<e: NONE, by the range. If k=e: only x=1, ONE solution. If k>e: once on (0,1) and once on (1,∞), TWO solutions. The figure agrees: y=−x meets y=ex once on the left, y=x never, y=4x twice. And y=ex touches y=ex at (1,e) with the same slope, since (ex)′=e1=e at x=1: it is the tangent to y=ex through the origin. The borderline value k=e is exactly the minimum of f, and no picture could have told a tangent from two crossings very close together: the sign table decides.
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.