Gauss-Jordan Method Tutorial - Step-By-Step Theory & Python Code | Numerical Computing with Python

  Рет қаралды 37,604

mechtutor com

mechtutor com

Күн бұрын

Here's my NumPy mini-course for an 80% discount. Use coupon code: NUMPY80 at rb.gy/pk99l ... I hope you'll find it useful.
Gauss-Jordan elimination method is explained step-by-step using symbolic and numeric examples. The general formulas and Gauss-Jordan algorithm are applied to write a Python code to solve the numeric example.
*** For a complete online course, visit www.udemy.com/course/programm...
Visit my new Python course webpage: mechtutor.thinkific.com/cours...

Пікірлер: 40
@mechtutorcom
@mechtutorcom 10 ай бұрын
*GREAT GIVE-AWAY! Full NumPy Course for FREE* . Copy Coupon Code: NQSFREE then go to webpage: rb.gy/pk99l - Limited number. Act fast!
@isuryashashank
@isuryashashank 4 жыл бұрын
All videos of the channel are very useful for numerical computations.
@AJ-et3vf
@AJ-et3vf 2 жыл бұрын
This is very nice and helpful 😊 I'm intending to code Gauss-Jordan with partial pivoting and this video is very helpful. Thank you!
@enriquecastro6117
@enriquecastro6117 Жыл бұрын
Gracias!!! Nos fue muy útil para un trabajo en la facultad.
@spencie81
@spencie81 Жыл бұрын
Thank you sir for the detailed explanation on the coding process!
@AJ-et3vf
@AJ-et3vf 2 жыл бұрын
Awesome video! Thank you!
@cheeyuanng853
@cheeyuanng853 3 жыл бұрын
Fantastic explaination. edit: looking at your algo, it's checking row by row, top down for partial pivot if the current a[k,k] cell is 0, what if k = n, and a[n,n] = 0? The Gaussian Elimination wouldn't complete.
@ayoube_baalla
@ayoube_baalla 3 жыл бұрын
Amazing job 👍
@sajidannn
@sajidannn Жыл бұрын
so help full sir, TYSM
@user-zb7on5qc1u
@user-zb7on5qc1u 3 жыл бұрын
Thank you so much! Greetings from Russia.
@skillsandhonor4640
@skillsandhonor4640 3 жыл бұрын
keep doing these
@ayoube_baalla
@ayoube_baalla 3 жыл бұрын
Thanks a lot ♥️♥️♥️♥️♥️♥️
@mason8971
@mason8971 2 жыл бұрын
You are saving my life with these graphics. i am a huge visual learner so reading a textbook with very sparce examples makes my data structures class my most challenging lecture yet. thank you so much!
@moonlightblue9196
@moonlightblue9196 Жыл бұрын
thank you soooo much
@j.raimundosilva2101
@j.raimundosilva2101 3 жыл бұрын
Thank you so much for this! you helped me a lot. I needed a way to work this out in my python project. nowhere else have i found such a good explanation.
@adrien3995
@adrien3995 3 жыл бұрын
This dummy code did not work, from another code that got the result, I wrote this code and it did not work with the true result
@subhadeepnath7315
@subhadeepnath7315 Жыл бұрын
@@adrien3995 can you share the code
@Juaneco_BuVi
@Juaneco_BuVi 3 жыл бұрын
Muchas gracias... 😁
@tupack._.220
@tupack._.220 2 жыл бұрын
hola E:\PROGRAMACION\Metodos numericos\Gauss_Jordan.py:20: RuntimeWarning: invalid value encountered in double_scalars a[k,j] /= pivot E:\PROGRAMACION\Metodos numericos\Gauss_Jordan.py:21: RuntimeWarning: invalid value encountered in double_scalars b[k] /= pivot llegue a tener estos problemas me ayudas a solucionarlos porfa ? o sabes como lo puedo hacer?
@isuryashashank
@isuryashashank 4 жыл бұрын
Lets make this channel Viral
@Listen_bros
@Listen_bros Жыл бұрын
How
@fabiosirugo9320
@fabiosirugo9320 3 жыл бұрын
Is there a proof explaining why partial pivoting is more efficient than all other pivoting? In particular for Gauss-Jordan
@schiaccius1clay
@schiaccius1clay Жыл бұрын
the method you explained seems to be a faster method than the basic one but does it require all a_ij to not be equal to zero? I don't know if I did something wrong but it's not working for calculating an inverse matrix
@holyshit922
@holyshit922 Жыл бұрын
The Gauss-Jordan can be used to get reduced row echelon form of a matrix
@subhadeepnath7315
@subhadeepnath7315 Жыл бұрын
setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (4,) + inhomogeneous part. this error shows for a=np.array(a,float)
@mechtutorcom
@mechtutorcom Жыл бұрын
Hi. I launched an new online course! To learn about it, click here: mechtutor.thinkific.com/courses/python-for-science-and-engineering
@ayoube_baalla
@ayoube_baalla 3 жыл бұрын
From morrocco
@ayansamanta4103
@ayansamanta4103 3 жыл бұрын
What is continue factor?
@Troglodyte2021
@Troglodyte2021 4 жыл бұрын
does this also work for systems with non-unique solutions?
@mechtutorcom
@mechtutorcom 4 жыл бұрын
If a system has a non-unique solution, its coefficient matrix cannot be reduced to the identity matrix because the main diagonal will have one or more zero elements. Thus, Gauss-Jordan is used to solve systems with unique solutions. Even though Gauss-Jordan can be used to solve systems with multiple constant terms (b-vectors), they are still unique solutions. I hope I could answer your question. Thanks for the comment.
@Troglodyte2021
@Troglodyte2021 4 жыл бұрын
@@mechtutorcom Thanks for answering. Sir. I would love to know if these line of code can be used to eliminate ANY matrix into a reduced row echelon form. Your matrix is belongs to a unique full rank type. Most of the matrices are not.
@mechtutorcom
@mechtutorcom 4 жыл бұрын
@@Troglodyte2021 This code is limited to eliminate full rank matrices for rows and columns, so the matrix should be square since the elimination loops go the same number (n). So, some modifications should be done to handle the number of columns and the locations of non-zero elements to satisfy the conditions of the reduced row echelon form. Thank you for the comment.
@arunvenkat9055
@arunvenkat9055 6 ай бұрын
@@mechtutorcom hello sir may i know what modification to do?
@tanmaytyagi7031
@tanmaytyagi7031 4 жыл бұрын
what does 1.0e-12 signifies
@mechtutorcom
@mechtutorcom 4 жыл бұрын
During the partial pivoting, the code checks if the current pivot element a[k,k] is zero. If 0.0 is used, the extremely small values, like 1.234e-14, can be skipped although they approach zero and can cause large errors in next operations. For that reason, the programmer can select a value which all absolute values of a[k,k] less than that value are considered zero. In this code, I selected 1.0e-12. It depends mainly on the precision of computer variables, the tolerated error and the nature of the problem. In most textbooks of Numerical Analysis, you can find a chapter about this topic because it affects almost all numerical methods. Thank you very much for your comment.
@tanmaytyagi7031
@tanmaytyagi7031 4 жыл бұрын
@@mechtutorcom thanks it really helped a lot
@053_nurulfikri2
@053_nurulfikri2 2 жыл бұрын
what if the solution is infinite ?
@linstarrillo6003
@linstarrillo6003 2 жыл бұрын
what can i do if i want a solution for 10x10
@adrien3995
@adrien3995 3 жыл бұрын
This dummy code did not work, from another code that got the result, I wrote this code and it did not work with the true result
@tupack._.220
@tupack._.220 2 жыл бұрын
E:\PROGRAMACION\Metodos numericos\Gauss_Jordan.py:20: RuntimeWarning: invalid value encountered in double_scalars a[k,j] /= pivot E:\PROGRAMACION\Metodos numericos\Gauss_Jordan.py:21: RuntimeWarning: invalid value encountered in double_scalars b[k] /= pivot I got to have this error with the pivot someone help me how to solve it please I think it is due to a division by 0 since they become small values ​​thanks for your help
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 109 МЛН
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,7 МЛН
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15
Дарю Самокат Скейтеру !
00:42
Vlad Samokatchik
Рет қаралды 3,6 МЛН
Gaussian Elimination & Row Echelon Form
18:40
The Organic Chemistry Tutor
Рет қаралды 2,5 МЛН
SciPy Tutorial (2022): For Physicists, Engineers, and Mathematicians
1:33:29
Gaussian Elimination In Python | Numerical Methods
12:01
StudySession
Рет қаралды 20 М.
The fastest matrix multiplication algorithm
11:28
Dr. Trefor Bazett
Рет қаралды 283 М.
11 Tips And Tricks To Write Better Python Code
11:00
Patrick Loeber
Рет қаралды 605 М.
NumPy Tutorial (2022): For Physicists, Engineers, and Mathematicians
1:32:42
Newton-Raphson Method | Numerical Computing in Python
17:31
mechtutor com
Рет қаралды 59 М.
AES Explained (Advanced Encryption Standard) - Computerphile
14:14
Computerphile
Рет қаралды 1,2 МЛН
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 109 МЛН