Concept:
Given cubic:
\[
x^3 + qx + r = 0
\]
Sum of roots:
\[
\alpha + \beta + \gamma = 0
\]
Also, roots are in A.P., so let:
\[
\alpha = a - d, \quad \beta = a, \quad \gamma = a + d
\]
Step 1: Use sum of roots.
\[
(a - d) + a + (a + d) = 0
\]
\[
3a = 0 \Rightarrow a = 0
\]
So roots:
\[
\alpha = -d, \quad \beta = 0, \quad \gamma = d
\]
Step 2: Substitute into matrix.
\[
A =
\begin{pmatrix}
-d & 0 & d \\
0 & d & -d \\
d & -d & 0
\end{pmatrix}
\]
Step 3: Check row dependence.
Observe:
\[
R_1 + R_2 + R_3 = 0
\]
So rows are linearly dependent ⇒ rank \( < 3 \).
Step 4: Check if rank = 1 or 2.
Take two rows:
\[
(-d, 0, d), \quad (0, d, -d)
\]
They are not scalar multiples ⇒ independent.
Thus rank = 2.