[Math] A faster way of calculating this determinant

determinantlinear algebra

I'm doing a problem involving Cramer's rule, and one of the determinants I have to work with is as follows:

\begin{vmatrix}
1&1&1\\
a&b&c\\
a^3&b^3&c^3
\end{vmatrix}

So I started off by getting the matrix to a triangular matrix so I can just take the product of the diagonal cells by doing this:

\begin{equation}
R_1 \times-c + R_2
\end{equation}

\begin{equation}
R_3 \times -\frac{1}{c^3} + R_1
\end{equation}

\begin{equation}
R_2 \times(\frac{1-\frac{b^3}{c^3}}{b-c})+R_1
\end{equation}

I then got this matrix

\begin{vmatrix}
((1-\frac{a^3}{c^3})-(a-c)(\frac{1-\frac{b^3}{c^3}}{b-c}))&0&0\\
a-c&b-c&0\\
a^3&b^3&c^3\\
\end{vmatrix}

By summing the diagonal cells, I got this as a final answer:

\begin{equation}
(c-a)(a-b)(b-c)(a+b+c)
\end{equation}

However, it was a lengthy process, and I can't help but thinking this is not the type of calculations I can afford the time in a written exam, especially if I have to repeat this four times solving three linear equations with Cramer's rule.

I'd really appreciate it if you have any thoughts as to speed this process up.

Just as an added detail, the original question was (translated from Chinese):

With regards to the following set of equations

\begin{equation}
x + y + z = 1\\
ax + by + cz = d\\
a^3x + b^3y + c^3z = d^3
\end{equation}

  1. Under what conditions can Cramer's rule be used?

  2. Please solve the set of equations with Cramer's rule.

For the first question, the immediate thought that pops up is that

\begin{equation}
det(A) ≠ 0
\end{equation}

For the second question, it's simply

\begin{equation}
\frac{\begin{vmatrix}A_1\end{vmatrix}}{\begin{vmatrix}A\end{vmatrix}},
\frac{\begin{vmatrix}A_2\end{vmatrix}}{\begin{vmatrix}A\end{vmatrix}},
\frac{\begin{vmatrix}A_3\end{vmatrix}}{\begin{vmatrix}A\end{vmatrix}}
\end{equation}

which is the part I'm having trouble solving quickly.

Again, appreciate any hints or thoughts on this. Thanks.

Best Answer

Determinants are not changed by adding multiples of a column to another. So $$ \begin{vmatrix}1&1&1\\ a&b&c\\ a^3&b^3&c^3\end{vmatrix}=\begin{vmatrix}1&0&0\\ a&b-a&c-a\\ a^3&b^3-a^3&c^3-a^3\end{vmatrix}=(b-a)(c^3-a^3)-(b^3-a^3)(c-a) $$

Edit: since in the comments to the other answer you were asking how to factor, here it is: you have the identity $x^3-y^3=(x-y)(x^2+xy+y^2)$. Then \begin{align} (b-a)(c^3-a^3)-(b^3-a^3)(c-a)&=(b-a)(c-a)(c^2+ac+a^2)-(b-a)(c-a)(b^2+ab+a^2)\\ &=(b-a)(c-a)(c^2+ac+a^2-b^2-ab-a^2)\\ &=(b-a)(c-a)(c^2+ac-b^2-ab)\\ &=(b-a)(c-a)[(c^2-b^2)+a(c-b)]\\ &=(b-a)(c-a)(c-b)(c+b+a). \end{align}

Related Question