Cramer's Rule for Solving System of Linear Equations | Linear Algebra

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ธ.ค. 2024

ความคิดเห็น • 7

  • @kingbeauregard
    @kingbeauregard 7 หลายเดือนก่อน +2

    In my estimation, the best way to solve sets of linear equations via a computer is to use Cramer's rule; it fundamentally requires only one division and it's right at the end, which makes it less error-prone than, say, Gaussian elimination.
    The only hitch is that solving determinants can be slow, and maddeningly slow as arrays get bigger and bigger. This is where the Bareiss algorithm comes in; it needs to be taught. It is roughly as fast as Gaussian elimination, but it does not involve all the division that Gaussian does. Bareiss does in fact involve SOME division, but if all your elements are integers, Bareiss is guaranteed to provide an integer result to those divisions. As a result, determinants will quickly be resolved to something like 7, rather than 7.00000049.

  • @talastra
    @talastra 7 หลายเดือนก่อน +2

    Thanks for cracking through the tedium.

    • @WrathofMath
      @WrathofMath  7 หลายเดือนก่อน +1

      It is my honor!

  • @saveenravindu
    @saveenravindu 4 หลายเดือนก่อน

    Thank you sir

    • @WrathofMath
      @WrathofMath  4 หลายเดือนก่อน

      Glad to help - thanks for watching!

  • @chetnakharbanda2040
    @chetnakharbanda2040 7 หลายเดือนก่อน

    It's fixed now 🎉

  • @PunmasterSTP
    @PunmasterSTP 4 หลายเดือนก่อน

    Did you hear about the *Inverse* Cramer rule, "Buy high, sell low"? 😆