# Matrices

In the Real World

# At a Glance - In the Real World

Let's say you're working at A & F. You're in charge of shirts, because your manager thinks you have real promise. Don't let her down!

First, you're doing inventory of red polo shirts. There are two kinds, with a logo and without a logo, and you have some of each kind in each of three sizes: small, medium and large. You count them up as follows:

With logo: 3 small, 5 medium, 4 large
Without logo: 2 small, 4 medium, 6 large

You can enter your data into a matrix to keep track of those pesky shirts where with logo is row one, without logo is row two, small is column one, medium is column two, and large is column three:

Since you're so amazing at inventory, you go ahead and count the blue polo shirts too:

With logo: 0 small, 7 medium, 1 large
Without logo: 3 small, 3 medium, 0 large

And the blue shirt matrix looks like this:

Naturally, your manager wonders how many with logo shirts there are in either color for each size. No problem!

#### Example 1

 Let's say you're a big, BIG fan of Barry Manilow. Don't worry, we won't say it to anyone else; the point is just to say it in this example. You have a collection that consists of vinyl records, 8 track tapes, cassettes, and CDs. You want to place the data about your collection into a matrix.

#### Example 2

 Let's say we want to be more detailed about our Manilow Mania. We want to list in a matrix how many of each "Greatest Hits" (1978) and "Ultimate Manilow" (2004) we have. Of the eight records there are five and 3 respectively; for 8 tracks it's 4 and 2, for cassettes 2 and 5, and for CDs it's 1 and 2.

#### Example 3

 Finally, let's suppose we bought some of each of these works on eBay and some at Julio's Retro Wonderland, and for some reason, this matters to us. For sanity's sake, let's use this shorthand: G = Greatest Hits, U =Ultimate Manilow; and E = eBay and J = Julio's place. Here are our lists:Matrix E (our eBay purchases)Vinyl records: 3G, 3U8 tracks: 1G, 1UCassettes: 2G, 3UCDs: 1G, 0UMatrix J (our Julio's bargains)Vinyl records: 2G, 0U8 tracks: 3G, 1UCassettes: 0G, 2UCDs: 0G, 2U

#### Exercise 1

Create matrices for the data:

1. The forecast this week is as follows: Monday, a high of 76 degrees and a low of 40 degrees; Tuesday a high of 71 degrees and a low of 43 degrees; Wednesday a high of 69 degrees and a low of 40 degrees; Thursday a high of 66 degrees and a low of 40 degrees; and Friday, thanks to the incoming meteor, a high of 178 degrees and a low of 165 degrees.

#### Exercise 2

There are three kinds of cookies for sale: lemon, chocolate, and lingonberry. There are 24 lemon cookies, 30 chocolate cookies, and 5 lingonberry cookies since no one likes them.

#### Exercise 3

We are looking at rental prices in three areas for one bedrooms, two bedrooms, and three bedrooms. The average prices in Funky Town are as follows: for one bedrooms it is \$500, for two bedrooms it is \$800 and for three bedrooms it is \$1100. The average prices in Squalorville are as follows: for one bedrooms it is \$450, for two bedrooms it is \$900 and for three bedrooms it is \$1300. The average prices in Uptighton are as follows: for one bedrooms it is \$900, for two bedrooms it is \$1200 and for three bedrooms it is \$1600. Matrix that.