I am stuck on how to prove this by induction.
Let $J$ be the $n×n$ matrix of all ones, and let $A = (l−b)I +bJ$. Show that $$\det(A) = (l − b)^{n−1}(l + (n − 1)b).$$
I have shown that it holds for $n=2$, and I'm assuming that it holds for the $n=k$ case, $$(l-b)^{k-1}(a+(k-1)b)$$ but I'm having trouble proving that it holds for the $k+1$ case. Please help.
Hint:
$$A=(l−b)I +bJ=lI+b(J-I)=\begin{pmatrix}l&b&b&...&b\\b&l&b&...&b\\...&...&...&...&...\\...&...&...&...&...\\b&b&b&...&l\end{pmatrix}_{n\times n}$$