# All problems

## Homework 1

### Problem 1

Let $\{A_\gamma \mid \gamma \in \Gamma\}$ be a collection of sets. Prove De Morgan’s laws

$$
\begin{aligned}
      \left(\bigcup_{\gamma\in\Gamma} A_\gamma\right)^c
        &= \bigcap_{\gamma\in\Gamma} A_\gamma^c,\\
      \left(\bigcap_{\gamma\in\Gamma} A_\gamma\right)^c
        &= \bigcup_{\gamma\in\Gamma} A_\gamma^c.
    \end{aligned}
$$

[Exercise 1.1.1 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw01:de-morgan) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw01:de-morgan)

### Problem 2

List all the elements in the set $\mathcal{P}(\mathcal{P}(\varnothing))$ and verify the cardinality formula.

[Exercise 1.3.1 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw01:power-set) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw01:power-set)

### Problem 3

Let $p=2,3,5,\ldots$ be a prime. Prove that $\sqrt{p}$ is irrational. Can this result be extended to $p^{\frac{1}{k}}$ for any integer $k\geq 2$?

[Exercise 1.11.2 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw01:prime-roots) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw01:prime-roots)

### Problem 4

Obtain a bijective map from $(0,1)$ to $\mathbb{R}$.

[Exercise 1.3.7 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw01:interval-to-reals) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw01:interval-to-reals)

### Problem 5

Obtain a bijective map from $(0,1)$ to $[0,1]$.

[Exercise 1.3.9 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw01:open-to-closed-interval) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw01:open-to-closed-interval)

### Problem 6

Let $\aleph_0$ and $\aleph$ denote the cardinalities of $\mathbb{N}$ and $\mathbb{R}$ respectively. Recall that the Continuum Hypothesis (CH) states that there is no cardinality between $\aleph_0$ and $\aleph$. Use CH to prove that the set of transcendental numbers, $\mathbb{T}$, has the same cardinality $\aleph$ as that of $\mathbb{R}$.

[Exercise 1.3.12 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw01:transcendental-cardinality) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw01:transcendental-cardinality)

### Problem 7

Let $\tau$ be a transcendental number whose existence is proven already. Show that for any $n\in\mathbb{N}$, the numbers

$$
\tau,\ldots,\tau^n
$$

are linearly independent over the field $\mathbb{Q}$.

That is, if there are $r_1,\ldots,r_n\in\mathbb{Q}$ such that

$$
r_1\tau+\cdots+r_n\tau^n=0,
$$

then $r_1=\cdots=r_n=0$.

(In the language of Linear Algebra, this result indicates that the set $\mathbb{R}$ viewed as a vector space over $\mathbb{Q}$ is infinitely dimensional.)

[Exercise 1.3.13 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw01:linear-independence) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw01:linear-independence)

### Problem 8

Show that

$$
|(0,1)\times(0,1)|=|(0,1)|=\aleph.
$$

(*Corrected hint.* For each number in $(0,1)$, choose the decimal expansion that is not eventually all $9$s. We can then write

$$
x\in(0,1),\quad x=0.x_1x_2\cdots,\quad
    x_i\in\{0,\ldots,9\},\quad i=1,2,\ldots.
$$

Then define a map from $(0,1)\times(0,1)$ to $(0,1)$ by

$$
(x,y)=(0.x_1x_2\cdots,0.y_1y_2\cdots)
    \mapsto (0.x_1y_1x_2y_2\ldots)=z\in(0,1).
$$

Show that this map is injective, then use injections in both directions.)

[Exercise 1.3.10 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw01:square-cardinality) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw01:square-cardinality)

### Problem 9

Show that if $a>0$ is irrational, so is the $k$th root of $a$, $a^{\frac{1}{k}}$, for any $k\in\mathbb{N}$.

[Exercise 1.11.3 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw01:irrational-roots) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw01:irrational-roots)

### Problem 10

Let $A_n$ be a set such that $|A_n|=\aleph_0$ for $n=1,2,\ldots$. Prove $|A|=\aleph_0$ where

$$
A=\bigcup_{n=1}^{\infty} A_n.
$$

[Exercise 1.1.6 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw01:countable-union) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw01:countable-union)

## Homework 2

