16. Separation of variables in higher dimensions
Corrections
At 16:00, Yn(x) should obviously be Yn(y).
At 18:01, λ5 should be 12+32=9 rather than 22+32=13, and similarly λ6=32+12. And then, at 18:23, they should of course be labelled λ13 and λ31. (The sequence continues with λ7=λ8=22+32=13, λ9=λ10=12+42=17, λ11=32+32=18, λ12=λ13=22+42=20, …)
At 58:00 and 58:34, u(x,y) should be u(x,y,t).
At 1:06:28, λ2=(am/π)2+(bn/π)2 should be λ=(πm/a)2+(πn/b)2. (This is corrected a little later in the video, but maybe not in a perfectly clear way.)
Mathematica code
The plot at 55:25 is produced by the following Mathematica code:
With[{n = 4, m = 2}, With[{z = BesselJZero[n, m]}, ParametricPlot3D[{r Cos[v], r Sin[v], Cos[n v] BesselJ[n, r z]}, {r, 0, 1}, {v, 0, 2 Pi}, PlotPoints -> 50]]]
And the first row of plots at 1:11:40 is produced as follows:
region = Polygon[{{0, 0}, {1, 1}, {2, 0}, {1, -1}, {2, -2}, {2, -4}, {1, -3}, {0, -4}}]; {eigenvalues, eigenfunctions} = NDEigensystem[{-Laplacian[u[x, y], {x, y}], DirichletCondition[u[x, y] == 0, True]}, u[x, y], {x, y} \[Element] region, 4]; Table[Plot3D[eigenfunctions[[i]] // N // Evaluate, {x, y} \[Element] region, PlotRange -> All, BoxRatios -> Automatic, PlotLabel -> eigenvalues[[i]], PlotTheme -> "Web", ImageSize -> Medium, PlotPoints -> 50], {i, Length[eigenvalues]}]
For the second row, do the same but with a another region:
region = Polygon[{{0, 0}, {2, 0}, {3, -1}, {1, -3}, {2, -4}, {0, -4}, {0, -2}, {1, -1}}];
Sidansvarig: Hans Lundmark
Senast uppdaterad: 2023-04-26