This matrix arises from a homework problem which our professor gave.
We need to find the determinant of this matrix.
Does there exist any simple way to find the determinant of this matrix?
$\begin{pmatrix} x-pq-p+3-(q-1)(\frac{x+2-n}{x-n+2-l}) && (1-p)(2+\frac{l}{x-n+2-l})\\ (1-q)(2+\frac{l}{x-n+2-l}) && x-pq-q+3-(p-1)(\frac{x+2-n}{x-n+2-l}) \end{pmatrix}$
Here $n=pq$ and $l=\phi(n)+1$.
Is there any software which can calculate this large determinant?
One of my friends got $x-n+2-l$ as a factor of this determinant.
Is there any simple way to calculate this determinant?
I am stuck.
My try:
$R_1\to R_1-R_2$ gives
$\begin{pmatrix} x-pq-p+q+2 && -x+pq+q-p-2\\ (1-q)(2+\frac{l}{x-n+2-l}) && x-pq-q+3-(p-1)(\frac{x+2-n}{x-n+2-l}) \end{pmatrix}$
In case you want to see my computation, I obtain the following determinant by a direct computation and a further factorisation: $$ \det(A)=\frac{f(p,q,x)}{((2q - 1)p - (q + x))^2}, $$
where
$$ f(p,q,x)=(2p^2q^2 + 2p^2q + 2pq^2 - 3pqx - 14pq - px + 2p - qx + 2q + x^2 + 6x + 4)(2pq - p - q - x)(pq - x - 2) $$ Here I have substituted $n=pq$ and $l=\phi(n)+1=(p-1)(q-1)+1$.