00:01
Okay, we're given this revenue function and this cost function, two products x and y.
00:07
We wanna maximize the profit, which is revenue minus cost.
00:13
I'm gonna use lagrange multipliers.
00:16
So our f is revenue minus cost.
00:22
We have two constraints.
01:00
And then we take the derivatives.
01:02
We've got six variables, so we'll get six equations.
02:39
And of course, the last two just give us the constraints back.
03:17
And we set them all equal to zero.
03:32
And i will number.
03:50
So equation one tells us lambda one and two tells us plus one.
04:21
And then three gives us minus eight x.
05:13
So those two equations can be solved for x and y.
05:17
So let's write them out a little more clearly.
05:21
So it's 28 minus eight x plus four...