linear algebra and differential equations math 54 lecture
play

Linear algebra and differential equations (Math 54): Lecture 25 - PowerPoint PPT Presentation

Linear algebra and differential equations (Math 54): Lecture 25 Vivek Shende April 30, 2019 Hello, and welcome to class! Hello, and welcome to class! Last time Hello, and welcome to class! Last time We introduced the notion of Fourier


  1. Linear algebra and differential equations (Math 54): Lecture 25 Vivek Shende April 30, 2019

  2. Hello, and welcome to class!

  3. Hello, and welcome to class! Last time

  4. Hello, and welcome to class! Last time We introduced the notion of Fourier series, and discussed how to expand a function into one.

  5. Hello, and welcome to class! Last time We introduced the notion of Fourier series, and discussed how to expand a function into one.

  6. Hello, and welcome to class! Last time We introduced the notion of Fourier series, and discussed how to expand a function into one. This time

  7. Hello, and welcome to class! Last time We introduced the notion of Fourier series, and discussed how to expand a function into one. This time Having developed this tool, we return to studying the heat equation.

  8. Heat equation review

  9. Heat equation review The heat equation in one variable is: ∂ t u ( x , t ) = β ∂ 2 ∂ ∂ x 2 u ( x , t )

  10. Heat equation review The heat equation in one variable is: ∂ t u ( x , t ) = β ∂ 2 ∂ ∂ x 2 u ( x , t ) We saw that some solutions are given by u ( x , t ) = e λ t ( A λ e x √ λ/β + B λ e − x √ λ/β ) λ > 0 u ( x , t ) = A λ + B λ x λ = 0 u ( x , t ) = e λ t ( A λ cos( x � � − λ/β )+ B λ sin( x − λ/β )) λ < 0

  11. Heat equation review Last week, we considered a wire of length L ,

  12. Heat equation review Last week, we considered a wire of length L , whose endpoints were kept at temperature zero.

  13. Heat equation review Last week, we considered a wire of length L , whose endpoints were kept at temperature zero. In other words, we imposed boundary conditions u (0 , t ) = 0 = u ( L , t )

  14. Heat equation review Of our above solutions, the only ones which take this form are the e λ t sin( x � � − λ/β ) when − λ/β = N π/ L

  15. Heat equation review Of our above solutions, the only ones which take this form are the e λ t sin( x � � − λ/β ) when − λ/β = N π/ L This led to a general solution of the form ∞ � N π � 2 t sin c N e − β ( N π L ) � u ( x , t ) = L x N =1

  16. Initial conditions and Fourier expansion Finally suppose we are given the initial temperature in the form of some function u ( x , 0).

  17. Initial conditions and Fourier expansion Finally suppose we are given the initial temperature in the form of some function u ( x , 0). Our job now is to express ∞ � N π � � u ( x , 0) = c N sin L x N =1

  18. Initial conditions and Fourier expansion Finally suppose we are given the initial temperature in the form of some function u ( x , 0). Our job now is to express ∞ � N π � � u ( x , 0) = c N sin L x N =1 In other words, to find values c N making the above formula true.

  19. Initial conditions and Fourier expansion Finally suppose we are given the initial temperature in the form of some function u ( x , 0). Our job now is to express ∞ � N π � � u ( x , 0) = c N sin L x N =1 In other words, to find values c N making the above formula true. Because then the solution will be given by ∞ � N π � 2 t sin c N e − β ( N π L ) � u ( x , t ) = L x N =1

  20. Initial conditions and Fourier expansion The expression ∞ � N π � � u ( x , 0) = c N sin L x N =1 looks much like a Fourier expansion.

  21. Initial conditions and Fourier expansion The expression ∞ � N π � � u ( x , 0) = c N sin L x N =1 looks much like a Fourier expansion. Two differences from last time:

  22. Initial conditions and Fourier expansion The expression ∞ � N π � � u ( x , 0) = c N sin L x N =1 looks much like a Fourier expansion. Two differences from last time: first, the function is only defined on the interval [0 , L ],

  23. Initial conditions and Fourier expansion The expression ∞ � N π � � u ( x , 0) = c N sin L x N =1 looks much like a Fourier expansion. Two differences from last time: first, the function is only defined on the interval [0 , L ], and second, we want to expand it only in sin rather than in sin and cos.

  24. Fourier series review The Fourier series of a function f ( x ) defined on [ − L , L ] is ∞ a n cos n π x + b n sin n π x a 0 � 2 + L L n =1 � L a n = 1 f ( x ) cos n π x L dx L − L � L b n = 1 f ( x ) sin n π x L dx L − L

  25. Initial conditions and Fourier expansion To absorb these differences, we extend the function f to [ − L , L ] simply by defining f ( − x ) = − f ( x ).

  26. Initial conditions and Fourier expansion To absorb these differences, we extend the function f to [ − L , L ] simply by defining f ( − x ) = − f ( x ). This has the virtue of ensuring that the extension is an odd function,

  27. Initial conditions and Fourier expansion To absorb these differences, we extend the function f to [ − L , L ] simply by defining f ( − x ) = − f ( x ). This has the virtue of ensuring that the extension is an odd function, which therefore has a Fourier expansion consisting only of sin n π x waves, L

  28. Initial conditions and Fourier expansion To absorb these differences, we extend the function f to [ − L , L ] simply by defining f ( − x ) = − f ( x ). This has the virtue of ensuring that the extension is an odd function, which therefore has a Fourier expansion consisting only of sin n π x waves, exactly as we wanted. L

  29. Initial conditions and Fourier expansion To absorb these differences, we extend the function f to [ − L , L ] simply by defining f ( − x ) = − f ( x ). This has the virtue of ensuring that the extension is an odd function, which therefore has a Fourier expansion consisting only of sin n π x waves, exactly as we wanted. L In interpreting the answer, we just ignore the value of the function on [ − L , 0].

  30. Example Consider a wire of length L and diffusivity β in which the initial temperature is described by the function � 0 ≤ x ≤ L / 2 x u ( x ) = L − x L / 2 ≤ x ≤ L and in which the temperature at the endpoints is kept at zero.

  31. Example Consider a wire of length L and diffusivity β in which the initial temperature is described by the function � 0 ≤ x ≤ L / 2 x u ( x ) = L − x L / 2 ≤ x ≤ L and in which the temperature at the endpoints is kept at zero. Let us determine the temperature in the wire as a function of time.

  32. Example Consider a wire of length L and diffusivity β in which the initial temperature is described by the function � 0 ≤ x ≤ L / 2 x u ( x ) = L − x L / 2 ≤ x ≤ L and in which the temperature at the endpoints is kept at zero. Let us determine the temperature in the wire as a function of time. First, we should expand out u ( x ) into its sin Fourier series.

  33. Example That is, we want to compute � L 2 � n π x � b n = f ( x ) sin dx L L 0 �� L / 2 � L � 2 � n π x � n π x � � = x sin dx + ( L − x ) sin dx L L L L / 2 0 � L � 2 �� n π/ 2 � π � 2 = u sin u du + ( n π − u ) sin u du n π L 0 n π/ 2

  34. Example That is, we want to compute � L 2 � n π x � b n = f ( x ) sin dx L L 0 �� L / 2 � L � 2 � n π x � n π x � � = x sin dx + ( L − x ) sin dx L L L L / 2 0 � L � 2 �� n π/ 2 � π � 2 = u sin u du + ( n π − u ) sin u du n π L 0 n π/ 2 � Noting u sin udu = sin u − u cos u ,

  35. Example That is, we want to compute � L 2 � n π x � b n = f ( x ) sin dx L L 0 �� L / 2 � L � 2 � n π x � n π x � � = x sin dx + ( L − x ) sin dx L L L L / 2 0 � L � 2 �� n π/ 2 � π � 2 = u sin u du + ( n π − u ) sin u du n π L 0 n π/ 2 � Noting u sin udu = sin u − u cos u , this is � L � 2 �� � n π/ 2 n π n π � � � 2 � � � � � sin u − u cos u sin u − u cos u n π cos u − − � � � L n π � � � n π/ 2 n π/ 2 0

  36. Example � L � 2 �� n π/ 2 n π n π � � � � 2 � � � � � sin u − u cos u sin u − u cos u n π cos u − − � � � n π L � � � 0 n π/ 2 n π/ 2

  37. Example � L � 2 �� n π/ 2 n π n π � � � � 2 � � � � � sin u − u cos u sin u − u cos u n π cos u − − � � � n π L � � � 0 n π/ 2 n π/ 2 � L � 2 � = 2 2 sin n π ( n π ) 2 sin n π 4 L � = L n π 2 2

  38. Example � L � 2 �� n π/ 2 n π n π � � � � 2 � � � � � sin u − u cos u sin u − u cos u n π cos u − − � � � n π L � � � 0 n π/ 2 n π/ 2 � L � 2 � = 2 2 sin n π ( n π ) 2 sin n π 4 L � = L n π 2 2 Thus the Fourier expansion of the original function u ( x ) is � � u ( x ) = 4 L sin( x ) − 1 9 sin 3 x + 1 25 sin 5 x − 1 49 sin 7 x + · · · π 2

  39. Example And finally, having written the initial condition as u ( x ) = 4 L � sin( x ) − 1 9 sin 3 x + 1 25 sin 5 x − 1 � 49 sin 7 x + · · · π 2

  40. Example And finally, having written the initial condition as u ( x ) = 4 L � sin( x ) − 1 9 sin 3 x + 1 25 sin 5 x − 1 � 49 sin 7 x + · · · π 2 we see that the time evolution is given by u ( x , t ) = 4 L � 2 t sin( x ) − 1 2 t sin 3 x + 1 � 2 t sin 5 x − · · · e − β ( π L ) 9 e − β ( 3 π L ) 25 e − β ( π 5 L ) π 2

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend