Quick question about matrix operations.

In summary, the conversation discusses systems of equations and how they can be represented in matrix form. It also explains how elementary row operations can be used to simplify the matrix, while still maintaining the same solution set. The conversation also questions the validity of adding a value to a row and whether it changes the solution set, but it is clarified that all three operations (scaling, replacement, and addition) can be formally proven to maintain the same solution set.
  • #1
tnutty
326
1
Say there are these systems of equations :

x - 2y + z = 0
2y - 8z = 8
-4x + 5y + 9z = -9

In matrix form, it can be represented like this :

--
[1 -2 1 0] < -- row 1
[0 2 -8 8] < -- row 2
[-4 5 9 -9] < -- row 3

When we do elementary row operations, say on row3 = row3 + 4*row1. That changes
row 3 to [0 -3 13 -9], if we substitute this for old row 3 we get a simpler matrix, buts
slightly modified. My question is that, when we do a row operation, how is the
resultant matrix essentially the same, i.e has the same solution set ?

I mean when we do row3 += 4*row1, does that not alter row3 to become a different
row with different solution ? Maybe I missed something in algebra class. Basically, I do
not see why row3 = row3 + 4*row1, has the same solution as just row3 ? I mean
don't we have to do this, row3 + 4*row1 = row4 + 4row1 ? How come, we are only adding
it to one side ?
 
Physics news on Phys.org
  • #2
A row operation essentially amounts to combining two equations to another. In your example, you're multiplying the first equation by 4 and adding it to the third.

[tex]x-2y+z=0 \rightarrow 4x-8y+4z=0[/tex]

and

[tex]-4x+5y+9z=-9[/tex]
[tex](-4x+4x)+(5y-8y)+(9z+4z)=-9+0[/tex]
[tex]-3y+13z=-9[/tex]

If you're willing to accept that doing the algebra doesn't change the solutions, then you should be willing to accept the row operations don't change the solutions.
 
  • #3
When you replace a row by itself + a multiple of another row, you get different values for that row. Although the rows are different from before, the system of equations that is represented by the rows has exactly the same solution set.

Think about it in terms of the equations that the augmented matrix represents. For a simple example, consider

x + y = 3
x - y = 1

If I add the first equation to the second, my system now becomes

x + y = 3
2x = 4

(What I have done is replace the 2nd equation by itself + 1 times the first equation.)

It can easily be seen that the 2nd equation yields x = 2. Substition into the first equation gives y = 1, so the solution of the system is (2, 1).

Notice that x = 2, y = 1 is also the solution of the original system of equations. Again, even though the two systems of equation look different, they have the same solution set.

There are three operations that you can apply to a system of equation or an augmented matrix that represents such a system:
  1. Replace a row/equation by a nonzero multiple of itself.
  2. Interchange two rows/equations.
  3. Add a multiple of one row/equation to another row/equation. (I.e., replace a row/equation by itself plus a nonzero multiple of another row/equation.)

These operations give you a new system of equations/augmented matrix with exactly the same solution set.
 
  • #4
>>"What I have done is replace the 2nd equation by itself + 1 times the first equation."

See that's the part that's bugging me. From middle school I have took that method as
granted. Do you think that there if a formal proof of why that method would work? Or
is it just drawn from intuitive reason and induction?

>> "When you replace a row by itself + a multiple of another row, you get different values for that row"

I can see why scaling a row would still have the same solution set, but we are adding a value to a row. I mean we can't
just add a value to a row an consider it to be the same equation in different form, unless the value is canceled by subtracting it
again.
 
  • #5
tnutty said:
>>"What I have done is replace the 2nd equation by itself + 1 times the first equation."

See that's the part that's bugging me. From middle school I have took that method as
granted. Do you think that there if a formal proof of why that method would work? Or
is it just drawn from intuitive reason and induction?

>> "When you replace a row by itself + a multiple of another row, you get different values for that row"

I can see why scaling a row would still have the same solution set, but we are adding a value to a row. I mean we can't
just add a value to a row an consider it to be the same equation in different form, unless the value is canceled by subtracting it
again.

Yes, all three of the operations can be proved.
 
  • #6
Ok, I will search for it. Thanks.
 

1. What are matrix operations?

Matrix operations are mathematical operations performed on matrices, which are rectangular arrays of numbers. These operations include addition, subtraction, multiplication, and division.

2. Why are matrix operations important?

Matrix operations are important in various fields of science, such as physics, engineering, and computer science. They are used to solve systems of equations, transform data, and perform calculations in linear algebra.

3. What is the difference between scalar and matrix operations?

Scalar operations involve multiplying or dividing a single number by a matrix, while matrix operations involve multiplying, adding, or subtracting two matrices. Scalar operations result in a single number, while matrix operations result in a new matrix.

4. Can any two matrices be multiplied together?

No, two matrices can only be multiplied together if the number of columns in the first matrix is equal to the number of rows in the second matrix. This is known as the "multiplicative compatibility" rule.

5. What is the purpose of the identity matrix in matrix operations?

The identity matrix is a special matrix with 1s on the main diagonal and 0s elsewhere. When multiplied with another matrix, it acts as a neutral element, resulting in the same matrix. It is useful in simplifying calculations and solving equations.

Similar threads

  • Science Fiction and Fantasy Media
Replies
1
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
966
  • Calculus and Beyond Homework Help
Replies
2
Views
50
  • Calculus and Beyond Homework Help
Replies
15
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
348
  • Calculus and Beyond Homework Help
Replies
2
Views
5K
  • Calculus and Beyond Homework Help
Replies
2
Views
490
  • Calculus and Beyond Homework Help
Replies
6
Views
258
Back
Top