Salta al contenuto
Note per Studenti Calculus 1 - Mock Exam 2 Report

Calculus 1 - Mock Exam 2

Questa pagina non ha ancora la versione ripasso: qui sotto c'è il testo completo.

In questa pagina 5

Mock exam built on the model of the written exams of the equivalent course in Italian (Analisi 1, Information Engineering, UniPD): it is not an official past paper. Time allowed: 2 hours, four exercises worth 8 points each (32 points in total). No notes and no calculator. Write every step: a bare result is not worth full marks.

Exercise 1 (points 8)

Consider the function f(x)=(x+2) e1/x.f(x) = (x+2)\,e^{1/x}.

(a) Find the domain and the sign of ff. Compute the limits at the boundary of the domain and find all asymptotes (vertical, horizontal, oblique).

(b) Compute f′f', study the monotonicity of ff, find the points of local maximum and minimum and determine the image (range) of ff.

(c) Compute f′′f'', study the convexity of ff and find the inflection points.

(d) Sketch the graph of ff.

Show the result

(a) dom⁡f=R∖{0}\operatorname{dom} f = \mathbb{R}\setminus\{0\}. f(x)>0f(x)>0 for x>−2x>-2 with x≠0x\neq 0, f(−2)=0f(-2)=0, f(x)<0f(x)<0 for x<−2x<-2. Limits: lim⁡x→−∞f=−∞\lim_{x\to-\infty}f=-\infty, lim⁡x→+∞f=+∞\lim_{x\to+\infty}f=+\infty, lim⁡x→0+f=+∞\lim_{x\to0^+}f=+\infty, lim⁡x→0−f=0\lim_{x\to0^-}f=0. Asymptotes: vertical x=0x=0 (only on the right); oblique y=x+3y=x+3 both at +∞+\infty and at −∞-\infty; no horizontal asymptote.

(b) f′(x)=(x−2)(x+1)x2 e1/xf'(x)=\dfrac{(x-2)(x+1)}{x^2}\,e^{1/x}. ff is increasing on ]−∞,−1]]-\infty,-1], decreasing on [−1,0[[-1,0[ and on ]0,2]]0,2], increasing on [2,+∞[[2,+\infty[. Local maximum at x=−1x=-1 with f(−1)=1ef(-1)=\frac1e; local minimum at x=2x=2 with f(2)=4ef(2)=4\sqrt e. Image: f(dom⁡f)=]−∞,1e]∪[4e,+∞[f(\operatorname{dom}f)=\left]-\infty,\frac1e\right]\cup\left[4\sqrt e,+\infty\right[.

