solutions manual for fourier transforms: principles and ...solutions manual for fourier transforms:...

20
Solutions Manual for Fourier Transforms: Principles and Applications Eric W. Hansen Thayer School of Engineering, Dartmouth College Copyright c 2014, John Wiley & Sons, Inc. All rights reserved. These solutions are for the exclusive use of faculty.

Upload: others

Post on 20-Feb-2020

143 views

Category:

Documents


25 download

TRANSCRIPT

Page 1: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For

Solutions Manual

for

Fourier Transforms: Principles and Applications

Eric W. Hansen

Thayer School of Engineering, Dartmouth College

Copyright c 2014, John Wiley & Sons, Inc. All rights reserved.

These solutions are for the exclusive use of faculty.

Page 2: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For
Page 3: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For
Page 4: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For

Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen

c 2014, John Wiley & Sons, Inc. � For faculty use only

CHAPTER 1

Review of Prerequisite Mathematics

1-1.

v � w D kvk kwk cos � D1

2

�kvk2 C kwk2 � kv � wk2

�D1

2

�v2x C v

2y C w

2x C w

2y � .vx � wx/

2� .vy � wy/

2�

D vxwx C vywy :

1-2. (a) Begin with v01e01C v

02e02 D v1e1C v2e2. Because e01 � e

02 D 0, to isolate v01 on the left

hand side, take the dot product of both sides with e01. Then

v01 D v1e1 � e01 C v2e2 � e

01

H) a11 D e1 � e01; a12 D e2 � e

01

and similarly, a21 D e1 � e02; a22 D e2 � e

02 :

(b) In the one basis,

v � w D .v1e1 C v2e2/ � .w1e1 C w2e2/ D v1w1 C v2w2

by the orthonormality of the basis vectors. Similarly, using the other basis,

v � w D v01w01 C v

02w02 :

(c) In the primed basis,

v0 C w0 D�v01e01 C v

02e02

�C�w01e

01 C w

02e02

�D�v01 C w

01

�e01 C

�v02 C w

02

�e02

Substitute for the primed coefficients from part (a),

v0 C w0 D .v1 C w1/�e1 � e

01

�e01 C .v2 C w2/

�e2 � e

01

�e01

C .v1 C w1/�e1 � e

02

�e02 C .v2 C w2/

�e2 � e

02

�e02

and collect terms,

D .v1 C w1/��

e1 � e01

�e01 C

�e1 � e

02

�e02�„ ƒ‚ …

De1

C .v2 C w2/��

e2 � e01

�e01 C

�e2 � e

02

�e02�„ ƒ‚ …

De2

Page 5: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For

2 Review of Prerequisite Mathematics

(d) Apply the scalar to the vector in the primed basis and see what happens to the

coefficients after transformation to the original basis. In the primed basis, c0v D

c0�v01e01 C v

02e02

�D c0v01e

01 C c

0v02e02. Substitute for the primed coefficients from part

(a),

c0v01e01 C c

0v02e02 D c

0�v1e1 � e

01 C v2e2 � e

01

�e01 C c

0�v1e1 � e

02 C v2e2 � e

02

�e02

D c0v1�e1 � e

01 e01 C e1 � e

02 e02

�„ ƒ‚ …De1

Cc0v2�e2 � e

01 e01 C e2 � e

02 e02

�„ ƒ‚ …De2

D c0v

The scalar is unchanged by the change of basis.

1-3. (a) Write the function f .x/ D fe.x/ C fo.x/. By the definition of even and odd,

f .�x/ D fe.x/�fo.x/. Adding these two equations gives fe, and subtracting gives

fo (1.16).

(b) Write

Z a

�a

f .x/ dx D

Z 0

�a

f .x/ dxC

Z a

0

f .x/ dx. With f odd, changing variables in

the first integral gives

Z 0

�a

f .x/ dx D

Z a

0

f .�x/ dx D �

Z a

0

f .x/ dx, which cancels

the second integral, leading to (1.17).

(c) Write

Z a

�a

f .x/ dx D

Z 0

�a

f .x/ dx C

Z a

0

f .x/ dx. With f even, changing variables

in the first integral gives

Z 0

�a

f .x/ dx D

Z a

0

f .�x/ dx D

Z a

0

f .x/ dx, which is the

same as the second integral and leads to (1.18).

1-4. (a) f .x/ is a step function that jumps from 0 to 1 at x D 1. f .�x/ is a step function

that jumps from 1 to 0 at x D �1. Adding the two (make a sketch),

fe.x/ D

8̂̂̂<̂ˆ̂:12; jxj > 1

14; jxj D 1

0; jxj < 1

and subtracting, fo.x/ D fe.x/ sgn.x/.

(b) f .�x/ D exU.�x/. Adding the two gives

fe.x/ D1

2e�jxj;

