<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Union of two sets of solution</title>
    <link>http://www.mapleprimes.com/questions/131027-Union-Of-Two-Sets-Of-Solution</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Tue, 09 Jun 2026 10:28:03 GMT</lastBuildDate>
    <pubDate>Tue, 09 Jun 2026 10:28:03 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Union of two sets of solution</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Union of two sets of solution</title>
      <link>http://www.mapleprimes.com/questions/131027-Union-Of-Two-Sets-Of-Solution</link>
    </image>
    <item>
      <title>union</title>
      <link>http://www.mapleprimes.com/questions/131027-Union-Of-Two-Sets-Of-Solution?ref=Feed:MaplePrimes:Union of two sets of solution:Comments#answer131031</link>
      <itunes:summary>&lt;pre&gt;s1 := solve(x^2+ 3*x + 2 &amp;gt;0, {x});&lt;br&gt;                   &lt;br&gt;s2 := solve(x^2 - 9&amp;gt;=0, {x});&lt;br&gt;                &lt;br&gt;s3 := s1 union s2;&lt;/pre&gt;</itunes:summary>
      <description>&lt;pre&gt;s1 := solve(x^2+ 3*x + 2 &amp;gt;0, {x});&lt;br&gt;                   &lt;br&gt;s2 := solve(x^2 - 9&amp;gt;=0, {x});&lt;br&gt;                &lt;br&gt;s3 := s1 union s2;&lt;/pre&gt;</description>
      <guid>131031</guid>
      <pubDate>Wed, 22 Feb 2012 20:06:48 Z</pubDate>
      <itunes:author>Torre</itunes:author>
      <author>Torre</author>
    </item>
    <item>
      <title>By disjunction</title>
      <link>http://www.mapleprimes.com/questions/131027-Union-Of-Two-Sets-Of-Solution?ref=Feed:MaplePrimes:Union of two sets of solution:Comments#answer131033</link>
      <itunes:summary>&lt;p&gt;Because S1 union S2:= {x in &lt;strong&gt;R&lt;/strong&gt; : x belongs to S1 or x belongs to S2}= {x: &lt;span class="mainBody document"&gt;&amp;nbsp;x^2+ 3*x + 2 &amp;gt;0&lt;/span&gt; or &lt;span class="mainBody document"&gt;x^2 - 9&amp;gt;=0&lt;/span&gt; },&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; we have&lt;/p&gt;
