System of Linear Equations to Reduced Echelon Form

In summary, the original equation is -2x1 - 5x2 + x3 = b1. When x1, x2, and x3 are set to 1, the equation becomes b1=3, b2=3; b3= -8. When x1, x2, and x3 are set to any other value, the equation does not hold.
  • #1
mattyk
13
0
I have
x1 + 3x2 - x3 = b1
x1 - x2 + 3x3 = b1
-2x1 - 5x2 - x3 = b1

So using an augmented matrix I get this

[1 3 -1 | 1]
[1 -1 3 | 1]
[-2 -5 1 | 1]

[1 3 -1 | 1]
[0 -4 4 | 0] R2 - R1 = R2
[0 1 -1 | 3] R3 + 2R1 = R3

[1 3 -1 | 1]
[0 1 -1 | 3] Swap R2 with R3
[0 -4 4 | 0]

[1 0 2 | -8] R1 - 3R2 = R1
[0 1 -1 | 3]
[0 0 0 | 12] R3 + 4R2 = R3Now my problem is the third row
I don't know how to use this to answer this part of the question
"Use part b) to write an equation that expresses conditions on b1, b2 and b3 so that the system
will be consistent."

Have I reduced it correctly? Is there another way to reduce it?
If not how do I answer that part of the question?
 
Physics news on Phys.org
  • #2
Your very first step- writing the augmented matrix- is wrong because you have replaced b1, b2, and b3 with "1", losing the entire point of the problem!
Your "reduced matrix" should be
[tex]\begin{bmatrix} 1 & 0 & 2 & | & -b_1- 3b_3 \\ 0 & 1 & -1 & | & b_3+ 2b_1 \\ 0 & 0 & 0 & | & b_2+ 4b_3+ 7b_1 \end{bmatrix}[/tex]

Those now correspond to the equations
[itex]x_1+ 2x_3= -b_1-3b_3[/itex]
[itex]x_2- x_3= b_3+ 2b_1[/itex]
[itex]0= b_2+ 4b_3+ 7b_1[/itex]

In order that these be "consistent", in other words, that there be values of [itex]x_1[/itex], [itex]x_2[/itex], and [itex]x_3[/itex] so that these equations are true, the third equation, which has no [itex]x_1[/itex], [itex]x_2[/itex], or [itex]x_3[/itex] must be true- we must have [itex]b_2+ 4b_3+ 7b_1= 0[/itex].[/sub]
 
  • Like
Likes mattyk and FactChecker
  • #3
Thanks for your reply.
I've written the question down wrong. A copy and paste error. Sorry about that.
It should be

x1 + 3x2 - x3 = b1
x1 - x2 + 3x3 = b2
-2x1 - 5x2 - x3 = b3

I'm assuming that changes things.
 
Last edited:
  • #4
Or not.
I think I get it now. I replied at 2am whilst trying to feed a 1 year old.
 
  • #5
Aside from the errors already pointed out, you were doing it right. Your original version led to a problem that is not unusual. The equations were inconsistent and there was no feasible solution. That is apparent after your first step. Row 2 showed that x2 = x3, but row 3 contradicted that. Things like that can easily happen in real problems and it is good if you can recognize when it happens.
 
  • Like
Likes mattyk
  • #6
I've had another go with what @HallsofIvy has posted.

[1 3 -1 | b1 ]
[1 -1 3 | b2 ]
[-2 -5 1 | b3 ]

[1 3 -1 | b1 ]
[0 -4 4 | b2 - b1 ] R2 - R1 = R2
[0 1 -1 | b3 + 2b1 ] R3 + 2R1

[1 3 -1 | b1 ]
[0 1 -1 | b3 + 2b1 ] Swap R2 & R3
[0 -4 4 | b2 - b1 ]

[1 0 2 | b1 - 3(b3 + 2b1) ] R1 - 3R3
[0 1 -1 | b3 + 2b1 ]
[0 0 0 | (b2 - b1) + 4(b3 + 2b1) ] R3 + 4R2

[1 0 2 | 7b1 - 3b3 ]
[0 1 -1 | b3 + 2b1 ]
[0 0 0 | 7b1 + b2 + 43

x1 + 2x3 = 7b1 - 3b2
x2 - x3 = 2b1 + b3
0 = 7b1 + b2 + 4b3

So my first equation is different to Hallsofivy.
Have I messed up somewhere?
 
Last edited:
  • #7
Double check your calculations. For instance, I see b1 - 3(b3 + 2b1) = 7b1 - 3b3. Should be -5b1-3b3.
 
  • #8
Dang it. I looked at that so many times.

So changed I get

x1 + 2x3 = -5b1 - 3b2
x2 - x3 = 2b1 + b3
0 = 7b1 + b2 + 4b3
 
Last edited:
  • #9
You can make a test case to verify each step. Set x1 = x2 = x3 = 1. The original equations in Post #3 give b1=3, b2=3; b3= -8. Those should work in any equation you get along the way in your solution. If they don't, check that equation. I see that you have a wrong entry in (3,3) at the beginning of Post #6. You have [-2 -5 1 | b3 ] but it should be [-2 -5 -1 | b3 ].

One of the disciplines that math requires is to check every sign and symbol step-by-step. It is very difficult, especially in large problems. That is why symbolic manipulation programs like MAPLE are so valuable.
 
  • Like
Likes mattyk
  • #10
I wrote the original equation down wrong. it should be -2x1 - 5x2 + x3 = b1.
Sorry about the mistakes.
I'll try to be more careful in the future.

And thank you once again for your help, it has been invaluable. It really helped me get my head something I was struggling to grasp.
 

1. What is a system of linear equations?

A system of linear equations is a set of two or more equations that involve two or more variables. These equations can be solved simultaneously to find the values of the variables that satisfy all of the equations in the system.

2. What is reduced echelon form?

Reduced echelon form is a special form of a matrix that is achieved by performing elementary row operations on the matrix. In reduced echelon form, all leading coefficients (the first non-zero number in each row) are equal to 1, and all other entries in the same column are equal to 0.

3. Why is reduced echelon form important?

Reduced echelon form is important because it allows us to solve systems of linear equations in a more efficient and organized manner. It also helps to identify the number of solutions to a system of equations, whether it has a unique solution, infinite solutions, or no solution at all.

4. What are elementary row operations?

Elementary row operations are a set of three operations that can be performed on a matrix: multiplying a row by a non-zero constant, swapping two rows, and adding a multiple of one row to another row. These operations are used to transform a matrix into reduced echelon form.

5. How do you solve a system of equations using reduced echelon form?

To solve a system of equations using reduced echelon form, we first convert the system into an augmented matrix, where the coefficients of the variables are on the left and the constant terms are on the right. Then, we perform elementary row operations on the matrix until it is in reduced echelon form. Finally, we can read off the solutions to the system of equations from the reduced echelon form matrix.

Similar threads

  • Linear and Abstract Algebra
Replies
2
Views
426
  • Linear and Abstract Algebra
Replies
8
Views
881
  • Linear and Abstract Algebra
Replies
3
Views
920
  • Linear and Abstract Algebra
Replies
2
Views
956
  • Linear and Abstract Algebra
Replies
14
Views
2K
  • Linear and Abstract Algebra
Replies
3
Views
2K
  • Linear and Abstract Algebra
Replies
4
Views
1K
  • Linear and Abstract Algebra
Replies
6
Views
2K
  • Linear and Abstract Algebra
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
Back
Top