00:01
In this video we're going to go through the answer to question number 45 from chapter 9 .5.
00:05
So we're given a model of interconnected tanks and asked to find how the quantities of salt in each of the tanks changes through time.
00:16
Okay, so we need to write this or formalize this model mathematically.
00:22
So x1 is the value or the mass of salt in tank a.
00:29
Okay.
00:29
So how can we? we say that yeah what can we say about the way that that quantity changes well there's three liters per minute of pure water coming in the left but that's there's no salt in that water so that's not going to change the mass of salt in tank a but there's four liters per minute leaving poorly four liters of water a minute leaving tank a okay so it's going to be leaving yeah, whatever quantity is in tank a already, which is x1, we're going to have four over 50 kilograms leaving per minute, because that's what's going into tank b.
01:22
But then we're also going to have some amount coming back in from tank b, and by the same logic, that's going to be 1 over 50, because tank b has also got 50 litres and is coming into tank a at 1 ,000.
01:38
Per minute.
01:40
That's x2.
01:43
Similarly, x2.
01:48
So the quantity, the mass of salt in tank b changes by, well, four litres are coming in from tank a.
02:00
So that's 50 litres from tank a.
02:09
And then we're leaving, we're having one litre leaving into tank a of three liters of the salty water in tank b leaving on the right.
02:20
So we're losing four litres out of the 50 that we have per minute from.
02:32
Okay, so how can we write this in a matrix normal form? well, if x is the vector x1, x2, then we can take a factor.
02:45
Of 1 over 50 out the front and we're going to have 4, oops, minus 4, 1, 4 minus 4 times by x.
02:58
Okay, so let's call this guy without the 1 over 50.
03:05
Let's call that a prime or a star.
03:11
And then a is 1 over 50, a star.
03:17
Okay, so let's first work out what the eigenvalues of matrix a star.
03:36
So that's going to be minus 4 minus r, 1, minus 4 minus 4 minus r.
03:56
That's 4 plus r squared plus 4.
04:10
So that's going to be 60.
04:22
I've written that down wrong, so this shouldn't be a minus here, which makes that a minus rather than a plus.
04:39
Okay, that makes more sense.
04:41
So this is going to be r squared minus plus 8r, and that plus 16 minus 4 is plus 12...