&lt;p&gt;&amp;gt; restart; S := solve(x^2+3*x+2 &amp;gt; 0 or x^2-9 &amp;gt;= 0, {x});#union&lt;/p&gt;
&lt;p&gt;&amp;nbsp; {x &amp;lt; -2}, {-1 &amp;lt; x}&lt;/p&gt;
&lt;p&gt;&amp;gt; `union`(S[1], S[2]);&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {-1 &amp;lt; x, x &amp;lt; -2}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;gt; T := solve(x^2+3*x+2 &amp;gt; 0 and x^2-9 &amp;gt;= 0, {x});#intersection&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZoAAAARCAIAAABrZP2bAAAB9klEQVR4nO2bIa4CMRCG92AcAMkxECsQSJKVFYgeAYFEcAQkEsEREEgkAtEnXt7LprTDtNvtJuT71LJpp/80mT/dljYOAOAraKYWAABQBuwMAL4Eyc6stavV6na7VVOjxxizXq9fr5ey/YS5pEoFgDyidna9XheLRakibJr8ZWDzh/feWns8HjURgrnEwmr0pHbRSwWAbKKVud/vu64rMECWZfS7B5+dc6fTSanwPRchrCwmLxe9VADIJlqcu91uSAVmr33kmP2feo+Qc/kocngu2BlABRLsrF/VQnmPYWQuZDpF7EzWmZSLMD/YGUAFooVqrd1ut4EO1Y0sNuj5fF4ul5ruNXMZKBUAsgmX6+FwmM/nz+cz0EH3aZagIESspfembVtjzOPxEOILucTCetpE+dpoGqkAMISonc1mszw7+2829t6Zc26z2XRd99HOYrnEwr43SPrkDL7XSAWAIUgfm8YYv/XfxpA2elFT8+JcLpe2bTUdg7nEwgrNPuYSmx+9VADIJu0owHtIGKaEo3lBqp1sKtsL88NRAEAFtHbWX5iMtN8fRNhQ63uELEk4pS24chTmBzsDqEDJv9EGN/XH2ET7xfMIYYjJc8HOACpQ6ZLTGPRvDskWM3kuXHICqMDnK+j3+72aGj15V9AnyYUr6AB1+AF4eCXj2hfpBQAAAABJRU5ErkJggg==" alt=""&gt;&amp;nbsp; &lt;br&gt;&amp;gt; `union`(T[1], T[2]);&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZoAAAARCAIAAABrZP2bAAABsElEQVR4nO3bIZLCMBTG8R6MAyA5BqICgWSmMgKRIyCQCI6ARCI4AgKJRCC6aruFbZL30rQE5v9TDPOSlzKTb0KhRQ0AX6F49wIAIA3iDMCX8MWZtXaxWFwul9FW8ymMMcvl8vF4vHshAP444+x8Ps9ms5cdW/xSt9EPSahPd9clW2v3+32/dQFIybnPt9ttVVVPpa0tLQ+IuPhLpWd3zyUfDoeXzwfAezm3+maz8WzXYEZEn+OSGKI7cQZkLibO/DGhipJ2sX+UsHKgGP0/IXEG5Ma57a216/W6Y8AAUaKNv7Td45oej8f5fJ68F4Bo3Zt/t9tNp9P7/e4cFjpG6RahuRMXLFB1L7oIW5dlaYy53W7ydgCG44yzyWQSF2dNgerMJSmTV45w76yu69VqVVUVcQZkwvdl0xjjHJYuVprbYZLZ5K2F3eVe5jmdTmVZJpkZQBJD/bIprG/elxz34lrHDQlOwk8BQG4UcRa8u6Tu3Zqqed05f2flCDyXTJwBuVH8jTY8l5dqHlXftN2FiDMgN7qHnEYw2smrJx5yAnITfgT9er2OtppPwSPoQIZ+ADg3cL9JhEWVAAAAAElFTkSuQmCC" alt=""&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Because S1 union S2:= {x in &lt;strong&gt;R&lt;/strong&gt; : x belongs to S1 or x belongs to S2}= {x: &lt;span class="mainBody document"&gt;&amp;nbsp;x^2+ 3*x + 2 &amp;gt;0&lt;/span&gt; or &lt;span class="mainBody document"&gt;x^2 - 9&amp;gt;=0&lt;/span&gt; },&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; we have&lt;/p&gt;
&lt;p&gt;&amp;gt; restart; S := solve(x^2+3*x+2 &amp;gt; 0 or x^2-9 &amp;gt;= 0, {x});#union&lt;/p&gt;
&lt;p&gt;&amp;nbsp; {x &amp;lt; -2}, {-1 &amp;lt; x}&lt;/p&gt;
&lt;p&gt;&amp;gt; `union`(S[1], S[2]);&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {-1 &amp;lt; x, x &amp;lt; -2}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;gt; T := solve(x^2+3*x+2 &amp;gt; 0 and x^2-9 &amp;gt;= 0, {x});#intersection&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZoAAAARCAIAAABrZP2bAAAB9klEQVR4nO2bIa4CMRCG92AcAMkxECsQSJKVFYgeAYFEcAQkEsEREEgkAtEnXt7LprTDtNvtJuT71LJpp/80mT/dljYOAOAraKYWAABQBuwMAL4Eyc6stavV6na7VVOjxxizXq9fr5ey/YS5pEoFgDyidna9XheLRakibJr8ZWDzh/feWns8HjURgrnEwmr0pHbRSwWAbKKVud/vu64rMECWZfS7B5+dc6fTSanwPRchrCwmLxe9VADIJlqcu91uSAVmr33kmP2feo+Qc/kocngu2BlABRLsrF/VQnmPYWQuZDpF7EzWmZSLMD/YGUAFooVqrd1ut4EO1Y0sNuj5fF4ul5ruNXMZKBUAsgmX6+FwmM/nz+cz0EH3aZagIESspfembVtjzOPxEOILucTCetpE+dpoGqkAMISonc1mszw7+2829t6Zc26z2XRd99HOYrnEwr43SPrkDL7XSAWAIUgfm8YYv/XfxpA2elFT8+JcLpe2bTUdg7nEwgrNPuYSmx+9VADIJu0owHtIGKaEo3lBqp1sKtsL88NRAEAFtHbWX5iMtN8fRNhQ63uELEk4pS24chTmBzsDqEDJv9EGN/XH2ET7xfMIYYjJc8HOACpQ6ZLTGPRvDskWM3kuXHICqMDnK+j3+72aGj15V9AnyYUr6AB1+AF4eCXj2hfpBQAAAABJRU5ErkJggg==" alt=""&gt;&amp;nbsp; &lt;br&gt;&amp;gt; `union`(T[1], T[2]);&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZoAAAARCAIAAABrZP2bAAABsElEQVR4nO3bIZLCMBTG8R6MAyA5BqICgWSmMgKRIyCQCI6ARCI4AgKJRCC6aruFbZL30rQE5v9TDPOSlzKTb0KhRQ0AX6F49wIAIA3iDMCX8MWZtXaxWFwul9FW8ymMMcvl8vF4vHshAP444+x8Ps9ms5cdW/xSt9EPSahPd9clW2v3+32/dQFIybnPt9ttVVVPpa0tLQ+IuPhLpWd3zyUfDoeXzwfAezm3+maz8WzXYEZEn+OSGKI7cQZkLibO/DGhipJ2sX+UsHKgGP0/IXEG5Ma57a216/W6Y8AAUaKNv7Td45oej8f5fJ68F4Bo3Zt/t9tNp9P7/e4cFjpG6RahuRMXLFB1L7oIW5dlaYy53W7ydgCG44yzyWQSF2dNgerMJSmTV45w76yu69VqVVUVcQZkwvdl0xjjHJYuVprbYZLZ5K2F3eVe5jmdTmVZJpkZQBJD/bIprG/elxz34lrHDQlOwk8BQG4UcRa8u6Tu3Zqqed05f2flCDyXTJwBuVH8jTY8l5dqHlXftN2FiDMgN7qHnEYw2smrJx5yAnITfgT9er2OtppPwSPoQIZ+ADg3cL9JhEWVAAAAAElFTkSuQmCC" alt=""&gt;&lt;/p&gt;</description>
      <guid>131033</guid>
      <pubDate>Wed, 22 Feb 2012 20:09:39 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
    <item>
      <title>dubious</title>
      <link>http://www.mapleprimes.com/questions/131027-Union-Of-Two-Sets-Of-Solution?ref=Feed:MaplePrimes:Union of two sets of solution:Comments#answer131054</link>
      <itunes:summary>&lt;pre&gt;Whatever it is that "union" does in&lt;br&gt;&lt;br&gt;s1 := solve(x^2+ 3*x + 2 &amp;gt;0, {x});&lt;br&gt;&lt;br&gt;s2 := solve(x^2 - 9&amp;gt;=0, {x});&lt;br&gt;&lt;br&gt;s3 := s1 union s2;&lt;br&gt;&lt;br&gt;is dubious. If you replace "union" with "intersection" then Maple's answer is {}&lt;br&gt;&lt;br&gt;But the intersections of the solutions sets to the two inequalities is non-empty:&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;solve({x^2+ 3*x + 2 &amp;gt;0,x^2 - 9&amp;gt;=0});&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;{x &amp;lt;= -3}, {3 &amp;lt;= x}&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt; So I don't think union and intersection are doing anything meaningful in this context.  &lt;/pre&gt;</itunes:summary>
      <description>&lt;pre&gt;Whatever it is that "union" does in&lt;br&gt;&lt;br&gt;s1 := solve(x^2+ 3*x + 2 &amp;gt;0, {x});&lt;br&gt;&lt;br&gt;s2 := solve(x^2 - 9&amp;gt;=0, {x});&lt;br&gt;&lt;br&gt;s3 := s1 union s2;&lt;br&gt;&lt;br&gt;is dubious. If you replace "union" with "intersection" then Maple's answer is {}&lt;br&gt;&lt;br&gt;But the intersections of the solutions sets to the two inequalities is non-empty:&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;solve({x^2+ 3*x + 2 &amp;gt;0,x^2 - 9&amp;gt;=0});&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;{x &amp;lt;= -3}, {3 &amp;lt;= x}&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt; So I don't think union and intersection are doing anything meaningful in this context.  &lt;/pre&gt;</description>
      <guid>131054</guid>
      <pubDate>Thu, 23 Feb 2012 00:59:42 Z</pubDate>
      <itunes:author>Alex Smith</itunes:author>
      <author>Alex Smith</author>
    </item>
    <item>
      <title>Question is correct</title>
      <link>http://www.mapleprimes.com/questions/131027-Union-Of-Two-Sets-Of-Solution?ref=Feed:MaplePrimes:Union of two sets of solution:Comments#answer131056</link>
      <itunes:summary>&lt;p&gt;As far as I understand it, the question is correct: to find the union of the two sets, which are subsets of &lt;strong&gt;R&lt;/strong&gt; and are formed by the solutions of the given inequalities, with Maple.&lt;/p&gt;
