(***********************************************************************

                    Mathematica-Compatible Notebook

This notebook can be used on any computer system with Mathematica 4.0,
MathReader 4.0, or any compatible application. The data for the notebook 
starts with the line containing stars above.

To get the notebook into a Mathematica-compatible application, do one of 
the following:

* Save the data starting with the line of stars above into a file
  with a name ending in .nb, then open the file inside the application;

* Copy the data starting with the line of stars above to the
  clipboard, then use the Paste menu command inside the application.

Data for notebooks contains only printable 7-bit ASCII and can be
sent directly in email or through ftp in text mode.  Newlines can be
CR, LF or CRLF (Unix, Macintosh or MS-DOS style).

NOTE: If you modify the data for this notebook not in a Mathematica-
compatible application, you must delete the line below containing the 
word CacheID, otherwise Mathematica-compatible applications may try to 
use invalid cache data.

For more information on notebooks and Mathematica-compatible 
applications, contact Wolfram Research:
  web: http://www.wolfram.com
  email: info@wolfram.com
  phone: +1-217-398-0700 (U.S.)

Notebook reader applications are available free of charge from 
Wolfram Research.
***********************************************************************)

(*CacheID: 232*)


(*NotebookFileLineBreakTest
NotebookFileLineBreakTest*)
(*NotebookOptionsPosition[      5895,        191]*)
(*NotebookOutlinePosition[      8534,        277]*)
(*  CellTagsIndexPosition[      8309,        264]*)
(*WindowFrame->Normal*)



