Let $X \in \mathbb{R}^{n \times n}$, $X_i$ denote the $i$-th column of $X$ and let $\lambda_i \in \mathbb{R}$. Find
$$\det \left( \lambda_1X_1X_1^T + \lambda_2X_2X_2^T + \cdots + \lambda_nX_nX_n^T \right)$$
I calculated that the matrix inside determinant will be symmetrical and its elements will be:
$\lambda_1x_{i1}^2 + ... \lambda_nx_{in}^2$ - for diagonal elements
$\lambda_1x_{i1}x_{j1} + ... + \lambda_nx_{in}x_{jn}$ - everything else
From there I am stuck on what to do next
(this task also asks for which $\lambda_i$ determinant will be $\ge 0$, maybe this gives some clue)