### Problem 1

Give an example of a sequence of nested nonempty bounded intervals $\{I_n\}$ in $\mathbb{R}$ such that $I_{n+1}\subset I_n$ for each $n=1,2,\ldots$ but

$$
\bigcap_{n=1}^{\infty} I_n=\varnothing.
$$

Explain what goes “wrong”.

[Exercise 1.7.3 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw02:nested-bounded-intervals) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw02:nested-bounded-intervals)

### Problem 2

Give an example of a sequence of nested nonempty closed intervals $\{I_n\}$ in $\mathbb{R}$ such that $I_{n+1}\subset I_n$ for each $n=1,2,\ldots$ but

$$
\bigcap_{n=1}^{\infty} I_n=\varnothing.
$$

Explain what goes “wrong”.

[Exercise 1.7.4 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw02:nested-closed-intervals) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw02:nested-closed-intervals)

### Problem 3

Give an example of a sequence of nested nonempty bounded closed intervals $\{I_n\}$ in $\mathbb{Q}$ such that $I_{n+1}\subset I_n$ for each $n=1,2,\ldots$ but

$$
\bigcap_{n=1}^{\infty} I_n=\varnothing.
$$

Explain what goes “wrong”.

[Exercise 1.9.8 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw02:nested-rational-intervals) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw02:nested-rational-intervals)

### Problem 4

Consider the seqeunce

$$
x_n=\frac{1}{n^2}+\frac{2}{n^2}+\cdots+\frac{n}{n^2},
    \quad n=1,2,\ldots.
$$

1.  **(a)** Show that it is monotone decreasing and bounded below.

2.  **(b)** Show that it is Cauchy.

3.  **(c)** Obtain the limit of $\{x_n\}$.

4.  **(d)** Let $S=\{x_1,x_2,\ldots,x_n,\ldots\}$. Obtain both $\inf S$ and $\sup S$.

[Exercise 1.8.2 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw02:decreasing-sequence) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw02:decreasing-sequence)

### Problem 5

Consider the sequence

$$
x_n=\sum_{k=0}^{n}\frac{1}{k!},\quad n=1,2,\ldots,
$$

in $\mathbb{Q}$ and define $S=\{x_1,x_2,\ldots,x_n,\ldots\}$ which is a subset of $\mathbb{Q}$.

1.  **(a)** Show that $S$ is a bounded set.

2.  **(b)** Find $a=\inf S$ and $b=\sup S$.

3.  **(c)** Is it true that $a$ and $b$ both lie in $\mathbb{Q}$? Explain why and why not.

[Exercise 1.9.10 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw02:factorial-sequence) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw02:factorial-sequence)

### Problem 6

Consider the iteration process

$$
x_{n+1}=a+\frac{1}{x_n},\quad n=0,1,2,\ldots,
    \quad a\geq 1,\quad x_0>0,
$$

whose limit gives us the continuous fraction

$$
b=a+\frac{1}{a+\frac{1}{a+\frac{1}{a+\cdots}}}.
$$

That is, $b$ is a fixed point of the function

$$
f(x)=a+\frac{1}{x},\quad x>0,
$$

which is realized as a root of the function $F(x)=x-f(x)$ $(x>0)$.

1.  **(a)** Show that the iterative algorithm

    $$
    x_{n+1}=\frac{ax_n^2+2x_n}{1+x_n^2},
            \quad n=0,1,2,\ldots,\quad x_0>0,
    $$

    arises from Newton’s method that may be used to approach $b$ of our problem.

2.  **(b)** Assume that $\{x_n\}$ in (a) converges. Verify that the limit is indeed the continuous fraction $b$ defined above.

3.  **(c)** Take $a=\frac{3}{2}$. Prove $0<x_n\leq 2$ for $n=1,2,\ldots$.

4.  **(d)** Prove that $\{x_n\}_{n=1,2,\ldots}$ increases for any $x_0\ne 2$ and is constant when $x_0=2$.

5.  **(e)** Show that $\{x_n\}$ converges to $2$ with any initial state $x_0$ (thereby establishing the “global convergence” of the algorithm).

[Exercise 1.11.8 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw02:newton-iteration) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw02:newton-iteration)

## Homework 3

### Problem 1

