<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, manipulating numerator and denominator</title>
    <link>http://www.mapleprimes.com/questions/129812-Manipulating-Numerator-And-Denominator</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 14:13:03 GMT</lastBuildDate>
    <pubDate>Tue, 09 Jun 2026 14:13:03 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, manipulating numerator and denominator</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, manipulating numerator and denominator</title>
      <link>http://www.mapleprimes.com/questions/129812-Manipulating-Numerator-And-Denominator</link>
    </image>
    <item>
      <title>using ``()</title>
      <link>http://www.mapleprimes.com/questions/129812-Manipulating-Numerator-And-Denominator?ref=Feed:MaplePrimes:manipulating numerator and denominator:Comments#answer129817</link>
      <itunes:summary>&lt;pre&gt;restart:

e:= (g^n) / (g^n -1);

                                         n  
                                        g   
                                 e := ------
                                       n    
                                      g  - 1

# This next use of ``() is to prevent expansion done by the `numer` and `denom` commands.
mult := g^(``(-n)); 

                                         (-n)
                                mult := g    

# This next use of ``() is to prevent automatic cancellation of g^(``(-n)) term.
new:=``(numer(e)*mult)/``(denom(e)*mult); 

                                     / n  (-n)\   
                                     \g  g    /   
                           new := ----------------
                                  // n    \  (-n)\
                                  \\g  - 1/ g    /

# Now use the `expand` command in two ways, to get rid of both uses of ``().
expand(map(expand,numer(new))) / expand(map(expand,denom(new)));
                                     1   
                                   ------
                                       1 
                                   1 - --
                                        n
                                       g 
&lt;/pre&gt;
&lt;p&gt;If you're curious, you can see the effect of that last operation as in two substeps&lt;/p&gt;
&lt;pre&gt;map(expand,numer(new)) / map(expand,denom(new));

                                    (1)   
                                  --------
                                  /    1 \
                                  |1 - --|
                                  |     n|
                                  \    g /

expand(%);

                                     1   
                                   ------
                                       1 
                                   1 - --
                                        n
                                       g 
&lt;/pre&gt;
&lt;p&gt;And, of course, most of this is not necessary and can be done more neatly, except that you have written that you wanted to see the form of `new` above explicitly.&lt;/p&gt;</itunes:summary>
      <description>&lt;pre&gt;restart:

e:= (g^n) / (g^n -1);

                                         n  
                                        g   
                                 e := ------
                                       n    
                                      g  - 1

# This next use of ``() is to prevent expansion done by the `numer` and `denom` commands.
mult := g^(``(-n)); 

                                         (-n)
                                mult := g    

# This next use of ``() is to prevent automatic cancellation of g^(``(-n)) term.
new:=``(numer(e)*mult)/``(denom(e)*mult); 

                                     / n  (-n)\   
                                     \g  g    /   
                           new := ----------------
                                  // n    \  (-n)\
                                  \\g  - 1/ g    /

# Now use the `expand` command in two ways, to get rid of both uses of ``().
expand(map(expand,numer(new))) / expand(map(expand,denom(new)));
                                     1   
                                   ------
                                       1 
                                   1 - --
                                        n
                                       g 
&lt;/pre&gt;
&lt;p&gt;If you're curious, you can see the effect of that last operation as in two substeps&lt;/p&gt;
&lt;pre&gt;map(expand,numer(new)) / map(expand,denom(new));

                                    (1)   
                                  --------
                                  /    1 \
                                  |1 - --|
                                  |     n|
                                  \    g /

expand(%);

                                     1   
                                   ------
                                       1 
                                   1 - --
                                        n
                                       g 
&lt;/pre&gt;
&lt;p&gt;And, of course, most of this is not necessary and can be done more neatly, except that you have written that you wanted to see the form of `new` above explicitly.&lt;/p&gt;</description>
      <guid>129817</guid>
      <pubDate>Thu, 19 Jan 2012 21:40:04 Z</pubDate>
      <itunes:author>pagan</itunes:author>
      <author>pagan</author>
    </item>
    <item>
      <title>``() simplify and expand</title>
      <link>http://www.mapleprimes.com/questions/129812-Manipulating-Numerator-And-Denominator?ref=Feed:MaplePrimes:manipulating numerator and denominator:Comments#answer129863</link>
      <itunes:summary>&lt;p&gt;Thanks, so this is how I ended up showing it.&lt;/p&gt;
&lt;p&gt;It is essentially what you showed me, just a very slight variation.&amp;nbsp; The ``() helps quite a bit.&amp;nbsp; I wanted to use Maple and manipulate an answer Maple gave with minimal user modification afterwards to attain my output.&amp;nbsp;&amp;nbsp; So after setting up the&amp;nbsp;first step using delayed syntax, all that was needed were the simplify and expand commands to finish it off.&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -20;" src="/view.aspx?sf=129863/429075/51c62b0b9e30072f5b68144a9cc389e8.gif" alt="a := g^n/(g^n-1)" width="89" height="50"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -20;" src="/view.aspx?sf=129863/429075/32355c7dbdeb2cca9ebab1a80c760e15.gif" alt="g^n/(g^n-1)" width="89" height="50"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(1)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -39;" src="/view.aspx?sf=129863/429075/22be4951421b347bc9c91a74f30e55f8.gif" alt="a1 := ``(numer(a)*``(1/g^n))/``(denom(a)*``(1/g^n))" width="202" height="88"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -39;" src="/view.aspx?sf=129863/429075/c6f4fa21eafcfdd8fcf70bd3fb2903d1.gif" alt="``(g^n*``(1/g^n))/``((g^n-1)*``(1/g^n))" width="177" height="88"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(2)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=129863/429075/031d177d512f61a61b3cdd363e2fa321.gif" alt="simplify(a1)" width="82" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -20;" src="/view.aspx?sf=129863/429075/94bcb1290727351797b20d766160f1be.gif" alt="``(g^n*``(g^(-n)))/``(1-g^(-n))" width="85" height="50"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(3)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=129863/429075/f55cb100f4898abea4507877ef3ec639.gif" alt="expand(%)" width="75" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -20;" src="/view.aspx?sf=129863/429075/ffc25455994e0736e15ab8096cd63ba9.gif" alt="g^n*``(g^(-n))/(1-g^(-n))" width="69" height="50"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(4)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=129863/429075/1052a1e1b98423f1fe709c40f4bb983d.gif" alt="expand(%)" width="75" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -39;" src="/view.aspx?sf=129863/429075/60d9b95274a4e53a4e52a1e8443c1c93.gif" alt="g^n*g^(-n)/(1-1/g^n)" width="66" height="69"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(5)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=129863/429075/e8b4e8e1fb7f38108ec68c5db1a36450.gif" alt="expand(%)" width="75" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -39;" src="/view.aspx?sf=129863/429075/ee291f6032e6120cafd03ddacd6ee509.gif" alt="1/(1-1/g^n)" width="66" height="65"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(6)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=129863/429075/7a54f8a21baabe2a013cd07d390e5ad4.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=129863/429075/1f2bc20865791e0209f1c8e5e243151d.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt; &lt;input type="hidden" name="cmd" value="none"&gt;&lt;/form&gt;
&lt;p&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=129863/429075/numerdenom.mw"&gt;Download numerdenom.mw&lt;/a&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thanks, so this is how I ended up showing it.&lt;/p&gt;
&lt;p&gt;It is essentially what you showed me, just a very slight variation.&amp;nbsp; The ``() helps quite a bit.&amp;nbsp; I wanted to use Maple and manipulate an answer Maple gave with minimal user modification afterwards to attain my output.&amp;nbsp;&amp;nbsp; So after setting up the&amp;nbsp;first step using delayed syntax, all that was needed were the simplify and expand commands to finish it off.&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -20;" src="/view.aspx?sf=129863/429075/51c62b0b9e30072f5b68144a9cc389e8.gif" alt="a := g^n/(g^n-1)" width="89" height="50"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -20;" src="/view.aspx?sf=129863/429075/32355c7dbdeb2cca9ebab1a80c760e15.gif" alt="g^n/(g^n-1)" width="89" height="50"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(1)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -39;" src="/view.aspx?sf=129863/429075/22be4951421b347bc9c91a74f30e55f8.gif" alt="a1 := ``(numer(a)*``(1/g^n))/``(denom(a)*``(1/g^n))" width="202" height="88"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -39;" src="/view.aspx?sf=129863/429075/c6f4fa21eafcfdd8fcf70bd3fb2903d1.gif" alt="``(g^n*``(1/g^n))/``((g^n-1)*``(1/g^n))" width="177" height="88"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(2)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=129863/429075/031d177d512f61a61b3cdd363e2fa321.gif" alt="simplify(a1)" width="82" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -20;" src="/view.aspx?sf=129863/429075/94bcb1290727351797b20d766160f1be.gif" alt="``(g^n*``(g^(-n)))/``(1-g^(-n))" width="85" height="50"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(3)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=129863/429075/f55cb100f4898abea4507877ef3ec639.gif" alt="expand(%)" width="75" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -20;" src="/view.aspx?sf=129863/429075/ffc25455994e0736e15ab8096cd63ba9.gif" alt="g^n*``(g^(-n))/(1-g^(-n))" width="69" height="50"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(4)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=129863/429075/1052a1e1b98423f1fe709c40f4bb983d.gif" alt="expand(%)" width="75" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -39;" src="/view.aspx?sf=129863/429075/60d9b95274a4e53a4e52a1e8443c1c93.gif" alt="g^n*g^(-n)/(1-1/g^n)" width="66" height="69"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(5)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=129863/429075/e8b4e8e1fb7f38108ec68c5db1a36450.gif" alt="expand(%)" width="75" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -39;" src="/view.aspx?sf=129863/429075/ee291f6032e6120cafd03ddacd6ee509.gif" alt="1/(1-1/g^n)" width="66" height="65"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(6)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=129863/429075/7a54f8a21baabe2a013cd07d390e5ad4.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=129863/429075/1f2bc20865791e0209f1c8e5e243151d.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt; &lt;input type="hidden" name="cmd" value="none"&gt;&lt;/form&gt;
&lt;p&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=129863/429075/numerdenom.mw"&gt;Download numerdenom.mw&lt;/a&gt;&lt;/p&gt;</description>
      <guid>129863</guid>
      <pubDate>Fri, 20 Jan 2012 22:59:44 Z</pubDate>
      <itunes:author>Christopher2222</itunes:author>
      <author>Christopher2222</author>
    </item>
    <item>
      <title>manipulating numerator and denominator</title>
      <link>http://www.mapleprimes.com/questions/129812-Manipulating-Numerator-And-Denominator?ref=Feed:MaplePrimes:manipulating numerator and denominator:Comments#answer235465</link>
      <itunes:summary>&lt;p&gt;&lt;br&gt;