a two-sided exponential. Subtracting gives fo.x/ D fe.x/ sgn.x/.

(c) f .x/ is a ramp with unit slope between 0 and 1, and zero otherwise (make a sketch).

f .�x/ is a ramp with slope �1 between �1 and 0, and zero otherwise. Adding the

two,

fe.x/ D

8̂̂̂<̂ˆ̂:jxj2; jxj < 1

14; jxj D 1

0; jxj > 1

Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen

c 2014, John Wiley & Sons, Inc. � For faculty use only

Page 6: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For

Review of Prerequisite Mathematics 3

Subtracting gives

fo.x/ D fe.x/ sgn.x/ D

8̂̂̂<̂ˆ̂:x; jxj < 1

˙14; x D ˙1

0; jxj > 1

It may be tempting to think, from these problems, that the odd part is always the

even part times a signum, but this is not so.

1-5. The odd part of a function is fo.x/ Df .x/ � f .�x/

2. Its derivative is f 0o.x/ D

f 0.x/ � .�1/f 0.�x/

2D

f 0.x/C f 0.�x/

2, which is, by definition, the even part of f 0. Therefore f 0o is even. The

same reasoning, beginning with the definition of fe.x/, shows that f 0e .x/ is odd.

1-6. (a) Let A D B in (1.20). Then sin 2A D sinA cosA C cosA sinA D 2 sinA cosA, and

similarly, cos 2A D cos2A � sin2A.

(b) Change B to �B in (1.20). Then sin.A � B/ D sinA cos.�B/ C cosA sin.�B/ D

sinA cosB � cosA sinB, and similarly, cos.A � B/ D cosA cosB C sinA sinB.

(c) Write cos 2A D cos2A � sin2A (part (a)) D�1 � sin2A

�� sin2A D 1 � 2 sin2A.

Solve for sin2A D 12.1 � cos 2A/. Similarly, cos2A D 1

2.1C cos 2A/.

1-7.

C sin.2��t C '/ D C sin.2��t/ cos' C C cos.2��t/ sin'

D .C sin'/ cos.2��t/C .C cos'/ sin.2��t/ :

In this form, A D C sin' and B D C cos'. We still have C DpA2 C B2, but tan' D

A=B.

1-8. The Taylor series for ex is ex D 1C x C x2

2ŠC

x3

3ŠC

x4

4ŠC : : :. (All derivatives of ex are

ex , and evaluate to 1 at x D 0.). Substitute x D i� , and

ei� D 1C i� C.i�/2

2C.i�/3

3ŠC.i�/4

4ŠC : : : D 1 �

�2

2ŠC�4

4ŠC : : :„ ƒ‚ …

cos �

C i� � i�3

3ŠC : : :„ ƒ‚ …

i sin �

Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen

c 2014, John Wiley & Sons, Inc. � For faculty use only

Page 7: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For

4 Review of Prerequisite Mathematics

To verify the Taylor series coefficients for sin � ,

sin 0 D 0

d sin �

d�

ˇ̌̌̌0

D cos 0 D 1

d2 sin �

d�2

ˇ̌̌̌0

D � sin 0 D 0

d3 sin �

d�3

ˇ̌̌̌0

D � cos 0 D �1

:::

and similarly for cos � .

1-9. The easier way is

j exp.i�/j2 D exp.i�/ exp.�i�/ D exp.0/ D 1;

but using the Euler equations,

j exp.i�/j2 D j cos � C i sin � j2 D cos2 � C sin2 � D 1

.

1-10. We want to show SN D

N�1XnD0

xn D1 � xN

1 � x. It is easy to see that S1 D 1 and S2 D

1 � x2

1 � xD 1 C x. Now, SK D

K�1XnD0

xn D

K�2XnD0

xn C xK�1 D SK�1 C xK�1, and assuming

SK�1 D1 � xK�1

1 � x,

SK D1 � xK�1

1 � xC xK�1 D

1 � xK�1 C .1 � x/xK�1

1 � xD1 � xK

1 � x:

1-11. (a)1 � e2x

xis of the form 0=0 as x ! 0, so apply L’Hospital’s rule,

limx!0

1 � e2x

xD limx!0

�2e2x

1D �2

(b)1 � cos�x

�xis of the form 0=0 as x ! 0, so apply L’Hospital’s rule,

limx!0

1 � cos�x

�xD limx!0

� sin�x

�D 0

Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen

c 2014, John Wiley & Sons, Inc. � For faculty use only

Page 8: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For

Review of Prerequisite Mathematics 5

1-12. (a) Let u D x, dv D eaxdx, thenZxeax dx D

1

axeax �

Z1

aeax dx D

1

axeax �

1

a2eax D

ax � 1

a2eax :

(b) Let u D x2, dv D cos bx, then du D 2xdx and v D 1b

