﻿1
00:00:00,440 --> 00:00:01,280
‫Welcome back.

2
00:00:01,640 --> 00:00:05,960
‫Let's try to drive the rest of the two rotation mattresses now.

3
00:00:06,350 --> 00:00:14,240
‫Previously, we had derived a three day rotation matrix that rotated about the Z axis.

4
00:00:14,810 --> 00:00:19,010
‫Let's now look at the rotation about the Y axis.

5
00:00:19,430 --> 00:00:21,010
‫Here's the 3D frame.

6
00:00:21,470 --> 00:00:32,150
‫And now if you turn this frame in such a way that the Y axis stares right towards you, then in 2D you

7
00:00:32,150 --> 00:00:33,800
‫will see this picture.

8
00:00:34,400 --> 00:00:38,930
‫We describe the rotation about the Y axis with an angle theta.

9
00:00:39,380 --> 00:00:41,600
‫The rotation follows the right hand rule.

10
00:00:42,410 --> 00:00:51,560
‫As you can see, the body frame y and the inertial frame y, the overlap with each other to derive the

11
00:00:51,980 --> 00:00:55,740
‫3D rotation matrix about the Y axis.

12
00:00:56,210 --> 00:01:02,200
‫Let's rewrite the relationship of the inertial and body dimensions like this.

13
00:01:02,900 --> 00:01:09,490
‫First of all, you can see that the body frame y equals the inertia frame y.

14
00:01:10,040 --> 00:01:17,200
‫That means that we can put one here and zeroes here.

15
00:01:18,050 --> 00:01:25,660
‫Also the inertial X, Y and Z axis do not depend on the body frame Y axis either.

16
00:01:26,180 --> 00:01:29,620
‫Therefore we put zeroes here and here.

17
00:01:30,260 --> 00:01:39,740
‫However, they do depend on the body frame X, Y and Z axis and to fill in the rest of the blanks,

18
00:01:40,670 --> 00:01:46,790
‫us decompose the body frame X and Z vectors in the inertia frame.

19
00:01:47,330 --> 00:01:55,640
‫So in purple you will have the components of the body frame x axis in the direction of the inertia frame

20
00:01:55,640 --> 00:02:01,760
‫X and then the body frame x y component would be this one here.

21
00:02:02,450 --> 00:02:13,940
‫The body frame Z vector has this component here in green, in the inertia frame X direction, and it

22
00:02:13,940 --> 00:02:23,810
‫has another component in the inertia frame Z direction like this note is that here in this case, this

23
00:02:23,810 --> 00:02:30,770
‫is the positive direction for the inertia frame X dimension, and this is the positive direction for

24
00:02:30,770 --> 00:02:33,140
‫the inertia frame Z dimension.

25
00:02:33,890 --> 00:02:42,470
‫To get the horizontal part of the body frame x axis, you have to multiply it by cosine theta and so

26
00:02:42,470 --> 00:02:44,990
‫you put cosine theta here.

27
00:02:45,500 --> 00:02:53,230
‫And to get the horizontal part of the body from Z axis, you have to multiplied by sine theta.

28
00:02:53,630 --> 00:02:55,430
‫So you put sine feature here.

29
00:02:56,000 --> 00:03:04,520
‫Do you agree you have theta here and you need this component which is the same like this one, the vertical

30
00:03:04,910 --> 00:03:16,550
‫component of the body frame x axis is negative and you get it if you multiply small X by minus sine

31
00:03:16,550 --> 00:03:25,670
‫Seeta because it's negative, the vertical part of the body from Z axis points in the positive inertial

32
00:03:25,670 --> 00:03:35,020
‫frame Z direction, and you get it by multiplying small Z by cosine theta.

33
00:03:35,540 --> 00:03:39,560
‫So you put cosine theta here and there you go.

34
00:03:39,830 --> 00:03:47,590
‫You have filled in the blanks and now you know how to construct the rotation matrix.

35
00:03:48,140 --> 00:03:48,580
‫Right?

36
00:03:49,280 --> 00:03:51,200
‫It looks like this.

37
00:03:51,710 --> 00:03:59,270
‫You have the rotation matrix about the y axis and now try to do the same thing.

38
00:03:59,870 --> 00:04:06,830
‫But now your rotation matrix rotates about the X axis, the exact same logic.

39
00:04:07,220 --> 00:04:15,260
‫Only now you're rotating about the X axis and you'll see the solution in the next with you see there.