&amp;nbsp;&lt;/p&gt;

&lt;form name="worksheet_form"&gt;&lt;input name="md.ref" type="hidden" value="9D6E159AFE16961918264FBEB40DDDEF"&gt;
&lt;table align="center" width="768"&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
			&lt;td&gt;
			&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="h := g^n/(g^n-1):" height="50" src="/view.aspx?sf=235465_Answer/e6d12f5a85e41a1f5ccc7a9c932008dc.gif" style="vertical-align:-20px" width="101"&gt;&lt;img alt="&amp;quot;(-&amp;gt;)&amp;quot;" height="27" src="/view.aspx?sf=235465_Answer/911af2966f6dbf39bc212f3755e3db3f.gif" style="vertical-align:-4px" width="75"&gt;&lt;img alt="NULL" height="23" src="/view.aspx?sf=235465_Answer/44871c77cf06e9a2f08a662558dea8a0.gif" style="vertical-align:-6px" width="11"&gt;&lt;img alt="1/(1-1/g^n)" height="65" src="/view.aspx?sf=235465_Answer/63b0db6cc5d78927536554f99150b61b.gif" style="vertical-align:-39px" width="66"&gt;&lt;img alt="``" height="6" src="/view.aspx?sf=235465_Answer/78159a7dadfbe1f0fd7b63f8ba28472d.gif" style="vertical-align:-6px" width="600"&gt;&lt;/p&gt;

			&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="``" height="23" src="/view.aspx?sf=235465_Answer/03c31af6d471310adf8164f22947e5fd.gif" style="vertical-align:-6px" width="11"&gt;&lt;/p&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;br&gt;
