A = [ 1 2 2 4 ] B = A !
Where ′ ! ′ denotes the factorial. Enter your answer as the trace of the matrix B .
Hint: The Matrix factorial is not a matrix of the factorials of the individual elements of that matrix.
Bonus: Provide a general result for the factorial of a square matrix, along with its derivation.
This problem is not original.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Very elegant solution, Hosam! Thanks for sharing.
I'll provide a Laplace solution:
It's a well-known fact that, for a real number r :
e r t = L − 1 { ( s − r ) − 1 }
Where L − 1 is the Inverse Laplace Transform . This reasoning extends to the matrix case as:
e A t = L − 1 { ( s I − A ) − 1 }
So for a matix A such as:
A = [ a c b d ]
We have:
e A t = L − 1 ⎩ ⎨ ⎧ [ s − a − c − b s − d ] − 1 ⎭ ⎬ ⎫
e A t = L − 1 { p ( s ) 1 [ s − d c b s − a ] }
Where p ( s ) = s 2 − ( a + d ) s + ( a d − b c ) is the characteristic polynomial of matrix A . Let us sat that the roots of p ( s ) are k and l . So, expanding in partial fractions:
e A t = L − 1 { k − l 1 [ s − k k − d + s − l d − l s − k c − s − l c s − k b − s − l b s − k k − a + s − l a − l ] }
e A t = k − l 1 [ ( k − d ) e k t + ( d − l ) e l t c e k t − c e l t b e k t − b e l t ( k − a ) e k t + ( a − l ) e l t ]
Making t = ln ( n ) , where n is a real number:
n A = k − l 1 [ ( k − d ) n k + ( d − l ) n l c n k − c n l b n k − b n l ( k − a ) n k + ( a − l ) n l ]
tr ( n A ) = k − l 1 [ n k ( 2 k − a − d ) + n l ( a + d − 2 l ) ]
By Vieta k + l = a + d (sum of roots). Then:
tr ( n A ) = k − l 1 [ n k ( k − l ) + n l ( k − l ) ]
tr ( n A ) = n k + n l
To calculate A ! one can use the definition from the Gamma function :
A ! = ∫ 0 ∞ t A e − t d t
So:
tr ( A ! ) = ∫ 0 ∞ tr ( t A ) e − t d t
tr ( A ! ) = ∫ 0 ∞ ( t k + t l ) e − t d t
tr ( A ! ) = ∫ 0 ∞ t k e − t d t + ∫ 0 ∞ t l e − t d t
tr ( A ! ) = k ! + l !
Again, where k and l are the roots of the characteristic polynomial of A , p ( s ) . In the given case p ( s ) = s 2 − 5 s , so its roots are 5 and 0 . Thus:
tr ( A ! ) = 5 ! + 0 ! = 1 2 1
Problem Loading...
Note Loading...
Set Loading...
This page explains the factorial of a matrix in some detail.
Here's what I did.
It is known that n ! = Γ ( n + 1 ) , therefore, A ! = Γ ( A + I ) .
Now A + I = [ 2 2 2 5 ] can be diagonalized as A + I = P D P − 1 where D = [ 1 0 0 6 ]
Hence, it follows that Γ ( A + I ) = P Γ ( D ) P − 1 , and we have
Γ ( D ) = [ Γ ( 1 ) 0 0 Γ ( 6 ) ] = [ 0 ! 0 0 5 ! ] = [ 1 0 0 1 2 0 ]
And since similar matrices have the same trace, it follows that Trace ( A ! ) = Trace ( Γ ( A + I ) ) = Trace ( Γ ( D ) ) = 1 + 1 2 0 = 1 2 1