Let $A=[a_{ij}]$ be the square matrix of order $n$ whose entries are given as follows. For $1\le i,j\le n$ we have $$a_{ij}= \begin{cases} ij,&\text{if $i=j$}\\ ij+1,&\text{if $i\neq j$} \end {cases}$$ Evaluate the determinant of $A$.
I took an arbitrary $3\times 3$ and then an arbitrary $4\times 4$ matrix to see what things go like. Well the matrices do have an interesting pattern :
They look like a sequence of $L_i$ and $L_i'$ joined at right angle with decreasing lenghts where $L_i$ is the $i$-th row without $i-1$ elements and $L_i'$ is the $i$-th coloumn without $i-1$ elements.
But the requirement is to find the determinant . May be the pattern could contribute to that , I guessed. PLease give me some clues as to how to work out this problem .
Thanks for any help.
The matrix is in the form of $A=vv^T+nuu^T-I$, where $v^T=(1,2,\ldots,n)$ and $u^T=\frac1{\sqrt{n}}(1,1,\ldots,1)^T$. We can rewrite $v$ as the sum of two mutually orthogonal components $x=(v,u)u=\frac{(n+1)\sqrt{n}}{2}u$ and $y=v-(v,u)u=v-\frac{n+1}2(1,1,\ldots,1)^T$. Therefore $A$ is orthogonally similar to $$ \pmatrix{\|x\|^2+n-1&\|x\|\|y\|\\ \|x\|\|y\|&\|y\|^2-1}\oplus (-I_{n-2}) $$ and hence \begin{align*} \det A &=\left[(\|x\|^2+n-1)(\|y\|^2-1)-\|x\|^2\|y\|^2\right](-1)^{n-2}\\ &=(-1)^n\left[(n-1)(\|y\|^2-1)-\|x\|^2\right]\\ &=(-1)^n\left[(n-1)\left(\sum_{k=1}^n\left(k-\frac{n+1}2\right)^2-1\right) -\frac{n(n+1)^2}4\right]\\ &=\frac{(-1)^n}{12} (n^4 - 4n^3 - 7n^2 - 14n + 12). \end{align*}