&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=235465_Answer/manipulating_numerator_and_denominator.mw"&gt;Download manipulating_numerator_and_denominator.mw&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;h := g^n/(g^n-1);&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;quot;(-&amp;gt;)&amp;quot;&lt;/p&gt;

&lt;p&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;1 &amp;nbsp;&amp;nbsp;&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;------&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;1&amp;nbsp;&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;1 - --&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; n&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;g&amp;nbsp;&lt;/p&gt;

&lt;p&gt;#in command&lt;/p&gt;

&lt;p&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;quot;(-&amp;gt;)&amp;quot;&lt;/p&gt;

&lt;p&gt;1/expand(solve(% = 1/denominator, denominator));&lt;br&gt;
&amp;nbsp;&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;&lt;br&gt;
&amp;nbsp;&lt;/p&gt;

&lt;form name="worksheet_form"&gt;&lt;input name="md.ref" type="hidden" value="9D6E159AFE16961918264FBEB40DDDEF"&gt;
&lt;table align="center" width="768"&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
			&lt;td&gt;
			&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="h := g^n/(g^n-1):" height="50" src="/view.aspx?sf=235465_Answer/e6d12f5a85e41a1f5ccc7a9c932008dc.gif" style="vertical-align:-20px" width="101"&gt;&lt;img alt="&amp;quot;(-&amp;gt;)&amp;quot;" height="27" src="/view.aspx?sf=235465_Answer/911af2966f6dbf39bc212f3755e3db3f.gif" style="vertical-align:-4px" width="75"&gt;&lt;img alt="NULL" height="23" src="/view.aspx?sf=235465_Answer/44871c77cf06e9a2f08a662558dea8a0.gif" style="vertical-align:-6px" width="11"&gt;&lt;img alt="1/(1-1/g^n)" height="65" src="/view.aspx?sf=235465_Answer/63b0db6cc5d78927536554f99150b61b.gif" style="vertical-align:-39px" width="66"&gt;&lt;img alt="``" height="6" src="/view.aspx?sf=235465_Answer/78159a7dadfbe1f0fd7b63f8ba28472d.gif" style="vertical-align:-6px" width="600"&gt;&lt;/p&gt;

			&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="``" height="23" src="/view.aspx?sf=235465_Answer/03c31af6d471310adf8164f22947e5fd.gif" style="vertical-align:-6px" width="11"&gt;&lt;/p&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;br&gt;
&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=235465_Answer/manipulating_numerator_and_denominator.mw"&gt;Download manipulating_numerator_and_denominator.mw&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;h := g^n/(g^n-1);&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;quot;(-&amp;gt;)&amp;quot;&lt;/p&gt;

&lt;p&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;1 &amp;nbsp;&amp;nbsp;&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;------&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;1&amp;nbsp;&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;1 - --&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; n&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;g&amp;nbsp;&lt;/p&gt;

&lt;p&gt;#in command&lt;/p&gt;

