PDE 101: Separation of Variables! ...or how I learned to stop worrying and solve Laplace's equation

Sdílet
Vložit
  • čas přidán 1. 06. 2024
  • This video introduces a powerful technique to solve Partial Differential Equations (PDEs) called Separation of Variables. I demonstrate this technique to solve Laplace's equation in two-dimensions for the steady state heat distribution on a rectangle. It can be used for a huge variety of other problems in physics and engineering.
    @eigensteve on Twitter
    eigensteve.com
    databookuw.com
    This video was produced at the University of Washington
    %%% CHAPTERS %%%
    0:00 Overview and Problem Setup: Laplace's Equation in 2D
    5:12 Linear Superposition: Solving a Simpler Problem
    8:38 Separation of Variables
    15:39 Reducing the PDE to a system of ODEs
    33:26 The Solution of the PDE
    36:21 Recap/Summary of Separation of Variables
    42:06 Last Boundary Condition & The Fourier Transform
  • Věda a technologie

Komentáře • 67

  • @YassFuentes
    @YassFuentes Před rokem +22

    Masterclass. How much I do love your videos. They are so much enjoyable! Thank you for your effort and time ❤️

  • @Chandra-hw9hv
    @Chandra-hw9hv Před 6 měsíci +3

    I couldn't understand the whole Fourier thing for the longest time in my college, huge thanks to you for this gem of a video!

  • @mostafaatalla71
    @mostafaatalla71 Před rokem +3

    You are fantastic, Steve! Thanks so much for all of your videos. I love it!

  • @sodaangel7375
    @sodaangel7375 Před 5 měsíci

    An amazing video coming to save me two days before my final. This lecture is Superb!!

  • @saadmansakib1549
    @saadmansakib1549 Před rokem

    Thank you so much for the video, Sir !

  • @rogelv8td
    @rogelv8td Před rokem

    Thank you, very good lecture.
    Love your videos

  • @teodorbabic8007
    @teodorbabic8007 Před rokem

    Great video and extremely useful for anyone in younger scientific community! Greetings from Serbia :D

  • @xue7444
    @xue7444 Před rokem +2

    Best title, my PDE class starts in 2 weeks, this video is such good timing woo-hoo

  • @fernando28795
    @fernando28795 Před 5 měsíci

    Brilliant, mate. Lovely. Preparing for the finals. Regards from Chile

  • @ugoamaldi8056
    @ugoamaldi8056 Před rokem

    Great video! Thanks a lot!

  • @noahr9539
    @noahr9539 Před 7 měsíci

    This is incredibly smart...
    Well explained 👍

  • @lorhancosta622
    @lorhancosta622 Před rokem

    Honest to goodness this content is guuuhhhd!!!

  • @ShinjiCarlos
    @ShinjiCarlos Před rokem

    I have not checked, but I think that we could also extract the solutions components at the boundary as done, but alongside the functions sinh. It only remains to check that those functions form a complete set of eigentunctions. But since each of them belong to a unique $\lambda$, they do form a complete set of eigentunctions as well and could properly be used on its own right, in an equivalent Fourier trick.

  • @Gullinnova
    @Gullinnova Před rokem

    It just so happens im reading the end of certainty right now and all that you teach is helping to illuminate the pages. I feel like i have a really good handle on his explanations thanks to you. I still dont understand what he means by "deterministic chaos" it just seems like a contradiction on its face.

  • @AdoptedPoo
    @AdoptedPoo Před 5 měsíci

    very well done.

  • @lgl_137noname6
    @lgl_137noname6 Před rokem

    One can only hopre that eventually there will a Brunton book integrating Brunton's view and treatment of PDE's
    Thank You.

  • @Cyborg17
    @Cyborg17 Před rokem

    Congrats !!!

  • @muthukamalan.m6316
    @muthukamalan.m6316 Před rokem +1

    thanks for phenomenal works and make public to know more

  • @ShinjiCarlos
    @ShinjiCarlos Před rokem

    At about 15:00, I would say that if you take the derivative in relation to, let's say x, to both sides, the derivative of the right hand side should be 0 by definition, just like the partial derivative of a function of y regarding to x should be. In the other hand, the derivative of a function of x regarding to x should be zero only in the case that this function is a constant.

  • @jamesmosher6912
    @jamesmosher6912 Před rokem +1

    I would love to get your perspective on “similar” homogenous PDEs on irregular domains; something like a the unit square but exclude the upper right quadrant (an “L” shape domain).
    I love the beauty of the simple domains, circles, squares, rectangles, etc. but I’ve struggled to find or see a method for solving simple PDEs on irregular domains outside of numerical methods.

    • @basics5427
      @basics5427 Před rokem +2

      Numerical is the answer for domains with general shapes and general boundary conditions.
      Anyway, if you're an analytical-addicted, for Laplace equations you could rely on conformal transformations to transform a domain with "complex" shape (you could do for example with L shape domains) to a simpler one, but it's likely to be a pain in the a*s, as well.

  • @LucasVieira-ob6fx
    @LucasVieira-ob6fx Před rokem +1

    I told myself I would only watch Steve Brunton's favorite lectures... Turns out I'm watching all of them

  • @indrasismitra6484
    @indrasismitra6484 Před rokem

    This is just for a little information. Recently, while working on a problem involving heat transfer in cylindrical coordinates, I have found (from other published literature) that for some Boundary Value Problems (i.e., steady-state problems) the multiplicative, separation of variables i.e., u=F(x)*G(y) is insufficient. Another alternative that can be used is u = F(x)*G(y) + H(x) + I(y), although both the multiplicative (F(x)*G(y)) and the additive (H(x) + I(y)) parts have to be separately substituted into the original pde to find two different sets of odes consisting of different separation constants.

  • @FelipeCondo
    @FelipeCondo Před rokem +2

    thanks for the video, really useful. One question. Why the solution G(y) does not have a coefficient like the F(x) function A_n and B_n?
    Thanks

    • @sebastianrada4107
      @sebastianrada4107 Před 19 dny

      You can have A_n sin + B_n cos
      The coefficient for the cos is zero due to the initial condition that requires f(0)=0
      The coefficient of the sin was not indicated but it isn't important as this coefficient would be later multiplied by A_n (the coefficient of sinh) forming a single coefficient that is found later with Fourier.

  • @curtpiazza1688
    @curtpiazza1688 Před 2 měsíci

    Great lecture! 😂...I'm a little lost.....but I'll try to stay with it! 😮

  • @finshinggun
    @finshinggun Před rokem

    @44:22 Can you link the video you mentioned, please?

  • @tanveer6514
    @tanveer6514 Před rokem

    0:10 Time travellers....goosebumps...

  • @kl-wastikc8909
    @kl-wastikc8909 Před 7 měsíci

    Hello Steve. Where do I find a similar board you're using? Or anyone who knows

  • @lakshya6235
    @lakshya6235 Před rokem

    I think the use of summation was not fully motivated. So I thought of the following:
    1. the sum of all individual u is also a solution of the laplacian as it is a Linear operator, so that makes it a valid thing to do.
    2. If we don't use summation, then f(y) can only be of form f(y) = sin(ky), this comes from the fact that An should be a constant. Using summation of individual solution of Laplacian allows us to be able to satisfy much richer class of boundary conditions f(y), and in this case any function that doesn't have cosine terms in its Fourier series.
    I learnt Fourier series and Fourier Transform using your videos only :)

  • @ShinjiCarlos
    @ShinjiCarlos Před rokem

    I have a really important question: do you write things the other way around as a right hand guy or are you writing lefthandedly and using frame inversion??? Please!!! My wife and I are struggling about that!

  • @nouralhuda3530
    @nouralhuda3530 Před 7 dny

    Thank you

  • @StaticMusic
    @StaticMusic Před rokem

    Hey Steve! This was a fantastic video, thanks!
    Couple of questions: (1) Why does n == m? I didn't follow this part. (2) Couldn't lambda be < 0 (negative) if G(y) = sin(i*sqrt(lambda)*y)? Thanks so much!

    • @basics5427
      @basics5427 Před rokem +2

      (1) because for every F_n(x) you evaluate G_n(y) s.t. u_n(x,y) = F_n(x)G_n(y) is a solution of the problem (before you prescribe the non homogeneous boundary conditions)
      (2) if you already have some experience, the choice of the sign of lambda come from the boundary conditions: here u(x,y)=0 on the horizontal boundaries of the domain, so you need some functions that is identically null there, and thus the sin(ny/pi) functions (this results as the basis of a Fourier series of the function u(x,y) in y direction).
      If you have little experience, you're right that you need to add the contributions you get with lambda

    • @StaticMusic
      @StaticMusic Před rokem

      @@basics5427 awesome thanks so much for taking the time to write that out. Much appreciated

    • @basics5427
      @basics5427 Před rokem

      @@StaticMusic you're welcome. enjoy it

  • @Unidentifying
    @Unidentifying Před rokem +2

    27:55 doesnt such a function [G(y)] also depend on x in reality ? But then you can't do separation of variables. Not so clear to me how this then can be done, also related to the assumption. Or am i misunderstanding something, is it purely mathematical separation and in the end it works with real phenomena?

    • @Ant0ine1
      @Ant0ine1 Před rokem +3

      The separation is mathematic. On it's own,when you solve -Gyy/G= Lambda, Lambda could be a function of x and constant in regards to y, but Lambda is also solution of Fxx/F=Lambda, which means that if Lambda is either a function of y or x or both, it cannot be solution, because -Gyy/G=Fxx/F=Lambda is valid for all x and y, so it's constant.
      The assumption at the beginning that u can be separated into F(x)G(y) is a very very strong assumption. There are many cases where it can't work, but also a lot of cases where it does: heat equation, wave equation, Laplace's Equation, Helmholtz' Equation and biharmonic equation to give a few examples.
      It's beautiful to see how elegant Physics are !

    • @Unidentifying
      @Unidentifying Před rokem +1

      @@Ant0ine1 wow yea, thank you sir for some elaboration.

  • @arvindp551
    @arvindp551 Před rokem

    Hardly is there anything in mathematics that's not one of your favourites. Please make a video on Python plotting as well 🥺🥺🥺

  • @pmcate2
    @pmcate2 Před rokem +1

    @35:40 isn’t this incorrect? Once we have the infinite sum of the basis functions, these form a general solution to the original differential equation, whether the original function was separable or not.

    • @basics5427
      @basics5427 Před rokem

      He explained what it really means in what follows. You can often try to write the solution of a PDEs with the technique of separation of variables. Sometimes you can find a general form of a possible solution. But very few times (only for problems in domains with regular shapes and very simple boundary conditions) you can find the solution that satisfy both the equation in the domain and the boundary conditions on the boundary and thus the whole differential problem

  • @evanparshall1323
    @evanparshall1323 Před rokem

    You say that because the PDE is linear then you can use superposition so that the solution is a linear combination of all the solutions. But how do you know there is not a solution that is not satisfied by the separation of variables assumption? If that is the case then the basis of solutions would be under-defined.

  • @thomasjefferson6225
    @thomasjefferson6225 Před 9 měsíci

    Im wondering why theres no strum louville theory here. That really compliments the seperation of variables in my lay opinon. It makes this a much easier problem to solve. I know this is sin instantly buy looking at the boundry condtions. If you had von neuman BC then it would be Cos, and mixed g(0) = g'(L) = 0 is sine! So idk i think knowing that theory makes this part much more intutative.

  •  Před rokem +1

    Muito bom!

  • @hamidrezaalavi3036
    @hamidrezaalavi3036 Před rokem

    at 6:56, boundary values must be consistent at corners, it is possible only if all fn is zero at corners. In this way, we can not solve problems with constant values i.e. fn =Cn.

    • @basics5427
      @basics5427 Před rokem

      You're right in the world of strong solutions of PDEs. This could not be true in the world of weak solutions of PDEs or integral solutions of PDEs, and the numerical world of (maybe discontinuous) Finite Elements or Finite Volume methods (or Spectral Elements methods, ...)

    • @hamidrezaalavi3036
      @hamidrezaalavi3036 Před rokem

      @@basics5427 Thank you very much.

  • @ShinjiCarlos
    @ShinjiCarlos Před rokem

    I don't actually agree that Fourier analysis is only all about solving PDE's or ODE's. What about image and audio compression, signal processing and stuff?

  • @lightnlies
    @lightnlies Před rokem

    is there a way to check if a PDE can be solved through separation of variables a priori?

  • @martinsanchez-hw4fi
    @martinsanchez-hw4fi Před rokem

    This confuses me. I understand that superposition says that if we have solutions to the same problem, their sum is also a solution (any linear combination), but here we are saying solutions to different problems add up to the solution of another new solution that contains all non zero boundaries. The most direct example I can think of is when two adjacent boundaries do not coincide in their extremes (for example f=0 in u(0,y) and f=c in u(x,0)

  • @user-ee5iq2fy7j
    @user-ee5iq2fy7j Před 5 měsíci

    U(x,y)=x^2+y^2
    exp(U)=exp(x^2).exp(y^2)=f(x).g(y)
    Can be separated😊

  • @xichenjiang7799
    @xichenjiang7799 Před rokem

    We made an assumption that u can be separated into F(x)G(y), and proceeded to find the solution. How do we know that we found the complete solution for u. That is, how do we know we didn't miss another solution where functions of x and y cannot be separated?

    • @batu9049
      @batu9049 Před rokem

      if you supposed that u =f(x)g(y) but solution maybe cannot be like this. we cant know this u just need to try.almost everytime that you cant find exact solutions for pdes

  • @sitrakaforler8696
    @sitrakaforler8696 Před rokem +1

    I wanna do a PhD in maths and CS !

  • @basics5427
    @basics5427 Před rokem

    Dr. Strangelove ;)

  • @WesleyDevlin
    @WesleyDevlin Před měsícem +2

    CZcams is pushing the limits on advertisements. It's sad.

  • @onenotesm9076
    @onenotesm9076 Před rokem

    all we need is translate another (all) Langwitch 😀

  • @carultch
    @carultch Před 4 měsíci

    Separable DiffEQ's .... or "how I learned to stop worrying, and treat the Leibnitz notation as a fraction."

  • @carlosgalois6268
    @carlosgalois6268 Před rokem

    f4

  • @hakimal-hakim8890
    @hakimal-hakim8890 Před 11 měsíci

    و ابتلينا في هذا القرن بخدعة جديدة هي ما أسموه "الربيع العربي" ... الذي ليس عربيا و لا ربيعا....

  • @kemiakinnola
    @kemiakinnola Před rokem

    44:00 lol my university teaches PDEs and Fourier's series together, as a single module (class). That's why I'm here now. Wish me luck🫠