Solutions

Homework 1

MTHE / MATH 335 — Winter 2026

Problem 1: Linear (Vector) Spaces

Problem 1Linear (Vector) Spaces

a) The set C∞(R)C^\infty(\mathbb{R}), which is the set of all functions from R\mathbb{R} to R\mathbb{R} that are infinitely differentiable, together with the operations of addition and scalar multiplication defined as follows, is a vector space: For any f1,f2∈C∞(R)f_1, f_2 \in C^\infty(\mathbb{R})

(f1+f2)(x)=f1(x)+f2(x),x∈R(f_1 + f_2)(x) = f_1(x) + f_2(x), \qquad x \in \mathbb{R}

and for any α∈R\alpha \in \mathbb{R} and f∈C∞(R)f \in C^\infty(\mathbb{R})

(α⋅f)(x)=αf(x),x∈R(\alpha \cdot f)(x) = \alpha f(x), \qquad x \in \mathbb{R}

i) Now, consider P(R)\mathcal{P}(\mathbb{R}) to be the set of all (polynomial) functions that maps R\mathbb{R} to R\mathbb{R} such that any f∈P(R)f \in \mathcal{P}(\mathbb{R}) can be written as f(x)=∑i=0naixif(x) = \sum_{i=0}^{n} a_i x^i for some n∈Nn \in \mathbb{N} with a0,a1,⋯ ,an∈Ra_0, a_1, \cdots, a_n \in \mathbb{R}. Suppose that we define the same addition and scalar multiplication operations as defined above. Is P(R)\mathcal{P}(\mathbb{R}) a subspace in C∞(R)C^\infty(\mathbb{R})?

ii) Show that the space of all functions in C∞(R)C^\infty(\mathbb{R}) which map R\mathbb{R} to R\mathbb{R} which satisfy f(10)=0f(10) = 0 is a vector space with addition and multiplication defined as above.

b) Consider the set Rn\mathbb{R}^n. On Rn\mathbb{R}^n, define an addition operation and a scalar multiplication operation as follows:

(x1,x2,⋯ ,xn)+(y1,y2,⋯ ,yn)=(x1+y1,x2+y2,⋯ ,xn+yn)(x_1, x_2, \cdots, x_n) + (y_1, y_2, \cdots, y_n) = (x_1 + y_1, x_2 + y_2, \cdots, x_n + y_n)

α⋅(x1,x2,⋯ ,xn)=(αx1,αx2,⋯ ,αxn)\alpha \cdot (x_1, x_2, \cdots, x_n) = (\alpha x_1, \alpha x_2, \cdots, \alpha x_n)

Show that, with these operations, Rn\mathbb{R}^n is a vector space.

c) [Optional] Consider the set

W={(x,y):x∈R,y∈R,x>0,y>0}\mathbb{W} = \{(x, y) : x \in \mathbb{R}, y \in \mathbb{R}, x > 0, y > 0\}

On this set, define an addition operation and a scalar multiplication operation as follows:

(x1,y1)+(x2,y2)=(x1y1,x2y2)(x_1, y_1) + (x_2, y_2) = (x_1 y_1, x_2 y_2)

α⋅(x,y)=(xα,yα)\alpha \cdot (x, y) = (x^\alpha, y^\alpha)

Show that, with these operations, W\mathbb{W} is a vector space. Hint: Consider a bijection between W\mathbb{W} and the space R2\mathbb{R}^2 with W∋(x,y)↦(log⁡(x),log⁡(y))∈R2\mathbb{W} \ni (x, y) \mapsto (\log(x), \log(y)) \in \mathbb{R}^2.

Problem 2: Metric Spaces

Problem 2Metric Spaces

Given a normed space (X,∥.∥)(X, \|.\|), introduce a function:

n(x,y)=∥x−y∥1+∥x−y∥n(x, y) = \frac{\|x - y\|}{1 + \|x - y\|}

Show that n(x,y)n(x,y) satisfies the triangle inequality, n(x,y)=0n(x,y) = 0 iff x=yx = y, and n(x,y)=n(y,x)n(x,y) = n(y,x).

A function which satisfies the above three properties is called a distance or a metric on XX.

Problem 3: Subspaces

Problem 3Subspaces

A non-empty subset MM of a (real) linear vector space X\mathbb{X} is called a subspace of X\mathbb{X} if

αx+βy∈M,∀x,y∈Mandα,β∈R.\alpha x + \beta y \in M, \quad \forall x, y \in M \quad \text{and} \quad \alpha, \beta \in \mathbb{R}.

In particular, the null element 0‾\underline{0} is an element of every subspace.

For M,NM, N two subspaces of a vector space X\mathbb{X}, show that M∩NM \cap N is also a subspace of X\mathbb{X}.

Problem 4: Holder's Inequality and Minkowski's Inequality

Problem 4Holder's Inequality and Minkowski's Inequality

