We are given the equation (a−1)(x4+x2+1)+(a+1)(x2+x+1)2=0 and told that it has two real and distinct roots. We need to find the set of all values of a.
First, we simplify the equation. Notice that x4+x2+1 can be factored. Rewrite it as:
x4+x2+1=x4+2x2+1−x2=(x4+2x2+1)−x2=(x2+1)2−x2.
This is a difference of squares:
(x2+1)2−x2=(x2+1−x)(x2+1+x)=(x2−x+1)(x2+x+1).
So, x4+x2+1=(x2−x+1)(x2+x+1). Substitute this into the original equation:
(a−1)⋅(x2−x+1)(x2+x+1)+(a+1)⋅(x2+x+1)2=0.
Factor out (x2+x+1):
(x2+x+1)[(a−1)(x2−x+1)+(a+1)(x2+x+1)]=0.
This equation holds if either x2+x+1=0 or (a−1)(x2−x+1)+(a+1)(x2+x+1)=0.
Now, solve x2+x+1=0. The discriminant is 12−4⋅1⋅1=1−4=−3<0, so it has no real roots. Therefore, the real roots must come from the other equation:
(a−1)(x2−x+1)+(a+1)(x2+x+1)=0.
Expand the terms:
(a−1)(x2−x+1)=(a−1)x2−(a−1)x+(a−1),
(a+1)(x2+x+1)=(a+1)x2+(a+1)x+(a+1).
Add them together:
(a−1)x2−(a−1)x+(a−1)+(a+1)x2+(a+1)x+(a+1)=0.
Combine like terms:
- Coefficient of x2: (a−1)+(a+1)=a−1+a+1=2a,
- Coefficient of x: −(a−1)+(a+1)=−a+1+a+1=2,
- Constant term: (a−1)+(a+1)=a−1+a+1=2a.
So the equation becomes:
2ax2+2x+2a=0.
Divide the entire equation by 2 (since 2 ≠ 0):
ax2+x+a=0.
This is a quadratic equation in x. For it to have two real and distinct roots, the discriminant must be positive and the leading coefficient must not be zero (to ensure it is quadratic).
The discriminant D=b2−4ac, where a=a, b=1, c=a:
D=(1)2−4⋅a⋅a=1−4a2.
For two real and distinct roots, D>0:
1−4a2>0,
4a2<1,
a2<41,
−21<a<21.
Additionally, for the equation to be quadratic, the leading coefficient a must not be zero. If a=0, the equation becomes x=0, which has only one root, not two distinct roots. So a=0.
Therefore, a must be in (−21,0)∪(0,21).
We must also ensure that these roots are valid for the original equation. The factor (x2+x+1) has no real roots, so the roots from ax2+x+a=0 are the only real roots. Since we require exactly two real and distinct roots, and the quadratic provides that under the above conditions, this is sufficient.
Now, comparing with the options:
- A. (0,21)
- B. (−21,0)∪(0,21)
- C. (−∞,−2)∪(2,∞)
- D. (−21,0)
Option B matches our solution.
Hence, the correct answer is Option B.