SemialgebraicComponentInstances[ineqs,{x1,x2,…}]
変数 x1, x2, …の不等式 ineqs で定義された半代数的集合の接続された各要素について,少なくとも1つのサンプル点を返す.
SemialgebraicComponentInstances
SemialgebraicComponentInstances[ineqs,{x1,x2,…}]
変数 x1, x2, …の不等式 ineqs で定義された半代数的集合の接続された各要素について,少なくとも1つのサンプル点を返す.
詳細
- SemialgebraicComponentInstancesは,すべての変数が実数であると仮定する.
- 不等式のリストあるいは論理結合を与えることができる.
- SemialgebraicComponentInstancesで返される点の1つに,連続するパスで不等式集合の任意の解を接続させることができる.
- SemialgebraicComponentInstancesは,変数についての規則のリストをSolveにおけるのと同じタイプで作成する.
例題
すべて開く すべて閉じる例 (1)
スコープ (3)
SemialgebraicComponentInstances[x ^ 5 - 3x ^ 4 + 5x ^ 3 - 7x ^ 2 + 3x + 1 ≥ 0, x]SemialgebraicComponentInstances[x ^ 2 + y ^ 2 + z ^ 2 == 1 && x ^ 2 + y ^ 2 < z ^ 3, {x, y, z}]SemialgebraicComponentInstances[Xor[x ^ 2 + y ^ 3 == 2, x ^ 2 + y ^ 2 < 3], {x, y}]アプリケーション (4)
単変数多項不等式で定義された各区間中の少なくとも1点を求める:
f = (x + 1)(x ^ 2 - 4)(x ^ 3 - 2x + 1);pts = SemialgebraicComponentInstances[f < 0, x]Show[Plot[f, {x, -2.1, 2.05}, Epilog -> {Red, PointSize[Medium], Point[{x, f} /. pts]}]]pts = SemialgebraicComponentInstances[f ≤ 0, x]Show[Plot[f, {x, -2.1, 2.05}, Epilog -> {Red, PointSize[Medium], Point[{x, f} /. pts]}]]ineqs = x ^ 2 + y ^ 3 < 1 && 1 < x ^ 2 + y ^ 2 <= 3;SemialgebraicComponentInstances[ineqs, {x, y}]RegionPlot[ineqs, {x, -2, 2}, {y, -2, 2}, Epilog -> Point[{x, y} /. %]]eqn = x ^ 3 + (2y z) ^ 2 - x == 1 / 4;pts = SemialgebraicComponentInstances[eqn && -2 < x < 2 && -2 < y < 2 && -2 < z < 2, {x, y, z}];Show[{ContourPlot3D[Evaluate[eqn], {x, -2, 2}, {y, -2, 2}, {z, -2, 2}], Graphics3D[{Red, PointSize[Large], Point[{x, y, z} /. N[pts]]}]}]ineqs = x ^ 2 + y ^ 2 + z ^ 2 - 7x y z < 1 && x ^ 2 + y ^ 2 > 2z ^ 3 + 5 / 4 && x ^ 2 + y ^ 2 + z ^ 2 < 3;pts = SemialgebraicComponentInstances[ineqs, {x, y, z}];And@@(ineqs /. pts)これらの点を使って数値的に求まったグラフィックスで集合の部分が欠落しているかどうかをチェックする:
Show[{RegionPlot3D[ineqs, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}], Graphics3D[{Red, PointSize[0.015], Point[{x, y, z} /. pts]}]}]特性と関係 (2)
ineqs = x ^ 2 + y ^ 2 + z ^ 2 ≤ 3 && x ^ 2 - y ^ 3 ≤ 17;pts = SemialgebraicComponentInstances[ineqs, {x, y, z}]ineqs /. ptsFindInstanceを使って不等式を満足する例を1つ求める:
FindInstance[ineqs, {x, y, z}]ineqs /. %CylindricalDecompositionまたはReduceを使って解集合の完全な記述を得る:
CylindricalDecomposition[ineqs, {x, y, z}]Reduce[ineqs, {x, y, z}]ineqs = x ^ 2 + y ^ 2 / 4 + z ^ 2 / 9 > 1 && x ^ 2 + (y - 1) ^ 2 + (z - 2) ^ 2 < 1 / 9;SemialgebraicComponentInstances[ineqs, {x, y, z}]Resolveを使っても同様の結果が得られる:
Resolve[Exists[{x, y, z}, ineqs], Reals]テクニカルノート
-
▪
- 解の集合の表示
関連するガイド
-
▪
- 多項式系
テキスト
Wolfram Research (2007), SemialgebraicComponentInstances, Wolfram言語関数, https://reference.wolfram.com/language/ref/SemialgebraicComponentInstances.html.
CMS
Wolfram Language. 2007. "SemialgebraicComponentInstances." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SemialgebraicComponentInstances.html.
APA
Wolfram Language. (2007). SemialgebraicComponentInstances. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SemialgebraicComponentInstances.html
BibTeX
@misc{reference.wolfram_2026_semialgebraiccomponentinstances, author="Wolfram Research", title="{SemialgebraicComponentInstances}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/SemialgebraicComponentInstances.html}", note=[Accessed: 03-November-2026]}
BibLaTeX
@online{reference.wolfram_2026_semialgebraiccomponentinstances, organization={Wolfram Research}, title={SemialgebraicComponentInstances}, year={2007}, url={https://reference.wolfram.com/language/ref/SemialgebraicComponentInstances.html}, note=[Accessed: 03-November-2026]}