37
$\begingroup$

Today, at my linear algebra exam, there was this question that I couldn't solve.


Prove that $$\det \begin{bmatrix} n^{2} & (n+1)^{2} &(n+2)^{2} \\ (n+1)^{2} &(n+2)^{2} & (n+3)^{2}\\ (n+2)^{2} & (n+3)^{2} & (n+4)^{2} \end{bmatrix} = -8$$


Clearly, calculating the determinant, with the matrix as it is, wasn't the right way. The calculations went on and on. But I couldn't think of any other way to solve it.

Is there any way to simplify $A$, so as to calculate the determinant?

$\endgroup$
4
  • $\begingroup$ Have you tried to utilize the determinant's variability to certain line/column actions? $\endgroup$ Feb 14, 2014 at 17:53
  • $\begingroup$ Won't I have to expand the $^{2}$ in order to do that? $\endgroup$ Feb 14, 2014 at 17:55
  • 1
    $\begingroup$ Am I allowed to assign a number to n? $\endgroup$ Feb 14, 2014 at 17:57
  • $\begingroup$ You're not allowed to do that, no, unless you've proven that it's constant. And regarding your earlier question, find a way to use the power of $2$. $\endgroup$ Feb 14, 2014 at 17:58

3 Answers 3

62
$\begingroup$

Here is a proof that is decidedly not from the book. The determinant is obviously a polynomial in n of degree at most 6. Therefore, to prove it is constant, you need only plug in 7 values. In fact, -4, -3, ..., 0 are easy to calculate, so you only have to drudge through 1 and 2 to do it this way !

$\endgroup$
6
  • 9
    $\begingroup$ The book or THE book? $\endgroup$ Feb 14, 2014 at 21:03
  • 3
    $\begingroup$ This is an excellent gimmick, worth remembering when you have some combinatorial identity to prove. $\endgroup$
    – pgadey
    Feb 14, 2014 at 21:04
  • 3
    $\begingroup$ Very nice idea! $\endgroup$ Feb 14, 2014 at 21:17
  • $\begingroup$ I might be overlooking something obvious here, but is there a "nice" way to extend this idea to "check" if $\det(A) = -8$? (i.e. not just to prove this is constant, but also to prove the value holds?) $\endgroup$
    – apnorton
    Feb 15, 2014 at 3:56
  • $\begingroup$ @anorton -8 is the value you get when you plug in one of the numbers $\endgroup$
    – hunter
    Feb 15, 2014 at 9:46
49
$\begingroup$

Recall that $a^2-b^2=(a+b)(a-b)$. Subtracting $\operatorname{Row}_1$ from $\operatorname{Row}_2$ and from $\operatorname{Row}_3$ gives $$ \begin{bmatrix} n^2 & (n+1)^2 & (n+2)^2 \\ 2n+1 & 2n+3 & 2n+5 \\ 4n+4 & 4n+8 & 4n+12 \end{bmatrix} $$ Then subtracting $2\cdot\operatorname{Row}_2$ from $\operatorname{Row}_3$ gives $$ \begin{bmatrix} n^2 & (n+1)^2 & (n+2)^2 \\ 2n+1 & 2n+3 & 2n+5 \\ 2 & 2 & 2 \end{bmatrix} $$ Now, subtracting $\operatorname{Col}_1$ from $\operatorname{Col}_2$ and $\operatorname{Col}_3$ gives $$ \begin{bmatrix} n^2 & 2n+1 & 4n+4 \\ 2n+1 & 2 & 4 \\ 2 & 0 & 0 \end{bmatrix} $$ Finally, subtracting $2\cdot\operatorname{Col}_2$ from $\operatorname{Col}_3$ gives $$ \begin{bmatrix} n^2 & 2n+1 & 2 \\ 2n+1 & 2 & 0 \\ 2 & 0 & 0 \end{bmatrix} $$ Expanding the determinant about $\operatorname{Row}_3$ gives $$ \det A = 2\cdot\det \begin{bmatrix} 2n+1 & 2\\ 2 & 0 \end{bmatrix} =2\cdot(-4)=-8 $$ as advertised.

$\endgroup$
10
$\begingroup$

That's not the nicest way to do it but it's quite simple and works.

To avoid developping the squares, I used $a^2-b^2 =(a+b)(a-b)$ (and $a-b$ was always $1$ when I used it). Then, once I had enough $0$s, I simply exapended by the last column.

$$\begin{array}{l} \begin{vmatrix} n^{2} & (n+1)^{2} &(n+2)^{2} \\ (n+1)^{2} &(n+2)^{2} & (n+3)^{2}\\ (n+2)^{2} & (n+3)^{2} & (n+4)^{2} \end{vmatrix} &= \begin{vmatrix} n^{2} & (n+1)^{2} &(n+2)^{2}-(n+1)^{2} \\ (n+1)^{2} &(n+2)^{2} & (n+3)^{2}-(n+2)^{2}\\ (n+2)^{2} & (n+3)^{2} & (n+4)^{2}-(n+3)^{2} \end{vmatrix}\\ &= \begin{vmatrix} n^{2} & (n+1)^{2} &2n+3 \\ (n+1)^{2} &(n+2)^{2} & 2n+5\\ (n+2)^{2} & (n+3)^{2} & 2n+7 \end{vmatrix}\\ &= \begin{vmatrix} n^{2} & (n+1)^{2}-n^{2} &2n+3 \\ (n+1)^{2} &(n+2)^{2}-(n+1)^{2} & 2n+5\\ (n+2)^{2} & (n+3)^{2}-(n+2)^{2} & 2n+7 \end{vmatrix}\\ &= \begin{vmatrix} n^{2} & 2n+1 &2n+3 \\ (n+1)^{2} &2n+3 & 2n+5\\ (n+2)^{2} & 2n+5 & 2n+7 \end{vmatrix}\\ &= \begin{vmatrix} n^{2} & 2n+1 &2n+3 \\ (n+1)^{2} &2n+3 & 2n+5\\ (n+2)^{2}-(n+1)^{2} & 2n+5-(2n+3) & 2n+7-(2n+5) \end{vmatrix}\\ &= \begin{vmatrix} n^{2} & 2n+1 &2n+3 \\ (n+1)^{2} &2n+3 & 2n+5\\ 2n+3 & 2 & 2 \end{vmatrix}\\ &= \begin{vmatrix} n^{2} & 2n+1 &2n+3 \\ (n+1)^{2}-n^{2} &2n+3-(2n+1) & 2n+5-(2n+3)\\ 2n+3 & 2 & 2 \end{vmatrix}\\ &= \begin{vmatrix} n^{2} & 2n+1 &2n+3 \\ 2n+1 &2 & 2\\ 2n+3 & 2 & 2 \end{vmatrix}\\ &= \begin{vmatrix} n^{2} & 2n+1 &2n+3-(2n+1) \\ 2n+1 &2 & 2-2\\ 2n+3 & 2 & 2-2 \end{vmatrix}\\ &= \begin{vmatrix} n^{2} & 2n+1 &2 \\ 2n+1 &2 & 0\\ 2n+3 & 2 & 0 \end{vmatrix}\\ &= \begin{vmatrix} n^{2} & 2n+1 &2 \\ 2n+1 &2 & 0\\ 2n+3-(2n+1) & 2-2 & 0-0 \end{vmatrix}\\ &= \begin{vmatrix} n^{2} & 2n+1 &2 \\ 2n+1 &2 & 0\\ 2 & 0 & 0 \end{vmatrix}\\ &= 2\begin{vmatrix} 2n+1 &2\\ 2 & 0 \end{vmatrix}\\ &= -8 \end{array}$$

$\endgroup$
5
  • 1
    $\begingroup$ how come your first equation holds? $\endgroup$ Feb 14, 2014 at 18:25
  • 3
    $\begingroup$ column 3 <- column 3 - column 2 $\endgroup$
    – xavierm02
    Feb 14, 2014 at 18:42
  • $\begingroup$ Thanks , i can't believe i didn't see that. $\endgroup$ Feb 14, 2014 at 19:55
  • 1
    $\begingroup$ I don't know if this would fit in the box allocated to the question on the exam :p $\endgroup$
    – Thomas
    Feb 14, 2014 at 21:47
  • 5
    $\begingroup$ Think outside the box. $\endgroup$
    – Etheryte
    Feb 15, 2014 at 9:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .