The number of integral values of $p$ for which the vectors $(p + 1)\hat{i} - 3\hat{j} + p\hat{k},\; p\hat{i} + (p + 1)\hat{j} - 3\hat{k}$ and $-3\hat{i} + p\hat{j} + (p + 1)\hat{k}$ are linearly dependent, is ______.
To determine the number of integral values of \( p \) for which the given vectors are linearly dependent, we need to set up a condition for linear dependence. The vectors given are:
These vectors are linearly dependent if the determinant of the matrix formed by using these vectors as rows (or columns) is zero. Construct the following matrix:
| \( p + 1 \) | -3 | p |
| p | p + 1 | -3 |
| -3 | p | p + 1 |
We calculate the determinant of this matrix:
\[\begin{vmatrix} p+1 & -3 & p \\ p & p+1 & -3 \\ -3 & p & p+1 \end{vmatrix}\]Utilize cofactor expansion along the first row to compute the determinant:
\[(p+1)\begin{vmatrix} p+1 & -3 \\ p & p+1 \end{vmatrix} - (-3)\begin{vmatrix} p & -3 \\ -3 & p+1 \end{vmatrix} + p\begin{vmatrix} p & p+1 \\ -3 & p \end{vmatrix}\]Calculate each of the 2x2 determinants:
Substitute them back into the determinant formula:
\[(p+1)((p+1)^2 + 3p) + 3(p^2 + p - 9) + p(p^2 + 3p + 3) = 0\]After simplifying the equation, we get a polynomial. Simplify and solve for \(p\):
The polynomial simplifies and factors out to give potential integral solutions for \(p\).
In solving, it leads to the quadratic equation:
\[p^2 + 1 = 0\]This can be rearranged as:
\[(p - 2)(p - 4) = 0\]So, the integral solutions are \( p = 2 \) and \( p = 4 \).
Thus, there are 2 integral values of \( p \) for which the vectors are linearly dependent.