sin bx, andZx2 cos bx dx D

x2

bsin bx �

Z2

bx sin bx dx:

Now let u D 2xb

, dv D sin bx dx, then du D 2bdx and v D � 1

bcos bx, andZ

x2 cos bx dx Dx2

bsin bx C

2x

b2cos bx �

Z2

b2cos bx dx

Dx2

bsin bx C

2x

b2cos bx �

2

b3sin bx D

b2x2 � 2

b3sin bx C

2x

b2cos bx :

1-13. (a) x�1=2 grows more slowly than 1=x as x ! 0, so it is integrable. The integral isZ 1

0

dx

x1=2D 2x1=2

ˇ̌̌̌10

D 2 :

(b)1

1C x2decays more rapidly than 1=x as jxj ! 1, so it is integrable. Using an

integral table or symbolic integrator,Z 1�1

dx

1C x2D arctan x

ˇ̌̌̌1�1

D�

2�

���

2

�D �

1-14. (a) The integrand is positive and even, and grows faster than 1=x as x ! 0, so it is not

integrable.

(b) The integrand grows faster than 1=x as x ! 0, but because it is the integral of an

odd function over a symmetric interval, we expect the integral to be zero. Calculate

the Cauchy principal value,

PZ 1

�1

dx

x3D lim�!0

�Z ���1

dx

x3C

Z 1

dx

x3

�D lim�!0

��1

2

�1

�2�

1

.�1/2

��1

2

�1 �

1

�2

��D 0

(c) Using the result of part (b), we may write

PZ 2

�1

dx

x3D P

Z 1

�1

dx

x3„ ƒ‚ …0

C

Z 2

1

dx

x3D �

1

2x2

ˇ̌̌̌21

D3

8:

Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen

c 2014, John Wiley & Sons, Inc. � For faculty use only

Page 9: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For
Page 10: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For

Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen

c 2014, John Wiley & Sons, Inc. � For faculty use only

CHAPTER 2

Vector Spaces

2-1. (a) It is not a vector space, because there cannot be an additive inverse if all the signals

are positive. Other than that, it works.

(b) This is a vector space. The key point is closure under addition, and the sum of two

signals A cos .!t C ˛/C B cos .!t C ˇ/ has frequency ! (use Equation 1.21).

(c) This is not a vector space. The set is not closed under addition (can get pixel values

greater than 255). Also, there is no additive inverse.

(d) Invalid problem, don’t assign. This appears to be better that (c), because the set

is now closed under addition and under scalar multiplication. However, there is an

algebraic problem that was glossed over in the text. The definition of vector space

used here effectively assumes that the scalars are either real or complex numbers.

Any other set of scalars must comprise what is called a field, with certain addition

and multiplication properties that these numbers lack.

(e) One-sided signals do comprise a vector space. The key point is closure under addi-

tion and scalar multiplication. Adding two one-sided signals results in a one-sided

signal; multiplication by a scalar results in a one-sided signal.

(f) One-sided signals that decay exponentially do comprise a vector space. Again,

closure is the key point. The sum of two exponentially decaying functions decays

exponentially (dominated by the slower decay).

(g) Piecewise-constant functions comprise a vector space. The sum of two piecewise-

constant functions is also piecewise constant, and the product of a scalar with a

piecewise-constant function is piecewise constant. This is the key point.

(h) Waves on a 1m string with fixed ends are functions f .x/ defined on an interval Œ0; 1�

with f .0/ D f .1/ D 0. This set of functions is closed under addition and scalar

multiplication, because the boundary conditions are still satisfied. This is the key

point in establishing the set as a vector space.

(i) If two signals f and g have zero average value, their sum also has zero average

value, and the product with a scalar, cf , also has zero average value. This is the

key point in establishing the set as a vector space.

(j) The set of functions with unit area is not a vector space. The area under the sum

of two such functions is 2, not 1, violating closure under addition.

2-2. (a) This is a vector space. Consider two such vectors, .x1; x2; x3/ and .y1; y2; y3/. The

product with a scalar c is .cx1; cx2; cx3/, and cx1Ccx2Ccx3 D c.x1Cx2Cx3/ D 0.

Page 11: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For

8 Vector Spaces

The sum of two vectors is .x1 C y1; x2 C y2; x3 C y3/, and .x1 C y1/C .x2 C y2/C

.x3 C y3/ D .x1 C x2 C x3/C .y1 C y2 C y3/ D 0.

One of the vector components is determined by the other two, e.g., x3 D �x1 � x2,

which reduces the dimensionality of the space to two. Two basis vectors are .1;�1; 0/

and .0; 1;�1/. They are linearly independent, but not orthogonal.

(b) This is not a vector space. The sum of two such vectors, .x1; x2; x3/ and .y1; y2; y3/,

