How Do You Correctly Set Up and Multiply Matrices for Business Sales Analysis?

  • Thread starter Thread starter noobshoob
  • Start date Start date
  • Tags Tags
    Matrices
AI Thread Summary
To correctly set up matrices for business sales analysis, the price of items should be represented as a row matrix, such as [300, 20, 50]. The sales quantities for each day can be organized into a 3x3 matrix, but the arrangement of values matters depending on how the matrices are multiplied. To calculate the income matrix, one must use the dot product of the price matrix and the quantity matrix, ensuring the dimensions align properly for multiplication. The discussion highlights the importance of matrix orientation and clarifies that the interpretation of the income matrix depends on whether it represents total income or daily income.
noobshoob
Messages
3
Reaction score
0
I don't know if this is the correct place to post this thread, but I have come across a few problems which I do not know how to approach.

1. A shop sells TVs at $300, DVDs at $20 and Radios at $50. Put these into a row matrix.
Here is what I did:
Code:
300
20
50
Is this correct? Should it be [300, 20, 50] (horizontally, if it matters)?

2. On Monday they sell 5 TVs, 2 DVDs and 3 Radios.
On Tuesday they sell 7 TVs, 3 DVDs, and 2 Radios.
On Wednesday they sell 5 TVs, 6 DVDs and 4 Radios.
Set out the costs and the quantities into 2 matrices.
Here is what I did:
Code:
300      5  7  5
20       2  3  6
50       3  2  4

3. Calculate the product of the cost and quantity matrices to form the income matrix.
Should I multiply them? Use dot product?
 
Physics news on Phys.org
For part 1, no it is not correct. What you have written is a column matrix. Your other suggestion is correct.

Have you done matrix multiplication before? You cannot multiply a 3x1 matrix and a 3x3 matrix. However, you can multiply a 1x3 and a 3x3. That is why it matters whether your write a row or a column matrix.
 
I've multiplied 2 2x2 matrices before. So it is okay for me to multiply [300, 20, 50] with the 3x3 matrix?

How about questions 2 and 3? Is my 3x3 matrix correct or should the numbers be in a different order?
 
Well, if you are multiplying with "price matrix" on the left, then it must be a row matrix:
\begin{bmatrix} 300 & 20 & 50\end{bmatrix}\begin{bmatrix}5 & 7 & 5 \\ 2 & 3 & 6 \\ 3 & 2 & 4\end{bmatrix}

If you choose, instead, to multiply with price on the right, then it would be a column matrix, but also with the transpose of the price matrix:
\begin{bmatrix}5 & 2 & 3 \\ 7 & 3 & 2 \\ 5 & 6 & 4\end{bmatrix}\begin{bmatrix} 300 \\ 20 \\ 50\end{bmatrix}

Edit:
It occurs to me after writing this that how you set the matrix multiplication up depends on what, exactly, "income matrix" means. Is it income summed over different kinds of product per day or summed over the three different days per kind of product.

The total would be either of those "dot product" [1 1 1].
 
Last edited by a moderator:
Your first suggestion is what I'm going to go with I think as it seems to fit the question.
However, is my 3x3 matrix okay? Is the order of the values like this...
Code:
5  7  5
2  3  6
3  2  4

...okay, or should it be:

5  2  3
7  3  2
5  6  4

It doesn't specify whether it is the total income or just the income per day, but since the question prior to the last asks me to create a matrix to hold all the income of the 3 days then I guess it would be logical to calculate the total. You say that I must use the dot product on the two matrices? Why would this be?
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top