$A,B$ are $3\times 3$ matrices. It is known that:
- $\det(A)=0$
- $\forall i,j: b_{ij}=1$, where $b_{ij}$ is an element of matrix $B$
- $\det(A+B)=1$
Find $\det(A+2014B)$
I don't know what to do. I found example in smaller dimensional of matrix $A = \begin{bmatrix} 6&3\\4&2\end{bmatrix}$, but that's all.
Please give me a hint.
Let $C$ be any invertible matrix and $\lambda$ any real (or complex) number. We can rewrite our $B$ as an outer product of matrices:
$$B = u \otimes u^T$$ where $u = (1,1,\ldots,1)^T$ is the $n \times 1$ column matrix with all entries $1$. We have:
$$\det(C + \lambda u \otimes u^T) = \det(C(I_n + \lambda C^{-1}u\otimes u^T)) = \det(C)\det(I_n + \lambda C^{-1}u \otimes u^T)$$ Because of the special form of the last expression, it is equal to $$\det(C) (1 + \text{tr}(\lambda C^{-1}u \otimes u^T)) = \det(C) (1 + \lambda u^T C^{-1}u)$$
Recall when $C$ is invertible, $\det(C) C^{-1} = \text{adj}(C)$ where $\text{adj}(C)$ is the adjugate matrix of $C$. This implies
$$\det(C + \lambda u\otimes u^T) = \det(C) + \lambda u^T\cdot (\text{adj}(C) u)\tag{*1}$$
Notice the entries of $\text{adj}(C)$ are polynomials in entries of $C$. Since $(*1)$ is valid for invertible $C$ and the set of invertible matrices are dense in the set of real (or complex) matrices. $(*1)$ is valid even when $C$ is not invertible!
Apply this to our matrix $A$ and set $\lambda$ to $2014$, we get
$$\begin{align} \det(A+2014B) &= \det(A) + 2014u^T\cdot( \text{adj}(A) u)\\ &= -2013\det(A) + 2014(\det(A) + u^T\cdot( \text{adj}(A) u))\\ &= -2013\det(A) + 2014\det(A+B)\\ &= 2014 \end{align} $$