Cramer's rule

In linear algebra, Cramer's rule is an explicit formula for the solution of a system of linear equations with as many equations as unknowns, valid whenever the system has a unique solution. It expresses the solution in terms of the determinants of the (square) coefficient matrix and of matrices obtained from it by replacing one column by the column vector of right-hand-sides of the equations. It is named after Gabriel Cramer (1704–1752), who published the rule for an arbitrary number of unknowns in 1750, although Colin Maclaurin also published special cases of the rule in 1748 (and possibly knew of it as early as 1729).Cramer's rule implemented in a naïve way is computationally inefficient for systems of more than two or three equations. In the case of n equations in n unknowns, it requires computation of n + 1 determinants, while Gaussian elimination produces the result with the same computational complexity as the computation of a single determinant. Cramer's rule can also be numerically unstable even for 2×2 systems. However, it has recently been shown that Cramer's rule can be implemented in O(n3) time, which is comparable to more common methods of solving systems of linear equations, such as Gaussian elimination (consistently requiring 2.5 times as many arithmetic operations for all matrix sizes), while exhibiting comparable numeric stability in most cases.

View More On Wikipedia.org
  • 25

    Greg Bernhardt

    A PF Singularity From USA
    • Messages
      19,451
    • Media
      227
    • Reaction score
      10,048
    • Points
      1,237
  • 1

    AdityaDev

    A PF Molecule 26 From Cochin, India
    • Messages
      527
    • Reaction score
      33
    • Points
      76
  • 1

    vizakenjack

    A PF Electron
    • Messages
      57
    • Reaction score
      4
    • Points
      11
  • 1

    Odious Suspect

    A PF Quark
    • Messages
      43
    • Reaction score
      0
    • Points
      1
  • 1

    EEristavi

    A PF Atom From Georgia
    • Messages
      108
    • Reaction score
      5
    • Points
      41
  • 1

    Mina Farag

    A PF Quark
    • Messages
      2
    • Reaction score
      0
    • Points
      4
  • Back
    Top