&lt;p&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;quot;(-&amp;gt;)&amp;quot;&lt;/p&gt;

&lt;p&gt;1/expand(solve(% = 1/denominator, denominator));&lt;br&gt;
&amp;nbsp;&lt;/p&gt;
</description>
      <guid>235465</guid>
      <pubDate>Wed, 04 Jan 2017 14:41:33 Z</pubDate>
      <itunes:author>SmsmAdly</itunes:author>
      <author>SmsmAdly</author>
    </item>
    <item>
      <title>more neatly</title>
      <link>http://www.mapleprimes.com/questions/129812-Manipulating-Numerator-And-Denominator?ref=Feed:MaplePrimes:manipulating numerator and denominator:Comments#comment129821</link>
      <itunes:summary>&lt;p&gt;So, curiously, how can it be done more neatly?&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;So, curiously, how can it be done more neatly?&lt;/p&gt;</description>
      <guid>129821</guid>
      <pubDate>Thu, 19 Jan 2012 22:46:04 Z</pubDate>
      <itunes:author>Christopher2222</itunes:author>
      <author>Christopher2222</author>
    </item>
    <item>
      <title>delay</title>
      <link>http://www.mapleprimes.com/questions/129812-Manipulating-Numerator-And-Denominator?ref=Feed:MaplePrimes:manipulating numerator and denominator:Comments#comment129850</link>
      <itunes:summary>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/129812-Manipulating-Numerator-And-Denominator#comment129821"&gt;@Christopher2222&lt;/a&gt;&amp;nbsp;You asked to see that form as shown by `new` above. Something has to be done, to delay the cancellation and allow that form to be printed.&lt;/p&gt;
&lt;p&gt;How terse, or "neat" you want to make it can depend on how much you're willing to accept specialized routines (or syntax, like with applyrule).&lt;/p&gt;
&lt;pre&gt;restart:

hold := eval(``): # or just use ``() itself (your choice)
release := z-&amp;gt;expand(expand(numer(z)))
              /expand(expand(denom(z))):



e := (g^n) / (g^n -1);

                                n  
                               g   
                             ------
                              n    
                             g  - 1

c := g^(-n);

                              (-n)
                             g    

new := hold(numer(e)*c)/hold(denom(e)*c); 

                           / n  (-n)\   
                           \g  g    /   
                        ----------------
                        // n    \  (-n)\
                        \\g  - 1/ g    /

release(new);

                               1   
                             ------
                                 1 
                             1 - --
                                  n
                                 g 
&lt;/pre&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/129812-Manipulating-Numerator-And-Denominator#comment129821"&gt;@Christopher2222&lt;/a&gt;&amp;nbsp;You asked to see that form as shown by `new` above. Something has to be done, to delay the cancellation and allow that form to be printed.&lt;/p&gt;
&lt;p&gt;How terse, or "neat" you want to make it can depend on how much you're willing to accept specialized routines (or syntax, like with applyrule).&lt;/p&gt;
&lt;pre&gt;restart:

hold := eval(``): # or just use ``() itself (your choice)
release := z-&amp;gt;expand(expand(numer(z)))
              /expand(expand(denom(z))):



e := (g^n) / (g^n -1);

                                n  
                               g   
                             ------
                              n    
                             g  - 1

c := g^(-n);

                              (-n)
                             g    

new := hold(numer(e)*c)/hold(denom(e)*c); 

                           / n  (-n)\   
                           \g  g    /   
                        ----------------
                        // n    \  (-n)\
                        \\g  - 1/ g    /

release(new);

                               1   
                             ------
                                 1 
                             1 - --
                                  n
                                 g 
&lt;/pre&gt;</description>
      <guid>129850</guid>
      <pubDate>Fri, 20 Jan 2012 19:11:36 Z</pubDate>
      <itunes:author>pagan</itunes:author>
      <author>pagan</author>
    </item>
  </channel>
</rss>