Use the existence of the Dedekind cut in $\mathbb{R}$ to prove the greatest lower bound property. That is, if $S$ is a nonempty subset of $\mathbb{R}$ which is bounded below, then there is a unique number $c\in\mathbb{R}$ such that

$$
c=\inf S.
$$

(Do not use LUBP.)

[Exercise 1.7.2 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw03:dedekind-infimum) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw03:dedekind-infimum)

### Problem 2

Consider $A=\{a\in\mathbb{R}\mid a^3>5-\sqrt{2}\}$.

1.  **(a)** Find $B\subseteq\mathbb{R}$ such that $\{A,B\}$ forms a Dedekind partition.

2.  **(b)** Find the Dedekind cut for this partition.

3.  **(c)** Show that $A$ is bounded below and $B$ is bounded above and find

    $$
    \inf A\quad\text{and}\quad\sup B.
    $$

[Exercise 1.11.4 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw03:cubic-dedekind-cut) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw03:cubic-dedekind-cut)

### Problem 3

Consider the sequence

$$
a_n=\frac{1}{n}+\sin\left(\frac{2\pi n}{3}\right),
    \qquad n=1,2,\ldots.
$$

Find all limit points of $\{a_n\}$ and obtain

$$
\liminf_{n\to\infty}a_n,\quad\limsup_{n\to\infty}a_n.
$$

[Exercise 1.9.3 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw03:oscillating-sequence) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw03:oscillating-sequence)

### Problem 4

The Fibonacci sequence $\{F_n\}$ is defined by

$$
F_0=0,\quad F_1=1,\quad F_n=F_{n-2}+F_{n-1},
    \qquad n=2,3,\ldots.
$$

1.  **(a)** Show that $\{F_n\}$ is an increasing sequence. *Here increasing means nondecreasing.*

2.  **(b)** Show that $\{F_n\}$ is unbounded.

3.  **(c)** Show that the Fibonacci ratios

    $$
    r_n=\frac{F_n}{F_{n-1}},\qquad n=2,3,\ldots,
    $$

    is a bounded sequence.

4.  **(d)** Assume the limit of $\{r_n\}$ exists. Find the limit (which happens to be the golden ratio).

[Exercise 1.11.9 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw03:fibonacci-ratios) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw03:fibonacci-ratios)

### Problem 5

Let the rational numbers in $[0,1]$ be enumerated by $q_0,q_1,\ldots,q_n,\ldots$. Let $\varepsilon>0$ and cover this set $Q=\{q_n\}$ by

$$
U_\varepsilon=\bigcup_{n=0}^{\infty}I_n(\varepsilon),
$$

$$
I_n(\varepsilon)=(q_n-\varepsilon 2^{-n},q_n+\varepsilon 2^{-n}),
    \qquad n=0,1,2,\ldots.
$$

That is, $Q\subset U_\varepsilon$.

1.  **(a)** Show that the sum of the lengths of the intervals $\{I_n(\varepsilon)\}$ satisfies the bound

    $$
    \sum_{n=0}^{\infty}|I_n(\varepsilon)|\leq4\varepsilon.
    $$

2.  **(b)** Since $\varepsilon>0$ can be arbitrarily small, the set $Q$ can be covered by intervals of arbitrarily small total length indicating that $Q$ is a rather “sparse” subset of $[0,1]$. In view of this fact, give your explanation regarding the “incompleteness” of $Q$ in $[0,1]$.

[Exercise 1.9.11 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw03:rational-interval-cover) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw03:rational-interval-cover)

### Problem 6

For $x\in\mathbb{R}_+$, we defined the function $x^{1/n}$ for $n\in\mathbb{N}$.

1.  **(a)** For $x,y\in\mathbb{R}_+$, prove that $(xy)^{1/n}=x^{1/n}y^{1/n}$.

2.  **(b)** For $x\in\mathbb{R}_+$, we defined $x^{m/n}=(x^m)^{1/n}$ for $m\in\mathbb{N}$. Show that this is the same as $(x^{1/n})^m$.

3.  **(c)** For $x\in\mathbb{R}_+$ and $r,s\in\mathbb{Q}_+$, prove the laws of exponents

    $$
    (x^r)^s=x^{rs},\qquad x^{r+s}=x^rx^s.
    $$

