Determinant problem/Solution

From testwiki
Jump to navigation Jump to search

A solution: The approach used here is to use Gaussian Elimination. Divide the top row by m:

Δm=|11m1m1m1m1111m1111m|

Anticipate addition of rows along the second column:

m1m=m2m1m=m21m=(m+1)(m1)m

This should become the leading element of the second row.

Anticipate addition of rows along the third and latter columns:

1m1=1mm=(1+m)m

This should become the trailing elements of the second row.

Add the first row to the second row and the rows below it:

Δm=|11m1m1m0(m+1)(m1)m(m+1)m(m+1)m0(m+1)m(m+1)(m1)m(m+1)m0(m+1)m(m+1)m(m+1)(m1)m|

Divide the second row by m1:

Δm(m1)=|11m1m1m0(m+1)m(m+1)m(m1)(m+1)m(m1)0(m+1)m(m+1)(m1)m(m+1)m0(m+1)m(m+1)m(m+1)(m1)m|

Anticipate addition along third column:

(m+1)(m1)m(m+1)m(m1)
=(m+1)(m1)2(m+1)m(m1)
=(m+1)[(m1)21]m(m1)
=(m+1)[(m1+1)(m11)]m(m1)
=(m+1)(m2)(m1)

This should become the new leading element of the third row.

Anticipate addition along fourth and latter columns:

(m+1)m(m+1)m(m1)
=[(m+1)(m1)+(m+1)m(m1)]
=(m+1)[m1+1]m(m1)
=(m+1)(m1)

This should become the trailing elements of the third row.

Add the second row to the rows below it:

Δm(m1)=|11m1m1m0(m+1)m(m+1)m(m1)(m+1)m(m1)00(m+1)(m2)(m1)(m+1)(m1)(m+1)(m1)00(m+1)(m1)(m+1)(m2)(m1)(m+1)(m1)00(m+1)(m1)(m+1)(m1)(m+1)(m2)(m1)|

Divide the third row by m2:

Δm(m1)(m2)=|11m1m1m0(m+1)m(m+1)m(m1)(m+1)m(m1)00(m+1)(m1)(m+1)(m1)(m2)(m+1)(m1)(m2)00(m+1)(m1)(m+1)(m2)(m1)(m+1)(m1)00(m+1)(m1)(m+1)(m1)(m+1)(m2)(m1)|

Anticipate addition along the fourth column:

(m+1)(m2)(m1)(m+1)(m1)(m2)
=(m+1)(m2)2(m+1)(m1)(m2)
=(m+1)[(m2)21](m1)(m2)
=(m+1)[(m1)(m3)](m1)(m2)
=(m+1)(m3)(m2)

This should become the leading element of the fourth row.

Anticipate addition along the fifth and latter columns:

(m+1)(m1)(m+1)(m1)(m2)
=[(m+1)(m2)+(m+1)](m1)(m2)
=(m+1)[m2+1](m1)(m2)
=(m+1)(m1)(m1)(m2)
=(m+1)(m2)

This should become the trailing elements of the fourth row.

Add the third row to the rows below it:

Δm(m1)(m2)=|11m1m1m0(m+1)m(1+m)m(m1)(1+m)m(m1)00(m+1)(m1)(m+1)(m1)(m2)(m+1)(m1)(m2)000(m+1)(m3)(m2)(m+1)(m2)(m+1)(m2)000(m+1)(m2)(m+1)(m3)(m2)(m+1)(m2)000(m+1)(m2)(m+1)(m2)(m+1)(m3)(m2)|

Divide the fourth row by m3:

Δm(m1)(m2)(m3)=|11m1m1m0(m+1)m(m+1)m(m1)(m+1)m(m1)00(m+1)(m1)(m+1)(m1)(m2)(m+1)(m1)(m2)000(m+1)(m2)(m+1)(m2)(m3)(m+1)(m2)(m3)000(m+1)(m2)(m+1)(m3)(m2)(m+1)(m2)000(m+1)(m2)(m+1)(m2)(m+1)(m3)(m2)|

Add fourth row to rows below it:

Δm(m1)(m2)(m3)=|11m1m1m0(m+1)m(m+1)m(m1)(m+1)m(m1)00(m+1)(m1)(m+1)(m1)(m2)(m+1)(m1)(m2)000(m+1)(m2)(m+1)(m2)(m3)(m+1)(m2)(m3)0000(m+1)(m4)(m3)(m+1)(m3)(m+1)(m3)0000(m+1)(m3)(m+1)(m4)(m3)(m+1)(m3)0000(m+1)(m3)(m+1)(m3)(m+1)(m4)(m3)|

For purposes of calculating a determinant, the non-diagonal elements of an upper-triangular matrix do not matter. By induction the equation ends up looking thus:

Δm(m1)(m2)(m3)...(2)(1)=|(m+1)(m+1)1m1m1m0(m+1)m(m+1)m(m1)(m+1)m(m1)00(m+1)(m1)(m+1)(m1)(m2)(m+1)(m1)(m2)000(m+1)(m2)(m+1)(m2)(m3)(m+1)(m2)(m3)0000(m+1)(m3)(m+1)(m3)(m4)(m+1)(m3)(m4)00000(m+1)(m4)(m+1)(m4)(m5)(m+1)(m4)(m5)000000(m+1)(m5)(m+1)(m5)(m6)0000000(m+1)2|

The determinant of the upper triangular matrix equals the product of its diagonal elements:

Δm(m1)(m2)...(1)=(m+1)m(m+1)(m)(m1)(m2)...(3)(2)
Δ=(m+1)m(m+1)=(m+1)m1.