1
00:00:00,350 --> 00:00:02,550
So now we come to the next example.

2
00:00:02,940 --> 00:00:08,460
This is more of an example from mathematics, and it's called a Lawrence system.

3
00:00:09,540 --> 00:00:16,740
So the Lawrence problem or a Lawrence Attractor also Lawrence System became very famous due to its relation

4
00:00:16,740 --> 00:00:18,990
to the so-called butterfly effect.

5
00:00:19,650 --> 00:00:26,370
And it basically is a very simple mathematical system that consists out of three differential equations

6
00:00:26,370 --> 00:00:33,780
that describe the change of the X, Y and Z coordinate of a particle, and it has chaotic solutions.

7
00:00:34,590 --> 00:00:43,500
And this is a pretty interesting topic by itself because basically what we are saying when we deal with

8
00:00:43,980 --> 00:00:49,320
classical physics a lot quantum physics, but classical physics is that everything is deterministic.

9
00:00:49,860 --> 00:00:55,590
And so this means that if you know the starting conditions and you know the laws of physics, then you

10
00:00:55,590 --> 00:00:59,100
also know the state of the system at any point in time.

11
00:00:59,790 --> 00:01:05,700
But the special feature about chaotic systems is that when you even change the starting conditions by

12
00:01:05,700 --> 00:01:13,920
a tiny bit, even if there is a butterfly in your physical system somewhere and you don't know precisely

13
00:01:13,920 --> 00:01:19,560
where, then the outcome of the system will be totally different after some time.

14
00:01:19,860 --> 00:01:27,150
So the small change in the starting conditions will have really tremendous and really gigantic effects

15
00:01:27,150 --> 00:01:29,820
on the coordinates at a later point of time.

16
00:01:30,750 --> 00:01:37,770
And this is like a cool mathematical system where you can investigate this chaotic behavior and also

17
00:01:37,770 --> 00:01:40,020
the trajectories that we are going to calculate.

18
00:01:40,020 --> 00:01:41,430
Here are butterflies.

19
00:01:41,550 --> 00:01:43,800
So this is why it's such a beautiful example.

20
00:01:44,970 --> 00:01:54,360
So it turns out that later on, there have also been some physical systems where this equation applies

21
00:01:54,360 --> 00:01:54,760
to.

22
00:01:55,080 --> 00:01:59,070
So this could, for example, be some atmospheric convection.

23
00:01:59,400 --> 00:02:04,890
But for our purposes, we don't really want to talk here about the physics because it's really more

24
00:02:04,890 --> 00:02:06,180
of a mathematical system.

25
00:02:07,110 --> 00:02:07,530
All right.

26
00:02:07,530 --> 00:02:10,590
So that's enough with the introductory talk.

27
00:02:10,919 --> 00:02:15,780
Let's see how we can program this, and let's analyze the equations first.

28
00:02:16,530 --> 00:02:21,210
So we have here a differential equation for X that depends on X, which is good.

29
00:02:21,330 --> 00:02:22,620
This is what we had previously.

30
00:02:23,460 --> 00:02:28,230
Then it could also depend on the time, but you see, nowhere is there any dependence on time.

31
00:02:28,240 --> 00:02:29,340
So this is even better.

32
00:02:29,340 --> 00:02:30,810
So it's pretty easy equation.

33
00:02:31,470 --> 00:02:34,950
But you see here we have a dependence of X on Y.

34
00:02:35,490 --> 00:02:39,150
You have a dependence on the change of Y, on X and Z.

35
00:02:39,750 --> 00:02:43,830
And here we have a change of Z, the independence of X and Y.

36
00:02:44,910 --> 00:02:48,930
So this means we have three differential equations and they are couples.

37
00:02:50,330 --> 00:02:56,700
This makes it maybe a bit more difficult than our previous example of the harmonic oscillator, where

38
00:02:56,700 --> 00:02:58,720
all of these equations were uncoupled.

39
00:02:59,730 --> 00:03:02,850
So let's go ahead and see how we can solve this example.

