I have this $44$ dimensional parametric matrix ($\{x,d,b,t\}\in\mathbb{R}$) and I want to compute its determinant.
Questions:
- Is it possible to predict how much time it will take to give a result by
Det[M]
? - Is it possible to decompose the matrix (as a multiplication of simpler matrices) so that computing its determinant is faster? Can this be done using automated functionality provided by Mathematica?
M:={{-E^(-((I x)/2)) (1 + x), E^((I x)/2) (-1 + x), 0,
0, -E^(I b - (2 I d \[Pi])/11 - I x) (-1 + x),
E^(-(2/11) I d \[Pi] + I (b + x)) (1 + x), 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0}, {0, 0, 1 + x,
1 - x, -E^(I b - (2 I d \[Pi])/11 - I x) (1 + x),
E^(-(2/11) I d \[Pi] + I (b + x)) (-1 + x), 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0}, {0, 0, -1 + x, -1 - x, 1 + x, 1 - x, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {-E^(-((I x)/2)) (-1 + x),
E^((I x)/2) (1 + x), 0, 0, -1 + x, -1 - x, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0}, {E^((I x)/2) (-1 + x), -E^(-((I x)/2)) (1 + x), 0, 0, 0, 0,
E^((4 I d \[Pi])/11 + I (-b + x)) (1 + x),
E^((4 I d \[Pi])/11 - I (b + x)) (1 - x), 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0,
E^((4 I d \[Pi])/11 + I (-b + x)) (-1 + x),
E^((4 I d \[Pi])/11 - I (b + x)) (-1 - x), 0,
0, -E^(-((I x)/2)) (-1 + x), E^((I x)/2) (1 + x), 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0}, {0, 0, 0, 0, 0, 0, 1 - x, 1 + x, 0,
0, -E^(-((I x)/2)) (1 + x), E^((I x)/2) (-1 + x), 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0}, {E^((I x)/2) (1 + x), -E^(-((I x)/2)) (-1 + x), 0, 0, 0,
0, -1 - x, -1 + x, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0,
0, 0, 0, 0, 0, 0, -E^(-((I x)/2)) (1 + x), E^((I x)/2) (-1 + x), 0,
0, -E^(I b - (6 I d \[Pi])/11 - I x) (-1 + x),
E^(-(6/11) I d \[Pi] + I (b + x)) (1 + x), 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
E^((I x)/2) (1 + x), -E^(-((I x)/2)) (-1 + x), -E^(
I b - (6 I d \[Pi])/11 - I x) (1 + x),
E^(-(6/11) I d \[Pi] + I (b + x)) (-1 + x), 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
E^((I x)/2) (-1 + x), -E^(-((I x)/2)) (1 + x), 1 + x, 1 - x, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, -E^(-((I x)/2)) (-1 + x),
E^((I x)/2) (1 + x), 0, 0, -1 + x, -1 - x, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0}, {0, 0, 0, 0, 0, 0, 0, 0,
E^((I x)/2) (-1 + x), -E^(-((I x)/2)) (1 + x), 0, 0, 0, 0, 0, 0,
E^((8 I d \[Pi])/11 + I (-b + x)) (1 + x),
E^((8 I d \[Pi])/11 - I (b + x)) (1 - x), 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, -E^(-((I x)/2)) (-1 + x),
E^((I x)/2) (1 + x), E^((8 I d \[Pi])/11 + I (-b + x)) (-1 + x),
E^((8 I d \[Pi])/11 - I (b + x)) (-1 - x), 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -E^(-((I x)/2)) (1 + x),
E^((I x)/2) (-1 + x), 1 - x, 1 + x, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0,
0, E^((I x)/2) (1 + x), -E^(-((I x)/2)) (-1 + x), 0, 0, 0, 0, 0,
0, -1 - x, -1 + x, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, -E^(I b - (10 I d \[Pi])/11 - I x) (-1 + x),
E^(-(10/11) I d \[Pi] + I (b + x)) (1 + x), -E^(-((I x)/2)) (1 + x),
E^((I x)/2) (-1 + x), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
E^((I x)/2) (1 + x), -E^(-((I x)/2)) (-1 + x), 0,
0, -E^(I b - (10 I d \[Pi])/11 - I x) (1 + x),
E^(-(10/11) I d \[Pi] + I (b + x)) (-1 + x), 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
E^((I x)/2) (-1 + x), -E^(-((I x)/2)) (1 + x), 0, 0, 1 + x, 1 - x,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, -1 + x, -1 - x, -E^(-((I x)/2)) (-1 + x), E^((I x)/2) (1 + x), 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
E^((I x)/2) (-1 + x), -E^(-((I x)/2)) (1 + x),
E^((12 I d \[Pi])/11 + I (-b + x)) (1 + x),
E^((12 I d \[Pi])/11 - I (b + x)) (1 - x), 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
E^((12 I d \[Pi])/11 + I (-b + x)) (-1 + x),
E^((12 I d \[Pi])/11 - I (b + x)) (-1 - x), 0,
0, -E^(-((I x)/2)) (-1 + x), E^((I x)/2) (1 + x), 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 - x, 1 + x, 0,
0, -E^(-((I x)/2)) (1 + x), E^((I x)/2) (-1 + x), 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
E^((I x)/2) (1 + x), -E^(-((I x)/2)) (-1 + x), -1 - x, -1 + x, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, -E^(-((I x)/2)) (1 + x), E^((I x)/2) (-1 + x), 0,
0, -E^(I b - (14 I d \[Pi])/11 - I x) (-1 + x),
E^(-(14/11) I d \[Pi] + I (b + x)) (1 + x), 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
E^((I x)/2) (1 + x), -E^(-((I x)/2)) (-1 + x), -E^(
I b - (14 I d \[Pi])/11 - I x) (1 + x),
E^(-(14/11) I d \[Pi] + I (b + x)) (-1 + x), 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
E^((I x)/2) (-1 + x), -E^(-((I x)/2)) (1 + x), 1 + x, 1 - x, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -E^(-((I x)/2)) (-1 + x),
E^((I x)/2) (1 + x), 0, 0, -1 + x, -1 - x, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, -E^(I b - (18 I d \[Pi])/11 - I x) (-1 + x),
E^(-(18/11) I d \[Pi] + I (b + x)) (1 + x), -E^(-((I x)/2)) (1 + x),
E^((I x)/2) (-1 + x), 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
E^((I x)/2) (1 + x), -E^(-((I x)/2)) (-1 + x), 0,
0, -E^(I b - (18 I d \[Pi])/11 - I x) (1 + x),
E^(-(18/11) I d \[Pi] + I (b + x)) (-1 + x), 0, 0, 0, 0, 0, 0, 0,
0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
E^((I x)/2) (-1 + x), -E^(-((I x)/2)) (1 + x), 0, 0, 1 + x, 1 - x,
0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, -1 + x, -1 - x, -E^(-((I x)/2)) (-1 + x), E^((I x)/2) (1 + x), 0,
0, 0, 0, 0, 0}, {0, 0, -E^(I (t - x)) (1 + x),
E^(I (t + x)) (-1 + x), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, E^(I (b - x)) (1 - x), E^(I (b + x)) (1 + x)}, {0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
E^((I x)/2) (1 + x), -E^(-((I x)/2)) (-1 + x), 0,
0, -E^(I (b - x)) (1 + x), E^(I (b + x)) (-1 + x)}, {0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
E^((I x)/2) (-1 + x), -E^(-((I x)/2)) (1 + x), 0, 0, 1 + x,
1 - x}, {0, 0, E^(I (t - x)) (1 - x), E^(I (t + x)) (1 + x), 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1 + x, -1 - x}, {0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
E^((I x)/2) (-1 + x), -E^(-((I x)/2)) (1 + x), 0, 0, 0, 0, 0, 0,
E^((16 I d \[Pi])/11 + I (-b + x)) (1 + x),
E^((16 I d \[Pi])/11 - I (b + x)) (1 - x), 0, 0, 0, 0, 0, 0, 0, 0,
0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -E^(-((I x)/2)) (-1 + x),
E^((I x)/2) (1 + x), E^((16 I d \[Pi])/11 + I (-b + x)) (-1 + x),
E^((16 I d \[Pi])/11 - I (b + x)) (-1 - x), 0, 0, 0, 0, 0, 0, 0, 0,
0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -E^(-((I x)/2)) (1 + x),
E^((I x)/2) (-1 + x), 1 - x, 1 + x, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, E^((I x)/2) (1 + x), -E^(-((I x)/2)) (-1 + x), 0, 0, 0, 0,
0, 0, -1 - x, -1 + x, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
E^((I x)/2) (-1 + x), -E^(-((I x)/2)) (1 + x), 0, 0,
E^((20 I d \[Pi])/11 + I (-b + x)) (1 + x),
E^((20 I d \[Pi])/11 - I (b + x)) (1 - x), 0, 0}, {0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -E^(-((I x)/2)) (-1 + x),
E^((I x)/2) (1 + x), E^((20 I d \[Pi])/11 + I (-b + x)) (-1 + x),
E^((20 I d \[Pi])/11 - I (b + x)) (-1 - x), 0, 0}, {0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -E^(-((I x)/2)) (1 + x),
E^((I x)/2) (-1 + x), 1 - x, 1 + x, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, E^((I x)/2) (1 + x), -E^(-((I x)/2)) (-1 + x), 0,
0, -1 - x, -1 + x, 0, 0}}
p1={33,36,34,35,42,43,41,44,29,32,30,31,38,39,37,40,25,28,26,27,22,23,21,24,17,20,18,19,14,15,13,16,9,12,10,11,6,7,5,8,1,4,2,3}
andp2={3,4,43,44,39,40,41,42,37,38,35,36,31,32,33,34,25,26,29,30,27,28,23,24,21,22,19,20,15,16,17,18,9,10,13,14,11,12,7,8,1,2,5,6}
. DefineX=M[[p1,p2]]
. If you displayX
, you will see that it has a simpler structure thanM
(also tryListPlot[Map[First,ArrayRules[X]]]
). Note thatX
andM
have the same determinant, becausep1
andp2
are even permutations. I do not know how to calculate the determinant ofX
however. $\endgroup$