Manipulating Matrices: Elementary Row Operations and Gauss-Jordan Elimination

Поділитися
Вставка
  • Опубліковано 8 лют 2025
  • Now that we know how to represent systems of linear equations by using matrices, how can we solve those systems while in matrix notation? The easiest way is called Gauss-Jordan elimination, so let's learn how to do it!
    Watch the whole Mathematics playlist: bit.ly/ProfDave...
    Classical Physics Tutorials: bit.ly/ProfDave...
    Modern Physics Tutorials: bit.ly/ProfDave...
    General Chemistry Tutorials: bit.ly/ProfDave...
    Organic Chemistry Tutorials: bit.ly/ProfDave...
    Biochemistry Tutorials: bit.ly/ProfDave...
    Biology Tutorials: bit.ly/ProfDaveBio
    EMAIL► ProfessorDaveExplains@gmail.com
    PATREON► / professordaveexplains
    Check out "Is This Wi-Fi Organic?", my book on disarming pseudoscience!
    Amazon: amzn.to/2HtNpVH
    Bookshop: bit.ly/39cKADM
    Barnes and Noble: bit.ly/3pUjmrn
    Book Depository: bit.ly/3aOVDlT

КОМЕНТАРІ • 121

  • @BoothPlayer
    @BoothPlayer 6 років тому +144

    Dude, rly? You're posting videos at the same pace as I'm learning these things in college. That's awesome.

  • @johnryan7661
    @johnryan7661 2 роки тому +79

    For anyone else who had a hard time with this, 2 things really helped me to start understanding the strategy for elimination:
    1. Dave says so in the video, but it went right over my head: Don't worry about getting 1 values in the matrix, focus only on getting 0 values. Once all but the rightmost value and one other value in a row are zeroed, you can divide both values by the coefficient non-zero value, which will convert the row to RREF and provide a solution.
    2. It helps me to start zeroing from the top-right or bottom-left corner of the coefficient matrix. It almost feels like a game or a puzzle: Getting those corner values zeroed provides a solid base to start zeroing horizontally or vertically without accidentally limiting yourself to operations that would change a previously created zero.
    Anyhow, hope that helps. If anyone has any other strategies, I'd love to hear them. Thanks for the video, Dave! Looking forward to more!

    • @ivoryas1696
      @ivoryas1696 8 місяців тому +2

      @johnryan7661
      Honestly, these are some nice reminders for algebra in general... Good on you! 👏🏾

  • @sarahvanburen5960
    @sarahvanburen5960 Рік тому +19

    You have a gift, honestly most professors can’t help but ramble on and talk on circles making this more confusing than they should be. You say only what is need in a clear and concise way. You’re videos are my absolute favorite.

  • @benbaumgartner1639
    @benbaumgartner1639 3 роки тому +6

    Thanks!

    • @benbaumgartner1639
      @benbaumgartner1639 3 роки тому +1

      Really appreciate how you make content vastly more digestible than others. Amazing work!

  • @jamesprice8109
    @jamesprice8109 5 років тому +90

    Professor Dave, your videos are well done. I would make one suggestion, when you give the final problem on your matrices to practice, don't just show the answer, but show how you solved it. It is important to learn and reinforce the process. Thank you!

    • @ktistianivanov5554
      @ktistianivanov5554 Рік тому

      1 1 1 5 1 1 1 5
      2 3 5 8 => we multiply the 1st row by 2 so we can substract the first from second row and we get 0 1 3 -2
      4 0 5 2 4 0 5 2
      => than we (note that we don't change the first row) multiply the first row by 4 and substract the 1st row from 3rd
      and we get:
      1 1 1 5
      0 1 3 -2
      0 -4 1 -18
      => now we can multiply the second row by 4 and combine the 3rd and second row so we get
      1 1 1 5
      0 1 3 -2
      0 0 13 -26
      here we can devide the whole 3rd row by 13 and we get 0 0 1 -2 (z = -2) and knowing that we can get x and y
      Its essential to work with 0 and 1 so you make your work easier

  • @user-qj7ty9bb9h
    @user-qj7ty9bb9h Рік тому

    Thanks

  • @SeriousStudent603
    @SeriousStudent603 2 місяці тому +4

    9:00
    soln:
    R2- 2R1
    R1 - R2
    R3 - 4R1
    R3 / 13 => z = -2
    R1 + 2R3 => x = 3
    R2 - 3R3 => y = 4

  • @CoachWhillock
    @CoachWhillock 2 місяці тому

    I’ve been banging my head all day trying to figure this out and,
    I’m still not quite there but now the importance of the 0s makes SO much more sense . Absolute gold

  • @ylvaseason
    @ylvaseason 4 місяці тому

    Thank you so much for this incredible explanation! I honestly thought I was completely lost and just not cut out for this subject, but in just 10 minutes, you've transformed my understanding. It might have even become one of my favorite topics now! The way you break things down made everything click, and just like that, it seems so much more fun. Truly grateful for your teaching!

  • @juliaadimarr
    @juliaadimarr 4 роки тому +11

    professor dave this is hard i hate teaching myself math but ur videos help thanks for ur coolness man

  • @hidetsuguhiraki2008
    @hidetsuguhiraki2008 10 місяців тому

    Sir, you are a good teacher who knows how to send message to the recipient. Great.

  • @astvRBLX
    @astvRBLX 2 місяці тому +2

    Final exam for college algebra. If i pass this i never have to do math class in my life ever again... wish me luck

  • @colorx6030
    @colorx6030 Рік тому +14

    Man, studying these (relatively) advanced Math courses in College really reveals which fundamentals in Algebra you didn't understand since every advanced concept is just built on the basic foundations. In my case, I didn't really know much about the elimination method (I always solve using substitution method) so I had to learn elimination method before rewatching this video.

  • @abdullahn9827
    @abdullahn9827 4 роки тому +14

    YO! the example you did much easier than the question at the end...

  • @HugoBernard-dl9dc
    @HugoBernard-dl9dc Рік тому +7

    If youre feeling stuck on the comprehension, remember that only the bottom left and top right need to become 0 (ignore the last column with the answers) and that you only need to operate on one row at a time. You can do it!!

  • @juliaadimarr
    @juliaadimarr 4 роки тому +162

    anyone here during the 2020 pandemic teaching themselves college at home

  • @KewaneKundu-sb3qi
    @KewaneKundu-sb3qi 3 місяці тому

    You prefer your tutorial most b'cas...your explaination is very clear always.

  • @MageInTraining1
    @MageInTraining1 3 роки тому +69

    Solution:
    R3=R3-4R1
    R2=R2-2R1
    R3=R3+4R2
    R3/13= Z=-2
    R1=R1-R2
    R1=R1+2R3 X=3
    R2=R2-3R3
    Y=4

  • @fernandoportal5422
    @fernandoportal5422 Рік тому +4

    this problem took me more than two hours. but it felt great to figure it out.

  • @NovaWarrior77
    @NovaWarrior77 4 роки тому +4

    Your the best professor.

  • @snakeywakey3893
    @snakeywakey3893 4 роки тому +1

    This clears a lot of things up, thanks.

  • @rickv9180
    @rickv9180 Рік тому

    Thanks for this, I needed this because I have an assignment due tomorrow.

  • @rrkraj
    @rrkraj 6 років тому +6

    matrices,learning now! thanks professor dave! 😊 please upload videos on determinants also🤔🤔

  • @SkilledApple
    @SkilledApple 3 роки тому +1

    Excellent explanation, thank you!

  • @HolisticApproach
    @HolisticApproach 6 років тому +4

    Thank you Professor!

  • @onurucar1112
    @onurucar1112 4 роки тому +17

    10k views and 0 dislikes! that's insane dude. he's also better than my +150$k paid professor.

    • @danielpeach8560
      @danielpeach8560 4 роки тому +3

      i hope you know you caused the one dislike he did get now lol. not by me

    • @pinklady7184
      @pinklady7184 4 роки тому +1

      Now 5 dislikes come from jealous professors. 😁

  • @piyusharora5327
    @piyusharora5327 10 місяців тому

    I did not know why we augment the rhs column. Now I do. Thank you.

  • @0xyu9
    @0xyu9 2 роки тому +6

    i understood everything, but the X Y Z arond minute 6:30, what makes the second row Z and the third row Y? Isn't it supposed to be organized like X first row and the second should be Y instead of Z?

    • @educationyoutube2945
      @educationyoutube2945 2 роки тому

      Switching rows doesn't change the system of equations, but makes elimination easier. In this case, the 2nd row is z=0 and the 3rd row is y+z=5.

    • @simply6162
      @simply6162 Рік тому

      iam wondering the same thing why is it allowed to be happened???

  • @Ellofwenz
    @Ellofwenz 3 роки тому +1

    Wow what a life saver.

  • @SeriousStudent603
    @SeriousStudent603 2 місяці тому

    The rank equals the number of leading 1s (pivot entries) in the matrix.
    These leading 1s indicate the number of linearly independent rows. 8:43

  • @nicolasdegaudenzi2802
    @nicolasdegaudenzi2802 Рік тому

    Bro, you are a genius, thank you very much!!!

  • @marshalljones7885
    @marshalljones7885 4 роки тому +7

    Thanks for the videos. :D
    I was wondering how many solutions there are in your example?
    Is it infinitely many solutions because the rank(3) is less than columns(4)?

    • @POP-xb8iz
      @POP-xb8iz 2 роки тому

      You need the columns in the coefficient matrix, not the augmented matrix as mentioned in the video at 8:40.

  • @jeanluckwizera7881
    @jeanluckwizera7881 Рік тому

    God bless you Dave, we love you ❤️

  • @ChimaevMikelson
    @ChimaevMikelson 10 місяців тому

    you are a saviour

  • @demondmcdonald5910
    @demondmcdonald5910 4 роки тому +6

    sir I would have failed my class is it were not for you. Thank you

  • @AnthonyJamesArtist
    @AnthonyJamesArtist 6 місяців тому +1

    soln:
    R2- 2R1
    R1 - R2
    R3 - 4R1
    R3 / 13 => z = -2
    R1 + 2R3 => x = 3
    R2 - 3R3 => y = 4

  • @michelgarcia6395
    @michelgarcia6395 2 роки тому +1

    3:00 is it up to us to decide which equation to keep and which one to change to the resulting one?

  • @ElifArslan-l9g
    @ElifArslan-l9g 2 роки тому

    thank you

  • @muzaffartursunov324
    @muzaffartursunov324 Рік тому

    Alloh rozi bosin, borakanu norm darslayam

  • @brucedienst7553
    @brucedienst7553 4 роки тому +3

    I’m interested and scared as to where this series will depart from the matrices stuff learned in algebra 2 and pre Calc to the scary linear algebra stuff

  • @veerrajuannamdevula9939
    @veerrajuannamdevula9939 6 років тому +2

    Sir how are scalars represented graphically?

  • @veerrajuannamdevula9939
    @veerrajuannamdevula9939 6 років тому +2

    Sir how are scalars represented graphically? plzz give a reply

  • @thatkingdomheartsguy9615
    @thatkingdomheartsguy9615 6 місяців тому

    Im super confused on how to pick which equaton to perform first on the comprehension part

  • @-miracle-
    @-miracle- Рік тому +3

    Thanks dave
    Tne solution must be
    X=39/5
    Y=-16/5
    Z=2/5

  • @veerrajuannamdevula9939
    @veerrajuannamdevula9939 6 років тому +1

    Sir are there any mathematical objects that can't be added to themselves?

  • @watching4410
    @watching4410 Рік тому +1

    You replace the row being subtracted

  • @Lkabss
    @Lkabss 3 роки тому +1

    This is what it was? Seriously? Been staring at my textbook for an hour to find out its the same exact stuff we did in high school 🙃

  • @alaminmaruf3155
    @alaminmaruf3155 2 місяці тому

    hey.......i got
    x= 1/2
    y= -17/2
    z= -37/5 in the comprehension............is this incorrect?

  • @sayajinppl417
    @sayajinppl417 4 роки тому +4

    can some one please upload how to solve the last equation of the video its harder than the others

    • @apriiiil
      @apriiiil 2 роки тому

      i also cant find the solutions :(

  • @wtmftproductions
    @wtmftproductions 11 місяців тому +1

    Can someone explain how the challenge at the end is solved? I thought I understood this very well but found it to feel like a rubix cube where all my "moves" are unproductive, as even though I can get a zero in a spot, I end up losing it when I get a zero in a different spot.

    • @Attalla-t9b
      @Attalla-t9b 11 місяців тому

      Now that you've mentioned it i realized it's akin to solving a rubik's cube lol
      Anyways this is how i done it:
      R2=R2-2(R1)
      R3=R3-2(R2)
      R1=R1-R2
      R3=R3+6(R2)
      R3=(R3)/13
      R1=R1+2(R3)
      R2=R2-3(R3)
      Tips: Make [1 0 0] first in the first column, and then try to make [0 1 0] in the second column, and then [0 0 1] in the third column. Very similar to solving a rubik's cube where we start by solving the bottom first and moving above, in here we start by the left side first then moving to the right side

  • @japananh1
    @japananh1 4 роки тому +1

    That should be 0 1 2 5 not 0 1 1 5 at 5:43 because 11 - 3 * 3 = 2

  • @Hung-c7j
    @Hung-c7j 2 місяці тому

    I don't understand why z=0 at 6:29

    • @aSeekerSoul
      @aSeekerSoul 2 місяці тому

      Column 1 represents x variables, Column 2 is for variable y and similarly, Column 3 represents the z variables. As we know, Column 4 is of constants on the other side of = in linear equation.
      So 0x +0y +1z = 0 that leads to z=0. I hope u get it...

  • @GoldDiggercs789
    @GoldDiggercs789 Місяць тому

    I fucking love u bro, this video was 10/10

  • @thobilemahlangu2574
    @thobilemahlangu2574 3 роки тому +1

    Why is it that I found x=123/13 , y= -74/13 and z= 16/13????? Somebody please help me out. I have an exam in two daysss

  • @a.human.
    @a.human. 3 роки тому +1

    Recommending this to all my friends

  • @omkiranmalepati1645
    @omkiranmalepati1645 2 роки тому +1

    Can we reduce the equations once we get just 2 vars in the equations and find values by getting relation between the vars like x=2z etc or we need to do only matrix operations until we arrive at 1,0,0 / 0,1,0 etc format?

    • @carultch
      @carultch Рік тому

      Depends on who's asking you to do it. It is a perfectly valid solution to the original problem, to do what you propose, and if it were up to me, I'd give full credit for your solution method. I.e. stopping part way with Gauss-Jordan elimination (GJE) once you determine one of your variables, and simply using relationships among the variables to find the others. So as long as the person asking doesn't care about the method, it is perfectly valid to do what you propose.
      By contrast, if you are in a class where you are learning GJE, they are probably expecting you to take the row operations all the way, and solve for all of the variables with the method you are being tested upon. If anything, I don't really see the advantage in doing what you propose, because it is ultimately the same work to finish the GJE completely, and what you propose would require another mental exercise to do.

  • @techltrick
    @techltrick Рік тому +4

    The Legends are here 1 day before exam 😅

  • @Our_Joyful_Journeys
    @Our_Joyful_Journeys 4 роки тому +2

    Is there anyone with the solution steps to the last matrix [1 1 1 5, 2 3 5 8, 4 0 5 2] on this video?

    • @beschuitelia1987
      @beschuitelia1987 2 роки тому

      R3=R3-4R1
      R2=R2-2R1
      R3=R3+4R2
      R3/13= Z=-2
      R1=R1-R2
      R1=R1+2R3 X=3
      R2=R2-3R3
      Y=4

  • @marvenluis2347
    @marvenluis2347 2 місяці тому

    Didn't know that you can change the position of the rows

  • @46-firozc73
    @46-firozc73 6 років тому +3

    Professor did the whole maths topics has covered?.... Nah where is determinants pls sir make a vedio on that tooo

    • @ProfessorDaveExplains
      @ProfessorDaveExplains  6 років тому +11

      buddy relax, more math is coming

    • @46-firozc73
      @46-firozc73 6 років тому +1

      @@ProfessorDaveExplains Sir is it will be with in 2months?

  • @juliaadimarr
    @juliaadimarr 4 роки тому +1

    why cant i understand all the subtracting stuff

  • @heramb575
    @heramb575 5 років тому

    At 8:15 ur property is incomplete ..all the entries **below** the leading one in the column must be 0

    • @ProfessorDaveExplains
      @ProfessorDaveExplains  5 років тому +2

      Row echelon form and reduced row echelon form are different. The video is correct as is.

    • @heramb575
      @heramb575 5 років тому +1

      @@ProfessorDaveExplains I see ...what exactly are the differences between the two?

    • @ProfessorDaveExplains
      @ProfessorDaveExplains  5 років тому +1

      Simply ones on the diagonal vs. ones and zeroes for the rest of the column so each variable is isolated.

    • @heramb575
      @heramb575 5 років тому +1

      @@ProfessorDaveExplains didn't quite understand

  • @TheBest-sd2qf
    @TheBest-sd2qf 3 роки тому +1

    its not really clear WHY adding two rows produces the same linear equations.

    • @carultch
      @carultch Рік тому

      For the same reason you can add or subtract two equations in general. It's simply combining two mathematical facts of the given information, into one mathematical fact.

  • @euriskoo
    @euriskoo 4 роки тому +1

    i know that musicians understand math well.

  • @catedoge3206
    @catedoge3206 4 роки тому +2

    i hate matrices

    • @pinklady7184
      @pinklady7184 4 роки тому +2

      You will get accustomed to them. Matrices save you from writing out x, y, z, etc.

  • @adityagaur1196
    @adityagaur1196 2 роки тому

    Bennettians 💋💋

  • @mn-lc7em
    @mn-lc7em 2 місяці тому

    This is to complicated.please find somthing simple

  • @WidenerLaw2007
    @WidenerLaw2007 2 роки тому +2

    Thanks!

  • @JungoBungo-c8v
    @JungoBungo-c8v 4 місяці тому

    Thank you