对数定义域要求
ax+1>0,x>a,x<2.
原方程等价于
ax+1=(x−a)(2−x).
展开后 ax 抵消:
1=2x−x2−2a,
即
(x−1)2=−2a.
因此必须有 a≤0。令
s=−2a≥0,
候选解为
x=1−s,x=1+s.
其中 1−s 总满足 x>a 且 x<2;而 1+s 只有在 s<1 时满足 x<2,当 s=1 时落在 x=2,不在定义域内。
所以恰有一个实数解当且仅当 s=0 或 s≥1。换回 a 得
a=0或a≤−21.
英文解析
The logarithm domains require
ax+1>0,x>a,x<2.
The equation is equivalent to
ax+1=(x−a)(2−x).
Expanding, the ax terms cancel:
1=2x−x2−2a,
so
(x−1)2=−2a.
Thus real candidates exist only when a≤0. Write
s=−2a≥0.
The candidates are
x=1−s,x=1+s.
The root 1−s always satisfies x>a and x<2. The root 1+s is valid exactly when s<1; at s=1 it gives x=2, outside the logarithm domain.
Hence there is exactly one solution when either s=0 or s≥1. In terms of a,
a=0ora≤−21.