Actually, row vector and column vector aren't the same thing. As a beginner think of 1x3 matrix as three one-dimensional vectors and 3x1 matrix as one three-dimensional vector.
In order to understand the difference between the products, consider these examples for (1x3) row matrix * (3x1) column matrix and (3x1) column matrix * (1x3) row matrix, respectively:
- A restaurant offered three types of meal with given amount and price:
$$\begin{array}{|c|c|c|} \hline
& \text{Amount} & \text{Price} \\ \hline
\text{Meal 1} & 5 & \text{12\$} \\ \hline
\text{Meal 2} & 8 & \text{10\$} \\ \hline
\text{Meal 3} & 10 & \text{15\$} \\ \hline
\end{array}$$
You can find total revenue by matrix multiplication:
$$
\begin{bmatrix}
5 & 8 & 10
\end{bmatrix}
\times
\begin{bmatrix}
12\\
10\\
15\\
\end{bmatrix}
=
\begin{bmatrix}
290
\end{bmatrix}
$$
So, as you can see, first matrix has three one-dimensional vectors (as I mentioned before) which represents amount of each meal, whereas second matrix has one tree-dimensional matrix representing prices.
- You want to hire an employee for 3-day work and you want to know how much salary should you pay for three days (with different working hours) for three different salaries:
$$\begin{array}{|c|c|c|} \hline
\text{Day} & \text{Hours} & \text{Salary} \\ \hline
1 & 5 & \text{12\$} \\ \hline
2 & 8 & \text{10\$} \\ \hline
3 & 10 & \text{15\$} \\ \hline
\end{array}$$
Again you can use matrix multiplication:
$$
\begin{bmatrix}
5\\
8\\
10
\end{bmatrix}
\times
\begin{bmatrix}
12 & 10 & 15\\
\end{bmatrix}
=
\begin{bmatrix}
60 & 50 & 75\\
96 & 80 & 120\\
120 & 100 & 150
\end{bmatrix}
$$
Here first matrix represents working hours of three days and second matrix represents three different salaries. Finally, you get a matrix which has three columns representing cost for three different salaries and has three rows representing three days. For example, element at second row, second column represents the cost for second day, 10$ salary.
i asked my teacher if i can treat a row matrix as a point in a F^n? he told me that i can see a row matrix as vector in F^n. So as i know vector are usually represented in a column. so this is when I started to get confused. so in some cases they are the same and in some cases row vector and column vector are different, everything is how i chose to use them? @JMoravitz
– Basecode Oct 26 '22 at 12:56