Computational Science and Engineering I Fall 2008

Similar documents
Examples of the Fourier Theorem (Sect. 10.3). The Fourier Theorem: Continuous case.

Math 121A: Homework 6 solutions

Study # 1 11, 15, 19

CODE: GR17A1003 GR 17 SET - 1

Topic # /31 Feedback Control Systems. Analysis of Nonlinear Systems Lyapunov Stability Analysis

A Library of Functions

Fourier Integral. Dr Mansoor Alshehri. King Saud University. MATH204-Differential Equations Center of Excellence in Learning and Teaching 1 / 22

Section Taylor and Maclaurin Series

Green s Theorem. Fundamental Theorem for Conservative Vector Fields

3 rd class Mech. Eng. Dept. hamdiahmed.weebly.com Fourier Series

Fourier Matching. CS 510 Lecture #7 February 8 th, 2013

Practice Problems: Integration by Parts

Study Guide Block 2: Ordinary Differential Equations. Unit 9: The Laplace Transform, Part Overview

Let s Get Series(ous)

(x + 3)(x 1) lim(x + 3) = 4. lim. (x 2)( x ) = (x 2)(x + 2) x + 2 x = 4. dt (t2 + 1) = 1 2 (t2 + 1) 1 t. f(x) = lim 3x = 6,

The Dirac δ-function

Second order Unit Impulse Response. 1. Effect of a Unit Impulse on a Second order System

MATH 241 Practice Second Midterm Exam - Fall 2012

Grade: The remainder of this page has been left blank for your workings. VERSION D. Midterm D: Page 1 of 12


MATH 2413 TEST ON CHAPTER 4 ANSWER ALL QUESTIONS. TIME 1.5 HRS.

More Least Squares Convergence and ODEs

FOURIER SERIES AND INTEGRALS

Computer Problems for Fourier Series and Transforms

Here is a summary of our last chapter, where we express a periodic wave as a Fourier series.

Fourier Series and Integrals

18.01 EXERCISES. Unit 3. Integration. 3A. Differentials, indefinite integration. 3A-1 Compute the differentials df(x) of the following functions.

Fourier Sin and Cos Series and Least Squares Convergence

Mathematical Methods and its Applications (Solution of assignment-12) Solution 1 From the definition of Fourier transforms, we have.

Grades will be determined by the correctness of your answers (explanations are not required).

Solutions to sample final questions

Notes on Fourier Series and Integrals Fourier Series

Series FOURIER SERIES. Graham S McDonald. A self-contained Tutorial Module for learning the technique of Fourier series analysis

Math 1310 Section 4.1: Polynomial Functions and Their Graphs. A polynomial function is a function of the form ...

MATH 18.01, FALL PROBLEM SET # 6 SOLUTIONS

Math Computer Lab 4 : Fourier Series

SOLVED PROBLEMS ON TAYLOR AND MACLAURIN SERIES

Notes for the Physics-Based Calculus workshop

Math 142, Final Exam, Fall 2006, Solutions

Brenda Rubenstein (Physics PhD)

MATH 124B: HOMEWORK 2

I. Impulse Response and Convolution

MAGIC058 & MATH64062: Partial Differential Equations 1

multiply both sides of eq. by a and projection overlap

Overview of Fourier Series (Sect. 6.2). Origins of the Fourier Series.

23.4. Convergence. Introduction. Prerequisites. Learning Outcomes

Exercise 11. Isao Sasano

Study 5.5, # 1 5, 9, 13 27, 35, 39, 49 59, 63, 69, 71, 81. Class Notes: Prof. G. Battaly, Westchester Community College, NY Homework.

Class Meeting # 2: The Diffusion (aka Heat) Equation

Fourier Sin and Cos Series and Least Squares Convergence

Jim Lambers ENERGY 281 Spring Quarter Lecture 3 Notes

Introduction to the FFT

Classification of Phase Portraits at Equilibria for u (t) = f( u(t))

Ma 530 Power Series II

Suppose that f is continuous on [a, b] and differentiable on (a, b). Then

Math 112 Rahman. Week Taylor Series Suppose the function f has the following power series:

Problem Set # 1 Solution, 18.06