&lt;p&gt;PS. The s1 and s2 are not sets, these are expressions, which describe the sets of the solutions:&lt;/p&gt;
&lt;p&gt;&amp;gt; whattype(s1);&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exprseq&lt;/p&gt;
&lt;p&gt;The s1 union s2 command produces the union of these expressions, not the union of the sets and the s1 intersect s2 command produces the intersection of these expressions.&lt;/p&gt;
&lt;p&gt;PPS. &amp;gt; whattype({x &amp;lt; -2});&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set&lt;br&gt;&amp;gt; whattype({-1 &amp;lt; x, x &amp;lt; -2});&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;As far as I understand it, the question is correct: to find the union of the two sets, which are subsets of &lt;strong&gt;R&lt;/strong&gt; and are formed by the solutions of the given inequalities, with Maple.&lt;/p&gt;
&lt;p&gt;PS. The s1 and s2 are not sets, these are expressions, which describe the sets of the solutions:&lt;/p&gt;
&lt;p&gt;&amp;gt; whattype(s1);&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exprseq&lt;/p&gt;
&lt;p&gt;The s1 union s2 command produces the union of these expressions, not the union of the sets and the s1 intersect s2 command produces the intersection of these expressions.&lt;/p&gt;
&lt;p&gt;PPS. &amp;gt; whattype({x &amp;lt; -2});&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set&lt;br&gt;&amp;gt; whattype({-1 &amp;lt; x, x &amp;lt; -2});&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;</description>
      <guid>131056</guid>
      <pubDate>Thu, 23 Feb 2012 01:21:47 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
    <item>
      <title>correct</title>
      <link>http://www.mapleprimes.com/questions/131027-Union-Of-Two-Sets-Of-Solution?ref=Feed:MaplePrimes:Union of two sets of solution:Comments#answer131060</link>
      <itunes:summary>&lt;p&gt;Yes, I agree. Your solution is correct. I was referring to the solution in the post titled &lt;span style="text-decoration: underline;"&gt;union&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;And pointing out that s1 is a expseq and not a set perfectly explains why using union/intersection in this context is dubious. One might expect that in this context, these operations will produce unions/intersections of solution sets. But they don't.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Yes, I agree. Your solution is correct. I was referring to the solution in the post titled &lt;span style="text-decoration: underline;"&gt;union&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;And pointing out that s1 is a expseq and not a set perfectly explains why using union/intersection in this context is dubious. One might expect that in this context, these operations will produce unions/intersections of solution sets. But they don't.&lt;/p&gt;</description>
      <guid>131060</guid>
      <pubDate>Thu, 23 Feb 2012 02:49:40 Z</pubDate>
      <itunes:author>Alex Smith</itunes:author>
      <author>Alex Smith</author>
    </item>
    <item>
      <title>sets</title>
      <link>http://www.mapleprimes.com/questions/131027-Union-Of-Two-Sets-Of-Solution?ref=Feed:MaplePrimes:Union of two sets of solution:Comments#answer131070</link>
      <itunes:summary>&lt;p&gt;Maple sets (and their operations) are "computational", rather than "mathematical". Actually, Maple misses a good representation of sets and their algebra (in particular "abstract" sets in terms of predicates), though it has several mediocre representations for some kind of sets like intervals. And which one &lt;strong&gt;solve&lt;/strong&gt; uses in its output depends on the form of the variable argument. In particular, for a &lt;strong&gt;name&lt;/strong&gt; it uses the property representation, where intervals are represented by &lt;strong&gt;RealRange&lt;/strong&gt; function calls. This is something weird in my opinion, but it has the advantage that implemented operations are more mathematical. E.g. the representation of intersection of intervals is &lt;strong&gt;AndProp&lt;/strong&gt;, and using it the following workaround could be tried for intersecting the different solution intervals and combining the results:&lt;/p&gt;
