2

Consider the following matrix:

\begin{bmatrix} 1 & 2 & 3 \\ 2 & k-3 & 4 \\ 3 & 4 & k-4 \\ \end{bmatrix}

I have the following problems:

  1. How to find $\det(B)$ in terms of $k$?

  2. For what value(s) of $k$ are the column vectors of $B$ linearly dependent?

Kolmin
  • 4,083
Adam
  • 21

2 Answers2

1

You can find the determinant by applying row transformations: \begin{align} B=\begin{bmatrix} 1 & 2 & 3\\ 2 & k-3 & 4\\ 3 & 4 & k-4 \end{bmatrix} &\to \begin{bmatrix} 1 & 2 & 3\\ 0 & k-7 & -2\\ 0 & -2 & k-13 \end{bmatrix} &&\begin{aligned}R_2&\gets R_2-2R_1\\R_3&\gets R_3-3R_1\end{aligned} \\&\to \begin{bmatrix} 1 & 2 & 3\\ 0 & -2 & k-13 \\ 0 & k-7 & -2 \end{bmatrix} &&R_2\leftrightarrow R_3 \\&\to \begin{bmatrix} 1 & 2 & 3\\ 0 & 1 & (13-k)/2 \\ 0 & k-7 & -2 \end{bmatrix} &&R_2\gets (-1/2)R_2 \\&\to \begin{bmatrix} 1 & 2 & 3\\ 0 & 1 & (13-k)/2 \\ 0 & 0 & (k^2-20k+87)/2 \end{bmatrix} &&R_3\gets R_3+(7-k)R_2 \end{align} Thus the determinant is $$ (-1)(-2)\frac{k^2-20k+87}{2}= k^2-20k+87 $$ The first factor is due to the row swap, the second factor is due to the pivot reduction, the third is the product of the elements in the diagonal.

Now recall that the columns are linearly independent if and only if the determinant is nonzero.

egreg
  • 238,574
  • Is the $-1/2$ part correct in the end? How come it cancels out with the other $1/2$ instead of giving $1/4$? – Fede Poncio Dec 13 '15 at 14:29
  • 2
    @FedePoncio Yes, I should have multiplied by $-2$, because the pivot reduction was “divide by $-2$”. – egreg Dec 13 '15 at 14:42
0

here is one way to do this. note that the determinant is quadratic in $k.$ you can fine the coefficient of $k^2$ by finding the determinant of $\begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \\ \end{bmatrix}$ which is $1.$ we need to find the set for two other vales of $k.$ for $k = 0,$ the det is $87$ and for $k = 1,$ the det is $68.$

so you have $ \det A = k^2 + (68-1-87)k+87=k^2-20k+87.$

abel
  • 29,170