HW1. Math 499. Spring 2007 Independent studies course Supervisor: Dr Angel R. Pineda, Assistant Professor Mathematics Department California State University, Fullerton

Student: Nasser Abbasi


Problem 1

Part A

Show that the set of even functions, MATH is a subspace of the vector space of all function MATH

Answer:

(a) if $f$ is an even function, then MATH

let MATH where $f,g\,\ $are even functions. To show closure under addition, We need to show that $w\left( x\right) $ is also an even function.

MATH

Hence $w\left( x\right) $ is closed under addition.

To show closure under scalar multiplication. Let $c\in \Re \,,$ we need to show that $cf\left( x\right) $ is even function when $f\left( x\right) $ is even function. Let MATH

MATH

Hence closed under scalar multiplication.

And since the "zero" function is also even (and odd as well), Hence even functions are subspace of the vector space of all function MATH

Part B

Show that the set of odd functions, MATH form a complementary subspace with the set of even functions (i.e. two subspaces $W,Z$ of $V$ are complementary if

(i) MATH

(ii) $W\cup Z=V$, i.e. every $\vec{v}\in V$ can be written as MATH where MATH

solution: Let the set of odd functions be $W$ and let the set of even functions be $Z$. Let the set of all functions be $V$.


t4.png

To show that $W,Z$ are complementary, we need to show that the above 2 properties are met.

Looking at property (i). This property says that the function $\vec{v}\in V$ can be decomposed into the sum of an odd function and even function in one and only one way. i.e. MATH where MATH is a unique decomposition of $\vec{v}$.

To show this, apply proof by contradiction. Assume the function $\vec{v}\in V$ can be written as the sum of even and odd functions in 2 different ways. MATH and also MATH where MATH and MATH. But this means that MATH. Which implies that MATH.

Since the difference between 2 even functions is an even function (This can be easily shown from properties of even functions if needed), and the difference between 2 odd function is an odd function, then we have that an even function is identically equal to an odd function. Which is not possible unless both are zero. Hence MATH which means that MATH and MATH, therefor the decomposition of $\vec{v}$ must be unique. This proofs property (i).

Now we need to proof property (ii). This means that any function can be written as the sum of an odd and even function.

answer: Let MATH be any arbitrary function. Write it as follows

MATH

Now add and subtract from the RHS MATH, This will not change anything

MATH

regroup as follows

MATH

Now let MATH, then to show that $g\left( x\right) $ is even, i.e. MATH, need to show that MATH MATH

Hence $g\left( x\right) $ is even.

Now let MATH, to show that $h\left( x\right) $ is odd, i.e. MATH, we need to show that MATH or MATH

MATH

Hence $h\left( x\right) $ is odd.

Hence we showed that MATHeven function $+\frac {1}{2}$odd function. Hence MATH where MATH is the even part of $f\left( x\right) $ and MATH is the odd part of $f\left( x\right) $.

side note: Let the basis of the subspace $W$ be MATH, and let the basis of the subspace $Z$ be MATH. Property (ii) implies that a basis of $V$ can be taken as the union of these 2 sets of bases, i.e. basis for MATH

Part C

Problem: Show that every function can be uniquely written as the sum of even and odd function.

Solution: From part(b), since we showed that the subspaces of even and odd functions are complementary, hence this follows from the property of such subspaces.


Problem 2

Problem: Prove that a linear system $Ax=b$ of $m$ linear equations in $n$ unknowns has either

  1. exactly one solution

  2. infinitely many solutions

  3. no solution

answer:

What I have to show is that if more than one solution exist, then there is infinite number of solutions. In other words, one can not have finitly countable number of solutions other than zero or 1.

Assume there exist 2 solutions. MATH, hence MATH, and MATH.


t1.png

We can show that any point on the line joining the vectors MATH is also a solution.


t2.png

Vector $\QTR{bf}{v}$ can be parameterized by scalar $t$ where MATH By changing $t$ we can obtain new vector $\QTR{bf}{v}$. There are infinitely many such vectors as $t$ can have infinitely many values.

MATH

But MATH, and MATH, hence the above becomes

MATH

Therefor, $\QTR{bf}{v}$, which is different than $\QTR{bf}{x}_{1}$ and $\QTR{bf}{x}_{2}$ is also a solution. Hence if there are 2 solutions, then we can always find an arbitrary new solution from these 2 solutions, Hence there are infinitely many solutions. QED


Problem 3

Problem: Prove that the inner product defined by MATH satisfy the conditions of an inner product on the space on continuously differentiable functions on the interval $\left[ a,b\right] $

Answer: An inner product must satisfy the following properties. Let $f,g,w$ be continuously differentiable functions on $[a,b]$ and let $t$ be scalar.

1. MATH

2. MATH

3. MATH

4. MATH if $f\neq0$ or MATH iff $f=0$

To show property 1. Since MATH

Now, since real valued functions are commutative under multiplication (ie. MATH and similarly for the derivatives, we can exchange the order of multiplication MATH

To show property 2:

MATH

To show property 3:

MATH

Now, since we can distribute multiplication over addition for real valued functions, i.e. MATH(becuase function multiplications is a point-by-point multiplication) the above becomes

MATH

By linearity of integration operation we can break above integral into the sum of two integrals

MATH

To show property 4:

MATH

Consider MATH. Since MATH can only be positive or zero$,$This is the same as $\int_{a}^{b}g(x)dx$ where MATH over $[a,b],$ Hence MATH only if $g(x)$ is identically zero over $\lbrack a,b]$, but if MATH, then MATH or MATH, which means MATH.

Now if MATH, then the second integral MATH as well.

Hence MATH only if $f\left( x\right) $ is identically zero over $[a,b]$

Hence we showed the 4 properties for this definition of the inner product.


Problem 4

problem: $L_{2}$ norm on the interval $[a,b]$ is defined as MATH

Find the cubic polynomial that best approximates the function $e^{x}$ on the interval $\left[ 0,1\right] $ by minimizing the $L_{2}$ error.

solution:

Let MATH, hence we need to have 4 equations to solve for MATH

Let the MATH, which is the error function.

From the definition, the square of norm of this error is MATH

MATH

Now minimize this error with respect to each of the coefficients in turn to generate 4 equations to solve.

MATH

Hence, set up the above 4 equations in matrix form, we obtain MATH

Solving for $a^{\prime}s$ using Gaussian elimination leads to solution

MATH

Hence the best fit cubic polynomial that minimize the error to $e^{x}$ between $0$ and $1$ is

MATH

This is a table of values to compare $e^{x}$ and $p\left( x\right) $


t3.png


Problem 5

Problem: A Hilbert space is a function space with a norm. If we consider the space of continuous functions on $\left[ a,b\right] $ with $L_{2}$ norm, it is Hilbert space $H$. A key step in showing that functions on this space can be approximated using a countable (i.e. indexed by integers) orthonormal set is the Bessel Inequality MATH

where $\phi_{i}$ is an element of the orthonormal set and $f$ is the element of the Hilbert space being approximated.

If we approximate $f\left( x\right) $ by MATH with MATH. Start by stating the error in the approximation to prove the Bessel inequality.

solution

In this solution, I use the analogy to the normal Euclidean space just as a guideline.

MATH is the projection of the function $f$ onto the basis $\phi_{i}$. This is similar to extracting the $i^{th}$ coordinate of a vector. The expression MATH is then a vector along the direction of the base $\phi_{i}$, whose length is the projection of $f$ in the direction of the $i^{th}$ basis. Hence in general, MATH This is similar to the Euclidean coordinate system where we write MATH where MATH are the basis in this space and $x,y,z\,\ $are the coordinates of the vector. A vector coordinate is the length of the projection of the vector onto each specific basis. The expression for $f(x)$ above is a generalization of this concept to the function space and to an arbitrary number of basis.

And similarly to what we do in the Euclidean space, the 'length' of the vector using $L_{2}$ norm is MATH, hence MATH. This is generalized to the $H$ space by sayingMATH

If the number of basis is infinite, then we write

MATH

Therefore, if the number of basis is infinite, and we sum for some finite number of basis less than infinite, say $n$, hence the resulting norm must be less than the actual norm we would get if we had added over all the basis. Hence it is obvious that MATH since we terminated the sum earlier, and since each quantity being summed is positive, then the partial sum must be less than the limit, which is $\Vert f\Vert^{2}.$

Now we just need to show that the norm finite. If the function itself is finite (meaning its value, or range, is finite) then each of its its projections must be finite (MATH. Hence given a function which does not "blow" up, then all its components must be finite. Since we are adding finite number of quantities, each of which is finite in its own, hence the sum must be finite as well. Hence MATH, or MATH

Therefor MATH