1
00:00:00,060 --> 00:00:05,760
To let us consider our first multidimensional example of a differential equation, and let's see what

2
00:00:05,760 --> 00:00:08,070
is different to the one dimensional case.

3
00:00:09,030 --> 00:00:14,850
So first of all, we must load all of these modules as previously and especially we have to load also

4
00:00:14,850 --> 00:00:22,170
from PSI Pi and the integrated module because we can use the same command that we used previously for

5
00:00:22,170 --> 00:00:23,790
the one dimensional examples.

6
00:00:24,930 --> 00:00:28,290
So the first example will be a ball in a bowl.

7
00:00:29,100 --> 00:00:32,100
So physically or better to the same?

8
00:00:32,100 --> 00:00:40,020
Mathematically, this is nothing different to two uncoupled harmonic oscillators because this ball in

9
00:00:40,020 --> 00:00:44,880
a ball which is two dimensional, can be described by the following differential equation.

10
00:00:45,720 --> 00:00:46,920
So we have here to force.

11
00:00:47,310 --> 00:00:49,890
So this is the mass times, the acceleration.

12
00:00:49,900 --> 00:00:52,260
So the double of R.

13
00:00:52,410 --> 00:00:57,480
So the position vector and into second time derivative, which is the acceleration, which is also a

14
00:00:57,480 --> 00:00:58,260
vector, of course.

15
00:00:58,920 --> 00:01:00,480
And then we have here several terms.

16
00:01:00,900 --> 00:01:06,750
First of all, we have a damping term, which we also had in the previous case of the one dimension.

17
00:01:07,200 --> 00:01:11,570
And then we have here an external force, which will be a driving force later on.

18
00:01:11,580 --> 00:01:13,620
But in the beginning, we will neglect this.

19
00:01:14,190 --> 00:01:22,140
And then we have here a force that is generated by some potential and the potential will model the bowl.

20
00:01:22,740 --> 00:01:25,110
So in a second, you will see what I mean by that.

21
00:01:25,410 --> 00:01:33,720
And basically, we have now two coordinates for our bold X and Y, and then the Z component is basically

22
00:01:33,720 --> 00:01:36,480
indirectly models by the potential.

23
00:01:37,320 --> 00:01:46,320
So in a sense, you could say this is like the potential energy of the Z component and to be able to

24
00:01:46,320 --> 00:01:46,830
model this.

25
00:01:47,280 --> 00:01:53,700
We must consider some bowl shape for the bowl or for the potential better to see.

26
00:01:54,330 --> 00:01:57,060
And in this case, I want to consider a quadratic function.

27
00:01:57,420 --> 00:02:03,450
Of course, this will strongly depend on the precise profile and the precise shape of the bowl.

28
00:02:03,690 --> 00:02:07,190
But to make it a bit more simple, I use here does quadratic dependence.

29
00:02:07,200 --> 00:02:10,850
And this is also why we have these two uncoupled harmonic oscillators.

30
00:02:11,550 --> 00:02:17,250
Because if we take the radius square, then this is just a square root of x squared plus y squared and

31
00:02:17,250 --> 00:02:18,410
then we square everything.

32
00:02:18,420 --> 00:02:20,970
So it's basically just a sum of two terms.

33
00:02:21,540 --> 00:02:25,350
U zero times x square and use zero times y square.

34
00:02:26,740 --> 00:02:34,090
And then to calculate the corresponding force, we have to calculate minus gradient of you and the gradient

35
00:02:34,090 --> 00:02:41,410
of you in this case is just two times use zero times X for the X component and the same thing with Y

36
00:02:41,410 --> 00:02:42,520
for the Y components.

37
00:02:43,090 --> 00:02:46,240
So it's basically two times use zero times to position Vector.

38
00:02:47,650 --> 00:02:54,970
So this we will later on include in this equation of motion that we will then solve with our method

39
00:02:54,970 --> 00:02:56,530
that we have established previously.

40
00:02:56,900 --> 00:02:58,720
But first of all, I want to show you the bowl.

41
00:02:59,410 --> 00:03:06,130
So I prepared already here some plotting commands where I have prepared an X and Y list using the Mesh

42
00:03:06,130 --> 00:03:09,040
Grit Command, where we will mash two of these grids.

43
00:03:09,490 --> 00:03:15,250
This is what we have also encountered in the crash course, and now we only have to specify what is

