Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

LU Decomposition Method: Decomposing a Matrix Example: Part 2 of 2

Loading...

Sign in or sign up now!
25,312
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 9, 2009

Learn via an example how to take a square matrix [A] and decompose it into LU form.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (numericalmethodsguy)

  • Hi Sir, I understand what you did there, but how would you use LU decomposition to solve this problem [1 1 -1 ] [x1] [-1] 2 -1 1 x2 = 4 1 -1 -1 x3 1

    sorry about the brackets they r supposed to be long! Thank You.

    

  • @arqi25 One would decompose the coefficient matrix the same way as the example. You decompose square matrices, not sets of equations. In this case A=[1 1 1; 2 -1 1 ; 4 1 -1], X=[x1, x2 x3], C=[-1 4 1]. First decompose A=LU, then solve LZ=C, and then UX=Z.

    Go to numericalmethods(dot)eng(dot)u­sf(dot)edu; click Keyword. Click LU Decomposition. Read textbook chapter.

    Go to numericalmethodsguy channel on YouTube, click playlists, click LU Decomposition & see the 2nd video.

  • What if the matrix i am given equals something?

  • @devinep5 Give me the problem statement. Remember if AX=C is a set of eqns, the decomposition of A just depends on A, not on C.

  • So this was pretty good in explaining LU decomposition. However, what is the use of this in terms of solving a system of equations? Why would one use this method over alternatives such as Gauss-Jordan Inversion or Cramer's Rule?

  • @andronicusyyz It is all about computation time. LU Decomposition takes less computation time if you have to solve many sets of eqns with different RHS or if you are finding inverse of a matrix. Go to numericalmethods(dot)eng(dot)u­sf(dot)edu, and click on keyword, click on LU decomposition, annd see the textbook chapter, and go to page 2. You will have the complete answer!

see all

All Comments (57)

Sign In or Sign Up now to post a comment!
  • very well set out, I appreciate this tutorial very much

  • Thank you!

  • Thanks a lot..really helpful..now i know how to get L by just using the multiplier which can be got from U =)

  • Excellent! Extremely helpful!

View all Comments »
Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more