MATH 140 practice midterm with full solutions (McGill)
This is a practice midterm for MATH 140, Calculus 1, the differential calculus course of the first year at McGill University. It covers the first ten chapters of the course, the usual scope of the midterm: functions and their transformations, exponential, logarithmic and inverse functions, limits and the limit laws, continuity and the Intermediate Value Theorem, infinite limits and asymptotes, the derivative as a limit, the power, product and quotient rules, the derivatives of the trigonometric functions, the chain rule, and implicit differentiation. Eight questions, one hundred points, two parts: four short questions worth forty-two points, then four long problems worth fifty-eight.
Sit it as an exam: ninety minutes on a timer, the length of an evening midterm, with no calculator and no notes. Every answer is exact, 274, 24π3, a slope of −ln2, never a decimal from a machine, and every mark goes to the method: name the factor that cancels, the box of θsinθ, the three hypotheses of the Intermediate Value Theorem, the inner function of every chain rule. Not one question repeats an exercise of the ten chapter sets of this site: the gestures are the ones the examiners ask for, the functions are new, so the paper measures what you can do and not what you remember having read. Each question has its Answers box for a first quick marking, and the full reasoning underneath for the second pass.
The traps named in the solutions: reading the domain of a composition on its simplified formula, keeping a candidate that makes a logarithm undefined, applying the product law to a factor with no limit, concluding from two values of the same sign that there is no root, forgetting that x2=∣x∣ at −∞, calling every zero of a denominator an asymptote, imposing equal slopes before continuity, dropping a factor that vanishes when solving g′(x)=0, reading (g−1)′(b) at b instead of at g−1(b), and treating y as a constant in a second implicit derivative.
Self-checking setType your answers under each question: the page tells you right or wrong before you open the solution. With an account, every answer right on the first try earns points.
Exercise 1: Domains of a composition, an inverse, and a logarithm that hides a solution
Parts a) to d) are independent. The figure belongs to part b): it shows f(x)=ln(ex−1) in blue, its inverse in orange, and the dashed line y=x, with equal scales on both axes.
a) Let p(x)=6−x and q(x)=x2+2. Find p∘q and q∘p, each with its domain.
b) Let f(x)=ln(ex−1). Find the domain and the range of f, show that f is one-to-one, and find f−1(x) with its domain and range. Check one value on the figure.
c) Solve ln(x+1)+ln(x−2)=ln(4x−8).
d) Find the exact value of tan(2arccos(−31)).
Show the solution
Answers
a)(p∘q)(x)=4−x2 on [−2,2]; (q∘p)(x)=8−x on (−∞,6]
b)Domain (0,∞), range R; f−1(x)=ln(1+ex), domain R, range (0,∞); f(ln2)=0
c)x=3 only (x=2 is rejected)
d)742
a) (p∘q)(x)=p(x2+2)=6−(x2+2)=4−x2. The domain is read on the two steps: q accepts every real x, and q(x) must lie in the domain of p, that is x2+2≤6, so x2≤4 and x∈[−2,2]. Then (q∘p)(x)=(6−x)2+2=8−x. The simplified formula accepts every x, but the first step does not: p(x) exists only for x≤6. The domain of q∘p is (−∞,6], and reading it on 8−x is the classic error.
b) Domain: ex−1>0 means ex>1, so x>0; the domain is (0,∞). Range: as x runs over (0,∞), ex−1 takes every value of (0,∞), and ln takes every real value on (0,∞), so the range is R. One-to-one: if f(a)=f(b), then applying e(⋅) gives ea−1=eb−1, so ea=eb and a=b, since ex is one-to-one.
Inverse: from y=ln(ex−1), ey=ex−1, so ex=1+ey and x=ln(1+ey). Renaming, f−1(x)=ln(1+ex). Its domain is the range of f, R, and its range is the domain of f, (0,∞): indeed 1+ex>1, so ln(1+ex)>0. Check: f−1(0)=ln2 and f(ln2)=ln(2−1)=0. On the figure, the blue curve meets the x-axis at ln2≈0.69 and the orange one meets the y-axis at the same height: the two marked points are mirror images in y=x.
c) Domain first: the three logarithms need x>−1, x>2 and 4x−8>0, so x>2. On that domain the product law applies: ln((x+1)(x−2))=ln(4(x−2)), and since ln is one-to-one, (x+1)(x−2)=4(x−2). Do not divide by x−2: factor, (x−2)(x+1−4)=0, so x=2 or x=3. The candidate x=2 is outside the domain (ln0 does not exist) and is rejected. Check x=3: ln4+ln1=ln4. The only solution is x=3.
d) Let θ=arccos(−31). The range of arccos is [0,π], and cosθ<0, so θ lies in (2π,π), where sinθ>0: sinθ=1−91=322. Then sin2θ=2sinθcosθ=2⋅322⋅(−31)=−942 and cos2θ=2cos2θ−1=92−1=−97. So tan2θ=−7/9−42/9=742. The sign is consistent: 2θ lies in (π,2π) with sine and cosine both negative, the third quadrant, where the tangent is positive. The formula tan2θ=1−tan2θ2tanθ with tanθ=−22 gives −7−42, the same value.
Tick the exercises you have done or want to review: a free account, no password, keeps your ticks from one visit to the next and tells you which chapter to tackle next. Create your space, an email is enough.
Exercise 2: Four limits: factor, conjugate, match the sine, squeeze
Evaluate each limit exactly. The first line of each answer must NAME the move: the factor that cancels, the conjugate, the standard limit limθ→0θsinθ=1 (which you may use), or the two bounds of the squeeze theorem. No L'Hospital's rule: it comes much later in the course.
a) x→3limx3−27x2−2x−3
b) x→3limx2−92x+3−3
c) x→0limxsin(x2+3x)
d) x→0+limxesin(1/x). Why is it one-sided, and why can the product law not be used?
Show the solution
Answers
a)274
b)181
c)3
d)0, by e−1x≤xesin(1/x)≤ex
a) Substitution gives 00: both polynomials vanish at 3, so both are divisible by x−3. Factor: x2−2x−3=(x−3)(x+1) and, by the difference of cubes, x3−27=(x−3)(x2+3x+9). For x=3 the quotient equals x2+3x+9x+1, a rational function defined at 3, so the limit is 9+9+94=274.
b) Form 00 with a root on top: multiply top and bottom by the conjugate 2x+3+3. The numerator becomes (2x+3)−9=2(x−3), and x2−9=(x−3)(x+3). For x=3 the quotient is (x+3)(2x+3+3)2, and the limit is 6⋅62=181.
c) The box of the standard limit must be the argument of the sine, u=x2+3x, which tends to 0 and is nonzero for 0<∣x∣<3. Write xsin(x2+3x)=usinu⋅xx2+3x=usinu⋅(x+3). As x→0, u→0 so the first factor tends to 1, and the second tends to 3: the limit is 3. Replacing sin(x2+3x) by sin(3x) because x2 is small happens to give the same number here, but it is not a move you can justify.
d) The factor x exists only for x≥0, so only x→0+ makes sense. The factor esin(1/x) has NO limit at 0: sin(1/x) oscillates between −1 and 1 infinitely often. The product law needs the limit of each factor, so it cannot be used. Squeeze: −1≤sin(1/x)≤1, and et is increasing, so e−1≤esin(1/x)≤e. Multiplying by x≥0 keeps the inequalities: e−1x≤xesin(1/x)≤ex. Both bounds tend to 0 as x→0+, so the limit is 0.
Exercise 3: Two constants for continuity, then the Intermediate Value Theorem
Parts b) and c) are independent of a). The figure belongs to b) and c): it shows y=cosx in blue and y=x2−1 in orange.
a) Find the constants a and b such that f is continuous on R, where f(x)=2xsin6x if x<0, f(x)=ax+b if 0≤x≤2, and f(x)=x+2−2x2−4 if x>2.
b) Prove that the equation cosx=x2−1 has at least two real solutions. Name the function, the interval and each hypothesis.
c) A student applies the theorem on [−2π,2π], finds values of the same sign at both ends, and concludes that the equation has no solution in that interval. Correct him. Then show that every solution lies in [−2,2], and say whether the theorem tells you how many solutions there are.
Show the solution
Answers
a)b=3, a=213
b)h(x)=cosx−x2+1: h(0)=2>0, h(2π)=1−4π2<0; a root c in (0,2π), and −c by parity
c)Same signs prove nothing (two roots inside); x2−1=cosx≤1 gives ∣x∣≤2; the IVT gives existence only
a) On each open interval the formula is continuous: 2xsin6x is a quotient of continuous functions whose denominator is not 0 for x<0; ax+b is a polynomial; for x>2, x+2>2, so the last denominator is not 0. Only the seams 0 and 2 remain. At 0: f(0)=b, the right limit is b, and the left limit is limx→0−3⋅6xsin6x=3, the box 6x matched on top and bottom. So b=3.
At 2: f(2)=2a+3 is also the left limit. The right piece is of the form 00 at 2 and must be simplified, never plugged in: multiplying by the conjugate x+2+2, the denominator becomes (x+2)−4=x−2, so for x>2, x+2−2x2−4=x−2(x−2)(x+2)(x+2+2)=(x+2)(x+2+2), which tends to 4⋅4=16. Continuity at 2 requires 2a+3=16, so a=213.
b) Let h(x)=cosx−x2+1; the solutions of the equation are the zeros of h. The function h is the sum of cos and a polynomial, so it is continuous on R, in particular on the closed interval [0,2π]. The values: h(0)=1−0+1=2>0 and h(2π)=0−4π2+1<0, because π>2 gives π2>4. Since 0 lies strictly between h(2π) and h(0), the Intermediate Value Theorem gives c in (0,2π) with h(c)=0.
Second solution: h is even, since cos(−x)=cosx and (−x)2=x2. So h(−c)=h(c)=0, and −c=c because c>0. (Equally, the theorem applies on [−2π,0].) The figure agrees: the two curves cross twice, symmetrically, a little to each side of x=±1.
c) h(−2π)=h(2π)=1−4π2<0: same sign at both ends, so the theorem gives NOTHING on that interval. It does not say that there is no zero; it is silent, and here there are two zeros inside, one on each side of 0. Location: if cosx=x2−1, then x2−1≤1 because cosx≤1, so x2≤2 and ∣x∣≤2. The theorem is an existence theorem: it guarantees at least one zero on each of the two intervals, and says nothing about how many there are. Proving that there are exactly two needs a tool from later in the course.
Exercise 4: Every asymptote, a hole that is not one, and square roots at infinity
The figure belongs to part a): it shows the graph of f, the dashed lines x=−1 and y=2, and an open dot at x=1. Every limit must come from the formula; the figure only lets you check.
a) Let f(x)=x2−12x2+3x−5. Find the vertical asymptotes with the two one-sided limits, the horizontal asymptotes, and explain what happens at x=1.
b) Let g(x)=x+29x2+x. Find limx→∞g(x) and limx→−∞g(x), and give all the horizontal asymptotes of its graph.
c) Find x→∞lim(x2+7x−x2+x).
Show the solution
Answers
a)Vertical x=−1: −∞ from the left, +∞ from the right; horizontal y=2; at x=1 a hole at (1,27), no asymptote
b)3 and −3: two horizontal asymptotes, y=3 and y=−3
c)3
a) Factor before deciding anything: 2x2+3x−5=(2x+5)(x−1) and x2−1=(x−1)(x+1). The denominator vanishes at 1 and at −1, but only a zero that the numerator does NOT share can give a vertical asymptote. At x=1 the factor cancels: for x=±1, f(x)=x+12x+5, so limx→1f(x)=27, a finite limit. The graph has a hole at (1,27), the open dot of the figure, and no asymptote there.
At x=−1 the numerator 2x+5 tends to 3>0 and x+1→0. For x→−1+, x+1>0, so f(x)→+∞; for x→−1−, x+1<0, so f(x)→−∞. The line x=−1 is a vertical asymptote. At infinity, divide by x2: f(x)=1−x212+x3−x25→2 as x→±∞, so y=2 is the only horizontal asymptote. Writing f(x)=2+x+13 shows the curve above it for x>−1 and below it for x<−1, as drawn.
b) The key fact is x2=∣x∣. For x=0 in the domain, 9x2+x=x2(9+x1)=∣x∣9+x1. As x→∞, ∣x∣=x and g(x)=x(1+2/x)x9+1/x=1+2/x9+1/x→3. As x→−∞, ∣x∣=−x, and g(x)=1+2/x−9+1/x→−3. Sign check: for large negative x the numerator is positive and x+2 is negative, so g<0. Two horizontal asymptotes: y=3 on the right and y=−3 on the left. Writing x9x2+x=9+x1 for negative x is the error that loses the second one.
c) A form ∞−∞, which is not a number: multiply and divide by the conjugate. x2+7x−x2+x=x2+7x+x2+x(x2+7x)−(x2+x)=x2+7x+x2+x6x. For x>0, divide top and bottom by x=x2: 1+x7+1+x16→1+16=3. The answer 0, from x2+7x≈x≈x2+x, forgets that the two errors are each of the size of a constant.
Part B: long problems (/58)
Exercise 5: The derivative from its definition, and a limit read backwards
In parts a), b) and d), the derivative must come from its definition as a limit; the differentiation rules may only be used to CHECK an answer. Part c) is independent.
a) Let f(x)=x+31. Find f′(1) with the form limh→0hf(1+h)−f(1), then the equation of the tangent line at x=1.
b) Let g(x)=x2+11. Find g′(x) by the definition, for every real x.
c) Each limit is a derivative F′(a): give F and a, then evaluate. (i) x→1limx−1x10−1; (ii) h→0limharctan(1+h)−4π.
d) Let k(x)=x2 for x≤1 and k(x)=ax+b for x>1. Find a and b such that k is differentiable at 1. Why must continuity be imposed first, and what does the graph look like with a=3, b=−2?
Show the solution
Answers
a)f′(1)=−161; tangent y=21−161(x−1)
b)g′(x)=−(x2+1)22x
c)(i) F(x)=x10, a=1: 10; (ii) F=arctan, a=1: 21
d)a+b=1 (continuity) and a=2 (equal one-sided slopes): a=2, b=−1; with a=3, b=−2, continuous with a corner
a) f(1)=21, so the quotient is h1(4+h1−21)=2h4+h2−4+h after a common denominator. It is still 00, with a root on top: multiply by the conjugate 2+4+h. The numerator becomes 4−(4+h)=−h, and for h=0 the quotient is 24+h(2+4+h)−1. Letting h→0: f′(1)=2⋅2⋅4−1=−161.
Tangent line: y=21−161(x−1), that is y=−16x+169. Check with the power rule, allowed as a check only: f(x)=(x+3)−1/2 gives −21(x+3)−3/2, which is −21⋅81=−161 at x=1.
b) g(x+h)−g(x)=(x+h)2+11−x2+11=((x+h)2+1)(x2+1)x2+1−(x+h)2−1=((x+h)2+1)(x2+1)−2xh−h2. Dividing by h=0, the factor h cancels: hg(x+h)−g(x)=((x+h)2+1)(x2+1)−2x−h. With x fixed and h→0, g′(x)=(x2+1)2−2x. The denominator never vanishes, so g is differentiable at every real x. Sanity check: g is even and peaks at x=0, and indeed g′(0)=0 and g′ is odd.
c) (i) With F(x)=x10 and a=1, F(1)=1 is the subtracted constant, so the limit is the second form of F′(1), and F′(1)=10⋅19=10. Algebra agrees: x10−1=(x−1)(x9+x8+⋯+x+1), and the ten terms of the second factor each tend to 1.
(ii) With F=arctan and a=1, F(1)=arctan1=4π is the subtracted constant: the limit is F′(1) in the h form. Since dxdarctanx=1+x21, it equals 21. No algebra could open arctan(1+h); recognizing the derivative is the only way.
d) Continuity at 1 comes first, because a function that is differentiable at a point is continuous there. The left value is k(1)=1 and the right limit is a+b, so a+b=1. If this fails, the right quotient ha(1+h)+b−1=h(a+b−1)+ah tends to ±∞ and no slope exists. With a+b=1, the right quotient is exactly hah=a, and the left quotient is h(1+h)2−1=2+h→2. The two one-sided derivatives are equal when a=2, so a=2 and b=−1: the line y=2x−1 is the tangent to the parabola at (1,1), and the two pieces join smoothly.
With a=3 and b=−2, still a+b=1: k is continuous at 1, but the one-sided slopes are 2 and 3. The graph has a corner at (1,1) and k is not differentiable there. Continuity is necessary, not sufficient.
Exercise 6: Power, product and quotient rules, and trigonometric derivatives, without the chain rule
No chain rule in this question. Before each derivative, name the rule and the two functions it combines. The figure belongs to part d): it shows g(x)=sinx(1+cosx) on [0,2π], with its three horizontal tangents dashed.
a) Let y=xx(x+1)2 for x>0. Rewrite y as a sum of powers of x, differentiate, write y′ as a single factored fraction, and give y′(1) and the point where the tangent is horizontal.
b) Let y=x+1xex for x=−1. Show that y′=(x+1)2ex(x2+x+1), and deduce that the graph has no horizontal tangent.
c) Let f(x)=1+sinxcosx. Show that f′(x)=−1+sinx1, then find the tangent line at x=6π.
d) Find the exact points of the graph of g(x)=sinx(1+cosx), 0≤x≤2π, where the tangent is horizontal. The product rule and sin2x=1−cos2x suffice.
Show the solution
Answers
a)y′=2x5/2(x−3)(x+1); y′(1)=−2; horizontal tangent at (3,3316)
a) Expand and divide term by term, with xx=x3/2: y=x3/2x2+2x+1=x1/2+2x−1/2+x−3/2. Power rule, term by term: y′=21x−1/2−x−3/2−23x−5/2. Over the common denominator 2x5/2: y′=2x5/2x2−2x−3=2x5/2(x−3)(x+1). Then y′(1)=2(−2)(2)=−2. For x>0 the factors x+1 and x5/2 are positive, so y′=0 only at x=3, where y=3316=9163.
b) Quotient rule with top u=xex and bottom v=x+1; the top itself needs the product rule, u′=ex+xex=ex(x+1). Then y′=(x+1)2ex(x+1)(x+1)−xex⋅1=(x+1)2ex(x2+2x+1−x)=(x+1)2ex(x2+x+1). A horizontal tangent needs y′=0, so a zero of the numerator. But ex>0, and x2+x+1=(x+21)2+43≥43 (its discriminant is −3<0). The numerator never vanishes: no horizontal tangent.
c) Quotient rule with u=cosx, u′=−sinx, v=1+sinx, v′=cosx: f′(x)=(1+sinx)2−sinx(1+sinx)−cosx⋅cosx=(1+sinx)2−sinx−(sin2x+cos2x)=(1+sinx)2−(1+sinx)=−1+sinx1, where sinx=−1. The identity sin2x+cos2x=1 is what collapses the numerator; the exam expects the short form.
At 6π: sin6π=21 and cos6π=23, so f(6π)=3/23/2=33 and f′(6π)=−3/21=−32. The tangent line is y=33−32(x−6π), with π kept as π.
d) Product rule with u=sinx and v=1+cosx: g′(x)=cosx(1+cosx)+sinx(−sinx)=cosx+cos2x−sin2x. Replace sin2x by 1−cos2x: g′(x)=2cos2x+cosx−1, a quadratic in c=cosx that factors as (2c−1)(c+1). So g′(x)=(2cosx−1)(cosx+1), and each factor is set to 0. First, cosx=21: x=3π or x=35π. Second, cosx=−1: x=π.
The points: g(3π)=23⋅23=433, g(π)=0, g(35π)=−23⋅23=−433. The figure shows the three, and the one at π deserves a look: the tangent is horizontal, yet the curve does not turn there, it keeps going down through the axis. A horizontal tangent is not the same thing as a peak or a valley. A student who expands g carelessly, or who drops the factor cosx+1, loses exactly that point.
Exercise 7: The chain rule: three layers, another base, and a curve under a root
Before each derivative, name the inner function (let u=…). Parts c) and d) use f(x)=x8−x2 for −22≤x≤22, whose graph is the figure, with three tangent lines dashed.
a) Let y=cos3(xπ). List its three layers, differentiate, and compute y′(3) exactly.
b) Find the tangent line to y=2cosx at x=2π.
c) Show that f′(x)=8−x28−2x2 for ∣x∣<22. Find the points where the tangent is horizontal, the tangent line at the origin, and what happens to f′(x) as x→(22)−.
d) Show that f′′(x)=(8−x2)3/22x(x2−12), and compute f′′(2).
Show the solution
Answers
a)y′=x23πsin(xπ)cos2(xπ); y′(3)=24π3
b)y=1−(ln2)(x−2π)
c)Horizontal at (2,4) and (−2,−4); tangent at 0: y=22x; f′(x)→−∞, a vertical tangent at (22,0)
d)f′′(2)=−4
a) From the outside in: the cube u3, then cos, then xπ=πx−1. One factor per layer, each outer derivative keeping its inside untouched: y′=3cos2(xπ)⋅(−sin(xπ))⋅(−x2π)=x23πsin(xπ)cos2(xπ). Three layers, three factors, and the two minus signs cancel. At x=3: sin3π=23 and cos23π=41, so y′(3)=93π⋅23⋅41=24π3.
b) Write 2cosx=e(cosx)ln2, where ln2 is a constant. Inner function u=(cosx)ln2, u′=−(ln2)sinx, so y′=2cosx⋅(−ln2)sinx. At x=2π: y=20=1 and y′=1⋅(−ln2)⋅1=−ln2. The tangent line is y=1−(ln2)(x−2π). The answer cosx⋅2cosx−1 treats the variable exponent as a power rule, and gives 0 at 2π: a horizontal tangent the curve does not have.
c) Product rule, with the chain rule inside the second factor: dxd8−x2=28−x21⋅(−2x)=−8−x2x (inner function u=8−x2). So f′(x)=8−x2−8−x2x2=8−x2(8−x2)−x2=8−x28−2x2, valid where 8−x2>0, that is ∣x∣<22.
Horizontal tangent: 8−2x2=0, so x=±2, with f(2)=24=4 and f(−2)=−4: the points (2,4) and (−2,−4), as the figure shows (f is odd). At the origin, f(0)=0 and f′(0)=88=22: the tangent is y=22x. As x→(22)−, the numerator tends to 8−16=−8 and the denominator to 0+, so f′(x)→−∞: the curve arrives at (22,0) with a vertical tangent, and by symmetry the same happens at (−22,0).
d) Quotient rule on f′=(8−x2)1/28−2x2 is possible, but the product form (8−2x2)(8−x2)−1/2 is shorter. Product rule, then the chain rule on the second factor: f′′(x)=−4x(8−x2)−1/2+(8−2x2)⋅(−21)(8−x2)−3/2⋅(−2x)=−4x(8−x2)−1/2+x(8−2x2)(8−x2)−3/2.
Factor out x(8−x2)−3/2: f′′(x)=(8−x2)3/2x[−4(8−x2)+8−2x2]=(8−x2)3/2x(2x2−24)=(8−x2)3/22x(x2−12). At x=2: 43/24⋅(−8)=8−32=−4.
Exercise 8: Implicit differentiation on a cissoid, an inverse without its formula, and an inverse sine with a corner
The curve C of equation y2(2−x)=x3 is the cissoid of Diocles. The figure shows C, the dashed line x=2, the points P(1,1) and Q(1,−1), and the tangent at P. Parts d) and e) are independent of the curve.
a) Check that P and Q lie on C. Find dxdy by implicit differentiation, then the tangent lines at P and at Q.
b) Find dx2d2y at P.
c) Show that C has no point with a horizontal tangent and no point with a vertical tangent, except possibly the origin. What does the formula of a) say at the origin? Describe the curve there, and near the line x=2.
d) Let g(x)=x3+ex. Explain why g is one-to-one without any derivative test, compute g(0), and find (g−1)′(1) and the tangent line to y=g−1(x) at (1,0).
e) Let y=arcsin(1−x2) for −2≤x≤2. Find y′ for 0<∣x∣<2, simplifying the root correctly, and give the slopes at x=1 and x=−1. What does the formula give as x→0+ and as x→0−?
Show the solution
Answers
a)dxdy=2y(2−x)3x2+y2; at P: y=2x−1; at Q: y=−2x+1
b)y′′(P)=3
c)Both conditions force x=y=0, where the formula reads 00; a cusp tangent to the x-axis; vertical asymptote x=2
d)g(0)=1, (g−1)′(1)=g′(0)1=1; tangent y=x−1
e)y′=−∣x∣2−x22x: slopes −2 at x=1 and 2 at x=−1; ∓2 as x→0±, a corner at (0,2π)
a) At P: 12(2−1)=1=13; at Q: (−1)2(2−1)=1. Both lie on C. Differentiate both sides with respect to x, y being a function of x: the left side is a product, and y2 leaves the chain factor 2yy′. So 2yy′(2−x)+y2⋅(−1)=3x2, hence y′=2y(2−x)3x2+y2 wherever y=0 and x=2. At P: y′=2⋅1⋅13+1=2, and the tangent is y=1+2(x−1)=2x−1. At Q: y′=−24=−2, and the tangent is y=−2x+1. The curve is symmetric in the x-axis (y appears only squared), and the two tangents are mirror images, as they must be.
b) Differentiate the relation 2yy′(2−x)−y2−3x2=0 once more, y and y′ being functions of x. The first term is a product of three factors: 2y′2(2−x)+2yy′′(2−x)−2yy′−2yy′−6x=0. At P, x=y=1 and y′=2: 2⋅4⋅1+2y′′−4−4−6=0, so 2y′′=6 and y′′=3. Substituting the numbers BEFORE isolating y′′ saves a page of algebra. A student who differentiates y′=2y(2−x)3x2+y2 treating y as a constant forgets the new factors y′ and gets a wrong value.
c) A horizontal tangent needs the numerator 3x2+y2=0, which forces x=0 and y=0. A vertical tangent needs the denominator 2y(2−x)=0 with the numerator not zero: x=2 is not on C (it would give 0=8), and y=0 on C gives x3=0, so x=0. Both searches end at the origin only, and there the formula reads 00, which decides nothing.
Near the origin, solve for y: y2=2−xx3 requires 0≤x<2, and gives two branches y=±x2−xx. The slope of the chord from the origin is xy=±2−xx→0 as x→0+: both branches leave the origin tangent to the x-axis, one above and one below. The curve has a cusp there, pointing left. Near x=2: as x→2−, y2=2−xx3→+∞, so the upper branch tends to +∞ and the lower one to −∞: the line x=2 is a vertical asymptote, the dashed line of the figure.
d) x3 and ex are both increasing, so their sum is increasing: a<b gives a3<b3 and ea<eb, hence g(a)<g(b). An increasing function is one-to-one. g(0)=0+1=1, so g−1(1)=0. With g′(x)=3x2+ex, g′(0)=1=0, and (g−1)′(1)=g′(g−1(1))1=g′(0)1=1. The tangent to y=g−1(x) at (1,0) is y=x−1. The trap is to write g′(1)1=3+e1: the derivative of g is read at the point 0 where g takes the value 1, never at 1. No formula for g−1 exists in elementary terms, and none was needed.
e) Chain rule with inner function u=1−x2, u′=−2x, and dudarcsinu=1−u21 for ∣u∣<1, that is 0<∣x∣<2. Then 1−u2=1−(1−x2)2=2x2−x4=x2(2−x2), and x2(2−x2)=∣x∣2−x2, NOT x2−x2. So y′=∣x∣2−x2−2x: for x>0, y′=−2−x22, and for x<0, y′=2−x22. The slopes are −2 at x=1 and 2 at x=−1, consistent with y being even.
As x→0+ the formula tends to −22=−2, and as x→0− to 2. At x=0, u=1 and the derivative of arcsin does not exist, so the formula says nothing at 0 itself; the two different limits suggest a corner at the top point (0,2π), where the graph comes up with slope 2 and leaves with slope −2. Writing x2=x would give −2−x22 everywhere, a negative slope at x=−1 where the curve is rising.