44
00:03:15,250 --> 00:03:16,600
the value of the Z component.

45
00:03:17,020 --> 00:03:20,500
And this is, of course, use zero times x squared plus y square.

46
00:03:20,890 --> 00:03:24,070
So just for simplicity, I neglect to use zero.

47
00:03:24,070 --> 00:03:26,170
Or you could say it's equal to one.

48
00:03:26,230 --> 00:03:29,350
So we just have this one x squared plus y square.

49
00:03:30,070 --> 00:03:32,920
And when I run it, then this will be the output.

50
00:03:34,210 --> 00:03:40,450
So you see, we could now cut this profile in a circular way, and then we would have a nice ball.

51
00:03:41,050 --> 00:03:43,670
But it's not really that necessary.

52
00:03:43,670 --> 00:03:50,020
We could just say we have an infinitely large ball that extends along the X and Y direction until plus

53
00:03:50,020 --> 00:03:51,040
and minus infinity.

54
00:03:51,400 --> 00:03:54,490
And it's just important that it has to scratch or take shape.

55
00:03:55,780 --> 00:04:02,710
So in a few minutes or in the next lecture, we will consider how we can solve this differential equation.

56
00:04:03,070 --> 00:04:08,200
But first of all, let me show you what we have encountered previously.

57
00:04:09,160 --> 00:04:14,560
So when I delete all of these cells and show you what I have prepared previously, then I want to revisit

58
00:04:14,560 --> 00:04:17,170
with you the one dimensional harmonic oscillator.

59
00:04:18,100 --> 00:04:21,970
And this is just the code that I have copied from our previous lectures.

60
00:04:22,420 --> 00:04:27,370
So here we have just defined the yeah, the differential equations.

61
00:04:27,850 --> 00:04:32,110
And I say equations because they are actually two differential equations.

62
00:04:32,140 --> 00:04:37,270
This is because the harmonic oscillator is described by a second order differential equation, and we

63
00:04:37,270 --> 00:04:44,980
have learned that we can transform this problem by introducing a new variable called Z.

64
00:04:45,250 --> 00:04:49,030
So this I have written down here again, this is what we have discussed previously.

65
00:04:49,360 --> 00:04:55,510
We introduced new variable C zero and Z one, which describe why and the first derivative of Y.

66
00:04:55,600 --> 00:05:01,060
And so we can replace the second order differential equation by two first order differential equations.

67
00:05:01,540 --> 00:05:08,080
So here you see them, and this is basically what we have implemented and in the mathematical way I've

68
00:05:08,080 --> 00:05:09,010
written it down here.

69
00:05:09,490 --> 00:05:14,830
This already is a two dimensional example because we have now these two variables.

70
00:05:15,130 --> 00:05:17,590
We have Y and we have the first derivative of Y.

71
00:05:18,280 --> 00:05:22,000
And our unseats was here that these two variables are independent.

72
00:05:22,450 --> 00:05:26,800
So in our case, they are not really independent, but they could be independent mathematically.

73
00:05:27,460 --> 00:05:32,230
So really, we already learned how to solve multidimensional examples.

74
00:05:33,160 --> 00:05:35,140
And of course, this are normal.

75
00:05:35,140 --> 00:05:40,810
Harmonic oscillator was one dimensional in the physical sense, but mathematically it was two dimensional

76
00:05:40,810 --> 00:05:42,490
because we have these two equations.

77
00:05:43,060 --> 00:05:44,890
So you can already guess what happens next.

78
00:05:45,220 --> 00:05:51,730
We will now consider this two dimensional differential, but this two dimensional harmonic oscillator

79
00:05:51,790 --> 00:05:56,290
or these two uncoupled oscillators, and they will give rise to four equations.

80
00:05:57,100 --> 00:06:01,840
And the way we solve this is very similar to the one dimensional case.

81
00:06:02,230 --> 00:06:09,970
We just define these this function and calculate the solution by using integrate to solve, underscore

82
00:06:09,970 --> 00:06:10,630
IBP.

83
00:06:11,200 --> 00:06:13,750
And then we plot the solution as we did previously.

84
00:06:14,200 --> 00:06:21,100
And as I said now we just have to take into account four different functions here, and this one will

85
00:06:21,310 --> 00:06:24,730
do and we will discuss this in more detail in the next lecture.

