Cramer's rule

This is an old revision of this page, as edited by Mathbot (talk | contribs) at 02:44, 7 May 2005 ("Made section headings conform to the Wikipedia:Manual of Style#Headings. This is a semi-automatic update"). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Cramer's rule is a theorem in linear algebra, which gives the solution of a system of linear equations in terms of determinants.

Computationally, it is generally inefficient and thus not used in practical applications which may involve many equations. However, it is of theoretical importance in that it gives an explicit expression for the solution of the system.

It is named after Gabriel Cramer (1704 - 1752).

The system of equations is represented in matrix multiplication form as:

where the square matrix is invertible and the vector is the column vector of the variables: .

The theorem then states that:

where is the matrix formed by replacing the ith column of by the column vector .

Example

A good way to use Cramer's Rule on a 2×2 matrix is to use this formula:

Given

  and
 ,
 
 

Applications to differential geometry

Cramer's Rule is also extremely useful for solving problems in differential geometry. Consider the two equations   and  . When u and v are independent variables, we can define   and  .

Finding an equation for   is a trivial application of Cramer's Rule.

First, calculate the first derivatives of F, G, x and y.

 
 
 
 

Substituting dx, dy into dF and dG, we have:

 
 

Since u, v are both independent, the coefficients of du, dv must be zero. So we can write out equations for the coefficients:

 
 
 
 

Now, by Cramer's rule, we see that:

 

This is now a formula in terms of two Jacobians:

 

Similar formulae can be derived for  ,  ,  .