<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - Newest Questions and Posts</title>
    <link>http://www.mapleprimes.com</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Thu, 06 Aug 2026 11:44:53 GMT</lastBuildDate>
    <pubDate>Thu, 06 Aug 2026 11:44:53 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest questions and posts added to MaplePrimes</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - Newest Questions and Posts</title>
      <link>http://www.mapleprimes.com</link>
    </image>
    <item>
      <title>How make bealtiful figures?</title>
      <link>http://www.mapleprimes.com/questions/243719-How-Make-Bealtiful-Figures?ref=Feed:MaplePrimes:New%20Questions%20&amp;amp;%20Posts</link>
      <itunes:summary>&lt;p&gt;How do I vectorize a Maple graph&amp;mdash;that is, export it in PDF quality&amp;mdash;and add X and Y axis labels along with annotations?&lt;/p&gt;

&lt;p&gt;By &amp;quot;annotations,&amp;quot; I mean something like &amp;quot;green curve = 39T&amp;quot; written directly on the figure.&lt;/p&gt;

&lt;p&gt;I need a more complete comand. After the comand, eu can ajust how I liked.&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;How do I vectorize a Maple graph&amp;mdash;that is, export it in PDF quality&amp;mdash;and add X and Y axis labels along with annotations?&lt;/p&gt;

&lt;p&gt;By &amp;quot;annotations,&amp;quot; I mean something like &amp;quot;green curve = 39T&amp;quot; written directly on the figure.&lt;/p&gt;

