Solve the system of linear equations

  • #1
chwala
Gold Member
2,573
343
TL;DR Summary
Looking at this now- refreshing on rref kindly see attached.
1708211357241.png


1708211377555.png


This is fine but i have my own approach as follows;


##\begin{pmatrix}
-7 & -6 & -12 & -33 \\
5 & 5 & 7& 24 \\
1 & 0 & 4 & 5
\end{pmatrix} ## → Row 1 times 5 and row 2 times 7...

##\begin{pmatrix}
-35 & -30 & -60 & -165 \\
35 & 35 & 49& 168 \\
1 & 0 & 4 & 5
\end{pmatrix}## →

##\begin{pmatrix}
-35 & -30 & -60 & -165 \\
0 & 5 & -11& 3 \\
1 & 0 & 4 & 5
\end{pmatrix}## → Row 1 minus row 2...

##\begin{pmatrix}
-35 & -30 & -60 & -165 \\
1 & 0 & 4& 5 \\
0 & 5 & -11 & 3
\end{pmatrix} ## → R3 and R2 switch...


##\begin{pmatrix}
-35 & -30 & -60 & -165 \\
0 & -30 & 80 & 10 \\
0 & 5 & -11 & 3
\end{pmatrix} ## → R3 times 6 then subtract from R2

##\begin{pmatrix}
-35 & -30 & -60 & -165 \\
0 & -30 & 80 & 10 \\
0 & 0 & 14 & 28
\end{pmatrix} ##

##14x_3=28, x_3=2##

##-30x_2+160=10##

##x_2=5##

##-35x_1-30x_2-60x_3=-165##

##-35x_1-150-120=-165##

##-35x_1=105##

##x_1=-3##.

I fully understand the author's approach of having the leading elements for every row being ##1## conforming with the Row reduced echelon form...

just sharing...cheers
 
  • Like
Likes Bosko
Physics news on Phys.org
  • #2
As long as you know what is going on with the arithmetic, anything that works and that you can easily tackle "tags all the bases".
When attacking such problems in the workplace, there's little point to doing it manually - use a software tool.
As an additional exercise, you might want to code this up as a function - or set it up in a spread sheet (ex, Excel) where the matrix values can be changed and the output recomputed and displayed automatically.
 
  • Like
Likes chwala
  • #3
.Scott said:
As long as you know what is going on with the arithmetic, anything that works and that you can easily tackle "tags all the bases".
When attacking such problems in the workplace, there's little point to doing it manually - use a software tool.
As an additional exercise, you might want to code this up as a function - or set it up in a spread sheet (ex, Excel) where the matrix values can be changed and the output recomputed and displayed automatically.
True, i know software can help in most of math problems... e.g multiplying matrices, finding determinants of matrices, diagonalize matrices etc...and many other math areas... but i prefer in most cases to use my human capabilities; it does wonders to my cognition/processing speed in dealing practically with life challenges... That's why i like doing Math.
Cheers mate.
 
Last edited:

Similar threads

  • Linear and Abstract Algebra
Replies
8
Views
738
  • Linear and Abstract Algebra
Replies
6
Views
369
  • Linear and Abstract Algebra
Replies
14
Views
2K
  • Linear and Abstract Algebra
Replies
2
Views
857
  • Linear and Abstract Algebra
Replies
15
Views
1K
  • Linear and Abstract Algebra
Replies
2
Views
921
  • Linear and Abstract Algebra
Replies
10
Views
909
  • Linear and Abstract Algebra
Replies
14
Views
1K
Replies
31
Views
2K
  • Linear and Abstract Algebra
Replies
13
Views
1K
Back
Top