If a row is added to any matrix is it still the same matrix?

  • MHB
  • Thread starter find_the_fun
  • Start date
  • Tags
    Matrix Row
In summary: A and B are equal if and only if they have the same number of rows, the same number of columns, and corresponding entries are equal.
  • #1
find_the_fun
148
0
Is it correct to say it doesn't matter if a row of zeros is added on to a matrix?

For example does
\(\displaystyle
\begin{bmatrix}1&2\\3&4 \end{bmatrix} = \begin{bmatrix}1&2\\3&4 \\ 0&0 \end{bmatrix}\)

Does it depend on context? For example if the matrix is representing a linear system of equations then this would imply 0x=0y which may not necessarily be the case...I'm guessing.
 
Physics news on Phys.org
  • #2
Two matrices are equal if and only if they have the same number of rows, the same number of columns, and corresponding entries are equal. So, no, if you add a row, of "0"s or anything else, to a matrix, the result is NOT the same matrix.

You could define a "correspondence" mapping matrix A to the matrix with a row of "0"s added to the bottom and show that this is an "equivalence relation" but being "equivalent" does not mean they are the "same".
 
  • #3
Matter...how?

Technically, no: one lives in vector space of dimension 4 (4 entries in the matrix), one lives in a vector space of dimension 6.

However, the space of 3x2 matrices with 0 last row is isomorphic to the space of 2x2 matrices (as a subspace of all 3x2 matrices), and the two matrices share many common properties: the same rank, for example.

Your first matrix is equivalent to a linear system of equations:

x + 2y = a
3x + 4y = b

The second matrix is equivalent to the system:

x + 2y = a
3x + 4y = b
0x + 0y = c

If c is non-zero, the second system has no solution, even if the first one does.

On a more abstract level, it depends on what you mean by "the same". An extreme view would be that the symbol $A$ (whether it be a matrix, an equation, or a sentence in some language) is only equal to $A$ and nothing else. This is, for most purposes, far too restrictive, for example, when we write:

2 + 2 = 4

Obviously we do not mean "2 + 2" and "4" are literally the same string of symbols, but rather the two functions:

$f(x,y) = x+y$
$g(z) = z$

have the same image for $(x,y) = (2,2)$ and $z = 4$.

A better example: the Euclidean plane $\Bbb R^2$ and the polynomial space:

$P_1(\Bbb R) = \{f: \Bbb R \to \Bbb R| f(x) = a + bx\}$

are isomorphic as vector spaces, but clearly they are not "the same" (one consists of pairs of real numbers, and one consists of functions on the real numbers) but they share a common dimension, which means in a suitable coordinate system they share a common arithmetic:

one can calculate the polynomial $(f + g)(x) = f(x) + g(x)$ where:

$f(x) = a + bx$
$g(x) = c + dx$

by doing a similar sum in $\Bbb R^2$: adding $(a,b) + (c,d)$.

Much of mathematics is a process of increasing abstraction: which is essentially a process of replacing equality with equivalence. The reason this works so well is that equality itself is an equivalence relation on any set (in fact, the MINIMAL one), so much of what we feel "ought to be true" turns out to be true even when we replace "equal" by "equivalent".

You can think of this process as the process of choosing "the right size filter". Equality is the finest filter possible, whereas "everything is indistinguishable" is the coarsest filter possible. Usually we want something in-between.

The main problem with saying your two matrices are "the same" is that in fact there are MANY possible ways to embed the space of 2x2 matrices within the space of 3x2 matrices (we could map our original 4 entries to any of the 6 possible positions in a 3x3 matrix...for example we could add a 0 row at the top, or in the middle, or take the transpose, and then add a 0 row). Each of these ways produces a subspace of the 3x2 matrices that is somehow the same, but still not equal to the other spaces (in other words, if we are modelling a physical problem "position may matter").

Consider the linear mapping $\Bbb R^2 \to \Bbb R^2$ that has the matrix in the standard basis:

$[T] = \begin{bmatrix}1&0\\0&0 \end{bmatrix}$

This is the projection function onto the $x$-axis:

$T(x,y) = (x,0)$.

Clearly, this isn't the same thing as the identity function $f(x) = x$ on the real numbers, $f$ is bijective, and $T$ is not. And yet, if we restrict $T$ TO the $x$-axis, it acts pretty much the same as the identity function. The difference being, is that $T$ restricted to the $x$-axis, and the identity function on $\Bbb R$ have different domains, and co-domains, and so represent distinct, if eerily similar, functions.
 
  • #4
Ok thanks. A somewhat similar question is if you are given to matrices with no context and the numbers and dimensions are the same is it right to say they are equal?

e.g. If
\(\displaystyle A=\begin{bmatrix}1&2\\3&4 \end{bmatrix}\) and \(\displaystyle B=\begin{bmatrix}1&2\\3&4 \end{bmatrix}\) then does A=B?
 
  • #5
find_the_fun said:
Ok thanks. A somewhat similar question is if you are given to matrices with no context and the numbers and dimensions are the same is it right to say they are equal?

e.g. If
\(\displaystyle A=\begin{bmatrix}1&2\\3&4 \end{bmatrix}\) and \(\displaystyle B=\begin{bmatrix}1&2\\3&4 \end{bmatrix}\) then does A=B?
Yes! Have a nice day!

Regards,
\(\displaystyle |\pi\rangle\)
 

FAQ: If a row is added to any matrix is it still the same matrix?

What is a matrix?

A matrix is a rectangular array of numbers, symbols, or expressions arranged in rows and columns. It is commonly used in mathematics and computer science for representing and manipulating data.

What does it mean to add a row to a matrix?

Adding a row to a matrix means inserting a new row of elements either at the beginning, end, or somewhere in between the existing rows of the matrix. This results in an increase in the total number of rows in the matrix.

Is the order of the matrix affected when a row is added?

Yes, the order of the matrix is affected when a row is added. The number of rows in the matrix increases, resulting in a change in the dimensions of the matrix. For example, a 3x4 matrix becomes a 4x4 matrix when a new row is added.

Is the original matrix still the same after a row is added?

No, the original matrix is no longer the same after a row is added. The addition of a new row changes the values and dimensions of the matrix, making it a different matrix from the original one.

Can a row be added to any type of matrix?

Yes, a row can be added to any type of matrix as long as the number of elements in the new row is equal to the number of elements in the existing rows. This ensures that the dimensions of the matrix remain consistent.

Similar threads

Replies
4
Views
2K
Replies
1
Views
737
Replies
10
Views
1K
Replies
5
Views
1K
Replies
8
Views
2K
Replies
12
Views
2K
Replies
1
Views
1K
Back
Top