Suppose Madhu has 3 pens & 2 notebooks,
and Sanjay has 1 pen & 4 notebooks
How can we represent it in an easy way?
We use Matrix?
So, we write the data as
It is in the form of a table like
Now,
Suppose Tarun has 5 pens & 3 notebooks
How will we write this in a matrix?
Madhu has 3 pens & 2 notebooks
Sanjay has 1 pens & 4 notebooks
Tarun has 5 pens & 3 notebooks
So, our matrix looks like
In this matrix
So, in matrix B, we have
3 Rows,
2 Columns
& 6 elements - 3, 2, 1, 4, 5, 3
Similarly, we can have a matrix of any number of rows & columns, and elements can be numbers or variables
Example
Suppose we have vertex of quadrilateral as
A (1, 2), B (0, 8), C (4, 0), D (3, 3).
How can we represent it as a matrix.