Let 1≤p,q≤∞1 \le p, q \le \infty with 1/p+1/q=11/p + 1/q = 1. Let x∈lp(Z+)x \in l_p(\mathbb{Z}_+) and y∈lq(Z+)y \in l_q(\mathbb{Z}_+). Then,

∑i=0∞∣xiyi∣≤∥x∥p∥y∥q\sum_{i=0}^{\infty} |x_i y_i| \le \|x\|_p \|y\|_q

This is known as Holder's inequality. Equality holds if and only if

(xi∥x∥p)(1/q)=(yi∥y∥q)(1/p),\left(\frac{x_i}{\|x\|_p}\right)^{(1/q)} = \left(\frac{y_i}{\|y\|_q}\right)^{(1/p)},

for each i∈Z+i \in \mathbb{Z}_+.

To prove this, perform the following:

a) Show that for a≥0,b≥0,c∈(0,1)a \ge 0, b \ge 0, c \in (0,1): acb1−c≤ca+(1−c)ba^c b^{1-c} \le ca + (1-c)b with equality if and only if a=ba = b. To show this, you may consider the function f(t)=tc−ct+c−1f(t) = t^c - ct + c - 1 and see how it behaves for t≥0t \ge 0 and let t=a/bt = a/b.

b) Apply the inequality acb1−c≤ca+(1−c)ba^c b^{1-c} \le ca + (1-c)b to the numbers:

a=(∣xi∣∥x∥p)p,b=(∣yi∣∥y∥q)q,c=1/pa = \left(\frac{|x_i|}{\|x\|_p}\right)^p, \quad b = \left(\frac{|y_i|}{\|y\|_q}\right)^q, \quad c = 1/p

Holder's inequality is useful to prove Minkowski's inequality which states that for 1<p<∞1 < p < \infty,

∥x+y∥p≤∥x∥p+∥y∥p\|x + y\|_p \le \|x\|_p + \|y\|_p

Problem 5: Completeness of Normed Linear Spaces

Problem 5Completeness of Normed Linear Spaces

a) Let C([0,1];R)C([0,1]; \mathbb{R}) be the space of continuous functions in Γ([0,1];R)\Gamma([0,1]; \mathbb{R}) with the norm

∥f∥=sup⁡t∈[0,1]∣f(t)∣.\|f\| = \sup_{t \in [0,1]} |f(t)|.

Is this space a complete normed linear space?

b) In class we will show that under the norm ∥f∥=∫01∣f(t)∣dt\|f\| = \int_0^1 |f(t)| dt, the space of continuous functions C([0,1];R)C([0,1]; \mathbb{R}) is not complete. Let us revisit this property.

Consider the sequence

xn(t)={1,if 0≤t≤1/2−2n(t−1/2)+1if 1/2<t<(1/2)+(1/2)n0,if (1/2)+(1/2)n≤t≤1x_n(t) = \begin{cases} 1, & \text{if } 0 \le t \le 1/2 \\ -2^n(t - 1/2) + 1 & \text{if } 1/2 < t < (1/2) + (1/2)^n \\ 0, & \text{if } (1/2) + (1/2)^n \le t \le 1 \end{cases}

Is this sequence Cauchy under the described norm? Does the sequence have a limit which is continuous?

Problem 6: Maximizing and Minimizing Functionals

Problem 6Maximizing and Minimizing Functionals

Find a function f∈L2([0,2];R)f \in L_2([0,2]; \mathbb{R}) of unit norm, that is with

∫02∣f(t)∣2dt=1,\int_0^2 |f(t)|^2 dt = 1,

which

a) maximizes

J(f)=∫02f(t)sin⁡(πt)dtJ(f) = \int_0^2 f(t)\sin(\pi t) dt

b) minimizes

J(f)=∫02f(t)sin⁡(πt)dtJ(f) = \int_0^2 f(t)\sin(\pi t) dt

Are the solutions unique?

Hint: Apply the Cauchy-Schwarz inequality.

Problem 7: Parallelogram Law

Problem 7Parallelogram Law

Let XX be a pre-Hilbert space with norm ∥x∥=⟨x,x⟩\|x\| = \sqrt{\langle x, x \rangle}. Prove the Parallelogram law, that is, show that:

∥x+y∥2+∥x−y∥2=2∥x∥2+2∥y∥2\|x + y\|^2 + \|x - y\|^2 = 2\|x\|^2 + 2\|y\|^2

Problem 8: Continuity of Linear Functionals

Problem 8Continuity of Linear Functionals

Let T:L2(R+;R)→RT : L_2(\mathbb{R}_+; \mathbb{R}) \to \mathbb{R} be a mapping given by:

T(f)=∫0∞f(t)11+t2dtT(f) = \int_0^\infty f(t) \frac{1}{1 + t^2} dt

Is TT continuous at some f0∈L2(R+;R)f_0 \in L_2(\mathbb{R}_+; \mathbb{R})?