<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Equation of a plane (4)</title>
    <link>http://www.mapleprimes.com/questions/129984-Equation-Of-A-Plane-4</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Thu, 11 Jun 2026 00:30:32 GMT</lastBuildDate>
    <pubDate>Thu, 11 Jun 2026 00:30:32 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Equation of a plane (4)</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Equation of a plane (4)</title>
      <link>http://www.mapleprimes.com/questions/129984-Equation-Of-A-Plane-4</link>
    </image>
    <item>
      <title>Procedure</title>
      <link>http://www.mapleprimes.com/questions/129984-Equation-Of-A-Plane-4?ref=Feed:MaplePrimes:Equation of a plane (4):Comments#answer130031</link>
      <itunes:summary>&lt;p&gt;&lt;span class="hps"&gt;Your&amp;nbsp;problem&lt;/span&gt;&amp;nbsp; &lt;span class="hps"&gt;is no different from&lt;/span&gt; &lt;span class="hps"&gt;the previous&lt;/span&gt; &lt;span class="hps"&gt;plane&lt;/span&gt; &lt;span class="hps"&gt;(3).&lt;/span&gt; &lt;span class="hps"&gt;The procedure&lt;/span&gt; &lt;span class="hps"&gt;P&lt;/span&gt; &lt;span class="hps"&gt;solves&lt;/span&gt;&amp;nbsp;&lt;span class="hps"&gt;the problem&lt;/span&gt; &lt;span class="hps"&gt;for&lt;/span&gt; &lt;span class="hps"&gt;any&lt;/span&gt;&amp;nbsp;points A, B, M and&amp;nbsp;&lt;span class="hps"&gt;numeric&lt;/span&gt; &lt;span class="hps atn"&gt;d (&lt;/span&gt;&lt;span&gt;points should not &lt;/span&gt;&lt;span class="hps"&gt;be collinear&lt;/span&gt;&lt;span&gt;).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="hps"&gt;Procedure code&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;restart:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;P:=proc(A,B,M,d)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;local P,Sol,L,f,L1;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;uses RealDomain, LinearAlgebra, ListTools;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;if Equal(simplify(CrossProduct(convert(B,Vector)-convert(A,Vector),convert(M,Vector)-&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;convert(A,Vector))),&amp;lt;0,0,0&amp;gt;) then error `Points A, B, M should not be collinear`; fi;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;P:=a*(x-A[1])+b*(y-A[2])+c*(z-A[3]);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Sol:=[solve({subs(x=B[1],y=B[2],z=B[3],P)=0,a^2+b^2+c^2=1,&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;abs(subs(x=M[1],y=M[2],z=M[3],P))=d},{a,b,c})];&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;L:=[seq(&amp;lt;rhs(Sol[i,1]),rhs(Sol[i,2]),rhs(Sol[i,3])&amp;gt;,i=1..nops(Sol))];&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;f:=(x,y)-&amp;gt;Equal(simplify(CrossProduct(x,y)),&amp;lt;0,0,0&amp;gt;);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;L1:=[Categorize(f, L)];&lt;/strong&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;if nops(L1)=0 then print(`The problem has no solutions`); fi;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;if nops(L1)=1 then print(`The problem has 1 solution`); print(collect(subs(a=L1[1][1][1],b=L1[1][1][2],c=L1[1][1][3],P),[x,y,z])=0); fi;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;if nops(L1)=2 then print(`The problem has 2 solutions`); print(collect(subs(a=L1[1][1][1],b=L1[1][1][2],c=L1[1][1][3],P),[x,y,z])=0); print(collect(subs(a=L1[2][1][1],b=L1[2][1][2],c=L1[2][1][3],P),[x,y,z])=0); fi;&lt;/strong&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;end proc;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As an exapmle see solution the problem&amp;nbsp; plane (3)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;P([-1,3,-6],[2,2,-10],[1,-1,7],3);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://s43.radikal.ru/i100/1201/71/5e6374fbacf1.png" alt="" width="244" height="90"&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="hps"&gt;Similarly,&amp;nbsp;you can&lt;/span&gt; find e&lt;span&gt;quation of a plane (4)&lt;/span&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;span class="hps"&gt;Your&amp;nbsp;problem&lt;/span&gt;&amp;nbsp; &lt;span class="hps"&gt;is no different from&lt;/span&gt; &lt;span class="hps"&gt;the previous&lt;/span&gt; &lt;span class="hps"&gt;plane&lt;/span&gt; &lt;span class="hps"&gt;(3).&lt;/span&gt; &lt;span class="hps"&gt;The procedure&lt;/span&gt; &lt;span class="hps"&gt;P&lt;/span&gt; &lt;span class="hps"&gt;solves&lt;/span&gt;&amp;nbsp;&lt;span class="hps"&gt;the problem&lt;/span&gt; &lt;span class="hps"&gt;for&lt;/span&gt; &lt;span class="hps"&gt;any&lt;/span&gt;&amp;nbsp;points A, B, M and&amp;nbsp;&lt;span class="hps"&gt;numeric&lt;/span&gt; &lt;span class="hps atn"&gt;d (&lt;/span&gt;&lt;span&gt;points should not &lt;/span&gt;&lt;span class="hps"&gt;be collinear&lt;/span&gt;&lt;span&gt;).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="hps"&gt;Procedure code&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;restart:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;P:=proc(A,B,M,d)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;local P,Sol,L,f,L1;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;uses RealDomain, LinearAlgebra, ListTools;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;if Equal(simplify(CrossProduct(convert(B,Vector)-convert(A,Vector),convert(M,Vector)-&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;convert(A,Vector))),&amp;lt;0,0,0&amp;gt;) then error `Points A, B, M should not be collinear`; fi;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;P:=a*(x-A[1])+b*(y-A[2])+c*(z-A[3]);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Sol:=[solve({subs(x=B[1],y=B[2],z=B[3],P)=0,a^2+b^2+c^2=1,&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;abs(subs(x=M[1],y=M[2],z=M[3],P))=d},{a,b,c})];&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;L:=[seq(&amp;lt;rhs(Sol[i,1]),rhs(Sol[i,2]),rhs(Sol[i,3])&amp;gt;,i=1..nops(Sol))];&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;f:=(x,y)-&amp;gt;Equal(simplify(CrossProduct(x,y)),&amp;lt;0,0,0&amp;gt;);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;L1:=[Categorize(f, L)];&lt;/strong&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;if nops(L1)=0 then print(`The problem has no solutions`); fi;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;if nops(L1)=1 then print(`The problem has 1 solution`); print(collect(subs(a=L1[1][1][1],b=L1[1][1][2],c=L1[1][1][3],P),[x,y,z])=0); fi;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;if nops(L1)=2 then print(`The problem has 2 solutions`); print(collect(subs(a=L1[1][1][1],b=L1[1][1][2],c=L1[1][1][3],P),[x,y,z])=0); print(collect(subs(a=L1[2][1][1],b=L1[2][1][2],c=L1[2][1][3],P),[x,y,z])=0); fi;&lt;/strong&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;end proc;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As an exapmle see solution the problem&amp;nbsp; plane (3)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;P([-1,3,-6],[2,2,-10],[1,-1,7],3);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://s43.radikal.ru/i100/1201/71/5e6374fbacf1.png" alt="" width="244" height="90"&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="hps"&gt;Similarly,&amp;nbsp;you can&lt;/span&gt; find e&lt;span&gt;quation of a plane (4)&lt;/span&gt;&lt;/p&gt;</description>
      <guid>130031</guid>
      <pubDate>Wed, 25 Jan 2012 14:16:54 Z</pubDate>
      <itunes:author>Kitonum</itunes:author>
      <author>Kitonum</author>
    </item>
    <item>
      <title>Another way</title>
      <link>http://www.mapleprimes.com/questions/129984-Equation-Of-A-Plane-4?ref=Feed:MaplePrimes:Equation of a plane (4):Comments#answer130825</link>
      <itunes:summary>&lt;p&gt;This is my code. Please comment to me.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;gt;restart;f:=(x,y,z)-&amp;gt;a*x + b*y +c*z + d:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:=f(2,-2,3):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;B:=f(4,-5,6):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;M:=f(1,2,3):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;sol:=solve([A = 0, B=0, abs(M) = 2*sqrt(2), a^2 + b^2 + c^2 = 1],[a, b, c, d]):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;for i to nops(sol) do subs(sol[i],f(x,y,z)=0) end do;&lt;/strong&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;This is my code. Please comment to me.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;gt;restart;f:=(x,y,z)-&amp;gt;a*x + b*y +c*z + d:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:=f(2,-2,3):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;B:=f(4,-5,6):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;M:=f(1,2,3):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;sol:=solve([A = 0, B=0, abs(M) = 2*sqrt(2), a^2 + b^2 + c^2 = 1],[a, b, c, d]):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;for i to nops(sol) do subs(sol[i],f(x,y,z)=0) end do;&lt;/strong&gt;&lt;/p&gt;</description>
      <guid>130825</guid>
      <pubDate>Fri, 17 Feb 2012 14:53:08 Z</pubDate>
      <itunes:author>toandhsp</itunes:author>
      <author>toandhsp</author>
    </item>
    <item>
      <title>Thank you very much.&amp;nbsp;</title>
      <link>http://www.mapleprimes.com/questions/129984-Equation-Of-A-Plane-4?ref=Feed:MaplePrimes:Equation of a plane (4):Comments#comment130039</link>
      <itunes:summary>&lt;p&gt;Thank you very much.&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thank you very much.&amp;nbsp;&lt;/p&gt;</description>
      <guid>130039</guid>
      <pubDate>Wed, 25 Jan 2012 18:33:07 Z</pubDate>
      <itunes:author>toandhsp</itunes:author>
      <author>toandhsp</author>
    </item>
  </channel>
</rss>