Lecture 7. 1 Wavepackets and Uncertainty 1. 2 Wavepacket Shape Changes 4. 3 Time evolution of a free wave packet 6. 1 Φ(k)e ikx dk. (1.

LES of Turbulent Flows: Lecture 3

Fourier and Partial Differential Equations

Grades will be determined by the correctness of your answers (explanations are not required).

f(x)e ikx dx. (1) f(k)e ikx dk. (2) e ikx dx = 2sinak. k f g(x) = g f(x) = f(s)e iks ds

The degree of the polynomial function is n. We call the term the leading term, and is called the leading coefficient. 0 =

Graphs of polynomials. Sue Gordon and Jackie Nicholas

Indefinite Integration

Solution: APPM 1350 Final Exam Spring 2014

Material for review. By Lei. May, 2011

McGill University April 16, Advanced Calculus for Engineers

What will you learn?

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =

THE NATIONAL UNIVERSITY OF IRELAND, CORK COLÁISTE NA hollscoile, CORCAIGH UNIVERSITY COLLEGE, CORK. Summer Examination 2009.

Fourier transforms. c n e inπx. f (x) = Write same thing in an equivalent form, using n = 1, f (x) = l π

1. Solve the boundary-value problems or else show that no solutions exist. y (x) = c 1 e 2x + c 2 e 3x. (3)

Power Series Solutions We use power series to solve second order differential equations

Section 3.2 Polynomial Functions and Their Graphs

Jim Lambers ENERGY 281 Spring Quarter Lecture 5 Notes

Section 5.8. Taylor Series

Section 9.7 and 9.10: Taylor Polynomials and Approximations/Taylor and Maclaurin Series

Math 116 Practice for Exam 3

E2.5 Signals & Linear Systems. Tutorial Sheet 1 Introduction to Signals & Systems (Lectures 1 & 2)

AP Calculus Chapter 9: Infinite Series

Midterm Exam, Thursday, October 27

Bernoulli Numbers and their Applications

Section 4.1: Polynomial Functions and Models

cos 3 (x) sin(x) dx 3y + 4 dy Math 1206 Calculus Sec. 5.6: Substitution and Area Between Curves

Problem Set 9 Solutions

An overview of key ideas

(c) Find the equation of the degree 3 polynomial that has the same y-value, slope, curvature, and third derivative as ln(x + 1) at x = 0.

Tangent Lines Sec. 2.1, 2.7, & 2.8 (continued)

Unit 1 Matrices Notes Packet Period: Matrices

Ordinary Differential Equations (ODEs)

Last name: name: 1. (B A A B)dx = (A B) = (A B) nds. which implies that B Adx = A Bdx + (A B) nds.

Advanced Mathematics Unit 2 Limits and Continuity

Advanced Mathematics Unit 2 Limits and Continuity

10.34: Numerical Methods Applied to Chemical Engineering. Lecture 2: More basics of linear algebra Matrix norms, Condition number

Polynomial Functions and Their Graphs

Ma 221 Eigenvalues and Fourier Series

~t-,a~p.--e;;;;;i71- 0) x+ x2-sx+6. x x-38. PRECALCULUS Semester 1 Review

[ ], [ ] [ ] [ ] = [ ] [ ] [ ]{ [ 1] [ 2]

AS PURE MATHS REVISION NOTES

Transcription:

MIT OpenCourseWare http://ocw.mit.edu 18.085 Computational Science and Engineering I Fall 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

18.085 Prof. Strang Quiz 3 Solutions December 3, 2003 Your name is: Grading 1 2 3 Total Thank you for taking 18.085, I hope you enjoyed it. 1) (35 pts.) Suppose the 2n-periodic f (x) is a half-length square wave: 1 for 0 < x < n/2-1 for -n/2<x<o O elsewhere in [-n; n] (a) Find the Fourier cosine and sine coefficients ak and bk of f (x). (b) Compute J:n(f the a; and b;. (x))' dx as a number and also as an infinite series using (c) DR.4bV h GRPH of its integral I(x). (Then di/dx = f(x) on t,he interval [-n,n] choose the int,egration constant so I(0) = 0.) What are t,he Fourier coefficients 4,, and Bk of I(x)? (d) DR.4bV 4 GRPH of the derivative D(z) = $ from -n to n. What are t,he Fourier coefficients of D(x)? (e) If you convolve D(x) * I(x) why do you get the same answer as f (x) * f (x)? Not required t,o find that answer, just explain D * I = f * f. ( a) f (r)= odd function = -f (-x) so all ah = O -n 2.n/2. 2 1cos(knl2) Half-interval: bk = ;j, sln kx dx = 7,,.

TI2 (b) J'Jf (x))'dx = J-,,2 = 71. By Parseval this equals n C bi. (Substituting bk = (4,;, i; i;..) will give a remarkable formula from C bi = 1.) (c) Integrat~ star ng at O or -n Even function so Bk= 0. -71 bk sin k gives b k 9 I(x) Integrating*. SO k = The constant term is 0 = & J:, I(x) dx = or -;(integrate starting at 0 or -n). (dl -a(~+ $1-6(~- ;) Even function so Bi, = 0. Derivative of bi, sin kx is kbk cos kx so k = kbk Constant term is. = 0. (e) Convolution in x-space is multiplicat,ion in k-space. So f * f has complex Fourier coefficients ci (with factor 271). nd D(x) *I(x) has Fourier coefficients (ikck)(ck/ik) = ci (with same factor). D * I = f * f!!check in x-space: I(t) D(x - t)dt = integrate by parts = f (t) f (x - t) dt + (boundary term = 0 by periodicity) The usual minus sign disappears because of 2nd minus sign: $D(X - t) = -f (x - t). NOTE: I have nox learned that me can't just multiply sine coefficients (kbk)(-bk/k) because that gives an unwanted minus sign as in Jsin t sin(x - t)dt = -71 cos x.

2) (33 pts.) (a) Compute directly the convolution f * f (cyclic convolution with N = 6) when f = (0,0,0,1,0,0). [You could connect vectors (fo,...,f5) with polynomials fo + fll(: +... + f57u5 if you want to.] (b) What is the Discret,e Fourier Transforn~ c = (co, cl,c2;q,cq, c5) of t,he vector f = (0, 0, 0, 1,0,O)? St,illN = 6. (c) Compute f * f another way, by using c in "transform space" and then transforming back. With N = 6 the complex number w = e2"q6 has w" -1 and lo3= -1 and w6 = 1 (a) f = (0;0,0,1;0,O) corresponds to w3. Then f * f corresponds to w%which is 1. So f * f = (1;0,O; 0; 0,(1). (lso seen by circulant matrix multiplication.) (b) The t,ransform c = F'f= 1Ff 6 = 16 (column of F with powers of m3 = -1): Then c = g 1 (1,-1,l: -l,l,-1). (c) The transform off * f is 6(I2,(-1j2,12, 12; = $ (1,1,1,1,1,1). Multiply that vector u by F to transform back and Fu = (1,0,0,0,0,O) as in part (a)!

3) (32 pts.) On page 310 Example 3, t,he Fourier integral transform of the one-sided decaying pulse f (x) = eps (for x 2 O) f (x) = 0 (for x < 0) is comput,ed for -oo < k < oo as 1 f (k) = (a) Suppose this one-sided pulse is shifted t,o start at x = L > 0: fl(x) = e-a(x-l) for z 2 L, fl(x) = 0 for x < L Find the Fourier integral transform fl(k). (b) Draw a rough graph of the difference D(x) = f (x) - fl(x), on t,he whole line -m < z < m. Find its transform E(k). NOW LET a i 0. What is t,he limit of D(x) as a i O? What is t,he limit of E(k) as a i O? (c) The funct,ion fl(x) is smooth except for a jump at x = ', so t'he decay rate of fl(k) is -l/k. The convolution C(x) = fl(x)* fl(x) has transform C(k) = e-i2"/(a + ik)' with decay rat,e l/k2. Then in x-space this convolution C(x) has a corner (= ramp) at the point x =. p-~hl (a) fl(x) is f (x - L). By the shift rule (page 317) fl(k) = e?" f (k) = x. I! a = 1: Graph e-" then e-" - D(k) = ---- 1 e-ihl 1 -p-ihl a+ik a+ik approaches = transform of square pulse. (c) FILLED IK BLNKS BOVE