The Double Matrix Method. In some more complicated set problems, every member of the population is classified in two ways at once. For example, if we were to go look at employees at a particular company, we might group employees by gender, either male or female. . Show Transcript
And education, and here we're just going to consider two categories, a college degree only, that is a bachelor's degree, versus an advanced degree. In that example, every single employee would be classified by gender. Also, every single employee would be classified by education level. So everyone's going to be categorized in two ways at once. The information the problem could give might be how many females, and of course, that would include both education levels, or it might be how many folks with advanced degrees, and of course, that would include both males and females, or it might be something very specific such as how many employees are females with advanced degrees.
So, the question could give us any of those pieces of information. It could also ask for any of those pieces of information. So there's a lot of information here. So let's start out by looking at this question. In a company of 300 employees, 120 are females. A total of 200 employees have advanced degrees, and the rest have college degree only.
If 80 employees are males with college degrees only, how many are females with advanced degrees? Well, we're not gonna solve this just yet. Here's what I'm gonna say. Notice that some pieces of information lead relatively quickly to other pieces of information.
We know there are 300 employees. A hundred and twenty are females. That means the other 180 have to be males. Similarly, if 200 of the employees have advanced degrees, well then, there must be 100 with college degrees only. So there are certainly ways that some pieces of information lead to others, but we need a way to organize all this information.
An excellent way to organizing information in such a problem, is known as the Double Matrix Method. This makes use of a Matrix that is a rectangular array of boxes, each with a number in it. The columns will represent the categories of one variable, and the rows will represent the categories of the other variables.
For this problem, let's say that gender will be the columns and educational level will be the rows. So here's the tricky part. There are two genders. So we will need three columns. One for female, one for male, and for the totals, males plus females.
There are also two education levels, so we'll need three rows: one for college only, one for advanced degree only, and one for the totals. So the full system, here it is in symbolic form. We have, again, the columns are the genders, the rows are the education level. A, B, C, and D are the raw data.
So B would be the females with advanced degrees, C would be the males who have a college degree only. Those are the raw data. E and F are the row totals. We add across the rows to get everything on the right, so A plus C equals E. B plus D equals F.
E would be the total number of people with a college degree only. So that would be males and females. F would be the total number of people with an advanced degree only. Again, that would be males plus females. G and H are the column totals. So we add down to get everything at the bottom.
A plus B equals G. C plus D equals H. So G would be the total number of females, H would be the total number of males. In both those cases, we're just lumping everyone of all the degree levels together. Finally T, that bottom right-hand box, is the grand total.
That's everyone in the whole company, everyone in the collection. And we can get that either by adding across the bottom row, G plus H equals T. Or we can add down the right column, E plus F equals T. And so everything should check. All those sums should be equal. So now, try this question again and then we'll solve it with the double matrix method.
You can pause the video here. Okay. So there are four numbers given in the question, and I'm gonna write those in our double matrix. So now as we said above, if there are 120 females, there have to be 180 males, so that they add up to 300. Similarly, if there are 200 with advanced degrees, there must be 100 with college degree onlys.
Again, so they add up to 300. Now look down the male row. We have 80 plus blank equals 180. So what has to go in that blank? Obviously, 100. There must be 100 males with advanced degrees, so that 80 plus 100 equals 180.
Well now, look across the advanced degree category. We have blank plus 100 equals 200, so clearly, this has to be 100 also. There must be 100 females with advanced degrees. That's the answer for which we're looking. Let's just check and make sure that this works. We look down the female column blank plus 100 should equal 120 so that would mean that this equals 20.
Then we add across that top row 20 plus 80 equals 100. Everything checks. And so indeed there are 100 females with advanced degrees in this company. If one of the variables has three categories, that would require four rows or four columns. Because again, we'd need one for each category, as well as one for the total.
Of course, the information can be given in simple numerical form, as we had in the last problem, or in some other form. Ratios or algebraic. Something like that. There's many different ways that the numbers can be given. Here's a relatively challenging problem.
So pause the video, and then we'll talk about his. Okay. In a certain school, there are 80 freshmen, 100 sophomores and 220 upperclassmen, drawn from three cities. All right, so first of all, the 80, 100 and 220, those are the totals for different grades.
We have grade level as one of our categories. It has one of our variables. It has three categories, and we have the totals in each of those three categories. Then we have three cities, that's gonna be the other variable. What city is this student from? And we have three categories there.
And here we're given percent information. 60 from 60 percent from A, 30 percent from B, the rest from C. And then we have some other pieces of information. All the students from C are freshmen. Half the students from B are upper classmen. And the rest are split evenly between the other two grades.
How many sophomores are from A? So for this we need an enormous double-matrix table. And here I've written in the totals for freshman, sophomore and upperclassman. And I just went ahead and summed across that bottom row to get 400. So that's the total number of people at the school. So now we can start thinking about the percentage information.
60% of the students are from A. We need 60% of 400. Well, 10% of 400 is 40. So multiply that by 6 and that's 240. And that's 60%. Then 30% are from B well 30% is just half of 60% so half of 240 is 120.
30 plus 60 is 90 so that means the last 10% are from C so 10% of 40, 400 of course is just 40. So now we have all the road totals and column total. Then we have this great piece of information. All the students from C are Freshmen. So there are 40 students from C.
All 40 of them are Freshmen. And then we can just put zeros in these columns. So that enormously simplifies everything. Now we're told that half the students from B are upper classmen. So half of 120 is 60. Half of them are upper classmen and the other 60 are split evenly so 30 and 30.
So now we want sophomores from A will look down the sophomore column. We have blank plus 30 plus 0 equals 100. Clearly this number has to be 70, and that's our answer. The double matrix method can enormously simplify problems in which each member is placed into two different kinds of categories. The entries in the row sum to the row totals in the right most column.
The entries in the column sum to the column totals in the bottom row. And the grand total in the lower right hand box is everyone. This equals the sum of the row totals and it also equals the sum of the column totals.