1 / 39

Mat-F February 21, 2005 Separation of variables

Mat-F February 21, 2005 Separation of variables. Åke Nordlund Niels Obers, Sigfus Johnsen / Anders Svensson Kristoffer Hauskov Andersen Peter Browne Rønne. Overview. Follow-up Computer problems Maple TA problems Maple TA changes New web pages Chapter 19 Separation of variables

wade-hooper
Télécharger la présentation

Mat-F February 21, 2005 Separation of variables

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Mat-FFebruary 21, 2005Separation of variables Åke Nordlund Niels Obers, Sigfus Johnsen / Anders Svensson Kristoffer Hauskov Andersen Peter Browne Rønne

  2. Overview • Follow-up • Computer problems • Maple TA problems • Maple TA changes • New web pages • Chapter 19 • Separation of variables • Exercises today

  3. Follow-up:Computer problems • Client-server problems • Over-loaded servers • Over-loaded network?? • Browser problems • Mozilla / Maple / JAVA • Netscape plugin missing • Don’t panic! • “… it said in warm, red letters …”

  4. Follow-up:Computer problems • Some problems will be fixed • Browser: Netscape with plugin • Some hardware constraints need work-arounds • Network limitations?? • Possibly use D315 & A122 • CPU limitations • Make sure logins and windows are on localhost

  5. Follow-up:Maple TA • Maple TA improvements • No longer accepts “0” or “whatever” as solutions  • Remaining limitations • Still accepts less than general PDE solutions  • Use human judgment! • I will !

  6. Follow-up:Maple TA • Maple TA changes • For those who could not come Wednesday • For continued exercises (computer problems) • For additional training Maple TA exercises will be (are) available in an open version from the day (Thursday) after the exercises.

  7. New web pages • Maple Examples • Examples / templates for turn-in assignments • Exercise Groups • Time & room schedule added • Rooms could possibly change next week • But not this week!

  8. 19. Partial Differential Equations:Separation of variables … • Main principles • Why? • Techniques • How?

  9. Main principles • Why? • Because many systems in physics are separable • In particular systems with symmetries • Such as spherically symmetric problems Example: Spherical harmonics u(r,Θ,φ,t) = Ylmn(r,Θ,φ) eiωt

  10. 19. Partial Differential Equations:Separation of Variables … • Main principles • Why? • Common in physics! • Greatly simplifies things! • Techniques • How?

  11. 19.1 Separation of variables:the general method • Suppose we seek a PDE solution u(x,y,z,t) Ansatz: u(x,y,z,t) = X(x) Y(y) Z(z) T(t) This ansatz may be correct or incorrect! If correct we have u/x = X’(x) Y(y) Z(z) T(t) 2u/x2 = X”(x) Y(y) Z(z) T(t)

  12. 19.1 Separation of variables:the general method • Suppose we seek a PDE solution u(x,y,z,t): Ansatz: u(x,y,z,t) = X(x) Y(y) Z(z) T(t) This ansatz may be correct or incorrect! If correct we have u/y = X(x) Y’(y) Z(z) T(t) 2u/y2 = X(x) Y”(y) Z(z) T(t) u/y = X(x) Y’(y) Z(z) T(t) 2u/y2 = X(x) Y”(y) Z(z) T(t)

  13. 19.1 Separation of variables:the general method • Suppose we seek a PDE solution u(x,y,z,t): Ansatz: u(x,y,z,t) = X(x) Y(y) Z(z) T(t) This ansatz may be correct or incorrect! If correct we have u/y = X(x) Y’(y) Z(z) T(t) 2u/y2 = X(x) Y”(y) Z(z) T(t) u/z = X(x) Y(y) Z’(z) T(t) 2u/z2 = X(x) Y(y) Z”(z) T(t)

  14. 19.1 Separation of variables:the general method • Suppose we seek a PDE solution u(x,y,z,t): Ansatz: u(x,y,z,t) = X(x) Y(y) Z(z) T(t) This ansatz may be correct or incorrect! If correct we have u/y = X(x) Y’(y) Z(z) T(t) 2u/y2 = X(x) Y”(y) Z(z) T(t) u/t = X(x) Y(y) Z(z) T’(t) 2u/t2 = X(x) Y(y) Z(z) T”(t)

  15. Examples u(x,y,z,t) = xyz2sin(bt) u(x,y,z,t) = xy + zt u(x,y,z,t) = (x2+y2) z cos(ωt)

  16. Yes! No! ? Hm… Examples Separable? u(x,y,z,t) = xyz2sin(bt) u(x,y,z,t) = xy + zt u(x,y,z,t) = (x2+y2) z cos(ωt)

  17. Yes! No! ? Hm… (x2+y2)  p2 Examples Separable? u(x,y,z,t) = xyz2sin(bt) u(x,y,z,t) = xy + zt u(x,y,z,t) = (x2+y2) z cos(ωt)

  18.  Yes! Yes! No! Examples Separable? u(x,y,z,t) = xyz2sin(bt) u(x,y,z,t) = xy + zt u(p,z,t) = p2 z cos(ωt)

  19. Example PDEs • The wave equation where c22u= 2u/t2 2  2/x2 + 2/y2 + 2/z2 Ansatz: u(x,y,z,t) = X(x) Y(y) Z(z) T(t)

  20. Separation of variables in the wave equation • For the ansatz to work we must have (lets set c=1 for now to get rid of a triviality!) • Divide though with XYZT, for: X”YZT + XY”ZT + XYZ”T = XYZT” X”/X + Y”/Y + Z”/Z = T”/T This can only work if all of these are constants!

  21. Separation of variables in the wave equation • Let’s take all the constants to be negative • Negative  bounded behavior at large x,y,z,t X”/X + Y”/Y + Z”/Z = T”/T These are called separation constants - 2 - 2 - 2 = - µ2 This is typical: If / when a PDE allows separation of variables, the partial derivatives are replaced with ordinary derivatives, and all that remains of the PDE is an algebraic equation and a set of ODEs – much easier to solve!

  22. Separation of variables in the wave equation • Solutions of the ODEs: Example: x-direction X”/X = - 2 General solution: X(x) = A exp(i  x) + B exp(-i  x) or X(x) = A’ cos( x) + B’ sin( x)

  23. Separation of variables in the wave equation • Combining all directions (and time) Example: u = exp(i  x) exp(i  y) exp(i  x) exp(-i cµt) or u = exp(i ( x + y + x -ω t)) This is a traveling wave, with wave vector {,,} and frequencyω. A general solution of the wave equation is a super-position of such waves.

  24. Example PDEs • The diffusion equation where 2u= u/t 2  2/x2 + 2/y2 + 2/z2 Ansatz: u(x,y,z,t) = X(x) Y(y) Z(z) T(t)

  25. Separation of variables in the diffusion equation • For the ansatz to work we must have (lets set =1 for now to again get rid of that triviality) • Divide though with XYZT, for: X”YZT + XY”ZT + XYZ”T = XYZT’ X”/X + Y”/Y + Z”/Z = T’/T Again, this can only work if all of these are constants!

  26. Separation of variables in the diffusion equation • Again, we take all the constants to be negative • Negative  bounded behavior at large x,y,z,t X”/X + Y”/Y + Z”/Z = T’/T - 2 - 2 - 2 = - µ We see the typical behavior again: All that remains of the PDE is an algebraic equation and a set of ODEs – much easier to solve!

  27. Separation of variables in the diffusion equation • Solutions of the ODEs: Example: x-direction X”/X = - 2 General solution: X(x) = A exp(i  x) + B exp(-i  x) or X(x) = A’ cos( x) + B’ sin( x)

  28. Separation of variables in the diffusion equation Time-direction: T’/T = - µ General solution: T(t) = A exp(-µ t) + B exp(µ t)

  29. Separation of variables in the diffusion equation • Combining all directions (and time) Example: u = exp(i  x) exp(i  y) exp(i  x) exp(-µ t) or u = exp(i ( x + y + x )) exp(-µ t) This is a damped wave, with wave vector {,,} and damping constantµ. A general solution of the diffusion equation is a super-position of such waves.

  30. Example PDEs • The Laplace equation where 2u= 0 2  2/x2 + 2/y2 + 2/z2 Ansatz: u(x,y,z,t) = X(x) Y(y) Z(z)

  31. Separation of variables in the Laplace equation • For the ansatz to work we must have • Divide though with XYZT, for: X”YZT + XY”ZT + XYZ”T = 0 X”/X + Y”/Y + Z”/Z = 0 Again, this can only work if all of these are constants!

  32. Separation of variables in the Laplace equation • This time we cannot take all constants to be negative! Let’s assume for simplicity (as in the example in the book) that there is only x & y dependence! X”/X + Y”/Y + Z”/Z = 0 - 2 - 2 - 2 = 0 At least one of the terms must be positive  imaginary wave number; i.e., exponential rather than sinusoidal behavior!

  33. Separation of variables in the Laplace equation • Solutions of the ODEs: Example: x-direction X”/X = - 2 < 0 assumed General solution: X(x) = A exp(i  x) + B exp(-i  x) or X(x) = A’ cos( x) + B’ sin( x)

  34. Separation of variables in the Laplace equation • Solutions of the ODEs: Example: y-direction Y”/Y = + 2 > 0 follows! General solution: Y(y) = C exp( y) + D exp(- y) or Y(y) = C’ cosh( y) + B’ sinh( y)

  35. Separation of variables in the Laplace equation • Combining x & y directions Example: u= [A exp(i  x) + B exp(-i  x)] [C exp( y) + D exp(- y)] or u= [A’ cos( x) + B’ sin( x)] [C’ cosh( y) + D’ sinh(- y)] A general solution of the Laplace equation is a superposition of such functions (which everywhere have a ’saddle-like’ behavior – net curvature = 0)

  36. 19.2 Superposition of separated solutions • If the PDE with separable solutions is linear … • Wave equation • Diffusion equation • Laplace & Poisson eq. • Schrødinger eq. • … then any linear combination (superposition) is also a solution • Boundary conditions will make a limited selection!

  37. Exercises today: • Exercise 19.1 • Separation of variables • Exercise 19.2 • Diffusion of heat • Exercise 19.3 • Wave equation on a stretched membrane

  38. Examples in the text of the book  2u= u/t • Heat diffusion • Stationary (u/t = 0) • equivalent to Laplace equation problem! • Various boundary conditions • selects particular solutions • NOTE: a diffusion (heat flow) equation may well have a mixed sinusoidal & exponential behavior in space! • consider the limit when the time dependence is weak! 2u= 0 - 2 - 2 - 2 = - µ→ 0 2u= (1/)u/t → 0

  39. Enough for today! Good luck with the exercises 10:15-12:00

More Related