If the vectors \( \vec{p} = (a+1)\hat{i} + a\hat{j} + a\hat{k},\ \vec{q} = a\hat{i} + (a+1)\hat{j} + a\hat{k} \) and \( \vec{r} = a\hat{i} + a\hat{j} + (a+1)\hat{k} \) are coplanar, then the value of \(a\) is _ _ _ _.
Show Hint
For symmetric vectors of this form, adding all rows simplifies the determinant quickly.
Concept:
Three vectors are coplanar if their scalar triple product is zero:
\[
[\vec{p}\ \vec{q}\ \vec{r}] = \vec{p} \cdot (\vec{q} \times \vec{r}) = 0
\]
Step 1: Write the determinant.
\[
\begin{vmatrix}
a+1 & a & a \\
a & a+1 & a \\
a & a & a+1
\end{vmatrix} = 0
\]
Step 2: Add all rows.
\[
R_1 \to R_1 + R_2 + R_3
\]
\[
\begin{vmatrix}
3a+1 & 3a+1 & 3a+1 \\
a & a+1 & a \\
a & a & a+1
\end{vmatrix} = 0
\]
Step 3: Factor \((3a+1)\) from \(R_1\).
\[
(3a+1) \begin{vmatrix}
1 & 1 & 1 \\
a & a+1 & a \\
a & a & a+1
\end{vmatrix} = 0
\]