is .x1 C y1; x2 C y2; x3 C y3/, and .x1 C y1/C .x2 C y2/C .x3 C y3/ D .x1 C x2 C

x3/C .y1 C y2 C y3/ D 2, not 1.

(c) fReal m � n matrices Ag is a vector space. The key point is closure under addition

and scalar multiplication, which holds.

The space is mn-dimensional. A basis consists of mn matrices, with 1 in the ij

location and 0 in all the other locations, for i D 1; 2; : : : m and j D 1; 2; : : : n.

(d) fReal n � n matrices A with detA D 0g is not a vector space, because the determi-

nant is not a linear operation. For a counterexample, consider

"1 0

0 0

#and

"0 0

0 1

#.

Their determinants are each 0, but their sum is

"1 0

0 1

#, which has determinant 1.

(e) Square symmetric matrices are a vector space. If you add two symmetric matrices,

the result is symmetric: .ACB/0 D A0CB 0 D ACB. If you multiply a symmetric

matrix by a scalar, the result is symmetric: .cA/0 D c0A0 D cA0 D cA. The additive

inverse, �A, is also symmetric. These are the key points.

For a basis, we seek a set of square symmetric matrices that are linearly independent

and span the space of square symmetric matrices. One such set, for n D 3, is

8̂<̂:2641 0 0

0 0 0

0 0 0

375 ;2640 0 0

0 1 0

0 0 0

375 ;2640 0 0

0 0 0

0 0 1

375 ;2640 1 0

1 0 0

0 0 0

375 ;2640 0 0

0 0 1

0 1 0

375 ;2640 0 1

0 0 0

1 0 0

3759>=>;

Here there are six basis matrices and the dimension of the space is, correspondingly,

six. In general, for n�n matrices, there are nC.n�1/C.n�2/C : : :C1 D n.nC1/=2

basis matrices (dimensions).

(f) nth-degree polynomials are a vector space. The sum of two such polynomials is an

nth-degree polynomial. Multiplying by a scalar results in an nth-degree polynomial.

The additive inverse, obtained by multiplying all coefficients by �1, is an nth-degree

polynomial. These are the key points.

For a basis, we need linearly independent nth-degree polynomials. Here is a set that

works:˚xn; xn C 1; xn C x; xn C x2; : : : ; xn C xn�1

(n dimensions).

(g) These polynomials do not comprise a vector space. The sum of two such polynomi-

als, f C g, at x D 0, is .f C g/.0/ D f .0/C g.0/ D 2 ¤ 1.

(h) These polynomials do comprise a vector space. The sum of two such polynomials,

f C g, at x D 1, is .f C g/.1/ D f .1/ C g.1/ D 0. Multiplying by a scalar,

cf .1/ D c � 0 D 0. The additive inverse, �f , has �f .1/ D 0. These are the key

points.

Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen

c 2014, John Wiley & Sons, Inc. � For faculty use only

Page 12: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For

Vector Spaces 9

For a basis, we seek linearly independent polynomials of degree � n, with p.1/ D 0.

Here is a set that works:˚xn � 1; xn�1 � 1; : : : ; x � 1

. The dimension of the space is

n. There is no nontrivial n D 0 (constant) member of the space and no constant basis

element. If there were, because p.1/ D 0, the constant would be zero everywhere,

which is trivial.

2-3. For continuous functions f; g; h 2 C Œ0; 1�: (a) The sum .f C g/.x/ is continuous and the

product .cf /.x/ D cf .x/ is continuous. Because these functions are real-valued, at every

x they satisfy commutative, associative and distributive properties (b-d) and then, by

(a), these combinations are continuous. (e) The additive identity element is 0. (f) Each

function f has an additive inverse .�f /.x/ D �1 � f .x/ which is continuous, by (a). (g)

The multiplicative identity element is 1.

2-4. For kvk D

qjv1j

2C jv2j

2Dpv1v�1 C v2v

�2 , applying Definition 2.2,

(a) The squared magnitudes jv1j2 and jv2j

2 are nonnegative, so the square root of their

sum must be nonnegative.

(b) Clearly, if v = 0 then kvk D 0. On the other hand, if kvk D 0, then jv1j2Cjv2j

2D 0,

and because jv1j2 and jv2j

2 are nonnegative, they can sum to zero only if they are

both zero, hence v D 0.

(c) kcvk D

qjcv1j

2C jcv2j

2D

rc2�jv1j

2C jv2j

2�D jcj

qjv1j

2C jv2j

2D jcjkvk:

(d) To verify the triangle inequality, write

kv C wk2 D hv C w; v C wi D kvk2 C kwk2 C hv;wi C hv;wi�

Now, by the triangle inequality (since each term is a real or complex number),

kv C wk2 Dˇ̌kv C wk2

ˇ̌� kvk2 C kwk2 C 2 jhv;wij � kvk2 C kwk2 :

2-5.

kxk1 D j1j C j2i j D 1C 2 D 3

kxk2 Dpj1j2 C j2i j2 D

p1C 4 D

p5

kxk1 D max fj1j; j2i jg D 2

2-6. Write x D .x � y/C y and apply the triangle inequality,

kxk D k.x � y/C yk � kx � yk C kyk

Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen

c 2014, John Wiley & Sons, Inc. � For faculty use only

Page 13: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For

10 Vector Spaces

then rearrange terms,

kx � yk � kxk � kyk :

By similar reasoning, exchanging x and y,

ky � xk � kyk � kxk D � .kxk � kyk/

Together, these imply that

kx � yk �ˇ̌̌kxk � kyk

ˇ̌̌:

2-7. In Rn, d1.x; y/ D

nXkD1

jxk � ykj. Squaring both sides,

d21 .x; y/ D

nXkD1

jxk � ykj

!2D

nXjD1

nXkD1

ˇ̌xj � yj

ˇ̌jxk � ykj

D

nXkD1

jxk � ykj2

„ ƒ‚ …d22.x;y/

C

Xj¤k

ˇ̌xj � yj

ˇ̌jxk � ykj„ ƒ‚ …

�0

H) d1.x; y/ � d2.x; y/

Next,

d22 .x; y/ D

nXkD1

jxk � ykj2D

�maxkjxk � ykj

�2„ ƒ‚ …

d21.x;y/

Cn � 1 other terms„ ƒ‚ …�0

H) d2.x; y/ � d1.x; y/

2-8. � For d1.0; x/ D jx1j C jx2j D 1, the “unit circle” is a diamond:

x2 D ˙ .1 � jx1j/ D

8<:˙ .1 � x1/ ; 1 � x � 0

˙ .1C x1/ ; 0 � x � �1

� For d2.0; x/ Dpjx1j2 C jx2j2 D 1, the “unit circle” is the unit circle.

� For d1.0; x/ D max fjx1j; jx2jg D 1, the “unit circle” is a square: jx2j D 1 for

jx1j < 1, and jx1j D 1 for jx2j < 1.

Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen

c 2014, John Wiley & Sons, Inc. � For faculty use only

Page 14: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For

Vector Spaces 11

d1

x2

d∞

x1

d2

Comparing with Problem 2-7, d1.0; x/ � d2.0; x/ � d1.0; x/, the “unit circles” are

ordered with d1 inside d2 inside d1. d1 is the smallest of the metrics, so the points for

which d1.0; x/ D 1 will be the farthest from the origin.

2-9. (a) hv; cwi D hcw; vi� D c� hw; vi� D c� hv;wi

(b) hu; v C wi D hv C w; ui� D hv; ui� C hw; ui� D hu; vi C hu;wi

(c) For any vector u, 0u D 0, so hv; 0i D hv; 0ui D 0 hv; ui D 0, and similarly for h0; vi.

(d) If hu; vi D hu;wi, then hu; vi�hu;wi D hu; v � wi D 0. That is, v�w is orthogonal

to every u 2 V , which implies v � w D 0, hence v D w.

2-10. With reference to Figure 2.2, using the Law of Cosines,

ku � vk2 D kuk2 C kvk2 � 2kuk kvk cos .angle opposite u � v/

kuC vk2 D kuk2 C kvk2 � 2kuk kvk cos .angle opposite uC v/

Adding the two,

kuC vk2 C ku � vk2 D 2kuk2 C 2kvk2 � 2kukkvk Œcos .angle opposite uC v/C cos .angle opposite u � v/� :

In a parallelogram, the angles sum to 360ı, so the angle opposite u C v is 180ı� the

angle opposite u � v. Now, cos.� � A/ D � cosA, so the sum of the two cosines is 0,

leaving the parallelogram law.

2-11. (a) In an inner product space, hu; ui D kuk2. Then,

kuC vk2 D huC v; uC vi D hu; ui C hu; vi C hv; ui C hv; vi

ku � vk2 D hu � v; u � vi D hu; ui � hu; vi � hv; ui C hv; vi

Now add these two equations.

Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen

c 2014, John Wiley & Sons, Inc. � For faculty use only

Page 15: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For

12 Vector Spaces

(b) In the parallelogram law, kuC vk2Cku � vk2 D 2kuk2C2kvk2. Since ku � vk2 � 0,

subtracting it from the left hand side makes the left hand side � the right hand

side.

2-12. (a) For real u; v, use the equations for kuC vk2 and ku � vk2 from the previous proof,

and subtract them instead of adding, giving

kuC vk2 � ku � vk2 D 2 hu; vi C 2 hv; ui D 4 hu; vi :

For complex u; v, we cannot equate the two inner products,

kuC vk2 � ku � vk2 D 2 hu; vi C 2 hv; ui

Derive a similar expression for kuC ivk2 � ku � ivk2,

kuC ivk2 � ku � ivk2 D �2i hu; vi C 2i hv; ui

Then eliminate the hv; ui term by combining the two expressions,

kuC vk2 � ku � vk2 C i�kuC ivk2 � ku � ivk2

�D 2 hu; vi C 2 hv; ui C i .�2i hu; vi C 2i hv; ui/

D 4 hu; vi

(b) Apply the triangle inequality, then the parallelogram law,

j4 hu; vi j � kuC vk2 C ku � vk2„ ƒ‚ …2kuk2C2kvk2

CkuC ivk2 C ku � ivk2„ ƒ‚ …2kuk2C2kvk2

H) j hu; vi j � kuk2 C kvk2

For real u; v, begin with the real result,

j4 hu; vi j � kuC vk2 C ku � vk2„ ƒ‚ …2kuk2C2kvk2

H) j hu; vi j �kuk2 C kvk2

2

2-13. Assume that the parallelogram law holds. Then it holds in particular for the vectors

u D .a; 0; 0; : : : ; 0/ and v D .0; b; 0; : : : ; 0/. Calculating the various norms,

kuk1 D k.a; 0; 0; : : : ; 0/k1 D jaj

kvk1 D k.0; b; 0; : : : ; 0/k1 D jbj

kuC vk1 D k.a; b; 0; : : : ; 0/k1 D jaj C jbj

ku � vk1 D k.a;�b; 0; : : : ; 0/k1 D jaj C jbj

and substituting into the parallelogram law,

kuC vk21 C ku � vk21 D 2kuk

21 C 2kvk

21 ;

we obtain

2.jaj C jbj/2 D 2jaj2 C 2jbj2 ;

Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen

c 2014, John Wiley & Sons, Inc. � For faculty use only

Page 16: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For

Vector Spaces 13

which is only true in the trivial case a D 0 or b D 0. A similar calculation shows that

kuk1 also cannot be calculated as an inner product.

2-14. (a) hau; bvi D ab� hu; vi D 0

(b) huC v; u � vi D hu; ui„ƒ‚…kuk2

C hv; ui„ƒ‚…D0

� hu; vi„ƒ‚…D0

� hv; vi„ƒ‚…kvk2

D 0.

2-15. (a) Norms of u:

kuk1 D j2j C j1C i j C ji j C j1 � i j D 2Cp2C 1C

p2 D 3C 2

p2

kuk2 Dpj2j2 C j1C i j2 C ji j2 C j1 � i j2 D

p4C 2C 1C 2 D 3

kuk1 D 2

(b) Norms of v:

kvk1 D j1j C ji j C j � 1j C ji j D 4

kvk2 Dp4 D 2

kvk1 D 1

(c) hu; vi D 2 � 1C .1C i/ � �i C i � �1C .1 � i/ � �i D 2 � 3i

(d) hv; ui D 1 � 2C i � .1 � i/ � 1 � .�i/C i � .1C i/ D 2C 3i

Note kuk1 > kuk2 > kuk1, kvk1 > kvk2 > kvk1, and hu; vi D hv; ui�.

2-16. If the vectors u and v are orthogonal, then

kuC vk2 D huC v; uC vi D hu; ui C hu; vi„ƒ‚…0

C hv; ui„ƒ‚…0

Chv; vi D kuk2 C kvk2:

Conversely, if kuC vk2 D kuk2 C kvk2, then

hu; ui C hu; vi C hv; ui C hv; vi D hu; ui C hv; vi

H) hu; vi C hv; ui D 2Re hu; vi D 0

If u and v are real, then their inner product has no imaginary part, and 2Re hu; vi D2 hu; vi D 0, which implies u and v are orthogonal. If u and v are complex, then their

inner product can still have a nonzero imaginary part and satisfy 2Re hu; vi D 0; that

is, they can be nonorthogonal.

2-17.

ke1 � e2k22 D he1 � e2; e1 � e2i D he1; e1i„ ƒ‚ …

1

� he1; e2i„ ƒ‚ …0

� he2; e1i„ ƒ‚ …0

Che2; e2i„ ƒ‚ …1

D 2

H) ke1 � e2k2 Dp2

Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen

c 2014, John Wiley & Sons, Inc. � For faculty use only

Page 17: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For

14 Vector Spaces

2-18.

kem � enk2D hem � en; em � eni D kemk

2C kenk

2� hem; eni � hem; eni

kemk2D

Z �

��

ˇ̌̌̌1p2�eimx

ˇ̌̌̌2dx D

Z �

��

1

2�dx D 1

hem; eni D

Z �

��

1

2�ei.m�n/x dx D

1

2�

1

i.m � n/ei.m�n/x

ˇ̌̌̌���

