Solving via Gaussian Elimination

Click For Summary
SUMMARY

The forum discussion focuses on solving a system of equations using Gaussian Elimination, specifically the equations -2a + 5c = 1, a + 2b - c = 2, and 3a - 2b = 3. The user initially arrives at incorrect values for variables a, b, and c due to an error in matrix manipulation, particularly in the operation R3 → R3 - 3R2. After receiving feedback, the user corrects their approach and successfully resolves the equations, confirming that a = -5/24, b = 3/8, and c = 7/60.

PREREQUISITES
  • Understanding of Gaussian Elimination technique
  • Familiarity with augmented matrices
  • Basic algebraic manipulation skills
  • Knowledge of solving systems of linear equations
NEXT STEPS
  • Study advanced Gaussian Elimination techniques for larger systems
  • Learn about matrix row operations in detail
  • Explore applications of Gaussian Elimination in computational mathematics
  • Investigate alternative methods for solving systems of equations, such as matrix inversion
USEFUL FOR

Students, educators, and professionals in mathematics or engineering fields who are looking to enhance their skills in solving linear equations and understanding matrix operations.

mad_monkey_j
Messages
33
Reaction score
0

Homework Statement


Solve the following system of equations using Gaussian Elimination:
-2a+5c=1
a+2b-c=2
3a-2b=3

Homework Equations


N/A

The Attempt at a Solution


Augmented matrix
(-2 0 5 | 1) R2 → R2 +R1/2
(1 2 -1 | 2) R3 → R3 - 3R2
(3 -2 0 | 3)

(-2 0 5 | 1) Swap R2 and R3
(0 2 3/2 | 5/2)
(0 -8 0 | -3)

(-2 0 5 | 1) R2 → -R2/4
(0 -8 0 | -3)
(0 2 3/2 | 5/2)

(-2 0 5 | 1) R3 → R3-R2
(0 2 0 | 3/4)
(0 2 3/2 | 5/2)

(-2 0 5 | 1) R3 → R3*10/3
(0 2 0 | 3/4)
(0 2 3/2 | 5/2)

(-2 0 5 | 1) R1 → R1-R3
(0 2 0 | 3/4)
(0 0 5 | 7/12)

(-2 0 0 | 5/12)
(0 2 0 | 3/4)
(0 0 5 | 7/12)

therefore a=-5/24, b=3/8 and c=7/60

The problem is a and c satisfy the equation but b does not, not sure what I've done wrong especially since a and c both work. Any help?
 
Physics news on Phys.org
-2a+5c=1
-2(-5/24) + 5(7/60) = 10/24+30/60 = 5/12+6/12

so a & c do not work, I would go back and check each of your steps
 
You may not do two operations simultaneously.
 
verty said:
You may not do two operations simultaneously.
?? He didn't.

mad_monkey_j said:

Homework Statement


Solve the following system of equations using Gaussian Elimination:
-2a+5c=1
a+2b-c=2
3a-2b=3

Homework Equations


N/A

The Attempt at a Solution


Augmented matrix
(-2 0 5 | 1) R2 → R2 +R1/2
(1 2 -1 | 2) R3 → R3 - 3R2
(3 -2 0 | 3)
Your error is here. R3- 3R2, in the third column, would be 0-3(-1)= 3, not 0.

(-2 0 5 | 1) Swap R2 and R3
(0 2 3/2 | 5/2)
(0 -8 0 | -3)

(-2 0 5 | 1) R2 → -R2/4
(0 -8 0 | -3)
(0 2 3/2 | 5/2)

(-2 0 5 | 1) R3 → R3-R2
(0 2 0 | 3/4)
(0 2 3/2 | 5/2)

(-2 0 5 | 1) R3 → R3*10/3
(0 2 0 | 3/4)
(0 2 3/2 | 5/2)

(-2 0 5 | 1) R1 → R1-R3
(0 2 0 | 3/4)
(0 0 5 | 7/12)

(-2 0 0 | 5/12)
(0 2 0 | 3/4)
(0 0 5 | 7/12)

therefore a=-5/24, b=3/8 and c=7/60

The problem is a and c satisfy the equation but b does not, not sure what I've done wrong especially since a and c both work. Any help?
 
HallsofIvy said:
?? He didn't.


Your error is here. R3- 3R2, in the third column, would be 0-3(-1)= 3, not 0.

Ahh thanks can't believe I didn't notice it, all works nicely now.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
2
Views
2K
Replies
2
Views
1K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K