(c) f′′(x)=5x+2x4 e1/xf''(x)=\dfrac{5x+2}{x^4}\,e^{1/x}. ff is concave on ]−∞,−25[]-\infty,-\frac25[ and convex on ]−25,0[]-\frac25,0[ and on ]0,+∞[]0,+\infty[. One inflection point: x=−25x=-\frac25, with f(−25)=85 e−5/2f(-\frac25)=\frac85\,e^{-5/2}.

(d) The graph rises from −∞-\infty along the line y=x+3y=x+3 (below it), reaches the maximum (−1,1e)(-1,\frac1e), goes down to the origin with horizontal tangent (as x→0−x\to0^- it tends to 00 with f′→0f'\to0), while on the right of 00 it comes down from +∞+\infty along the vertical asymptote x=0x=0, reaches the minimum (2,4e)(2,4\sqrt e) and then rises towards +∞+\infty above the line y=x+3y=x+3.

Show the full solution

(a) Domain, sign, limits, asymptotes. The only critical point is e1/xe^{1/x}, which requires x≠0x\neq0: dom⁡f=R∖{0}\operatorname{dom}f=\mathbb{R}\setminus\{0\}. There is no symmetry (the domain is symmetric, but f(−x)=(2−x)e−1/xf(-x)=(2-x)e^{-1/x} is neither f(x)f(x) nor −f(x)-f(x); check for instance x=1x=1 and x=−1x=-1: f(1)=3ef(1)=3e, f(−1)=e−1f(-1)=e^{-1}).

Sign. The exponential is always positive, so the sign of ff is the sign of x+2x+2: f>0f>0 for x>−2x>-2 (x≠0x\ne0), f(−2)=0f(-2)=0, f<0f<0 for x<−2x<-2. The only zero is x=−2x=-2.

Limits (see Limits of Functions - Definition and TheoremsNeighbourhoods, accumulation points and the epsilon-delta definition of the limit of a function in all cases, one-sided limits, the bridge theorem with sequences, the main limit theorems and the change of variable in limits.Limits of Functions - Definition and Theorems → and Notable Limits and Hierarchy of InfinitiesLimits of powers, polynomials and exponentials, the number e and the form 1 to the infinity, the hierarchy of infinities, rationalization, and the notable limits of exponentials, logarithms, powers and trigonometric functions with their proofs.Notable Limits and Hierarchy of Infinities →).

Oblique asymptote (see Curve Sketching - Study of a FunctionThe scheme for studying a function: domain, symmetry, periodicity and sign; limits at the boundary and asymptotes; first derivative for monotonicity, extrema and differentiability (limits of f' at delicate points); second derivative for convexity and inflections.Curve Sketching - Study of a Function →). Compute m=lim⁡x→±∞f(x)x=lim⁡x→±∞(1+2x)e1/x=1.m=\lim_{x\to\pm\infty}\frac{f(x)}{x}=\lim_{x\to\pm\infty}\Bigl(1+\frac2x\Bigr)e^{1/x}=1. For qq we need f(x)−xf(x)-x, which is of the form ∞−∞\infty-\infty: use the expansion et=1+t+t22+o(t2)e^{t}=1+t+\frac{t^2}{2}+o(t^2) with t=1x→0t=\frac1x\to0 (see Maclaurin Series of the Elementary Functions and ApplicationsTable of the Maclaurin expansions to know by heart (exponential, sine, cosine, log(1+x), (1+x)^alpha, arctangent, hyperbolic functions, tangent) and rules for combining them: algebra of little-o, sums, products, compositions, expansions at infinity, and how many terms to keep in a limit.Maclaurin Series of the Elementary Functions and Applications →): f(x)=(x+2)(1+1x+12x2+o ⁣(1x2))=x+1+12x+2+2x+o ⁣(1x)=x+3+52x+o ⁣(1x).f(x)=(x+2)\Bigl(1+\frac1x+\frac1{2x^2}+o\!\left(\frac1{x^2}\right)\Bigr)=x+1+\frac1{2x}+2+\frac2x+o\!\left(\frac1x\right)=x+3+\frac{5}{2x}+o\!\left(\frac1x\right). Hence q=lim⁡x→±∞(f(x)−x)=3q=\lim_{x\to\pm\infty}(f(x)-x)=3 and y=x+3y=x+3 is the oblique asymptote both at +∞+\infty and at −∞-\infty. The term 52x\frac5{2x} also tells us on which side the graph lies: f(x)−(x+3)∼52xf(x)-(x+3)\sim\frac5{2x} is positive at +∞+\infty (graph above the asymptote) and negative at −∞-\infty (graph below). There is no horizontal asymptote, because ff is unbounded at ±∞\pm\infty.

Typical mistake. Stopping at e1/x→1e^{1/x}\to1 and writing q=2q=2: the correction e1/x−1∼1xe^{1/x}-1\sim\frac1x, multiplied by xx, contributes +1+1 to the limit, and multiplied by 22 it gives 2x→0\frac2x\to0. One needs the expansion to the second order to have a correct value, which is q=2+1=3q=2+1=3.

(b) Derivative, monotonicity, extrema, image. On R∖{0}\mathbb{R}\setminus\{0\} the function is a product of differentiable functions (see Derivatives - Definition and Differentiation RulesThe derivative is the limit of the difference quotient and gives the slope of the tangent line; differentiable implies continuous but not conversely; the notes collect the derivatives of elementary functions, the rules (linearity, product, quotient, chain rule, inverse function, f^g) and higher-order derivatives with the classes C^n.Derivatives - Definition and Differentiation Rules →). By the product rule and the chain rule, ddxe1/x=−1x2e1/x\frac{d}{dx}e^{1/x}=-\frac1{x^2}e^{1/x}: f′(x)=e1/x+(x+2)(−1x2)e1/x=x2−(x+2)x2 e1/x=x2−x−2x2 e1/x=(x−2)(x+1)x2 e1/x.f'(x)=e^{1/x}+(x+2)\Bigl(-\frac{1}{x^2}\Bigr)e^{1/x}=\frac{x^2-(x+2)}{x^2}\,e^{1/x}=\frac{x^2-x-2}{x^2}\,e^{1/x}=\frac{(x-2)(x+1)}{x^2}\,e^{1/x}. Since x2>0x^2>0 and e1/x>0e^{1/x}>0 for x≠0x\neq0, the sign of f′f' is that of (x−2)(x+1)(x-2)(x+1) (see Monotonicity and the Sign of the DerivativeFor f continuous on [a,b] and differentiable in ]a,b[: f is increasing iff f' >= 0 and decreasing iff f' <= 0; strictly increasing iff f' >= 0 and f' vanishes on no interval (f' > 0 except at isolated points is enough, as for x^3); a sign change of f' from plus to minus gives a strict relative maximum and from minus to plus a strict relative minimum; these are sufficient conditions only.Monotonicity and the Sign of the Derivative →):

interval ]−∞,−1[]-\infty,-1[ ]−1,0[]-1,0[ ]0,2[]0,2[ ]2,+∞[]2,+\infty[
sign of f′f' ++ −- −- ++
ff increasing decreasing decreasing increasing

Note that x=0x=0 is not in the domain: ff is decreasing on ]−1,0[]-1,0[ and on ]0,2[]0,2[ separately, and one cannot say that it is decreasing on ]−1,2[]-1,2[.

Extrema (see Local Extrema and Fermat's TheoremA point is a relative minimum or maximum if the value of f there is the lowest or highest among nearby points; candidates are endpoints, non-differentiable points and critical points, and Fermat's theorem says that at an interior differentiable extremum the derivative vanishes, a necessary but not sufficient condition.Local Extrema and Fermat's Theorem →). At x=−1x=-1 the sign of f′f' changes from ++ to −-: local maximum, with f(−1)=1⋅e−1=1ef(-1)=1\cdot e^{-1}=\frac1e. At x=2x=2 the sign changes from −- to ++: local minimum, with f(2)=4e1/2=4e≈6.59f(2)=4e^{1/2}=4\sqrt e\approx6.59. They are not global: ff is unbounded above and below.

Image. On ]−∞,0[]-\infty,0[ the function is continuous, increases from −∞-\infty up to 1e\frac1e (at x=−1x=-1) and then decreases towards 00 (not attained): by the intermediate value theorem (Continuous Functions on IntervalsTheorems for functions continuous on an interval: zeros (with bisection), intermediate values (intervals go to intervals), monotonicity and continuity, continuity of the inverse, and Weierstrass (a maximum and a minimum on a closed bounded interval).Continuous Functions on Intervals →) its image there is ]−∞,1e]]-\infty,\frac1e]. On ]0,+∞[]0,+\infty[ it decreases from +∞+\infty to 4e4\sqrt e and then increases to +∞+\infty: image [4e,+∞[[4\sqrt e,+\infty[. Altogether f(dom⁡f)=]−∞,1e]∪[4e,+∞[.f(\operatorname{dom}f)=\left]-\infty,\tfrac1e\right]\cup\left[4\sqrt e,+\infty\right[. In particular f(x)=cf(x)=c has no solution for 1e<c<4e\frac1e<c<4\sqrt e.

Behaviour near 0−0^-. To draw the graph we need the slope with which the left branch reaches the origin. By the exponential beating every power, lim⁡x→0−f′(x)=lim⁡x→0−(x−2)(x+1)x2e1/x=0\lim_{x\to0^-}f'(x)=\lim_{x\to0^-}\frac{(x-2)(x+1)}{x^2}e^{1/x}=0 (with t=1x→−∞t=\frac1x\to-\infty the limit is lim⁡t→−∞t2(… )et=0\lim_{t\to-\infty}t^2(\dots)e^{t}=0): the branch arrives at the origin with horizontal tangent. See L'Hopital's Rule and the Limit of the DerivativeFor a 0/0 form or a quotient whose denominator tends to infinity, if the limit of f'/g' exists then the limit of f/g exists and is the same; it holds for one-sided limits and limits at infinity, while if f'/g' has no limit nothing can be concluded. It is also used to study differentiability at a point (theorem on the limit of the derivative) and to define the classes C^0 and C^1.L'Hopital's Rule and the Limit of the Derivative →.

(c) Second derivative and convexity. Write f′(x)=e1/xh(x)f'(x)=e^{1/x}h(x) with h(x)=x2−x−2x2=1−1x−2x2h(x)=\frac{x^2-x-2}{x^2}=1-\frac1x-\frac2{x^2}, so h′(x)=1x2+4x3h'(x)=\frac1{x^2}+\frac4{x^3}. Then f′′(x)=e1/x(−h(x)x2+h′(x))=e1/x(−1x2+1x3+2x4+1x2+4x3)=e1/x 5x+2x4.f''(x)=e^{1/x}\Bigl(-\frac{h(x)}{x^2}+h'(x)\Bigr)=e^{1/x}\Bigl(-\frac1{x^2}+\frac1{x^3}+\frac2{x^4}+\frac1{x^2}+\frac4{x^3}\Bigr)=e^{1/x}\,\frac{5x+2}{x^4}. The factors e1/xe^{1/x} and x4x^4 are positive, so the sign of f′′f'' is that of 5x+25x+2: negative for x<−25x<-\frac25, positive for x>−25x>-\frac25 (x≠0x\ne0). By Convex and Concave Functions - Inflection Pointsf is convex if every chord lies above the graph (concave if below); convex functions are continuous with finite one-sided derivatives at interior points; for differentiable f, convex iff graph above every tangent iff f' increasing iff (when it exists) f'' >= 0; f'' > 0 implies strictly convex but not conversely (x^4); at an inflection point f'' = 0 if it exists, which is necessary but not sufficient.Convex and Concave Functions - Inflection Points →: ff is concave on ]−∞,−25[]-\infty,-\frac25[ and convex on ]−25,0[]-\frac25,0[ and on ]0,+∞[]0,+\infty[. At x=−25x=-\frac25 the sign of f′′f'' changes: inflection point, with f(−25)=85 e−5/2≈0.13.f\Bigl(-\frac25\Bigr)=\frac85\,e^{-5/2}\approx0.13. Consistency checks: the graph lies above the oblique asymptote at +∞+\infty (as it must be for a convex function) and below at −∞-\infty (concave).

(d) Graph.

Grafico interattivo: f(x) = (x+2)e^(1/x): vertical asymptote x = 0 (right side), oblique asymptote y = x + 3, maximum (-1, 1/e), minimum (2, 4 sqrt(e)), inflection at x = -2/5

Typical mistakes. Deriving e1/xe^{1/x} as e1/xe^{1/x} (forgetting the factor −1x2-\frac1{x^2}); studying only x>0x>0; saying that ff is decreasing on ]−1,2[]-1,2[ across the point 00 that is not in the domain; computing q=2q=2 for the oblique asymptote; forgetting that on the left of 00 there is no vertical asymptote.

Exercise 2 (points 8)

Let w=(3−i)5(1+i)2w=\dfrac{(\sqrt3-i)^5}{(1+i)^2}.

(a) Write ww in algebraic form and in trigonometric form.

(b) Find all the complex numbers zz such that z4=wz^4=w. Write them in algebraic form and represent them in the Gauss plane.

(c) Solve in C\mathbb{C} the equation z6+7z3−8=0z^6+7z^3-8=0 and represent the solutions in the Gauss plane.

(d) Show that exactly one of the solutions found in (c) is also a solution of the equation in (b).

Show the result

(a) w=−8+83 i=16(cos⁡2π3+isin⁡2π3)w=-8+8\sqrt3\,i=16\left(\cos\frac{2\pi}3+i\sin\frac{2\pi}3\right).

(b) z∈{3+i, −1+3 i, −3−i, 1−3 i}z\in\{\sqrt3+i,\ -1+\sqrt3\,i,\ -\sqrt3-i,\ 1-\sqrt3\,i\}: the four vertices of the square inscribed in the circle ∣z∣=2|z|=2, with one vertex at argument π6\frac\pi6.

(c) z∈{1, −12+32i, −12−32i}∪{−2, 1+3 i, 1−3 i}z\in\{1,\ -\frac12+\frac{\sqrt3}2i,\ -\frac12-\frac{\sqrt3}2i\}\cup\{-2,\ 1+\sqrt3\,i,\ 1-\sqrt3\,i\}: an equilateral triangle on the circle ∣z∣=1|z|=1 and an equilateral triangle on the circle ∣z∣=2|z|=2.

(d) The common solution is z=1−3 iz=1-\sqrt3\,i.

Show the full solution

(a) Trigonometric form of numerator and denominator (see Complex NumbersComplex numbers are pairs a+ib with i^2=-1; they have a conjugate, an absolute value, a trigonometric form where multiplication adds arguments, every non-constant polynomial has a root in them, and exp(ib)=cos b+i sin b.Complex Numbers →). For 3−i\sqrt3-i: modulus 3+1=2\sqrt{3+1}=2, and the point (3,−1)(\sqrt3,-1) is in the fourth quadrant with tan⁡θ=−13\tan\theta=-\frac1{\sqrt3}, so the argument is −π6-\frac\pi6: 3−i=2(cos⁡(−π6)+isin⁡(−π6))\sqrt3-i=2\bigl(\cos(-\frac\pi6)+i\sin(-\frac\pi6)\bigr). For 1+i1+i: modulus 2\sqrt2, argument π4\frac\pi4.

By de Moivre's formula (powers: raise the modulus, multiply the argument; division: divide the moduli, subtract the arguments): (3−i)5=25(cos⁡(−5π6)+isin⁡(−5π6)),(1+i)2=(2)2(cos⁡π2+isin⁡π2)=2i.(\sqrt3-i)^5=2^5\Bigl(\cos\bigl(-\tfrac{5\pi}6\bigr)+i\sin\bigl(-\tfrac{5\pi}6\bigr)\Bigr),\qquad (1+i)^2=(\sqrt2)^2\Bigl(\cos\tfrac\pi2+i\sin\tfrac\pi2\Bigr)=2i. Hence w=322(cos⁡(−5π6−π2)+isin⁡(−5π6−π2))=16(cos⁡(−4π3)+isin⁡(−4π3)).w=\frac{32}{2}\Bigl(\cos\bigl(-\tfrac{5\pi}6-\tfrac\pi2\bigr)+i\sin\bigl(-\tfrac{5\pi}6-\tfrac\pi2\bigr)\Bigr)=16\Bigl(\cos\bigl(-\tfrac{4\pi}3\bigr)+i\sin\bigl(-\tfrac{4\pi}3\bigr)\Bigr). The argument is defined modulo 2π2\pi: −4π3+2π=2π3-\frac{4\pi}3+2\pi=\frac{2\pi}3. So w=16(cos⁡2π3+isin⁡2π3)=16(−12+32i)=−8+83 i.w=16\Bigl(\cos\tfrac{2\pi}3+i\sin\tfrac{2\pi}3\Bigr)=16\Bigl(-\tfrac12+\tfrac{\sqrt3}2i\Bigr)=-8+8\sqrt3\,i. Check in algebraic form. (3−i)2=3−23 i−1=2−23 i(\sqrt3-i)^2=3-2\sqrt3\,i-1=2-2\sqrt3\,i; (3−i)4=(2−23i)2=4−83 i−12=−8−83 i(\sqrt3-i)^4=(2-2\sqrt3 i)^2=4-8\sqrt3\,i-12=-8-8\sqrt3\,i; (3−i)5=(−8−83 i)(3−i)(\sqrt3-i)^5=(-8-8\sqrt3\,i)(\sqrt3-i), term by term: (−8)(3)=−83(-8)(\sqrt3)=-8\sqrt3; (−8)(−i)=8i(-8)(-i)=8i; (−83 i)(3)=−24i(-8\sqrt3\,i)(\sqrt3)=-24i; (−83 i)(−i)=83 i2=−83(-8\sqrt3\,i)(-i)=8\sqrt3\,i^2=-8\sqrt3. Sum: −163−16i-16\sqrt3-16i. Dividing by 2i2i: −163−16i2i=(−163−16i)(−i)2=163 i+16i22=−8+83 i\frac{-16\sqrt3-16i}{2i}=\frac{(-16\sqrt3-16i)(-i)}{2}=\frac{16\sqrt3\,i+16i^2}{2}=-8+8\sqrt3\,i. The two methods agree.

Typical mistake. Forgetting to bring the argument back into ]−π,π]]-\pi,\pi] (or [0,2π[[0,2\pi[), or taking the wrong quadrant for arg⁡(3−i)\arg(\sqrt3-i) (it is −π6-\frac\pi6, not +π6+\frac\pi6 and not 5π6\frac{5\pi}6).

(b) Fourth roots. We have ∣w∣=16|w|=16 and arg⁡w=2π3\arg w=\frac{2\pi}3. The solutions of z4=wz^4=w are the 44 numbers (see the formula for the nn-th roots in Complex NumbersComplex numbers are pairs a+ib with i^2=-1; they have a conjugate, an absolute value, a trigonometric form where multiplication adds arguments, every non-constant polynomial has a root in them, and exp(ib)=cos b+i sin b.Complex Numbers →) zk=164(cos⁡2π3+2kπ4+isin⁡2π3+2kπ4)=2(cos⁡(π6+kπ2)+isin⁡(π6+kπ2)),k=0,1,2,3.z_k=\sqrt[4]{16}\Bigl(\cos\frac{\frac{2\pi}3+2k\pi}4+i\sin\frac{\frac{2\pi}3+2k\pi}4\Bigr)=2\Bigl(\cos\bigl(\tfrac\pi6+\tfrac{k\pi}2\bigr)+i\sin\bigl(\tfrac\pi6+\tfrac{k\pi}2\bigr)\Bigr),\quad k=0,1,2,3. Explicitly:

  • k=0k=0: 2(cos⁡π6+isin⁡π6)=2(32+i2)=3+i2\bigl(\cos\frac\pi6+i\sin\frac\pi6\bigr)=2\bigl(\frac{\sqrt3}2+\frac i2\bigr)=\sqrt3+i;
  • k=1k=1: 2(cos⁡2π3+isin⁡2π3)=−1+3 i2\bigl(\cos\frac{2\pi}3+i\sin\frac{2\pi}3\bigr)=-1+\sqrt3\,i;
  • k=2k=2: 2(cos⁡7π6+isin⁡7π6)=−3−i2\bigl(\cos\frac{7\pi}6+i\sin\frac{7\pi}6\bigr)=-\sqrt3-i;
  • k=3k=3: 2(cos⁡5π3+isin⁡5π3)=1−3 i2\bigl(\cos\frac{5\pi}3+i\sin\frac{5\pi}3\bigr)=1-\sqrt3\,i.

Gauss plane. The four points have the same modulus 22: they lie on the circle of radius 22 centred at the origin, spaced by 2π4=π2\frac{2\pi}4=\frac\pi2 (a square), the first one at the angle 30∘30^\circ. The point z2=−z0z_2=-z_0 is opposite to z0z_0, and z3=−z1z_3=-z_1.

Check. (3+i)2=2+23 i(\sqrt3+i)^2=2+2\sqrt3\,i, and (2+23 i)2=4+83 i−12=−8+83 i=w(2+2\sqrt3\,i)^2=4+8\sqrt3\,i-12=-8+8\sqrt3\,i=w.

Typical mistakes. Dividing the argument by 44 without adding 2kπ2k\pi first (one finds only one root); taking 164=4\sqrt[4]{16}=4 or 16\sqrt{16}; giving the answer only in trigonometric form when the algebraic form is asked.

(c) Equation reducible to a quadratic. Put u=z3u=z^3: the equation z6+7z3−8=0z^6+7z^3-8=0 becomes u2+7u−8=0u^2+7u-8=0, with roots u=−7±49+322=−7±92∈{1, −8}.u=\frac{-7\pm\sqrt{49+32}}2=\frac{-7\pm9}2\in\{1,\ -8\}. (Check: (u−1)(u+8)=u2+7u−8(u-1)(u+8)=u^2+7u-8.) We must solve z3=1z^3=1 and z3=−8z^3=-8.

The equation has degree 66 and we found 66 distinct solutions, as it must be (fundamental theorem of algebra). In the Gauss plane, the first three lie on the circle ∣z∣=1|z|=1 and form an equilateral triangle with vertex at 11; the last three lie on the circle ∣z∣=2|z|=2 and form an equilateral triangle with vertex at −2-2 (the triangle is the first one rotated by π\pi and with doubled size, since −2=−2⋅1-2=-2\cdot1).

Check by factoring. z6+7z3−8=(z3−1)(z3+8)=(z−1)(z2+z+1)(z+2)(z2−2z+4)z^6+7z^3-8=(z^3-1)(z^3+8)=(z-1)(z^2+z+1)(z+2)(z^2-2z+4), and the two quadratic factors have roots −1±i32\frac{-1\pm i\sqrt3}2 and 1±i31\pm i\sqrt3.

Typical mistake. Solving for uu and stopping there, without going back to z=u3z=\sqrt[3]{u}; or finding only the real cube roots 11 and −2-2.

(d) Common solution. The solutions of (b) have modulus 22, so only the three solutions of (c) with modulus 22 can be common: 1+3 i1+\sqrt3\,i, −2-2, 1−3 i1-\sqrt3\,i. Now

  • 1+3 i1+\sqrt3\,i is not in the list of (b) ((1+3i)4=16(cos⁡4π3+isin⁡4π3)≠w(1+\sqrt3 i)^4=16\bigl(\cos\frac{4\pi}3+i\sin\frac{4\pi}3\bigr)\ne w);
  • −2-2 is not in the list of (b) ((−2)4=16≠w(-2)^4=16\ne w);
  • 1−3 i1-\sqrt3\,i is the point z3z_3 of (b): (1−3 i)4=16(cos⁡(−4π3)+isin⁡(−4π3))=w(1-\sqrt3\,i)^4=16\bigl(\cos(-\frac{4\pi}3)+i\sin(-\frac{4\pi}3)\bigr)=w.

So there is exactly one common solution, z=1−3 iz=1-\sqrt3\,i.

Exercise 3 (points 8)

For a∈Ra\in\mathbb{R} let fa(x)=ex−1+2x−a x2,x≥−12.f_a(x)=e^{x}-\sqrt{1+2x}-a\,x^2,\qquad x\ge-\tfrac12.

(a) Write the Taylor expansion of faf_a at x0=0x_0=0 up to the third order, with the Peano remainder.

(b) Compute, for every a∈Ra\in\mathbb{R}, the limit lim⁡x→0fa(x)x2\displaystyle\lim_{x\to0}\frac{f_a(x)}{x^2}, and say for which aa the function faf_a is an infinitesimal of order exactly 22 as x→0x\to0.

(c) Take a=1a=1. Determine the order of infinitesimal of f1f_1 as x→0+x\to0^+ and its principal part. Then compute, for every α>0\alpha>0, lim⁡x→0+f1(x)xα.\lim_{x\to0^+}\frac{f_1(x)}{x^\alpha}.

Show the result

(a) fa(x)=(1−a) x2−x33+o(x3)f_a(x)=(1-a)\,x^2-\dfrac{x^3}3+o(x^3) as x→0x\to0.

(b) lim⁡x→0fa(x)x2=1−a\lim_{x\to0}\frac{f_a(x)}{x^2}=1-a. For a≠1a\neq1 the order of infinitesimal is exactly 22 (principal part (1−a)x2(1-a)x^2); for a=1a=1 the limit is 00 and the order is higher.

(c) For a=1a=1: order 33, principal part −x33-\frac{x^3}3. lim⁡x→0+f1(x)xα=0\lim_{x\to0^+}\frac{f_1(x)}{x^\alpha}=0 if 0<α<30<\alpha<3; =−13=-\frac13 if α=3\alpha=3; =−∞=-\infty if α>3\alpha>3.

Show the full solution

(a) Expansions. Both exe^x and 1+2x=(1+2x)1/2\sqrt{1+2x}=(1+2x)^{1/2} are expanded to the third order (see Taylor's Formula - Peano and Lagrange RemaindersA function n times differentiable at x0 equals, near x0, its Taylor polynomial of degree n plus an error o((x-x0)^n), and the polynomial is unique (Peano remainder, local approximation); if f has n+1 continuous derivatives on [a,b] the error is exactly f^(n+1)(c)(x-x0)^(n+1)/(n+1)! for some c (Lagrange remainder, global estimate of the error).Taylor's Formula - Peano and Lagrange Remainders → and Maclaurin Series of the Elementary Functions and ApplicationsTable of the Maclaurin expansions to know by heart (exponential, sine, cosine, log(1+x), (1+x)^alpha, arctangent, hyperbolic functions, tangent) and rules for combining them: algebra of little-o, sums, products, compositions, expansions at infinity, and how many terms to keep in a limit.Maclaurin Series of the Elementary Functions and Applications →).

  • ex=1+x+x22+x36+o(x3)e^x=1+x+\dfrac{x^2}2+\dfrac{x^3}6+o(x^3).
  • With the binomial expansion (1+t)1/2=1+12t−18t2+116t3+o(t3)(1+t)^{1/2}=1+\frac12t-\frac18t^2+\frac1{16}t^3+o(t^3), since (1/22)=12⋅(−12)2=−18\binom{1/2}2=\frac{\frac12\cdot(-\frac12)}2=-\frac18 and (1/23)=12⋅(−12)⋅(−32)6=116\binom{1/2}3=\frac{\frac12\cdot(-\frac12)\cdot(-\frac32)}6=\frac1{16}, and the substitution t=2x→0t=2x\to0: 1+2x=1+x−4x28+8x316+o(x3)=1+x−x22+x32+o(x3).\sqrt{1+2x}=1+x-\frac{4x^2}8+\frac{8x^3}{16}+o(x^3)=1+x-\frac{x^2}2+\frac{x^3}2+o(x^3).

Subtract term by term (the constant and the first-order terms cancel): ex−1+2x=(12+12)x2+(16−12)x3+o(x3)=x2−x33+o(x3).e^x-\sqrt{1+2x}=\Bigl(\frac12+\frac12\Bigr)x^2+\Bigl(\frac16-\frac12\Bigr)x^3+o(x^3)=x^2-\frac{x^3}3+o(x^3). Hence fa(x)=(1−a) x2−x33+o(x3).f_a(x)=(1-a)\,x^2-\frac{x^3}3+o(x^3).

Typical mistake. Replacing tt by xx in the binomial expansion, forgetting that the variable is t=2xt=2x (the coefficients of x2x^2 and x3x^3 would be −18-\frac18 and 116\frac1{16} instead of −12-\frac12 and 12\frac12); stopping at the second order, which would give a wrong answer for a=1a=1.

(b) The limit with x2x^2. From (a), fa(x)x2=(1−a)−x3+o(x)→1−a\dfrac{f_a(x)}{x^2}=(1-a)-\dfrac x3+o(x)\to1-a as x→0x\to0, for every a∈Ra\in\mathbb{R}. By the definition of order of infinitesimal (Asymptotic Comparison, Little-o and Orders of InfinityAsymptotic equivalence and little-o for sequences and functions with their calculus rules, the hierarchies of infinite and infinitesimal functions, order of infinity and of infinitesimal, and asymptotes of a function.Asymptotic Comparison, Little-o and Orders of Infinity →), faf_a has order exactly 22 when the limit of fa/x2f_a/x^2 is finite and non-zero, i.e. when a≠1a\neq1; the principal part is then (1−a)x2(1-a)x^2, so fa(x)∼(1−a)x2f_a(x)\sim(1-a)x^2.

For a=1a=1 the limit is 00: the x2x^2 terms cancel and the order is greater than 22; this case needs the third-order term, as in point (c).

(c) The case a=1a=1. From (a) with a=1a=1: f1(x)=−x33+o(x3)f_1(x)=-\dfrac{x^3}3+o(x^3), so f1(x)∼−13x3f_1(x)\sim-\dfrac13x^3 as x→0x\to0. The order of infinitesimal is 33 and the principal part is −13x3-\frac13x^3.

For α>0\alpha>0: f1(x)xα=−13x3+o(x3)xα=x3−α(−13+o(1)).\frac{f_1(x)}{x^\alpha}=\frac{-\frac13x^3+o(x^3)}{x^\alpha}=x^{3-\alpha}\Bigl(-\frac13+o(1)\Bigr).

  • If 0<α<30<\alpha<3: x3−α→0+x^{3-\alpha}\to0^+ and the limit is 00 (the denominator is "too weak").
  • If α=3\alpha=3: the limit is −13-\frac13.
  • If α>3\alpha>3: x3−α→+∞x^{3-\alpha}\to+\infty and, because of the factor −13+o(1)→−13<0-\frac13+o(1)\to-\frac13<0, the limit is −∞-\infty.

The only value of α\alpha for which the limit is finite and non-zero is α=3\alpha=3. We take x→0+x\to0^+ because for non-integer α\alpha the power xαx^\alpha is not defined for x<0x<0.

Typical mistakes. Concluding that f1f_1 is an infinitesimal of order 22 because "the expansion starts with x2x^2" (the coefficient 1−a1-a vanishes); omitting the sign in the case α>3\alpha>3 (the limit is −∞-\infty, not +∞+\infty); using l'Hopital repeatedly on 1+2x\sqrt{1+2x} with a long and error-prone computation instead of the expansions.

Exercise 4 (points 8)

Consider the function f(x)=3x+2(x+1)(x2+4),x≥0.f(x)=\frac{3x+2}{(x+1)(x^2+4)},\qquad x\ge0.

(a) Compute all the antiderivatives of ff on [0,+∞[[0,+\infty[.

(b) Compute, if it converges, the improper integral ∫0+∞f(x) dx\displaystyle\int_0^{+\infty}f(x)\,dx.

(c) Determine all α∈R\alpha\in\mathbb{R} such that the improper integral ∫0+∞xαf(x) dx\displaystyle\int_0^{+\infty}x^\alpha f(x)\,dx converges.

Show the result

(a) ∫f(x) dx=−15ln⁡(x+1)+110ln⁡(x2+4)+75arctan⁡x2+c\displaystyle\int f(x)\,dx=-\frac15\ln(x+1)+\frac1{10}\ln(x^2+4)+\frac75\arctan\frac x2+c, c∈Rc\in\mathbb{R}.

(b) The integral converges and ∫0+∞f(x) dx=7π10−ln⁡25\displaystyle\int_0^{+\infty}f(x)\,dx=\frac{7\pi}{10}-\frac{\ln2}5.

(c) The integral converges if and only if −1<α<1-1<\alpha<1.

Show the full solution

(a) Partial fractions (see Integration of Rational Functions and Reducing SubstitutionsFor the integral of P(x)/Q(x) with deg P < deg Q: degree 1 denominator gives a logarithm; degree 2 denominator is handled by partial fractions (discriminant positive), a substitution (zero) or completing the square (negative, logarithm plus arctangent); if deg P >= deg Q divide first. Many other integrals become rational with a substitution: functions of e^x, of e^x and e^(-x), and rational functions of sin x and cos x with t = tan(x/2).Integration of Rational Functions and Reducing Substitutions →). The numerator has degree 11, the denominator degree 33, so no polynomial division is needed; the denominator is already factored into a linear factor and an irreducible quadratic (x2+4x^2+4 has no real roots). Write 3x+2(x+1)(x2+4)=Ax+1+Bx+Cx2+4.\frac{3x+2}{(x+1)(x^2+4)}=\frac A{x+1}+\frac{Bx+C}{x^2+4}. Multiplying by the denominator: 3x+2=A(x2+4)+(Bx+C)(x+1)=(A+B)x2+(B+C)x+(4A+C).3x+2=A(x^2+4)+(Bx+C)(x+1)=(A+B)x^2+(B+C)x+(4A+C). Cover-up for AA: at x=−1x=-1, 3(−1)+2=−1=A⋅53(-1)+2=-1=A\cdot5, so A=−15A=-\frac15. Comparing coefficients: x2x^2: A+B=0⇒B=15A+B=0\Rightarrow B=\frac15; xx: B+C=3⇒C=145B+C=3\Rightarrow C=\frac{14}5; constant term (check): 4A+C=−45+145=24A+C=-\frac45+\frac{14}5=2. Therefore f(x)=−15(x+1)+x+145(x2+4)=−15(x+1)+15⋅xx2+4+145⋅1x2+4.f(x)=-\frac1{5(x+1)}+\frac{x+14}{5(x^2+4)}=-\frac1{5(x+1)}+\frac15\cdot\frac{x}{x^2+4}+\frac{14}5\cdot\frac1{x^2+4}. Integrate each term (see Integration Techniques - Immediate Integrals, Substitution and Integration by PartsImmediate integrals come from reading the table of derivatives backwards; there are no integration rules like those for derivatives, only methods: linearity, substitution (the chain rule read backwards) and integration by parts (the product rule read backwards, used for log x, arcsin x, arctan x, squares of sine and cosine, and products such as x^n e^(ax) or e^(ax) sin(bx)).Integration Techniques - Immediate Integrals, Substitution and Integration by Parts →):

  • ∫dxx+1=ln⁡∣x+1∣=ln⁡(x+1)\displaystyle\int\frac{dx}{x+1}=\ln|x+1|=\ln(x+1) for x≥0x\ge0;
  • ∫xx2+4 dx=12ln⁡(x2+4)\displaystyle\int\frac{x}{x^2+4}\,dx=\frac12\ln(x^2+4) (the numerator is half of the derivative of the denominator);
  • ∫dxx2+4=14∫dx1+(x/2)2=12arctan⁡x2\displaystyle\int\frac{dx}{x^2+4}=\frac14\int\frac{dx}{1+(x/2)^2}=\frac12\arctan\frac x2.

Putting everything together, ∫f(x) dx=−15ln⁡(x+1)+110ln⁡(x2+4)+145⋅12arctan⁡x2+c=−15ln⁡(x+1)+110ln⁡(x2+4)+75arctan⁡x2+c.\int f(x)\,dx=-\frac15\ln(x+1)+\frac1{10}\ln(x^2+4)+\frac{14}5\cdot\frac12\arctan\frac x2+c=-\frac15\ln(x+1)+\frac1{10}\ln(x^2+4)+\frac75\arctan\frac x2+c. Check: differentiating gives back ff (the sum of the three fractions has numerator 3x+23x+2).

Typical mistakes. Writing Bx2+4\frac{B}{x^2+4} instead of Bx+Cx2+4\frac{Bx+C}{x^2+4} for the irreducible factor; forgetting the factor 12\frac12 in ∫dxx2+4\int\frac{dx}{x^2+4} (the integral is 12arctan⁡x2\frac12\arctan\frac x2, not arctan⁡x2\arctan\frac x2); forgetting the arbitrary constant.

(b) The improper integral on [0,+∞[[0,+\infty[. The function is continuous on [0,+∞[[0,+\infty[ and positive, so the only improper point is +∞+\infty (see Improper Integrals - Definition and Convergence CriteriaAn improper (generalised) integral extends the definite integral to unbounded intervals and to functions unbounded near an endpoint, as the limit of integrals over bounded pieces; it converges if the limit is finite. For f >= 0 the integral always exists and comparison, asymptotic comparison and the test functions 1/x^a (convergent at infinity for a > 1, near 0 for a < 1) decide convergence; the integral test links improper integrals and series.Improper Integrals - Definition and Convergence Criteria →). Collect the logarithms in the antiderivative of (a): F(x)=110ln⁡x2+4(x+1)2+75arctan⁡x2.F(x)=\frac1{10}\ln\frac{x^2+4}{(x+1)^2}+\frac75\arctan\frac x2. By the fundamental theorem (Antiderivatives and the Fundamental Theorem of CalculusAn antiderivative (primitive) of f is a function G with G' = f; two antiderivatives differ by a constant and the indefinite integral is the set of all of them. The integral function F_a(x) = integral from a to x of f is an antiderivative of f (second fundamental theorem), hence the integral from a to b of f equals G(b) - G(a) for any antiderivative G (first fundamental theorem).Antiderivatives and the Fundamental Theorem of Calculus →), ∫0Rf=F(R)−F(0)\int_0^Rf=F(R)-F(0), and

  • F(R)→110ln⁡1+75⋅π2=7π10F(R)\to\frac1{10}\ln1+\frac75\cdot\frac\pi2=\frac{7\pi}{10} as R→+∞R\to+\infty, because R2+4(R+1)2→1\frac{R^2+4}{(R+1)^2}\to1;
  • F(0)=110ln⁡4+0=ln⁡25F(0)=\frac1{10}\ln4+0=\frac{\ln2}5.

Therefore the integral converges and ∫0+∞f(x) dx=7π10−ln⁡25≈2.06.\int_0^{+\infty}f(x)\,dx=\frac{7\pi}{10}-\frac{\ln2}5\approx2.06. Typical mistake. Taking the limit of each logarithm separately: −15ln⁡(x+1)→−∞-\frac15\ln(x+1)\to-\infty and 110ln⁡(x2+4)→+∞\frac1{10}\ln(x^2+4)\to+\infty are separately divergent, and the finite limit appears only after combining them into one logarithm (indeterminate form ∞−∞\infty-\infty).

(c) Convergence for xαf(x)x^\alpha f(x). Put gα(x)=xαf(x)g_\alpha(x)=x^\alpha f(x) on ]0,+∞[]0,+\infty[: it is continuous and positive (because 3x+2>03x+2>0), so the asymptotic comparison tests of Improper Integrals - Definition and Convergence CriteriaAn improper (generalised) integral extends the definite integral to unbounded intervals and to functions unbounded near an endpoint, as the limit of integrals over bounded pieces; it converges if the limit is finite. For f >= 0 the integral always exists and comparison, asymptotic comparison and the test functions 1/x^a (convergent at infinity for a > 1, near 0 for a < 1) decide convergence; the integral test links improper integrals and series.Improper Integrals - Definition and Convergence Criteria → apply. There are two improper points, 00 (if α<0\alpha<0 the function is unbounded there) and +∞+\infty: split ∫0+∞=∫01+∫1+∞\int_0^{+\infty}=\int_0^1+\int_1^{+\infty}; the integral converges if and only if both pieces converge.

  • Near 00. f(0)=21⋅4=12f(0)=\frac2{1\cdot4}=\frac12, so f(x)∼12f(x)\sim\frac12 and gα(x)∼12xα=12⋅1x−αg_\alpha(x)\sim\frac12x^\alpha=\frac12\cdot\frac1{x^{-\alpha}} as x→0+x\to0^+. By comparison with 1xβ\frac1{x^\beta} near 00 (converges iff β<1\beta<1), ∫01gα\int_0^1g_\alpha converges iff −α<1-\alpha<1, i.e. α>−1\alpha>-1.
  • Near +∞+\infty. f(x)∼3xx⋅x2=3x2f(x)\sim\frac{3x}{x\cdot x^2}=\frac3{x^2}, so gα(x)∼3 xα−2=3x2−αg_\alpha(x)\sim3\,x^{\alpha-2}=\frac3{x^{2-\alpha}}. By comparison with 1xβ\frac1{x^\beta} at +∞+\infty (converges iff β>1\beta>1), ∫1+∞gα\int_1^{+\infty}g_\alpha converges iff 2−α>12-\alpha>1, i.e. α<1\alpha<1.

Both conditions hold exactly when −1<α<1-1<\alpha<1. At the endpoints the integral diverges: for α=1\alpha=1, g1∼3xg_1\sim\frac3x at +∞+\infty; for α=−1\alpha=-1, g−1∼12xg_{-1}\sim\frac1{2x} at 00. (Consistency with (b): α=0\alpha=0 is in the interval, and indeed the integral of (b) converges.)

Typical mistakes. Checking only one of the two endpoints; applying the criterion near 00 with the thresholds valid at infinity (or vice versa); including the extreme values α=±1\alpha=\pm1 (the exponent 11 always gives divergence).

Self-assessment grid
Exercise Points What must be there for full marks Typical mistakes
1 8 (a) 2: domain x≠0x\ne0, sign, four limits, vertical asymptote x=0x=0 on the right, oblique asymptote y=x+3y=x+3 computed with the second-order expansion. (b) 3: f′=(x−2)(x+1)x2e1/xf'=\frac{(x-2)(x+1)}{x^2}e^{1/x}, correct monotonicity table, max (−1,1e)(-1,\frac1e), min (2,4e)(2,4\sqrt e), image. (c) 2: f′′=5x+2x4e1/xf''=\frac{5x+2}{x^4}e^{1/x}, concavity and convexity, inflection at −25-\frac25. (d) 1: graph consistent with all the data. Forgetting −1x2-\frac1{x^2} in the derivative; q=2q=2 instead of 33; monotonicity "across" 00; vertical asymptote also on the left.
2 8 (a) 2: w=−8+83iw=-8+8\sqrt3 i and 16 ei 2π/316\,e^{i\,2\pi/3} in trigonometric form, with the correct argument. (b) 3: four roots with argument π6+kπ2\frac\pi6+\frac{k\pi}2 in algebraic form, square in the Gauss plane. (c) 2: substitution u=z3u=z^3, u=1,−8u=1,-8, six roots. (d) 1: the common root 1−3i1-\sqrt3 i with justification. Wrong quadrant for the argument; missing the 2kπ2k\pi; stopping at uu; giving only trigonometric form.
3 8 (a) 3: expansions of exe^x and 1+2x\sqrt{1+2x} with t=2xt=2x, result (1−a)x2−x33+o(x3)(1-a)x^2-\frac{x^3}3+o(x^3). (b) 2: limit 1−a1-a and discussion of a≠1a\ne1. (c) 3: order 33 and principal part −x33-\frac{x^3}3, the three cases for α\alpha with the correct sign. Forgetting t=2xt=2x; stopping at order 2; +∞+\infty instead of −∞-\infty for α>3\alpha>3.
4 8 (a) 3: decomposition A=−15A=-\frac15, B=15B=\frac15, C=145C=\frac{14}5 and the three integrals. (b) 2: single logarithm, limit 7π10\frac{7\pi}{10}, value at 00, result 7π10−ln⁡25\frac{7\pi}{10}-\frac{\ln2}5. (c) 3: splitting at 11, behaviour 12xα\frac12x^\alpha near 00 and 3xα−23x^{\alpha-2} at ∞\infty, answer −1<α<1-1<\alpha<1, endpoints excluded. Bx2+4\frac{B}{x^2+4} without xx; wrong factor in arctan⁡x2\arctan\frac x2; limits of the logarithms taken separately; one endpoint only in (c).