Dsin�.m � n/

�.m � n/D

8<:1; m D n

0; otherwise

H) kem � enk D

8<:0; m D np2; otherwise

This is the same as the distance between ex and ey in the plane.

2-19. (a) In R4, four vectors are needed for a basis.

(b) The four chosen vectors must be linearly independent in order to comprise a basis.

2-20. By the triangle inequality,

jhf; gi C hg; f ij � jhf; gij C jhg; f ij D 2 jhf; gij D 2kf k2 kgk2;

using the Cauchy-Schwarz inequality (Theorem 2.1).

2-21.

kx C yk2 D hx C y; x C yi D hx; xi C hy; yi C hx; yi C hx; yi�

� kxk2 C kyk2 C jhx; yij Cˇ̌hx; yi�

ˇ̌(triangle inequality)

� kxk2 C kyk2 C 2kxkkyk D .kxk C kyk/2 (Cauchy-Schwarz)

H) kx C yk � kxk C kyk

2-22. For `1, kxk1 DXn

jxnj. The first three properties of the norm are obvious. For the

triangle inequality, consider x; y 2 `1, and

NXnD1

jxn C ynj �

NXnD1

jxnj C jynj (triangle inequality in C)

D

NXnD1

jxnj C

NXnD1

jynj

Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen

c 2014, John Wiley & Sons, Inc. � For faculty use only

Page 18: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For

Vector Spaces 15

and because we are in `1, all the sums will converge to finite 1-norms as N !1, thus

1XnD1

jxn C ynj1 D kx C yk � kxk1 C kyk1 :

For `1, kxk1 D maxn jxnj. (a) jxnj � 0, so kxk1 � 0. (b) If x D 0, then the max

element is also zero, and the norm is zero; conversely, kxk1 D maxn jxnj D 0 implies

that all the other xn D 0 as well, hence x D 0. (c) Scaling every element of x by c

scales the maximum absolute value by jcj as well. (d) Triangle inequality: for each n,

jxn C ynj � jxnj C jynj (triangle inequality for C). Then,

maxnjxn C ynj � max

n.jxnj C jynj/ � max

njxnj Cmax

njynj :

The key point here is that maxn jxn C ynj may occur for a different n than maxn jxnj or

maxn jynj, e.g., if x D .1;�3/ and y D .2; 1/, then kxC yk1 D 3, kxk1 D 3, kyk1 D 2.

2-23. (a) Consider the partial sum, SN D

NXnD1

xny�n . Using the hint, jSN j �

NXnD1

jxnj2Cjynj

2D

NXnD1

jxnj2C

NXnD1

jynj2. Letting N !1 on the RHS, the sums converge to kxk2 and

kyk2, because x; y 2 `2. This establishes an upper bound for the LHS as N !1,

so SN converges.

(b) Check the inner product properties (Definition 2.4): (a) hx; yi DXn

xny�n D X

n

ynx�n

!�D hy; xi�. (b) hcx; yi D

Xn

cxny�n D c

Xn

xny�n D c hx; yi. (c)

hx C y; ´i DXn

.xn C yn/´�n D

Xn

xn´�n C

Xn

yn´�n D hx; ´i C hy; ´i. (d) hx; xi DX

n

xnx�n D

Xn

jxnj2 > 0, as long as all the xn ¤ 0.

2-24. We will show that if u is in `1, then it is also in `2, and that if u is in `2, then it is also

in `1.

� Let u 2 `1, then

NXnD1

junj <1 as N !1. Each term of the sum (each component

of u) must be finite in order for the sum to converge, so we have u 2 `1 also.

� To show u 2 `2, write kuk22 D

NXnD1

junj2�

NmaxnD1junj

NXnD1

junj. As N ! 1,

maxn junj ! kuk1 < 1 (because u 2 `1), and

NXnD1

junj ! kuk1, which is also

Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen

c 2014, John Wiley & Sons, Inc. � For faculty use only

Page 19: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For

16 Vector Spaces

finite; so u 2 `2.

� Finally, if u 2 `2, each term in the infinite sum kuk22 DXn

jxnj2 is finite, showing

u 2 `1.

2-25.

kxk1 D limN!1

NXnD1

jan�1j D limN!1

1 � jajN

1 � jajD

1

1 � jaj<1; jaj < 1

kxk22 D limN!1

NXnD1

jan�1j2 D limN!1

1 � jaj2N

1 � jaj2D

1

1 � jaj2<1; jaj < 1

H) kxk2 D1p

1 � jaj2; jaj < 1

kxk1 D maxnjan�1j D max

n

˚1; a; a2; : : :

D 1 <1; jaj � 1

2-26. (a) If f is bounded, jf j < M < 1 on Œa; b�. Then

Z b

a

jf .x/j dx � M.b � a/ < 1,

and

Z b

a

