<s>[INST] If $\alpha,\beta,\gamma$ are the roots of $x^3+x^2-x+1=0$, find the value of $\prod\left(\frac1{\alpha^3}+\frac1{\beta^3}-\frac1{\gamma^3}\right)$ 
If $\alpha,\beta,\gamma$ are the roots of the equation $x^3+x^2-x+1=0$, find the value of $\prod\left(\frac1{\alpha^3}+\frac1{\beta^3}-\frac1{\gamma^3}\right)$

My Attempt:
$\alpha+\beta+\gamma=-1$
$\alpha\beta+\beta\gamma+\gamma\alpha=-1$
$\alpha\beta\gamma=-1$
$\prod\left(\frac1{\alpha^3}+\frac1{\beta^3}-\frac1{\gamma^3}\right)=\prod\left(\frac{(\beta\gamma)^3+(\alpha\gamma)^3-(\alpha\beta)^3}{(\alpha\beta\gamma)^3}\right)=-\prod\left((\beta\gamma)^3+(\alpha\gamma)^3-(\alpha\beta)^3\right)$
Now, one option is to expand the product and put the values where required, but is there a shorter, better approach to do this?
 [/INST] 1. Let $P(x) = x^3 + x^2 - x + 1$. Since all the zeros of $P(x)$ are non-zero, $\gcd(P(x), x^3) = 1$. Then the Bézout's identity tells that we can find polynomials $A(x)$ and $B(x)$ satisfying
$$ A(x) P(x) + B(x) x^3 = 1. $$
Although there is a systematic way of determining $A(x)$ and $B(x)$, called the extended GCD algorithm, it is not hard to see that $A(x) = x+1$ and $B(x) = -x-2$ from the computation
$$ (x+1)(x^2 - x + 1) = x^3 + 1 \qquad\implies\qquad (x+1)P(x) = x^4 + 2x^3 + 1. $$
The upshot of this computation is that, if $x = x_0$ is any zero of $P(x) = 0$, then
$$ B(x_0) x_0^3 = 1 \qquad\text{and hence}\qquad \frac{1}{x_0^3} = B(x_0) = -x_0-2. $$
2. Plugging this to OP's product, we get
$$ \prod_{\text{cyc}} \left( \frac{1}{\alpha^3} + \frac{1}{\beta^3} - \frac{1}{\gamma^3} \right)
= \prod_{\text{cyc}} \left( -\alpha -\beta + \gamma - 2 \right)
= \prod_{\text{cyc}} \left(2\gamma - 1\right)
= (-2)^3 P\left(\frac{1}{2}\right)
= -7. $$
</s>