Notebook[{
Cell[TextData[{
  "Algebra",
  StyleBox["`", "MB"],
  "AlgebraicInequalities",
  StyleBox["`", "MB"]
}], "Subsection",
  CellTags->{"S5.1.1", "1.1"}],

Cell[TextData[{
  "The package provides a function for solving systems of strong polynomial \
inequalities in one or more unknowns. To be precise, ",
  StyleBox["SemialgebraicComponents[", "MR"],
  StyleBox["ineqs", "TI"],
  StyleBox[",", "MR"],
  " ",
  StyleBox["vars", "TI"],
  StyleBox["]", "MR"],
  " gives a finite set of solutions of the system of inequalities. That is, \
within the set of solutions, any solution can be connected by a continuous \
path to a solution in the finite set. The variable ",
  StyleBox["ineqs", "TI"],
  " is a list of strong inequalities, where both sides of each inequality are \
polynomials in variables ",
  StyleBox["vars", "TI"],
  " with rational coefficients. In other words, ",
  StyleBox["SemialgebraicComponents[", "MR"],
  StyleBox["ineqs", "TI"],
  StyleBox[",", "MR"],
  " ",
  StyleBox["vars", "TI"],
  StyleBox["]", "MR"],
  " gives at least one point in each connected component of the open \
semialgebraic set defined by inequalities ",
  StyleBox["ineqs", "TI"],
  ". "
}], "Text",
  CellTags->{"S5.1.1", "1.2"}],

Cell[BoxData[
    FormBox[
      StyleBox[
        FrameBox[
          StyleBox[GridBox[{
                {"\<\"\\!\\(\\*StyleBox[\\\"\\\\\\\"SemialgebraicComponents[\\\
\\\\\"\\\", \\\"MR\\\"]\\)\\!\\(\\*StyleBox[\\\"\\\\\\\"ineqs\\\\\\\"\\\", \\\
\"TI\\\"]\\)\\!\\(\\*StyleBox[\\\"\\\\\\\",\\\\\\\"\\\", \\\"MR\\\"]\\) \
\\!\\(\\*StyleBox[\\\"\\\\\\\"vars\\\\\\\"\\\", \
\\\"TI\\\"]\\)\\!\\(\\*StyleBox[\\\"\\\\\\\"]\\\\\\\"\\\", \\\"MR\\\"]\\) \
\"\>", "\<\"give at least one point in each component of the set of solutions \
of inequalities \\!\\(\\*StyleBox[\\\"\\\\\\\"ineqs\\\\\\\"\\\", \
\\\"TI\\\"]\\) in the variables \
\\!\\(\\*StyleBox[\\\"\\\\\\\"vars\\\\\\\"\\\", \\\"TI\\\"]\\)\"\>"}
                },
              ColumnAlignments->{Right, Left}],
            GridBoxOptions->{RowLines->False}]],
        "2ColumnBox"], TraditionalForm]], "Text",
  CellTags->{"S5.1.1", "1.3"}],

Cell["Solutions of inequalities. ", "Caption",
  CellTags->"S5.1.1"],

Cell["This loads the package. ", "MathCaption",
  CellTags->{"S5.1.1", "1.4"}],

Cell["<<Algebra`AlgebraicInequalities`", "Input",
  CellLabel->"In[1]:= ",
  CellTags->"S5.1.1"],

Cell[TextData[{
  "Here is a point from each of the three intervals forming the set of \
solutions of ",
  Cell[BoxData[
      \(TraditionalForm\`x \((x\^2 - 2)\) \((x\^2 - 3)\) > 0\)], 
    "InlineFormula"],
  ". "
}], "MathCaption",
  CellTags->{"S5.1.1", "1.5"}],

Cell[CellGroupData[{

Cell["SemialgebraicComponents[{x (x^2 - 2) (x^2 - 3) > 0}, x]", "Input",
  CellLabel->"In[2]:= ",
  CellTags->"S5.1.1"],

Cell[BoxData[
    \({\(-\(3\/2\)\), 1, 2}\)], "Output",
  CellLabel->"Out[2]= ",
  CellTags->"S5.1.1"]
}, Open  ]],

Cell[TextData[{
  "This gives one point in each of the two connected components of the set \
bounded by the circle ",
  Cell[BoxData[
      \(TraditionalForm\`x\^2 + y\^2 =  = 4\)], "InlineFormula"],
  " and the hyperbola ",
  Cell[BoxData[
      \(TraditionalForm\`x  y =  = 1\)], "InlineFormula"],
  ". "
}], "MathCaption",
  CellTags->{"S5.1.1", "1.6"}],

Cell[CellGroupData[{

Cell["SemialgebraicComponents[{x^2 + y^2 < 4, x y > 1}, {x, y}]", "Input",
  CellLabel->"In[3]:= ",
  CellTags->"S5.1.1"],

Cell[BoxData[
    \({{\(-1\), \(-\(9\/8\)\)}, {1, 9\/8}}\)], "Output",
  CellLabel->"Out[3]= ",
  CellTags->"S5.1.1"]
}, Open  ]],

Cell[TextData[{
  "This proves that the ball ",
  Cell[BoxData[
      \(TraditionalForm\`x\^2 + \((y - 1)\)\^2 + \((z - 2)\)\^2 < 1/9\)], 
    "InlineFormula"],
  " is contained in the ellipsoid ",
  Cell[BoxData[
      \(TraditionalForm\`x\^2 + y\^2/4 + z\^2/9 < 1\)], "InlineFormula"],
  ". "
}], "MathCaption",
  CellTags->{"S5.1.1", "1.7"}],

Cell[CellGroupData[{

Cell["\<\
SemialgebraicComponents[{x^2 + y^2/4 + z^2/9 > 1,
 x^2 + (y - 1)^2 + (z - 2)^2 < 1/9},
 {x, y, z}]\
\>", "Input",
  CellLabel->"In[4]:= ",
  CellTags->"S5.1.1"],

Cell[BoxData[
    \({}\)], "Output",
  CellLabel->"Out[4]= ",
  CellTags->"S5.1.1"]
}, Open  ]]
},
FrontEndVersion->"4.0 for X",
ScreenRectangle->{{0, 800}, {0, 600}},
WindowSize->{520, 455},
WindowMargins->{{140, Automatic}, {Automatic, 72}},
StyleDefinitions -> "HelpBrowser.nb"
]


(***********************************************************************
Cached data follows.  If you edit this Notebook file directly, not using
Mathematica, you must remove the line containing CacheID at the top of 
the file.  The cache data will then be recreated when you save this file 
from within Mathematica.
***********************************************************************)

(*CellTagsOutline
CellTagsIndex->{
  "S5.1.1"->{
    Cell[1717, 49, 149, 6, 70, "Subsection",
      CellTags->{"S5.1.1", "1.1"}],
    Cell[1869, 57, 1067, 28, 70, "Text",
      CellTags->{"S5.1.1", "1.2"}],
    Cell[2939, 87, 895, 18, 70, "Text",
      CellTags->{"S5.1.1", "1.3"}],
    Cell[3837, 107, 68, 1, 70, "Caption",
      CellTags->"S5.1.1"],
    Cell[3908, 110, 78, 1, 70, "MathCaption",
      CellTags->{"S5.1.1", "1.4"}],
    Cell[3989, 113, 96, 2, 70, "Input",
      CellTags->"S5.1.1"],
    Cell[4088, 117, 265, 8, 70, "MathCaption",
      CellTags->{"S5.1.1", "1.5"}],
    Cell[4378, 129, 119, 2, 70, "Input",
      CellTags->"S5.1.1"],
    Cell[4500, 133, 102, 3, 70, "Output",
      CellTags->"S5.1.1"],
    Cell[4617, 139, 356, 10, 70, "MathCaption",
      CellTags->{"S5.1.1", "1.6"}],
    Cell[4998, 153, 121, 2, 70, "Input",
      CellTags->"S5.1.1"],
    Cell[5122, 157, 117, 3, 70, "Output",
      CellTags->"S5.1.1"],
    Cell[5254, 163, 344, 10, 70, "MathCaption",
      CellTags->{"S5.1.1", "1.7"}],
    Cell[5623, 177, 170, 6, 70, "Input",
      CellTags->"S5.1.1"],
    Cell[5796, 185, 83, 3, 70, "Output",
      CellTags->"S5.1.1"]},
  "1.1"->{
    Cell[1717, 49, 149, 6, 70, "Subsection",
      CellTags->{"S5.1.1", "1.1"}]},
  "1.2"->{
    Cell[1869, 57, 1067, 28, 70, "Text",
      CellTags->{"S5.1.1", "1.2"}]},
  "1.3"->{
    Cell[2939, 87, 895, 18, 70, "Text",
      CellTags->{"S5.1.1", "1.3"}]},
  "1.4"->{
    Cell[3908, 110, 78, 1, 70, "MathCaption",
      CellTags->{"S5.1.1", "1.4"}]},
  "1.5"->{
    Cell[4088, 117, 265, 8, 70, "MathCaption",
      CellTags->{"S5.1.1", "1.5"}]},
  "1.6"->{
    Cell[4617, 139, 356, 10, 70, "MathCaption",
      CellTags->{"S5.1.1", "1.6"}]},
  "1.7"->{
    Cell[5254, 163, 344, 10, 70, "MathCaption",
      CellTags->{"S5.1.1", "1.7"}]}
  }
*)

(*CellTagsIndex
CellTagsIndex->{
  {"S5.1.1", 6519, 208},
  {"1.1", 7644, 239},
  {"1.2", 7737, 242},
  {"1.3", 7826, 245},
  {"1.4", 7914, 248},
  {"1.5", 8008, 251},
  {"1.6", 8103, 254},
  {"1.7", 8199, 257}
  }
*)

(*NotebookFileOutline
Notebook[{
Cell[1717, 49, 149, 6, 70, "Subsection",
  CellTags->{"S5.1.1", "1.1"}],
Cell[1869, 57, 1067, 28, 70, "Text",
  CellTags->{"S5.1.1", "1.2"}],
Cell[2939, 87, 895, 18, 70, "Text",
  CellTags->{"S5.1.1", "1.3"}],
Cell[3837, 107, 68, 1, 70, "Caption",
  CellTags->"S5.1.1"],
Cell[3908, 110, 78, 1, 70, "MathCaption",
  CellTags->{"S5.1.1", "1.4"}],
Cell[3989, 113, 96, 2, 70, "Input",
  CellTags->"S5.1.1"],
Cell[4088, 117, 265, 8, 70, "MathCaption",
  CellTags->{"S5.1.1", "1.5"}],

Cell[CellGroupData[{
Cell[4378, 129, 119, 2, 70, "Input",
  CellTags->"S5.1.1"],
Cell[4500, 133, 102, 3, 70, "Output",
  CellTags->"S5.1.1"]
}, Open  ]],
Cell[4617, 139, 356, 10, 70, "MathCaption",
  CellTags->{"S5.1.1", "1.6"}],

Cell[CellGroupData[{
Cell[4998, 153, 121, 2, 70, "Input",
  CellTags->"S5.1.1"],
Cell[5122, 157, 117, 3, 70, "Output",
  CellTags->"S5.1.1"]
}, Open  ]],
Cell[5254, 163, 344, 10, 70, "MathCaption",
  CellTags->{"S5.1.1", "1.7"}],

Cell[CellGroupData[{
Cell[5623, 177, 170, 6, 70, "Input",
  CellTags->"S5.1.1"],
Cell[5796, 185, 83, 3, 70, "Output",
  CellTags->"S5.1.1"]
}, Open  ]]
}
]
*)




(***********************************************************************
End of Mathematica Notebook file.
***********************************************************************)

