MaxExtraConditions
是 Solve 和相关函数的一个选项,用来指定在给定解中的连续参数中允许多少个额外等式条件.
更多信息
- Solve 只给出通解. 删除仅当连续参数满足方程时才有效的解. 通过使用 MaxExtraConditions 的非缺省设置,可以获得另外的解.
- 可以使用以下设置:
-
0 (None) 包括在连续参数中不需要方程的解 k 包括在连续参数中需要近 k 个方程的解 Infinity 包括所有解 All 包括所有解和所有条件 Automatic 包括在连续参数中需要最少方程的解 - 当设置 MaxExtraConditions->All 时,包括所有条件. 其它设置会排除不等式和连续参数中的 NotElement 条件.
范例
打开所有单元 关闭所有单元基本范例 (2)
Solve[(x - a)(x - b) == 0 && (x - c)(x - d) == 0 && (x - a)(x - e) == 0, x]Solve[(x - a)(x - b) == 0 && (x - c)(x - d) == 0 && (x - a)(x - e) == 0, x, MaxExtraConditions -> Automatic]Solve[(x - a)(x - b) == 0 && (x - c)(x - d) == 0 && (x - a)(x - e) == 0, x, MaxExtraConditions -> All]Solve[a x ^ 5 + b x ^ 2 + c x + d == 0, x, MaxExtraConditions -> 0]Solve[a x ^ 5 + b x ^ 2 + c x + d == 0, x, MaxExtraConditions -> 1]Solve[a x ^ 5 + b x ^ 2 + c x + d == 0, x, MaxExtraConditions -> 2]范围 (2)
Solve[x ^ 2 + a ^ 2 ≤ 1, x, Integers]默认情况下,Solve 去掉连续参数的不等式条件:
Solve[a x == b, x]当 MaxExtraConditions->All 时,Solve 包括所有条件:
Solve[a x == b, x, MaxExtraConditions -> All]文本
Wolfram Research (2010),MaxExtraConditions,Wolfram 语言函数,https://reference.wolfram.com/language/ref/MaxExtraConditions.html.
CMS
Wolfram 语言. 2010. "MaxExtraConditions." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/MaxExtraConditions.html.
APA
Wolfram 语言. (2010). MaxExtraConditions. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/MaxExtraConditions.html 年
BibTeX
@misc{reference.wolfram_2026_maxextraconditions, author="Wolfram Research", title="{MaxExtraConditions}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/MaxExtraConditions.html}", note=[Accessed: 01-November-2026]}
BibLaTeX
@online{reference.wolfram_2026_maxextraconditions, organization={Wolfram Research}, title={MaxExtraConditions}, year={2010}, url={https://reference.wolfram.com/language/ref/MaxExtraConditions.html}, note=[Accessed: 01-November-2026]}