yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Using matrices to manipulate data: Game show | Matrices | Precalculus | Khan Academy


3m read
·Nov 10, 2024

We're told in the beginning of each episode of a certain game show. Each contestant picks a certain door out of three doors. Then the game show host randomly picks one of the two prize bundles. After each round, each contestant receives a prize based on the door they picked and the bundle the host picked.

Matrix A represents the possible prizes for the first round. Alright, so for example, if the contestant picks door 3 and the host picks bundle 1, the prize is 300. But if the contestant picks door 3 and the host picks bundle 2, the prize would be zero dollars. All right. And then they say matrix B represents the possible prizes for the second round.

Alright, that's fair. They also tell us the second round can also be a lightning round. In this case, the prizes are doubled. Matrix C represents the possible prizes during a lightning round. Complete matrix C. So pause this video and see if you can figure that out, and then we'll work through this together.

Alright, so matrix C is a scenario where we're dealing with a lightning round. And remember, in a lightning round, the prizes are doubled, but it's the second round. It's doubled relative to what it would have been in the second round. So what it would have been in the second round is matrix B.

So another way to think about it is matrix C is going to be equal to 2 times matrix B. And we know when we multiply a matrix times a scalar like this times just a number, we just multiply each of these entries by that number. So let's do that. If we take 600 and multiply that by 2, that is going to be 1200.

And that makes sense. We just said for each corresponding scenario, the prizes are doubled in a lightning round. So if the contestant picks door one and the host picks bundle one, instead of six hundred dollars, it's going to be twelve hundred dollars. Keep going. Instead of two hundred dollars, it's going to be four hundred dollars.

All I'm doing here is I'm multiplying each of these entries by two to get the corresponding entry in matrix E. Keep going. Instead of three hundred dollars here, multiply that by two; you're going to get six hundred dollars. Instead of three hundred dollars here, you're going to get six hundred dollars. We're almost there.

Instead of zero dollars here, well, zero times two is still zero dollars. And then last but not least, instead of four hundred dollars right over here, that times two is going to be 800. Now there's one more question that they have below the screen right over here. Let me scroll up a little bit.

So they tell us matrix D is defined as follows: D is equal to A plus B. What does matrix D represent? So pause the video and think about that for a second. Well, if we add two matrices, we're going to add all the corresponding entries.

And so what it tells you is what is the combined prize for both rounds one and two based on what the contestant picks and what the host picks. So matrix D, that top left entry will tell you, okay, in total, if the contestant picked door number one and the host picked bundle number one, what would you get? Because it would be a hundred dollars plus six hundred dollars, so it would be total for rounds one and two, assuming we don't have the lightning round like we had in matrix E.

More Articles

View All
How To Talk To Users | Startup School
Foreign [Music] My name is Gustav, and I work here at Y Combinator as a group partner. I’ve been here since 2017. Before YC, I was a practically to Airbnb and actually a YC founder back in 2007. Today, I’m going to talk about how to talk to your users an…
This Little Sun Bear's World Is a Scary Place | Short Film Showcase
[Music] When the sky roars, I climb to the top. The sensation when thousands of cool drops pelt against my body, the chill sends me into a kind of giddy madness. [Music] The clouds lift. Warm rays permeate the canopy. [Music] Muddy river banks blacke…
You Can Always Leave
Imagine you have a friend called George… This story was misleading. George isn’t being threatened! He’s just being asked to pay his fair share like the rest of us. If he doesn’t like the arrangement, he can always leave. Let’s start with the question of …
A message from Sal Khan for the Khan Academy 2016 Annual Report
Welcome to the KH Academy 2016 annual report. In the actual text of the report, we’re going to go into a lot more detail on the financials and other things, but I’m hoping here to give you an overview, big picture. 2016 was a great year for KH Academy. T…
How Pesticide Misuse Is Killing Africa's Wildlife | National Geographic
Throughout Africa, people are using poisons as weapons to kill wildlife, and pesticides are the most common ones. As human populations across the continent continue to grow, farmers and herders compete with animals for shrinking land and resources. Farmer…
Why study US history, government, and civics? | US government and civics | Khan Academy
So John, if I’m a student studying American history or U.S. government, why should I care? Well, first, there are great stories. The characters in American history all the way through are fascinating; just human beings. They would make great movie charact…