&lt;p&gt;I need a more complete comand. After the comand, eu can ajust how I liked.&lt;/p&gt;
</description>
      <guid>243719</guid>
      <pubDate>Wed, 05 Aug 2026 18:33:15 Z</pubDate>
      <itunes:author>Gabriel Barcellos</itunes:author>
      <author>Gabriel Barcellos</author>
    </item>
    <item>
      <title>How to assign parameters to names?</title>
      <link>http://www.mapleprimes.com/questions/243717-How-To-Assign-Parameters-To-Names?ref=Feed:MaplePrimes:New%20Questions%20&amp;amp;%20Posts</link>
      <itunes:summary>&lt;p&gt;Given is a list of equations where the lhs is a name and the rhs an expression (i.e. list(name=algebraic).&lt;/p&gt;

&lt;p&gt;I want to passt that list to a procedure and then assign locally the names to the values on the rhs. Similar to passing options in Maple commands (e.g. plot option numpoints=n).&lt;/p&gt;

&lt;p&gt;The below, the example throws an error&lt;/p&gt;

&lt;pre class="prettyprint"&gt;
restart;
foo := proc(params) 
local names; 
names := lhs~(params)[]; 
#local op(names);
print([names]):
assign(params); 
print(b, c, d); end proc;

foo([b = 2, c = 3, d = 4]);
foo([b = 2, c = 3, d = 4]); #  error because the assignement was done to global names&lt;/pre&gt;

&lt;p&gt;How to fix that and/or avoid assignements to global names&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;Given is a list of equations where the lhs is a name and the rhs an expression (i.e. list(name=algebraic).&lt;/p&gt;

&lt;p&gt;I want to passt that list to a procedure and then assign locally the names to the values on the rhs. Similar to passing options in Maple commands (e.g. plot option numpoints=n).&lt;/p&gt;

&lt;p&gt;The below, the example throws an error&lt;/p&gt;

&lt;pre class="prettyprint"&gt;
restart;
foo := proc(params) 
local names; 
names := lhs~(params)[]; 
#local op(names);
print([names]):
assign(params); 
print(b, c, d); end proc;

foo([b = 2, c = 3, d = 4]);
foo([b = 2, c = 3, d = 4]); #  error because the assignement was done to global names&lt;/pre&gt;

&lt;p&gt;How to fix that and/or avoid assignements to global names&lt;/p&gt;
</description>
      <guid>243717</guid>
      <pubDate>Wed, 05 Aug 2026 11:36:09 Z</pubDate>
      <itunes:author>C_R</itunes:author>
      <author>C_R</author>
    </item>
    <item>
      <title>Remove common factor from Matrix</title>
      <link>http://www.mapleprimes.com/questions/243716-Remove-Common-Factor-From-Matrix?ref=Feed:MaplePrimes:New%20Questions%20&amp;amp;%20Posts</link>
      <itunes:summary>&lt;p&gt;This the part of a procedure I have for removing common factors from matrices and vectors used in a projective geometry setting.&lt;br&gt;
How can a get it to work so it handles polynomial denominators? Such as&amp;nbsp;&lt;/p&gt;

&lt;pre class="prettyprint"&gt;
x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2&lt;/pre&gt;

&lt;form name="worksheet_form"&gt;&lt;input name="md.ref" type="hidden" value="95A515DB41CAA92FF8E0505894D9D622"&gt;
&lt;table align="center" width="768"&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
			&lt;td&gt;
			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;restart&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;ReduceM:= proc(C::{Matrix, :-_ProjM3})&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;local i, tgdc, dnm, V1, Ml, SV1, ns, M, r;&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;option overload;&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;if C::&amp;#39;Matrix&amp;#39; then&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;M := LinearAlgebra:-Copy(C);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;elif C::{&amp;#39;:-_ProjM3&amp;#39;} then&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;M := LinearAlgebra:-Copy(C[1]);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;end if;&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;V1 := convert(M, list);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;SV1 := convert(M, set) minus {0};&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;ns := nops(SV1);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;dnm := frontend(lcm, [seq(denom(SV1[i]), i = 1 .. ns)]);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;Ml := simplify(dnm *~ M);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;V1 := convert(Ml, list);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;tgdc := SV1[1];&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;if tgdc = 0 then&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;tgdc := 1;&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;end if;&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;for i from 2 to ns do&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;tgdc := frontend(gcd, [tgdc, SV1[i]]);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;end do;&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;r := `if`(C::&amp;#39;Matrix&amp;#39;, simplify(factor~(Ml /~ tgdc)),&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;lt;[simplify(factor~(Ml /~ tgdc))]&amp;gt;);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;return r;&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end proc:&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;A:=Matrix(3, 3, [[(x__2 - x__1)*(-y__2 + y__3) + (-y__1 + y__2)*(-x__3 + x__2), (x__2 - x__1)*(-y__1 + y__3) + (-y__1 + y__2)*(-x__3 + x__1), (x__2 - x__1)*(-y__1 + y__2) + (-y__1 + y__2)*(-x__2 + x__1)], [(x__3 - x__1)*(-y__2 + y__3) + (-y__1 + y__3)*(-x__3 + x__2), (x__3 - x__1)*(-y__1 + y__3) + (-y__1 + y__3)*(-x__3 + x__1), (x__3 - x__1)*(-y__1 + y__2) + (-y__1 + y__3)*(-x__2 + x__1)], [x__1*(-y__2 + y__3) + y__1*(-x__3 + x__2) - x__2*y__3 + x__3*y__2, (-y__1 + y__3)*x__1 + y__1*(-x__3 + x__1) - x__1*y__3 + x__3*y__1, (-y__1 + y__2)*x__1 + y__1*(-x__2 + x__1) - x__1*y__2 + x__2*y__1]])&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="Matrix(3, 3, {(1, 1) = (x__2-x__1)*(-y__2+y__3)+(-y__1+y__2)*(-x__3+x__2), (1, 2) = (x__2-x__1)*(-y__1+y__3)+(-y__1+y__2)*(-x__3+x__1), (1, 3) = (x__2-x__1)*(-y__1+y__2)+(-y__1+y__2)*(-x__2+x__1), (2, 1) = (x__3-x__1)*(-y__2+y__3)+(-y__1+y__3)*(-x__3+x__2), (2, 2) = (x__3-x__1)*(-y__1+y__3)+(-y__1+y__3)*(-x__3+x__1), (2, 3) = (x__3-x__1)*(-y__1+y__2)+(-y__1+y__3)*(-x__2+x__1), (3, 1) = x__1*(-y__2+y__3)+y__1*(-x__3+x__2)-x__2*y__3+x__3*y__2, (3, 2) = (-y__1+y__3)*x__1+y__1*(-x__3+x__1)-x__1*y__3+x__3*y__1, (3, 3) = (-y__1+y__2)*x__1+y__1*(-x__2+x__1)-x__1*y__2+x__2*y__1})" height="23" src="/view.aspx?sf=243716_question/992973a957f856ab1dc252d6e53191c0.gif" style="vertical-align:-6px" width="61"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(1)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;ReduceM(A)&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="Matrix(3, 3, {(1, 1) = 1, (1, 2) = 1, (1, 3) = 0, (2, 1) = 1, (2, 2) = 0, (2, 3) = -1, (3, 1) = -1, (3, 2) = 0, (3, 3) = 0})" height="23" src="/view.aspx?sf=243716_question/d8a22a571496d18ddc3be0cfc38c072f.gif" style="vertical-align:-6px" width="26"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(2)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;B:=Matrix(3, 3, [[-(y__1 - y__3)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2) + (y__1 - y__2)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2), -(y__1 - y__3)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2), -(y__1 - y__2)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2)], [(-x__3 + x__1)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2) - (-x__2 + x__1)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2), (-x__3 + x__1)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2), (-x__2 + x__1)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2)], [-(x__1*y__3 - x__3*y__1)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2) + (x__1*y__2 - x__2*y__1)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2) - 1, -(x__1*y__3 - x__3*y__1)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2), -(x__1*y__2 - x__2*y__1)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2)]])&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="Matrix(3, 3, {(1, 1) = -(y__1-y__3)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)+(y__1-y__2)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2), (1, 2) = -(y__1-y__3)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2), (1, 3) = -(y__1-y__2)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2), (2, 1) = (-x__3+x__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)-(-x__2+x__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2), (2, 2) = (-x__3+x__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2), (2, 3) = (-x__2+x__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2), (3, 1) = -(x__1*y__3-x__3*y__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)+(x__1*y__2-x__2*y__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)-1, (3, 2) = -(x__1*y__3-x__3*y__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2), (3, 3) = -(x__1*y__2-x__2*y__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)})" height="23" src="/view.aspx?sf=243716_question/583a9cb470c175395cebe28f6b1d20dc.gif" style="vertical-align:-6px" width="61"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(3)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;ReduceM(B)&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;a href="http://www.maplesoft.com/support/help/errors/view.aspx?path=Error,%20(in%20gcd%2FFreeze)%20arguments%20should%20be%20polynomials"&gt;&lt;span style="color:#ab29cc;font-size: 100%;font-family: monospace,monospace;font-weight:normal;font-style:normal;"&gt;&lt;u&gt;Error, (in gcd/Freeze) arguments should be polynomials&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;&amp;nbsp;&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;B*denom(B[1,1])&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="Matrix(3, 3, {(1, 1) = (x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)*(-(y__1-y__3)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)+(y__1-y__2)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)), (1, 2) = -y__1+y__3, (1, 3) = -y__1+y__2, (2, 1) = (x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)*((-x__3+x__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)-(-x__2+x__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)), (2, 2) = -x__3+x__1, (2, 3) = -x__2+x__1, (3, 1) = (x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)*(-(x__1*y__3-x__3*y__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)+(x__1*y__2-x__2*y__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)-1), (3, 2) = -x__1*y__3+x__3*y__1, (3, 3) = -x__1*y__2+x__2*y__1})" height="23" src="/view.aspx?sf=243716_question/7ecee1f066f16b8b24b3f6c9d1b292a4.gif" style="vertical-align:-6px" width="26"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(4)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;simplify( &lt;/span&gt;&lt;span style="color:#000000; font-weight:bold; font-style:normal;"&gt;(4)&lt;/span&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;nbsp;);&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="Matrix(3, 3, {(1, 1) = -y__2+y__3, (1, 2) = -y__1+y__3, (1, 3) = -y__1+y__2, (2, 1) = -x__3+x__2, (2, 2) = -x__3+x__1, (2, 3) = -x__2+x__1, (3, 1) = -x__2*y__3+x__3*y__2, (3, 2) = -x__1*y__3+x__3*y__1, (3, 3) = -x__1*y__2+x__2*y__1})" height="23" src="/view.aspx?sf=243716_question/10d7d689ae6780f46fca296354de239a.gif" style="vertical-align:-6px" width="26"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(5)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&amp;nbsp;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;input name="sequence" type="hidden" value="1"&gt; &lt;input name="cmd" type="hidden" value="none"&gt;&lt;/form&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=243716_question/2026-08-03_Q_Remove_Common_Factors_from_Matrix.mw"&gt;Download 2026-08-03_Q_Remove_Common_Factors_from_Matrix.mw&lt;/a&gt;&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;This the part of a procedure I have for removing common factors from matrices and vectors used in a projective geometry setting.&lt;br&gt;
How can a get it to work so it handles polynomial denominators? Such as&amp;nbsp;&lt;/p&gt;

&lt;pre class="prettyprint"&gt;
x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2&lt;/pre&gt;

&lt;form name="worksheet_form"&gt;&lt;input name="md.ref" type="hidden" value="95A515DB41CAA92FF8E0505894D9D622"&gt;
&lt;table align="center" width="768"&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
			&lt;td&gt;
			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;restart&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;ReduceM:= proc(C::{Matrix, :-_ProjM3})&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;local i, tgdc, dnm, V1, Ml, SV1, ns, M, r;&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;option overload;&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;if C::&amp;#39;Matrix&amp;#39; then&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;M := LinearAlgebra:-Copy(C);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;elif C::{&amp;#39;:-_ProjM3&amp;#39;} then&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;M := LinearAlgebra:-Copy(C[1]);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;end if;&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;V1 := convert(M, list);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;SV1 := convert(M, set) minus {0};&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;ns := nops(SV1);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;dnm := frontend(lcm, [seq(denom(SV1[i]), i = 1 .. ns)]);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;Ml := simplify(dnm *~ M);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;V1 := convert(Ml, list);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;tgdc := SV1[1];&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;if tgdc = 0 then&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;tgdc := 1;&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;end if;&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;for i from 2 to ns do&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;tgdc := frontend(gcd, [tgdc, SV1[i]]);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;end do;&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;r := `if`(C::&amp;#39;Matrix&amp;#39;, simplify(factor~(Ml /~ tgdc)),&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;lt;[simplify(factor~(Ml /~ tgdc))]&amp;gt;);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&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;return r;&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end proc:&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;A:=Matrix(3, 3, [[(x__2 - x__1)*(-y__2 + y__3) + (-y__1 + y__2)*(-x__3 + x__2), (x__2 - x__1)*(-y__1 + y__3) + (-y__1 + y__2)*(-x__3 + x__1), (x__2 - x__1)*(-y__1 + y__2) + (-y__1 + y__2)*(-x__2 + x__1)], [(x__3 - x__1)*(-y__2 + y__3) + (-y__1 + y__3)*(-x__3 + x__2), (x__3 - x__1)*(-y__1 + y__3) + (-y__1 + y__3)*(-x__3 + x__1), (x__3 - x__1)*(-y__1 + y__2) + (-y__1 + y__3)*(-x__2 + x__1)], [x__1*(-y__2 + y__3) + y__1*(-x__3 + x__2) - x__2*y__3 + x__3*y__2, (-y__1 + y__3)*x__1 + y__1*(-x__3 + x__1) - x__1*y__3 + x__3*y__1, (-y__1 + y__2)*x__1 + y__1*(-x__2 + x__1) - x__1*y__2 + x__2*y__1]])&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="Matrix(3, 3, {(1, 1) = (x__2-x__1)*(-y__2+y__3)+(-y__1+y__2)*(-x__3+x__2), (1, 2) = (x__2-x__1)*(-y__1+y__3)+(-y__1+y__2)*(-x__3+x__1), (1, 3) = (x__2-x__1)*(-y__1+y__2)+(-y__1+y__2)*(-x__2+x__1), (2, 1) = (x__3-x__1)*(-y__2+y__3)+(-y__1+y__3)*(-x__3+x__2), (2, 2) = (x__3-x__1)*(-y__1+y__3)+(-y__1+y__3)*(-x__3+x__1), (2, 3) = (x__3-x__1)*(-y__1+y__2)+(-y__1+y__3)*(-x__2+x__1), (3, 1) = x__1*(-y__2+y__3)+y__1*(-x__3+x__2)-x__2*y__3+x__3*y__2, (3, 2) = (-y__1+y__3)*x__1+y__1*(-x__3+x__1)-x__1*y__3+x__3*y__1, (3, 3) = (-y__1+y__2)*x__1+y__1*(-x__2+x__1)-x__1*y__2+x__2*y__1})" height="23" src="/view.aspx?sf=243716_question/992973a957f856ab1dc252d6e53191c0.gif" style="vertical-align:-6px" width="61"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(1)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;ReduceM(A)&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="Matrix(3, 3, {(1, 1) = 1, (1, 2) = 1, (1, 3) = 0, (2, 1) = 1, (2, 2) = 0, (2, 3) = -1, (3, 1) = -1, (3, 2) = 0, (3, 3) = 0})" height="23" src="/view.aspx?sf=243716_question/d8a22a571496d18ddc3be0cfc38c072f.gif" style="vertical-align:-6px" width="26"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(2)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;B:=Matrix(3, 3, [[-(y__1 - y__3)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2) + (y__1 - y__2)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2), -(y__1 - y__3)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2), -(y__1 - y__2)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2)], [(-x__3 + x__1)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2) - (-x__2 + x__1)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2), (-x__3 + x__1)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2), (-x__2 + x__1)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2)], [-(x__1*y__3 - x__3*y__1)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2) + (x__1*y__2 - x__2*y__1)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2) - 1, -(x__1*y__3 - x__3*y__1)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2), -(x__1*y__2 - x__2*y__1)/(x__1*y__2 - x__1*y__3 - x__2*y__1 + x__2*y__3 + x__3*y__1 - x__3*y__2)]])&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="Matrix(3, 3, {(1, 1) = -(y__1-y__3)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)+(y__1-y__2)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2), (1, 2) = -(y__1-y__3)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2), (1, 3) = -(y__1-y__2)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2), (2, 1) = (-x__3+x__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)-(-x__2+x__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2), (2, 2) = (-x__3+x__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2), (2, 3) = (-x__2+x__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2), (3, 1) = -(x__1*y__3-x__3*y__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)+(x__1*y__2-x__2*y__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)-1, (3, 2) = -(x__1*y__3-x__3*y__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2), (3, 3) = -(x__1*y__2-x__2*y__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)})" height="23" src="/view.aspx?sf=243716_question/583a9cb470c175395cebe28f6b1d20dc.gif" style="vertical-align:-6px" width="61"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(3)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;ReduceM(B)&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;a href="http://www.maplesoft.com/support/help/errors/view.aspx?path=Error,%20(in%20gcd%2FFreeze)%20arguments%20should%20be%20polynomials"&gt;&lt;span style="color:#ab29cc;font-size: 100%;font-family: monospace,monospace;font-weight:normal;font-style:normal;"&gt;&lt;u&gt;Error, (in gcd/Freeze) arguments should be polynomials&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;&amp;nbsp;&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;B*denom(B[1,1])&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="Matrix(3, 3, {(1, 1) = (x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)*(-(y__1-y__3)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)+(y__1-y__2)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)), (1, 2) = -y__1+y__3, (1, 3) = -y__1+y__2, (2, 1) = (x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)*((-x__3+x__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)-(-x__2+x__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)), (2, 2) = -x__3+x__1, (2, 3) = -x__2+x__1, (3, 1) = (x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)*(-(x__1*y__3-x__3*y__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)+(x__1*y__2-x__2*y__1)/(x__1*y__2-x__1*y__3-x__2*y__1+x__2*y__3+x__3*y__1-x__3*y__2)-1), (3, 2) = -x__1*y__3+x__3*y__1, (3, 3) = -x__1*y__2+x__2*y__1})" height="23" src="/view.aspx?sf=243716_question/7ecee1f066f16b8b24b3f6c9d1b292a4.gif" style="vertical-align:-6px" width="26"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(4)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;simplify( &lt;/span&gt;&lt;span style="color:#000000; font-weight:bold; font-style:normal;"&gt;(4)&lt;/span&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;nbsp;);&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="Matrix(3, 3, {(1, 1) = -y__2+y__3, (1, 2) = -y__1+y__3, (1, 3) = -y__1+y__2, (2, 1) = -x__3+x__2, (2, 2) = -x__3+x__1, (2, 3) = -x__2+x__1, (3, 1) = -x__2*y__3+x__3*y__2, (3, 2) = -x__1*y__3+x__3*y__1, (3, 3) = -x__1*y__2+x__2*y__1})" height="23" src="/view.aspx?sf=243716_question/10d7d689ae6780f46fca296354de239a.gif" style="vertical-align:-6px" width="26"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(5)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&amp;nbsp;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;input name="sequence" type="hidden" value="1"&gt; &lt;input name="cmd" type="hidden" value="none"&gt;&lt;/form&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=243716_question/2026-08-03_Q_Remove_Common_Factors_from_Matrix.mw"&gt;Download 2026-08-03_Q_Remove_Common_Factors_from_Matrix.mw&lt;/a&gt;&lt;/p&gt;
</description>
      <guid>243716</guid>
      <pubDate>Mon, 03 Aug 2026 21:44:07 Z</pubDate>
      <itunes:author>Ronan</itunes:author>
      <author>Ronan</author>
    </item>
    <item>
      <title>Permutation.             </title>
      <link>http://www.mapleprimes.com/questions/243715-Permutation-------------?ref=Feed:MaplePrimes:New%20Questions%20&amp;amp;%20Posts</link>
      <itunes:summary>&lt;p&gt;I have two lists. I would like to confirm that one is a permutation of the other. Which Maple procedure does this?&lt;br&gt;
&lt;br&gt;
Edit:&lt;br&gt;
So surprising answer is Maple has no builtin one command to establish the fact.&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;I have two lists. I would like to confirm that one is a permutation of the other. Which Maple procedure does this?&lt;br /&gt;
&lt;br /&gt;
Edit:&lt;br /&gt;
So surprising answer is Maple has no builtin one command to establish the fact.&lt;/p&gt;
</description>
      <guid>243715</guid>
      <pubDate>Mon, 03 Aug 2026 08:29:49 Z</pubDate>
      <itunes:author>Christian Wolinski</itunes:author>
      <author>Christian Wolinski</author>
    </item>
    <item>
      <title>Does GuessRecurrence require at least 7 terms in its input list?</title>
      <link>http://www.mapleprimes.com/questions/243714-Does-GuessRecurrence-Require-At-Least?ref=Feed:MaplePrimes:New%20Questions%20&amp;amp;%20Posts</link>
      <itunes:summary>&lt;p&gt;&lt;span style="font-size:11pt; font-variant:normal; white-space:pre-wrap"&gt;&lt;span style="font-family:Arial,sans-serif"&gt;&lt;span style="color:#000000"&gt;&lt;span style="font-weight:400"&gt;&lt;span style="font-style:normal"&gt;&lt;span style="text-decoration:none"&gt;Does GuessRecurrence require at least 7 terms in its input list?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src="/view.aspx?sf=243714_question/M2026_07.png"&gt;&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;&lt;span style="font-size:11pt; font-variant:normal; white-space:pre-wrap"&gt;&lt;span style="font-family:Arial,sans-serif"&gt;&lt;span style="color:#000000"&gt;&lt;span style="font-weight:400"&gt;&lt;span style="font-style:normal"&gt;&lt;span style="text-decoration:none"&gt;Does GuessRecurrence require at least 7 terms in its input list?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src="/view.aspx?sf=243714_question/M2026_07.png"&gt;&lt;/p&gt;
</description>
      <guid>243714</guid>
      <pubDate>Sun, 02 Aug 2026 04:32:42 Z</pubDate>
      <itunes:author>Geoff</itunes:author>
      <author>Geoff</author>
    </item>
    <item>
      <title>The Birthday Paradox</title>
      <link>http://www.mapleprimes.com/posts/235354-The-Birthday-Paradox?ref=Feed:MaplePrimes:New%20Questions%20&amp;amp;%20Posts</link>
      <itunes:summary>

&lt;p&gt;Imagine walking into a room full of strangers. At first, everyone seems completely unrelated, with different names, different lives, and different birthdays. As the room gets more crowded, we of course know that sharing similarities with the strangers in the room becomes more likely.&lt;/p&gt;

&lt;p&gt;But just how likely is it that, for example, two people in the room share a birthday?&lt;/p&gt;

&lt;p&gt;The Birthday Paradox asks, more specifically: &lt;em&gt;How many people must be in the room so that it is more likely than not that two people share a birthday?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Intuitively, we might imagine it must be well over 100 since there are 365 possible birthdays that each stranger can have. Probability, however, has a habit of ignoring our intuition.&lt;/p&gt;



&lt;p&gt;Suppose there are only two people in the room: you, and one stranger. You have your own birthday, so there is a 1/365&amp;nbsp;&amp;asymp; 0.27% chance that the stranger next to you shares your birthday. If we add a third person to the room, we must consider the probability that either of the two strangers share your birthday, or the two strangers share a birthday with each other. This overlap makes our calculations more difficult, and it will only get worse as we add more people.&lt;/p&gt;

&lt;p&gt;Instead, there&amp;#39;s a cleaner way to find the solution. Let&amp;#39;s find the probability P(n) that &lt;em&gt;no&lt;/em&gt; two people share a birthday, then subtract it from 1 to get the probability that two people &lt;em&gt;do&lt;/em&gt; share a birthday. Once P(n) &amp;lt; 0.5, then 1 - P(n) &amp;gt; 0.5, meaning at this value of n, there is a greater than 50% chance that two people in the room share a birthday.&lt;/p&gt;

&lt;p&gt;For the case of only two people, there is a 364/365 chance that the second person has a different birthday than the first person. If we introduce a third person, there are 363 unclaimed birthdays left in the year, so a 363/365 chance that the third person&amp;#39;s birthday falls on one of these days. Repeating this process for n people in the room, we get:&lt;/p&gt;

&lt;p&gt;&lt;img src="/view.aspx?sf=235354_post/birth3.png" width="40%/"&gt;&lt;/p&gt;

&lt;p&gt;If we keep increasing n, we see that the probability P(n) that two people don&amp;#39;t share a birthday decreases, meaning the probability 1 - P(n) that they &lt;em&gt;do&lt;/em&gt; share a birthday increases.&lt;/p&gt;

&lt;p&gt;Below are some values of 1 - P(n) I found using Maple Learn:&lt;/p&gt;

&lt;p&gt;&lt;img src="/view.aspx?sf=235354_post/birth2.png" width="20%/"&gt;&lt;/p&gt;

&lt;p&gt;Based on these calculations, we see that when 23 people are in the room, it is more likely than not that at least two people in the room share a birthday.&lt;/p&gt;



&lt;p&gt;Our question was very specific: we wanted to know what n needed to be in order for the probability of two people sharing a birthday to be &amp;gt; 50%. We found this number to be 23. But, we could extend this question to, say, the probability being 99.9%. This happens when there are 70 people in the room. Consider the animation below to see this visually, where the x-axis represents the number of people n, and the y-axis represents the probability that two people share a birthday, 1 - P(n):&lt;/p&gt;

&lt;p&gt;&lt;img src="/view.aspx?sf=235354_post/birth1-ezgif.com-video-to-gif-converter.gif" width="50%/"&gt;&lt;/p&gt;



&lt;p&gt;How many people must be in the room to &lt;em&gt;guarantee&lt;/em&gt; that two of them share a birthday? By the shape of the graph above, it may be tempting to think that it is impossible to guarantee this, since the probability seems to asymptotically approach 1. However, we must think through this logically.&lt;/p&gt;

&lt;p&gt;If 365 people were in the room, it is still possible that their birthdays would all fall on a different day (although it&amp;#39;s extremely unlikely). But if we have more people than we have available birthdays, we can say at least two people will share a birthday with 100% certainty. That is, P(n) = 0 when n &amp;gt; 365, so our formula for P(n) above is limited to values of n that are 365 or less. This is a basic principle in mathematics called the &amp;quot;pigeonhole principle&amp;quot;, which uses the analogy that if we have more pigeons than we have holes to put them in, then at least one of the holes must have at least two pigeons.&lt;/p&gt;

&lt;p&gt;These ideas can be conceptually confusing, but once you go through the mathematical arguments a few times, mentioning the Birthday Paradox in a conversation is a great way to show off your random math knowledge and confuse your peers!&lt;/p&gt;

&lt;p&gt;Attached is an interactive Maple worksheet from Maple&amp;#39;s Math Apps gallery if you&amp;#39;d like to investigate the Birthday Paradox further:&amp;nbsp;&lt;a href="/view.aspx?sf=235354_post/The_Birthday_Paradox.mw"&gt;The_Birthday_Paradox.mw&lt;/a&gt;. If you&amp;#39;re still interested in more info/applications, see &lt;a href="https://mapleprimes.com/maplesoftblog/95795-Birthday-Post"&gt;this Maple Primes post&lt;/a&gt;&amp;nbsp;by John May.&lt;/p&gt;
</itunes:summary>
      <description>&lt;h2&gt;&lt;u&gt;&lt;strong&gt;The Problem&lt;/strong&gt;&lt;/u&gt;&lt;/h2&gt;

&lt;p&gt;Imagine walking into a room full of strangers. At first, everyone seems completely unrelated, with different names, different lives, and different birthdays. As the room gets more crowded, we of course know that sharing similarities with the strangers in the room becomes more likely.&lt;/p&gt;

&lt;p&gt;But just how likely is it that, for example, two people in the room share a birthday?&lt;/p&gt;

&lt;p&gt;The Birthday Paradox asks, more specifically: &lt;em&gt;How many people must be in the room so that it is more likely than not that two people share a birthday?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Intuitively, we might imagine it must be well over 100 since there are 365 possible birthdays that each stranger can have. Probability, however, has a habit of ignoring our intuition.&lt;/p&gt;

&lt;h2&gt;&lt;b&gt;&lt;u&gt;Building the Math&lt;/u&gt;&lt;/b&gt;&lt;/h2&gt;

&lt;p&gt;Suppose there are only two people in the room: you, and one stranger. You have your own birthday, so there is a 1/365&amp;nbsp;&amp;asymp; 0.27% chance that the stranger next to you shares your birthday. If we add a third person to the room, we must consider the probability that either of the two strangers share your birthday, or the two strangers share a birthday with each other. This overlap makes our calculations more difficult, and it will only get worse as we add more people.&lt;/p&gt;

&lt;p&gt;Instead, there&amp;#39;s a cleaner way to find the solution. Let&amp;#39;s find the probability P(n) that &lt;em&gt;no&lt;/em&gt; two people share a birthday, then subtract it from 1 to get the probability that two people &lt;em&gt;do&lt;/em&gt; share a birthday. Once P(n) &amp;lt; 0.5, then 1 - P(n) &amp;gt; 0.5, meaning at this value of n, there is a greater than 50% chance that two people in the room share a birthday.&lt;/p&gt;

&lt;p&gt;For the case of only two people, there is a 364/365 chance that the second person has a different birthday than the first person. If we introduce a third person, there are 363 unclaimed birthdays left in the year, so a 363/365 chance that the third person&amp;#39;s birthday falls on one of these days. Repeating this process for n people in the room, we get:&lt;/p&gt;

&lt;p&gt;&lt;img src="/view.aspx?sf=235354_post/birth3.png" width="40%/"&gt;&lt;/p&gt;

&lt;p&gt;If we keep increasing n, we see that the probability P(n) that two people don&amp;#39;t share a birthday decreases, meaning the probability 1 - P(n) that they &lt;em&gt;do&lt;/em&gt; share a birthday increases.&lt;/p&gt;

&lt;p&gt;Below are some values of 1 - P(n) I found using Maple Learn:&lt;/p&gt;

&lt;p&gt;&lt;img src="/view.aspx?sf=235354_post/birth2.png" width="20%/"&gt;&lt;/p&gt;

&lt;p&gt;Based on these calculations, we see that when 23 people are in the room, it is more likely than not that at least two people in the room share a birthday.&lt;/p&gt;

&lt;h2&gt;&lt;u&gt;&lt;strong&gt;Extending the Problem&lt;/strong&gt;&lt;/u&gt;&lt;/h2&gt;

&lt;p&gt;Our question was very specific: we wanted to know what n needed to be in order for the probability of two people sharing a birthday to be &amp;gt; 50%. We found this number to be 23. But, we could extend this question to, say, the probability being 99.9%. This happens when there are 70 people in the room. Consider the animation below to see this visually, where the x-axis represents the number of people n, and the y-axis represents the probability that two people share a birthday, 1 - P(n):&lt;/p&gt;

&lt;p&gt;&lt;img src="/view.aspx?sf=235354_post/birth1-ezgif.com-video-to-gif-converter.gif" width="50%/"&gt;&lt;/p&gt;

&lt;h2&gt;&lt;u&gt;&lt;strong&gt;Limitations&lt;/strong&gt;&lt;/u&gt;&lt;/h2&gt;

&lt;p&gt;How many people must be in the room to &lt;em&gt;guarantee&lt;/em&gt; that two of them share a birthday? By the shape of the graph above, it may be tempting to think that it is impossible to guarantee this, since the probability seems to asymptotically approach 1. However, we must think through this logically.&lt;/p&gt;

&lt;p&gt;If 365 people were in the room, it is still possible that their birthdays would all fall on a different day (although it&amp;#39;s extremely unlikely). But if we have more people than we have available birthdays, we can say at least two people will share a birthday with 100% certainty. That is, P(n) = 0 when n &amp;gt; 365, so our formula for P(n) above is limited to values of n that are 365 or less. This is a basic principle in mathematics called the &amp;quot;pigeonhole principle&amp;quot;, which uses the analogy that if we have more pigeons than we have holes to put them in, then at least one of the holes must have at least two pigeons.&lt;/p&gt;

&lt;p&gt;These ideas can be conceptually confusing, but once you go through the mathematical arguments a few times, mentioning the Birthday Paradox in a conversation is a great way to show off your random math knowledge and confuse your peers!&lt;/p&gt;

&lt;p&gt;Attached is an interactive Maple worksheet from Maple&amp;#39;s Math Apps gallery if you&amp;#39;d like to investigate the Birthday Paradox further:&amp;nbsp;&lt;a href="/view.aspx?sf=235354_post/The_Birthday_Paradox.mw"&gt;The_Birthday_Paradox.mw&lt;/a&gt;. If you&amp;#39;re still interested in more info/applications, see &lt;a href="https://mapleprimes.com/maplesoftblog/95795-Birthday-Post"&gt;this Maple Primes post&lt;/a&gt;&amp;nbsp;by John May.&lt;/p&gt;
</description>
      <guid>235354</guid>
      <pubDate>Fri, 31 Jul 2026 19:28:43 Z</pubDate>
      <itunes:author>callumneily</itunes:author>
      <author>callumneily</author>
    </item>
  </channel>
</rss>