Course Test · University: upper level

Real analysis: independent answers

Each answer here was worked out by hand, without RatMath, before the RatMath code was written. Where the arithmetic is long, the working says how it was checked.

  1. 1.Limit of a sequence
    Find lim⁡n→∞3n2+12n2−n\displaystyle\lim_{n\to\infty} \frac{3n^2 + 1}{2n^2 - n}.
    Answer
    Divide by n2n^2: 3+1/n22−1/n→32\dfrac{3 + 1/n^2}{2 - 1/n} \to \dfrac32.
  2. 2.An N for a given ε
    Find the least NN such that 1n<0.01\dfrac1{\sqrt n} < 0.01 for every n≥Nn \ge N.
    Answer
    n>100  ⟺  n>10000\sqrt n > 100 \iff n > 10000: N=10001N = 10001.
  3. 3.Monotone sequences and the supremum
    Let an=1−1na_n = 1 - \tfrac1n. Is it monotone? Find sup⁡an\sup a_n and inf⁡an\inf a_n.
    Answer
    Increasing, since 1n\tfrac1n decreases. inf⁡=a1=0\inf = a_1 = 0 (attained); sup⁡=lim⁡an=1\sup = \lim a_n = 1 (not attained).
  4. 4.Telescoping series
    Sum ∑n=1∞1n(n+1)\displaystyle\sum_{n=1}^{\infty} \frac{1}{n(n+1)}.
    Answer
    1n(n+1)=1n−1n+1\dfrac1{n(n+1)} = \dfrac1n - \dfrac1{n+1}; partial sums 1−1N+1→11 - \dfrac1{N+1} \to 1.
  5. 5.Ratio test
    Does ∑n!nn\displaystyle\sum \frac{n!}{n^n} converge? Find the limit of the ratio of consecutive terms.
    Answer
    an+1an=(nn+1)n→1e<1\dfrac{a_{n+1}}{a_n} = \left(\dfrac{n}{n+1}\right)^n \to \dfrac1e < 1: converges.
  6. 6.Alternating series error
    How many terms of ∑n≥1(−1)n+1n2\displaystyle\sum_{n\ge1} \frac{(-1)^{n+1}}{n^2} guarantee an error below 0.001?
    Answer
    The error after NN terms is below 1(N+1)2\dfrac1{(N+1)^2}; (N+1)2>1000(N + 1)^2 > 1000 needs N+1≥32N + 1 \ge 32, so N=31N = 31.
  7. 7.Radius of convergence
    Find the radius of convergence of ∑n23nxn\displaystyle\sum \frac{n^2}{3^n} x^n.
    Answer
    ∣cn+1cn∣=(n+1)23n2→13\left|\dfrac{c_{n+1}}{c_n}\right| = \dfrac{(n+1)^2}{3n^2} \to \dfrac13, so R=3R = 3.
  8. 8.Limits of functions
    Find lim⁡x→01−cos⁡xx2\displaystyle\lim_{x\to0}\frac{1 - \cos x}{x^2}.
    Answer
    1−cos⁡x=x22−x424+⋯1 - \cos x = \tfrac{x^2}{2} - \tfrac{x^4}{24} + \cdots, so the limit is 12\tfrac12.
  9. 9.A δ for a given ε
    For f(x)=x2f(x) = x^2 at a=2a = 2 and ε=0.01\varepsilon = 0.01, show δ=min⁡(1,ε/5)=0.002\delta = \min(1, \varepsilon/5) = 0.002 works.
    Answer
    If ∣x−2∣<δ≤1|x - 2| < \delta \le 1 then ∣x+2∣<5|x + 2| < 5, so ∣x2−4∣=∣x−2∣∣x+2∣<5δ≤ε|x^2 - 4| = |x - 2||x + 2| < 5\delta \le \varepsilon. Concretely the worst case is (2.002)2−4=0.008004<0.01(2.002)^2 - 4 = 0.008004 < 0.01.
  10. 10.Mean value theorem
    Find the cc in (0,2)(0, 2) promised by the mean value theorem for f(x)=x3f(x) = x^3.
    Answer
    f(2)−f(0)2=4=3c2\dfrac{f(2) - f(0)}{2} = 4 = 3c^2, so c=23=233≈1.1547c = \dfrac{2}{\sqrt3} = \dfrac{2\sqrt3}{3} \approx 1.1547.
  11. 11.Intermediate value theorem
    Show x3−x−1x^3 - x - 1 has a root in [1,2][1, 2] and find it to six decimals.
    Answer
    f(1)=−1<0<5=f(2)f(1) = -1 < 0 < 5 = f(2). Bisection or Newton gives x≈1.324718x \approx 1.324718 (the plastic number).
  12. 12.Taylor's remainder
    Bound the error of the degree-4 Taylor polynomial of exe^x about 0 on [0,1][0, 1], and compare with the true error.
    Answer
    Lagrange: ∣R4∣≤e⋅155!=e120≈0.02265|R_4| \le \dfrac{e\cdot1^5}{5!} = \dfrac{e}{120} \approx 0.02265. The true maximum error, at x=1x = 1, is e−6524≈0.009948e - \tfrac{65}{24} \approx 0.009948.
  13. 13.Darboux sums
    Compute the lower and upper sums of f(x)=x2f(x) = x^2 on [0,1][0, 1] with four equal pieces.
    Answer
    ff is increasing: L=14(0+116+416+916)=732L = \tfrac14(0 + \tfrac1{16} + \tfrac4{16} + \tfrac9{16}) = \tfrac{7}{32}, U=14(116+416+916+1)=1532U = \tfrac14(\tfrac1{16} + \tfrac4{16} + \tfrac9{16} + 1) = \tfrac{15}{32}.
  14. 14.An improper integral
    Evaluate ∫01ln⁡x dx\displaystyle\int_0^1 \ln x\,dx.
    Answer
    lim⁡a→0+[xln⁡x−x]a1=−1−lim⁡a→0+(aln⁡a−a)=−1\displaystyle\lim_{a\to0^+}\big[x\ln x - x\big]_a^1 = -1 - \lim_{a\to0^+}(a\ln a - a) = -1.
  15. 15.Pointwise limit
    Find the pointwise limit of fn(x)=xnf_n(x) = x^n on [0,1][0, 1].
    Answer
    00 for 0≤x<10 \le x < 1 and 11 at x=1x = 1: a discontinuous limit of continuous functions.
  16. 16.Uniform convergence
    Does xn→0x^n \to 0 uniformly on [0,12][0, \tfrac12]? On [0,1)[0, 1)?
    Answer
    On [0,12][0, \tfrac12]: sup⁡∣xn∣=2−n→0\sup|x^n| = 2^{-n} \to 0, so yes. On [0,1)[0, 1): sup⁡=1\sup = 1 for every nn, so no.
  17. 17.Limits superior and inferior
    Find lim sup⁡\limsup and lim inf⁡\liminf of an=(−1)n(1+1n)a_n = (-1)^n\left(1 + \tfrac1n\right).
    Answer
    Even terms 1+1n→11 + \tfrac1n \to 1; odd terms −(1+1n)→−1-(1 + \tfrac1n) \to -1. lim sup⁡=1\limsup = 1, lim inf⁡=−1\liminf = -1; no limit.
  18. 18.Series value
    Find ∑n=1∞(−1)n+1n2\displaystyle\sum_{n=1}^{\infty} \frac{(-1)^{n+1}}{n^2}.
    Answer
    (1−2⋅14)ζ(2)=12⋅π26=π212\left(1 - 2\cdot\tfrac14\right)\zeta(2) = \tfrac12\cdot\tfrac{\pi^2}{6} = \tfrac{\pi^2}{12}.
  19. 19.Contraction mapping
    Show g(x)=cos⁡xg(x) = \cos x is a contraction on [0,1][0, 1] and find its fixed point.
    Answer
    gg maps [0,1][0, 1] into [cos⁡1,1]⊂[0,1][\cos 1, 1] \subset [0, 1] and ∣g′(x)∣=∣sin⁡x∣≤sin⁡1<1|g'(x)| = |\sin x| \le \sin 1 < 1. The fixed point (the Dottie number) is 0.7390851332…0.7390851332\ldots.
  20. 20.Euler's number
    Find lim⁡n→∞(1+1n)n\displaystyle\lim_{n\to\infty}\left(1 + \frac1n\right)^n and show the sequence is increasing.
    Answer
    The limit is ee. By AM–GM on nn copies of 1+1n1 + \tfrac1n and one 1, an≤an+1a_n \le a_{n+1}.