Evaluate $\det A$ for an $n\times n$ matrix $A=[a_{ij}]$ when
(1) $a_{ij}= 1$ if $i\ne j$, $a_{ij}=0$ if $i=j$
(2) $a_{ij} = i+2j$
I study linear algebra alone. I don't have a man asking math questions around me :( I'm a little hazy on this problem. First I use cofactor expansion. However I am very confusing about $n \times n$ matrix. Mealwhile I think use Math induction. Can you help me??