[Exercise 1.11.6 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw03:rational-exponent-laws) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw03:rational-exponent-laws)

### Problem 7

Use the triangle inequality to prove

$$
\bigl||x|-|y|\bigr|\leq|x-y|,\qquad x,y\in\mathbb{R}.
$$

When will this become an equality?

[Exercise 1.10.1 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw03:reverse-triangle-inequality) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw03:reverse-triangle-inequality)

### Problem 8

Show that for $n=3,5,7,\ldots$, the function $x^{1/n}$ is a well-defined monotone increasing function which is a bijection from $\mathbb{R}$ to itself. (Hint: Study $x^n$.)

[Exercise 1.11.7 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sets-and-foundations/#ex:hw03:odd-roots) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw03:odd-roots)

## Homework 4

### Problem 1

Find the limit

$$
\lim_{n\to\infty}(5n^3-2n+100)^{1/n}.
$$

[Exercise 3.1.6 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-of-real-numbers/#ex:hw04:polynomial-root-limit) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw04:polynomial-root-limit)

### Problem 2

Find the limit

$$
\lim_{n\to\infty}(a^n+n)^{1/n}
$$

for $0\le a\le1$ and $a>1$, respectively.

[Exercise 3.1.7 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-of-real-numbers/#ex:hw04:exponential-root-limit) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw04:exponential-root-limit)

### Problem 3

An alternating series is one of the following form

$$
\sum_{n=0}^{\infty}(-1)^n a_n,
    \qquad
    \begin{gathered}
      a_n\ge0,\quad a_n\ge a_{n+1},\quad n=0,1,2,\ldots;\\
      \lim_{n\to\infty}a_n=0.
    \end{gathered}
$$

Prove that an alternating series converges. (Hint: Use the Cauchy convergence criterion.)

[Exercise 4.1.4 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/infinite-series-of-numbers/#ex:hw04:alternating-series) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw04:alternating-series)

### Problem 4

Prove that the telescope series

$$
\sum_{n=1}^{\infty}\left(\frac{1}{\sqrt n}-\frac{1}{\sqrt{n+a}}\right)
$$

converges for any $a>0$ and obtain the sum when $a=1$.

[Exercise 4.2.3 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/infinite-series-of-numbers/#ex:hw04:shifted-root-series) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw04:shifted-root-series)

### Problem 5

Consider

$$
\sum_{n=1}^{\infty}a_n,\qquad\sum_{n=1}^{\infty}b_n,
$$

where $a_n\ge0$ and $b_n>0$ for $n=1,2,\ldots$. Define

$$
r=\liminf_{n\to\infty}\frac{a_n}{b_n},\qquad
    R=\limsup_{n\to\infty}\frac{a_n}{b_n}.
$$

1.  **(i)** Show that if $r>0$ and $\sum_{n=1}^{\infty}b_n$ diverges, so does $\sum_{n=1}^{\infty}a_n$.

2.  **(ii)** Show that if $R<\infty$ and $\sum_{n=1}^{\infty}b_n$ converges, so does $\sum_{n=1}^{\infty}a_n$.

[Exercise 4.2.4 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/infinite-series-of-numbers/#ex:hw04:lower-upper-comparison) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw04:lower-upper-comparison)

### Problem 6

Consider series

$$
\sum_{n=1}^{\infty}a_n,\qquad a_n>0,\quad n=1,2,\ldots.
$$

The following are ratio and root tests for divergence.

1.  **(i)** Define

    $$
    R_1=\liminf_{n\to\infty}\frac{a_{n+1}}{a_n}.
    $$

    Show that if $R_1>1$, then the series diverges.

2.  **(ii)** Define

    $$
    R_2=\liminf_{n\to\infty}(a_n)^{1/n}.
    $$

    Show that if $R_2>1$, then the series diverges.

[Exercise 4.2.7 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/infinite-series-of-numbers/#ex:hw04:divergence-tests) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw04:divergence-tests)

### Problem 7

For $x\in\mathbb{R}$, investigate the absolute convergence of the power series

$$
\sum_{n=1}^{\infty}\frac{x^n}{(\sqrt3)^n n^k},
$$

where $k$ is an integer using the ratio test or root test for convergence or divergence.

[Exercise 8.6.14 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-and-series-of-functions/#ex:hw04:scaled-power-series) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw04:scaled-power-series)

### Problem 8

Let $a,b\ge0$. Prove the arithmetic mean-geometric mean inequality

$$
\sqrt{ab}\le\frac{a+b}{2}
$$

and deduce the necessary and sufficient condition when the inequality above is strict. (Hint: Consider $(\sqrt a-\sqrt b)^2$.)

[Exercise 3.2.7 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-of-real-numbers/#ex:hw04:two-variable-am-gm) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw04:two-variable-am-gm)

## Homework 5

### Problem 1

Let $F(x)$ be a continuous function which maps the interval $[a,b]$ into itself. Prove that $F$ has a fixed point in $[a,b]$. That is, there is some $c\in[a,b]$ such that $F(c)=c$. Use your result to prove that for any $n\in\mathbb{N}$ there is some $x\in(0,1)$ such that

$$
x=\frac{1}{1+x^n}.
$$

Find $x$ for $n=1$.

[Exercise 5.3.3 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/continuity/#ex:hw05:interval-fixed-point) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw05:interval-fixed-point)

### Problem 2

Let $f(x)$ be a continuous function over an interval $I$, with finite endpoints $a,b$, which may or may not be closed. Prove that if $f(x)$ is uniformly continuous over $I$, then $f$ is bounded. With this result, show that the function

$$
f(x)=\frac{1}{1+x},\qquad x\in(-1,1)
$$

is continuous but not uniformly continuous.

[Exercise 5.4.3 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/continuity/#ex:hw05:uniform-continuity-boundedness) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw05:uniform-continuity-boundedness)

### Problem 3

Show that if the highest degree term of a polynomial is odd powered, then it must have a real root.

[Exercise 5.3.4 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/continuity/#ex:hw05:odd-polynomial-root) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw05:odd-polynomial-root)

### Problem 4

Let $f(x)$ be continuous over $\mathbb{R}$ satisfying the additivity condition

$$
f(s+t)=f(s)+f(t),\qquad s,t\in\mathbb{R}.
$$

Show that there is a constant $a$ such that $f(x)=ax$. (Hint: First prove this when $x$ is an integer and identify what $a$ is. Then prove this when $x$ is rational. Finally pass to limit for any real $x$ by using the denseness of $\mathbb{Q}$ in $\mathbb{R}$.)

[Exercise 5.1.6 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/continuity/#ex:hw05:continuous-additive-function) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw05:continuous-additive-function)

### Problem 5

Use the definition of a function being continuous at a point, prove that if $f(x)$ is continuous at $x_0$, $g(y)$ is continuous at $y_0=f(x_0)$, then $h(x)=g(f(x))=(g\circ f)(x)$ is continuous at $x_0$ as well.

[Exercise 5.1.12 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/continuity/#ex:hw05:composition-continuity) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw05:composition-continuity)

### Problem 6

Use the definition of a function being continuous at a point, show that if $f(x)$ is continuous at $x_0$, so is the function

$$
g(x)=|f(x)|.
$$

[Exercise 5.1.4 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/continuity/#ex:hw05:absolute-value-continuity) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw05:absolute-value-continuity)

### Problem 7

Show that the function $f(x)=x^2$ is not uniformly continuous over $\mathbb{R}$ and explain what goes “wrong”.

[Exercise 5.4.4 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/continuity/#ex:hw05:square-not-uniformly-continuous) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw05:square-not-uniformly-continuous)

### Problem 8

Consider a function $f(x)$ over $\mathbb{R}$. We say that $f(x)$ is Lipschitzian if there is a constant $L>0$ such that

$$
|f(x)-f(y)|\le L|x-y|,\qquad x,y\in\mathbb{R}.
$$

Here $L$ is called the Lipschitz constant of $f$.

1.  **(a)** Prove that a Lipschitz function is uniformly continuous over the entire $\mathbb{R}$.

2.  **(b)** Consider the function

    $$
    f(x)=\frac{1}{1+x^2},\qquad x\in\mathbb{R}.
    $$

    Show that this function is Lipschitzian and estimate its Lipschitzian constant.

[Exercise 5.4.5 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/continuity/#ex:hw05:lipschitz-continuity) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw05:lipschitz-continuity)

### Problem 9

Consider the sequence

$$
f_n(x)=\frac{nx}{1+n^2x^2},\qquad
    x\in[0,1],\quad n=1,2,\ldots.
$$

1.  **(a)** Show that $f_n(x)\to0$ pointwise as $n\to\infty$.

2.  **(b)** Show that the convergence is not uniform.

[Exercise 8.3.3 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-and-series-of-functions/#ex:hw05:pointwise-not-uniform) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw05:pointwise-not-uniform)

### Problem 10

Let $f(x)$ be continuous over $\mathbb{R}$ and satisfy the “coercive” condition:

$$
f(x)\ge a|x|-b,\qquad x\in\mathbb{R},
$$

where $a>0$ and $b>0$ are two constants.

1.  **(a)** Show that $\inf f$ exists.

2.  **(b)** Show that $f$ attains $\inf f$ somewhere at $x_0\in\mathbb{R}$. That is, there is some $x_0$ such that

    $$
    f(x_0)=\inf f.
    $$

    Such a point $x_0$ is called a global minimum point of $f$ over $\mathbb{R}$.

(Hint: Let $\{x_n\}$ be a sequence such that

$$
f(x_n)\to\inf f\quad\text{as }n\to\infty.
$$

Show that $\{x_n\}$ contains a convergent subsequence.)

[Exercise 5.2.2 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/continuity/#ex:hw05:coercive-minimum) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw05:coercive-minimum)

## Homework 6

### Problem 1

Consider

$$
E(x)=\sum_{k=0}^{\infty}\frac{x^k}{k!},\qquad
    E_n(x)=\sum_{k=0}^{n}\frac{x^k}{k!},\qquad x\in\mathbb{R}.
$$

1.  **(i)** Establish the absolute and uniform convergence $E_n(x)\to E(x)$ as $n\to\infty$ over any interval $[a,b]$ $(-\infty<a<b<\infty)$.

2.  **(ii)** Use (i) to show that $E(x)$ is continuous.

3.  **(iii)** Show that $\ln x$ $(x>0)$ is continuous.

[Exercise 8.6.8 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-and-series-of-functions/#ex:hw06:exponential-continuity) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw06:exponential-continuity)

### Problem 2

Use the conventional notation $E(x)=e^x$. Show that for any $a>0$ there is some $b\in\mathbb{R}$ such that $a=e^b$ which allows us to define the function

$$
a^x=e^{bx},\qquad x\in\mathbb{R}.
$$

Classify the function $a^x$ in terms of $a$ when it is increasing, decreasing, or constant.

[Exercise 8.6.9 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-and-series-of-functions/#ex:hw06:arbitrary-base-exponential) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw06:arbitrary-base-exponential)

### Problem 3

Prove that for any $p>0$ there holds

$$
\lim_{x\to\infty}x^p e^{-x}=0.
$$

[Exercise 8.6.12 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-and-series-of-functions/#ex:hw06:exponential-dominates-powers) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw06:exponential-dominates-powers)

### Problem 4

Use the exponential addition law

$$
E(x+y)=E(x)E(y)\quad\text{or}\quad
    e^{x+y}=e^x e^y,\qquad x,y\in\mathbb{R}.
$$

1.  **(i)** Show that

    $$
    E(mx)=E(x)^m,\qquad E\left(\frac{x}{m}\right)=E(x)^{1/m},
            \qquad x\in\mathbb{R},\quad m\in\mathbb{N}.
    $$

2.  **(ii)** Show that (i) can be extended to

    $$
    E(qx)=E(x)^q,\qquad q\in\mathbb{Q},\quad x\in\mathbb{R}.
    $$

3.  **(iii)** Show that (ii) can be extended to

    $$
    E(ax)=E(x)^a,\qquad a\in\mathbb{R},\quad x\in\mathbb{R}.
    $$

[Exercise 8.6.10 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-and-series-of-functions/#ex:hw06:exponential-scaling) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw06:exponential-scaling)

### Problem 5

Use [Exercise 8.6.10](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-and-series-of-functions/#ex:hw06:exponential-scaling)(iii) to establish the property

$$
\ln(x^a)=a\ln x,\qquad a\in\mathbb{R},\quad x>0.
$$

[Exercise 8.6.11 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-and-series-of-functions/#ex:hw06:logarithm-power-law) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw06:logarithm-power-law)

### Problem 6

Prove

$$
\lim_{x\to0^+}x^p\ln x=0,\qquad p>0.
$$

[Exercise 8.6.13 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-and-series-of-functions/#ex:hw06:logarithmic-boundary-limit) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw06:logarithmic-boundary-limit)

### Problem 7

Consider the sequence

$$
f_n(x)=nx(1-x)^n,\qquad n\in\mathbb{N},\quad x\in[0,1].
$$

1.  **(i)** Show that $f_n(x)\to0$ as $n\to\infty$ pointwise. (Hint: Use [Exercise 8.6.9](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-and-series-of-functions/#ex:hw06:arbitrary-base-exponential) and [Exercise 8.6.12](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-and-series-of-functions/#ex:hw06:exponential-dominates-powers).)

2.  **(ii)** Show that the convergence $f_n(x)\to0$ as $n\to\infty$ is not uniform. (Hint: Try $x_n=\frac1{n+1}$ or use Calculus to get where $f_n(x)$ attains its maximum.)

[Exercise 8.3.6 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-and-series-of-functions/#ex:hw06:moving-peaks) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw06:moving-peaks)

### Problem 8

Let $\{f_n(x)\}$ be sequence of equicontinuous functions over $[a,b]$.

1.  **(i)** Show that if there is a point $x_0\in[a,b]$ such that $\{f_n(x_0)\}$ is a bounded sequence, then $\{f_n(x)\}$ is uniformly bounded over $[a,b]$. That is, there is a constant $M>0$ such that

    $$
    |f_n(x)|\le M,\qquad \forall x\in[a,b],\quad n=1,2,\ldots.
    $$

2.  **(ii)** Give an example to show that an equicontinuous sequence of functions may fail to be a bounded sequence even at a point.

[Exercise 8.3.10 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-and-series-of-functions/#ex:hw06:equicontinuous-boundedness) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw06:equicontinuous-boundedness)

### Problem 9

Let $\{f_n(x)\}$ and $\{g_n(x)\}$ be two uniformly convergent sequences whose limit are $f(x)$ and $g(x)$, respectively.

1.  **(i)** Show that $f_n(x)g_n(x)\to f(x)g(x)$ as $n\to\infty$ uniformly in $C[a,b]$ (for finite $a,b$).

2.  **(ii)** Give an example to show that (i) may fail in $C(-\infty,\infty)$.

3.  **(iii)** Show that $f_n(x)\pm g_n(x)\to f(x)\pm g(x)$ as $n\to\infty$ uniformly regardless of the underlying interval.

[Exercise 8.3.5 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-and-series-of-functions/#ex:hw06:uniform-algebra) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw06:uniform-algebra)

### Problem 10

Use the method of radius of convergence to determine the interval where the series

$$
S(x)=\sum_{n=1}^{\infty}n^2\left(\frac{x}{1-x}\right)^n
$$

converges and is continuous.

[Exercise 8.6.15 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/sequences-and-series-of-functions/#ex:hw06:composed-power-series) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw06:composed-power-series)

## Homework 7

### Problem 1

Let $f$ be a differentiable function over $\mathbb{R}$.

1.  **(i)** Show that if $f'(x)$ is a bounded function, then $f$ is a Lipschitz function which satisfies

    $$
    |f(x)-f(y)|\le L|x-y|,\qquad x,y\in\mathbb{R},
    $$

    where $L>0$ is a constant called the Lipschitz constant.

2.  **(ii)** If the Lipschitz constant in (i) satisfies $L<1$, the function is called “contractive”. Prove that a contractive function must have a fixed point $x^*$ such that $x^*=f(x^*)$. (Hint: Take any $x_0\in\mathbb{R}$ and consider the iterative sequence $x_n=f(x_{n-1})$ for $n=1,2,\ldots$.)

3.  **(iii)** Show that the fixed point $x^*$ found in (ii) is unique.

[Exercise 6.2.5 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/differentiation-and-applications/#ex:hw07:contractive-fixed-point) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw07:contractive-fixed-point)

### Problem 2

Consider the function

$$
f(x)=\begin{cases}
      \displaystyle\frac{x}{1+e^{1/x}},&x\ne0,\\[4pt]
      0,&x=0.
    \end{cases}
$$

1.  **(i)** Show that $f$ is continuous at $x=0$.

2.  **(ii)** Find the left- and right-derivatives of $f$ at $x=0$.

[Exercise 6.1.6 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/differentiation-and-applications/#ex:hw07:one-sided-derivatives) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw07:one-sided-derivatives)

### Problem 3

Let $P(x)=\sum_{k=0}^n a_kx^k$ satisfy

$$
a_0+\frac{a_1}{2}+\cdots+\frac{a_n}{n+1}=0.
$$

Show that there is a point $x\in(0,1)$ such that $P(x)=0$.

[Exercise 6.2.2 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/differentiation-and-applications/#ex:hw07:polynomial-rolle) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw07:polynomial-rolle)

### Problem 4

Let $f(x)$ be differentiable twice such that $f''(x)$ is also continuous.

1.  **(i)** Prove that

    $$
    f'(x)=\lim_{h\to0}\frac{f(x+h)-f(x-h)}{2h}.
    $$

2.  **(ii)** Prove that

    $$
    f''(x)=\lim_{h\to0}
              \frac{f(x+h)+f(x-h)-2f(x)}{h^2}.
    $$

(These formulas are very useful in numerical analysis. Hint: Are the limits of $0/0$ type?)

[Exercise 6.5.4 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/differentiation-and-applications/#ex:hw07:symmetric-differences) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw07:symmetric-differences)

### Problem 5

Let $a>1$. Show that for all $x\ge0$, we have

$$
\frac1{1+x}-\frac1{1+ax}\le\frac{\sqrt a-1}{\sqrt a+1},
$$

with equality only for $x=1/\sqrt a$.

[Exercise 6.2.6 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/differentiation-and-applications/#ex:hw07:rational-maximum) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw07:rational-maximum)

### Problem 6

Show that the function

$$
\left(1+\frac1x\right)^{x+1}
$$

decreases and find the limit

$$
\lim_{x\to\infty}\left(1+\frac1x\right)^{x+1}.
$$

[^43]

[^43]: The source does not specify a domain. Take $x>0$ for this positive-base real-power problem.

[Exercise 6.2.9 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/differentiation-and-applications/#ex:hw07:decreasing-euler-approximants) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw07:decreasing-euler-approximants)

### Problem 7

Find the limits

$$
\lim_{x\to0}\frac{\sin ax}{x},\qquad
    \lim_{x\to0}\frac{x}{\ln(1+ax)},\qquad
    \lim_{x\to0}\frac{1-\cos2x}{\sin^2x}.
$$

The second quotient requires $a\ne0$. If $a=0$, its denominator is identically zero.

[Exercise 6.5.5 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/differentiation-and-applications/#ex:hw07:trigonometric-logarithmic-limits) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw07:trigonometric-logarithmic-limits)

### Problem 8

Find the limits

$$
\lim_{n\to\infty}\left(1+\frac xn\right)^n,\qquad
    \lim_{n\to\infty}\left(1+\sin\frac\pi n\right)^n.
$$

[Exercise 6.5.6 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/differentiation-and-applications/#ex:hw07:power-sequence-limits) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw07:power-sequence-limits)

### Problem 9

For $x>0$, find $(x^x)'$.

[Exercise 6.1.10 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/differentiation-and-applications/#ex:hw07:self-power-derivative) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw07:self-power-derivative)

### Problem 10

Find

$$
\lim_{x\to0}x^x.
$$

[^48]

[^48]: For the real-power function on $x>0$, the limit at zero is taken from the right. The source writes $x\to0$ without a one-sided qualifier.

[Exercise 6.5.7 in the chapter](https://xyzmaths.org/notes/maths-analysis/analysis-i/differentiation-and-applications/#ex:hw07:self-power-limit) · [Appendix solution](https://xyzmaths.org/notes/maths-analysis/appendices/exercise-solutions/#sol:hw07:self-power-limit)
