Answer: a=±4.
Solution. For the equation to have roots, its discriminant must be positive, hence a2−12>0. Under this condition, by Vieta's theorem, x1+x2=−a,x1x2=3. Then x12+ x1x2+x22=(x1+x2)2−x1x2=a2−3.
Transform the given equality:
x13−x23−39⋅x1x2x1−x2=0⇔(x1−x2)(x12+x1x2+x22)−x1x239(x1−x2)=0
Since the roots are distinct, x1−x2=0. Dividing both sides by x1−x2 and substituting the values given above, we get a2−3−339=0⇔a2−16=0, from which a=±4. Both found values of the parameter satisfy the inequality a2−12>0.