jf .x/j2 dx � M 2.b � a/ <1, so f 2 L1Œa; b� H) f 2 L1Œa; b� and f 2

L2Œa; b�.

(b) If f 2 L2Œa; b�, inner products are defined. Note kf k1 D

Z b

a

jf .x/j dx D hjf j; 1i.

Then, by Cauchy-Schwarz, hjf j; 1i � kf k2 k1k2 D .b � a/kf k2 < 1. Thus,

f 2 L1Œa; b�.

(c) By (a), L1Œa; b� � L2Œa; b�, and by (b), L2Œa; b� � L1Œa; b�.

2-27. Show that bounded and absolutely integrable f is also square integrable:

Z 1�1

jf .x/j2 dx DZ 1�1

jf .x/j jf .x/j dx. Now jf j � kf k1, so

Z 1�1

jf .x/j jf .x/j dx � kf k1

Z 1�1

jf .x/j dx D

kf k1 kf k1 <1. Thus,

Z 1�1

jf .x/j2 dx <1.

2-28. A function that grows like 1=px or faster at either end of the interval will not be square

integrable. For example,Z L

0

ˇ̌̌̌1px

ˇ̌̌̌2dx D

Z L

0

dx

xD log.x/

ˇ̌̌̌L0

;

which blows up at the lower limit.

Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen

c 2014, John Wiley & Sons, Inc. � For faculty use only

Page 20: Solutions Manual for Fourier Transforms: Principles and ...Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen c 2014, John Wiley & Sons, Inc. For

Vector Spaces 17

2-29. The L1 norm is kf k1 D

Z 1�1

jf .x/j dx. Check the properties of the norm (Definition

2.2): (a) jf j � 0, so its integral is nonnegative. (b) If f D 0, then kf k1 D

Z 1�1

0 dx D 0.

Conversely, on any interval .a; b/,

Z b

a

jf .x/j dx � .b�a/ sup.a;b/

jf j. If this integral is zero,

then sup.a;b/ jf j D 0, which implies f D 0 on .a; b/. (c) kcf k1 D

Z 1�1

jcf .x/j dx D

jcj

Z 1�1

jf .x/j dx D jcj kf k1. (d) Triangle inequality: For any x, jf .x/Cg.x/j � jf .x/jC

jg.x/j (triangle inequality for C). Then

kf C gk1 D

Z 1�1

jf .x/C g.x/j dx

Z 1�1

.jf .x/j C jg.x/j/ dx D

Z 1�1

jf .x/j dx C

Z 1�1

jg.x/j dx D kf k1 C kgk1 :

2-30. The L2 norm is kf k22 D

Z 1�1

jf .x/j2 dx. Check the properties of the norm (Definition

2.2): (a) jf j2 � 0, so its integral is nonnegative, thus kf k2 � 0. (b) If f D 0, thenZ 1�1

jf .x/j2 dx D 0. Conversely, on any interval .a; b/,

Z b

a

jf .x/j2 dx � .b�a/ sup.a;b/

jf j2.

If this integral is zero, then sup.a;b/ jf j2 D 0, which implies f D 0 on .a; b/. (c)

kcf k22 D

Z 1�1

jcf .x/j2 dx D jcj2Z 1�1

jf .x/j2 dx D jcj2 kf k22. Thus, kcf k2 D jcjkf k2.

(d) Triangle inequality: Write jf C gj2 D jf j2 C jgj2 C fg� C f �g, then

kf C gk22 D

Z 1�1

jf .x/C g.x/j2 dx

D

Z 1�1

jf .x/j2 dx„ ƒ‚ …kf k2

C

Z 1�1

jg.x/j2 dx„ ƒ‚ …kgk2

C

Z 1�1

�f .x/g�.x/C f �.x/g.x/

�dx„ ƒ‚ …

hf;giChg;f i

� kf k22 C kgk22 C 2kf k2kgk2 (Cauchy-Schwarz, (2.50))

D .kf k2 C kgk2/2

H) kf C gk2 � kf k2 C kgk2

The Cauchy-Schwarz inequality does not depend on the triangle inequality property of

the norm, so we are justified in using it here.

2-31. kf k1 D sup jf j. Check the properties of the norm (Definition 2.2): (a) jf j � 0, so

the supremum is also nonnegative. (b) If f D 0, then sup jf j D 0. If sup jf j D 0,

then jf j � 0 for all x, i.e., f D 0. (c) jf j � sup jf j H) jcf j � jcj sup jf j. (d)

Triangle inequality: jf C gj � jf j C jgj (triangle inequality for R), then sup jf C gj �

sup .jf j C jgj/ � sup jf j C sup jgj.

Solutions manual for Fourier Transforms: Principles and Applications by Eric W. Hansen

c 2014, John Wiley & Sons, Inc. � For faculty use only