&lt;pre&gt;s1 := solve(x^2+ 3*x + 2 &amp;gt;0, x);                 
      s1 := RealRange(-infinity, Open(-2)), RealRange(Open(-1), infinity)
s2 := solve(x^2 - 9&amp;gt;=0, x);
             s2 := RealRange(-infinity, -3), RealRange(3, infinity)
(AndProp@op)~({seq(seq([s1[i],s2[j]],i=1..2),j=1..2)});
         {BottomProp, RealRange(3, infinity), RealRange(-infinity, -3)}
&lt;/pre&gt;
&lt;p&gt;Here, &lt;strong&gt;BottomProp&lt;/strong&gt; is the property equivalent of the empty set.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Maple sets (and their operations) are "computational", rather than "mathematical". Actually, Maple misses a good representation of sets and their algebra (in particular "abstract" sets in terms of predicates), though it has several mediocre representations for some kind of sets like intervals. And which one &lt;strong&gt;solve&lt;/strong&gt; uses in its output depends on the form of the variable argument. In particular, for a &lt;strong&gt;name&lt;/strong&gt; it uses the property representation, where intervals are represented by &lt;strong&gt;RealRange&lt;/strong&gt; function calls. This is something weird in my opinion, but it has the advantage that implemented operations are more mathematical. E.g. the representation of intersection of intervals is &lt;strong&gt;AndProp&lt;/strong&gt;, and using it the following workaround could be tried for intersecting the different solution intervals and combining the results:&lt;/p&gt;
&lt;pre&gt;s1 := solve(x^2+ 3*x + 2 &amp;gt;0, x);                 
      s1 := RealRange(-infinity, Open(-2)), RealRange(Open(-1), infinity)
s2 := solve(x^2 - 9&amp;gt;=0, x);
             s2 := RealRange(-infinity, -3), RealRange(3, infinity)
(AndProp@op)~({seq(seq([s1[i],s2[j]],i=1..2),j=1..2)});
         {BottomProp, RealRange(3, infinity), RealRange(-infinity, -3)}
&lt;/pre&gt;
&lt;p&gt;Here, &lt;strong&gt;BottomProp&lt;/strong&gt; is the property equivalent of the empty set.&lt;/p&gt;</description>
      <guid>131070</guid>
      <pubDate>Thu, 23 Feb 2012 09:41:44 Z</pubDate>
      <itunes:author>Alejandro Jakubi</itunes:author>
      <author>Alejandro Jakubi</author>
    </item>
  </channel>
</rss>