﻿1
00:00:00,420 --> 00:00:01,290
‫Welcome back.

2
00:00:01,920 --> 00:00:10,560
‫If you remember from the previous course, then in this mathematical manipulation process, you ended

3
00:00:10,560 --> 00:00:13,770
‫up with some terms that were constant.

4
00:00:14,310 --> 00:00:17,670
‫They did not have any independent variables in them.

5
00:00:18,210 --> 00:00:26,340
‫And so we said that we could simply make them zero because from the optimization point of view, they

6
00:00:26,340 --> 00:00:27,380
‫did not matter.

7
00:00:27,840 --> 00:00:34,470
‫If the goal is to maximize or minimize something, then constant terms play no role.

8
00:00:34,980 --> 00:00:43,710
‫Kind of like if you have these two functions, this one right here y equals x squared plus three.

9
00:00:44,550 --> 00:00:48,210
‫And this one here Y equals x squared.

10
00:00:49,100 --> 00:00:53,570
‫In both cases, the X value for the minimum point is zero.

11
00:00:53,930 --> 00:01:00,680
‫The constant term three here in the first function does not play a role.

12
00:01:00,860 --> 00:01:10,190
‫If you want to find your X men, so you might as well just eliminate it and similarly in the cost function.

13
00:01:10,520 --> 00:01:15,800
‫These are the terms that we will eliminate because they are constant terms.

14
00:01:16,250 --> 00:01:26,960
‫They play no role in finding the independent variables in the cost function for the minimum j value.

15
00:01:27,710 --> 00:01:36,260
‫We can get rid of these terms here that I have crossed out with white and then also these ones here

16
00:01:36,770 --> 00:01:45,890
‫that I have crossed out with green, but only when your eye equals zero, because only then this variable

17
00:01:45,890 --> 00:01:52,490
‫here becomes your present state because it's going to be K plus zero.

18
00:01:52,610 --> 00:01:56,810
‫So it's going to be X augmented vector.

19
00:01:56,810 --> 00:02:02,150
‫Supcase is going to be your present value and therefore you know what it is.

20
00:02:03,020 --> 00:02:05,600
‫It's not a variable, it's a constant.

21
00:02:06,470 --> 00:02:12,770
‫If your eye is greater than zero, then this X still there will become a variable because it's going

22
00:02:12,770 --> 00:02:18,830
‫to become a future state and you don't know the future state, and therefore it's an independent variable.

23
00:02:18,980 --> 00:02:23,090
‫And then you cannot cross out these terms here in green.

24
00:02:23,810 --> 00:02:32,390
‫And now the new cost function that is without the constant terms, we will name that J.

25
00:02:32,750 --> 00:02:33,410
‫Prime.

26
00:02:34,480 --> 00:02:39,940
‫It's not Jay anymore, because Jay was a cost function with those constant terms.

27
00:02:39,950 --> 00:02:46,300
‫But if you get rid of those constant terms, then actually you have a different cost function.

28
00:02:47,020 --> 00:02:52,210
‫It is a matter for optimization, but still it's a different cost function and therefore we give it

29
00:02:52,210 --> 00:02:53,260
‫a different name.

30
00:02:53,500 --> 00:02:54,430
‫Jay Prime.

31
00:02:55,180 --> 00:02:58,520
‫So to be fair, I should have put a prime here as well.

32
00:02:58,540 --> 00:03:02,650
‫Y prime equals x squared because it's a different function.

33
00:03:03,400 --> 00:03:08,710
‫Next, we want to get rid of this summation sign here.

34
00:03:09,520 --> 00:03:13,600
‫That's what we want to get rid of in the previous course.

35
00:03:13,930 --> 00:03:23,110
‫I showed you how to get rid of the summation sign by converting these equations here with several terms

36
00:03:23,260 --> 00:03:26,590
‫into a vector matrix form like here.

37
00:03:27,460 --> 00:03:35,800
‫So you see this spectrum matrix form is equivalent to this form here with many terms, and that is equivalent

38
00:03:36,250 --> 00:03:41,890
‫to this compact form with the summation sine from Y equals one up until three.

