Manipulating Matrices: Elementary Row Operations and Gauss-Jordan Elimination

Поделиться
HTML-код
  • Опубликовано: 13 окт 2024
  • 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

Комментарии • 109

  • @BoothPlayer
    @BoothPlayer 6 лет назад +127

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

  • @johnryan7661
    @johnryan7661 Год назад +48

    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 4 месяца назад

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

  • @jamesprice8109
    @jamesprice8109 5 лет назад +81

    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 9 месяцев назад

      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

  • @sarahvanburen5960
    @sarahvanburen5960 Год назад +14

    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.

  • @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!

  • @colorx6030
    @colorx6030 Год назад +9

    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.

  • @MageInTraining1
    @MageInTraining1 3 года назад +64

    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

    • @adhiyanthaprabhujeyashanka2091
      @adhiyanthaprabhujeyashanka2091 3 года назад +2

      Thank you 😁🙏❤️🤝

    • @trieuhuyvan5020
      @trieuhuyvan5020 2 года назад +2

      thank you so much

    • @apriiiil
      @apriiiil 2 года назад +2

      thank you !!

    • @apriiiil
      @apriiiil 2 года назад +8

      hello I'm lost after the R3/13, it gives me weird results that block me from going on? :/

    • @tobyayres5901
      @tobyayres5901 2 года назад +2

      thank you I was completely stuck on that one!

  • @juliaadimarr
    @juliaadimarr 4 года назад +10

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

  • @abdullahn9827
    @abdullahn9827 4 года назад +10

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

  • @hidetsuguhiraki2008
    @hidetsuguhiraki2008 6 месяцев назад

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

  • @juliaadimarr
    @juliaadimarr 4 года назад +153

    anyone here during the 2020 pandemic teaching themselves college at home

  • @fernandoportal5422
    @fernandoportal5422 Год назад +3

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

  • @HugoBernard-dl9dc
    @HugoBernard-dl9dc 8 месяцев назад +2

    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!!

  • @rrkraj
    @rrkraj 6 лет назад +6

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

  • @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 Год назад

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

  • @NovaWarrior77
    @NovaWarrior77 4 года назад +4

    Your the best professor.

  • @rickv9180
    @rickv9180 Год назад

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

  • @benbaumgartner1639
    @benbaumgartner1639 2 года назад +3

    Thanks!

    • @benbaumgartner1639
      @benbaumgartner1639 2 года назад +1

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

  • @SkilledApple
    @SkilledApple 2 года назад +1

    Excellent explanation, thank you!

  • @onurucar1112
    @onurucar1112 4 года назад +16

    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 3 года назад +1

      Now 5 dislikes come from jealous professors. 😁

  • @snakeywakey3893
    @snakeywakey3893 3 года назад +1

    This clears a lot of things up, thanks.

  • @piyusharora5327
    @piyusharora5327 6 месяцев назад

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

  • @HolisticApproach
    @HolisticApproach 6 лет назад +4

    Thank you Professor!

  • @0xyu9
    @0xyu9 2 года назад +4

    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 10 месяцев назад

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

  • @demondmcdonald5910
    @demondmcdonald5910 4 года назад +6

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

  • @JungoBungo-c8v
    @JungoBungo-c8v 8 дней назад

    Thank you

  • @Ellofwenz
    @Ellofwenz 3 года назад +1

    Wow what a life saver.

  • @nicolasdegaudenzi2802
    @nicolasdegaudenzi2802 10 месяцев назад

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

  • @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

  • @ChimaevMikelson
    @ChimaevMikelson 6 месяцев назад

    you are a saviour

  • @AnthonyJamesArtist
    @AnthonyJamesArtist 2 месяца назад

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

  • @michelgarcia6395
    @michelgarcia6395 Год назад +1

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

  • @muzaffartursunov324
    @muzaffartursunov324 10 месяцев назад

    Alloh rozi bosin, borakanu norm darslayam

  • @-miracle-
    @-miracle- 9 месяцев назад +3

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

  • @user-qj7ty9bb9h
    @user-qj7ty9bb9h Год назад

    Thanks

  • @veerrajuannamdevula9939
    @veerrajuannamdevula9939 5 лет назад +1

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

  • @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 :(

  • @jeanluckwizera7881
    @jeanluckwizera7881 Год назад

    God bless you Dave, we love you ❤️

  • @wtmftproductions
    @wtmftproductions 7 месяцев назад +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 7 месяцев назад

      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

  • @veerrajuannamdevula9939
    @veerrajuannamdevula9939 5 лет назад +2

    Sir how are scalars represented graphically?

  • @thatkingdomheartsguy9615
    @thatkingdomheartsguy9615 3 месяца назад

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

  • @veerrajuannamdevula9939
    @veerrajuannamdevula9939 5 лет назад +2

    Sir how are scalars represented graphically? plzz give a reply

  • @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 🙃

  • @watching4410
    @watching4410 8 месяцев назад +1

    You replace the row being subtracted

  • @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

  • @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

  • @omkiranmalepati1645
    @omkiranmalepati1645 Год назад +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.

  • @Our_Joyful_Journeys
    @Our_Joyful_Journeys 3 года назад +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

  • @a.human.
    @a.human. 2 года назад +1

    Recommending this to all my friends

  • @japananh1
    @japananh1 3 года назад +1

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

  • @juliaadimarr
    @juliaadimarr 4 года назад +1

    why cant i understand all the subtracting stuff

  • @techltrick
    @techltrick 9 месяцев назад +3

    The Legends are here 1 day before exam 😅

  • @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 3 года назад +1

    i know that musicians understand math well.

  • @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 лет назад +1

      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

  • @catedoge3206
    @catedoge3206 3 года назад +2

    i hate matrices

    • @pinklady7184
      @pinklady7184 3 года назад +2

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

  • @adityagaur1196
    @adityagaur1196 2 года назад

    Bennettians 💋💋

  • @WidenerLaw2007
    @WidenerLaw2007 2 года назад +2

    Thanks!

  • @ElifArslan-l9g
    @ElifArslan-l9g 2 года назад

    thank you