<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241670</link>
    <title>MATLAB Central Newsreader - Is there any polynomial which satisfies some properties</title>
    <description>Feed for thread: Is there any polynomial which satisfies some properties</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 29 Dec 2008 12:08:02 -0500</pubDate>
      <title>Is there any polynomial which satisfies some properties</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241670#619092</link>
      <author>zedong </author>
      <description>I have known a function g(x,y)=(x^m)*(y^n)&lt;br&gt;
Could I find a polynomial f which is order m+n+1&lt;br&gt;
and &lt;br&gt;
diff(f,'x')+diff(f,'y')=g&lt;br&gt;
And more simple more good(The less term more good)&lt;br&gt;
Thank you all</description>
    </item>
    <item>
      <pubDate>Mon, 29 Dec 2008 12:32:02 -0500</pubDate>
      <title>Re: Is there any polynomial which satisfies some properties</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241670#619102</link>
      <author>John D'Errico</author>
      <description>&quot;zedong &lt;br&gt;
&quot; &amp;lt;zdongwu@gmail.com&amp;gt; wrote in message &amp;lt;gjaej2$9o5$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I have known a function g(x,y)=(x^m)*(y^n)&lt;br&gt;
&amp;gt; Could I find a polynomial f which is order m+n+1&lt;br&gt;
&amp;gt; and &lt;br&gt;
&amp;gt; diff(f,'x')+diff(f,'y')=g&lt;br&gt;
&amp;gt; And more simple more good(The less term more good)&lt;br&gt;
&amp;gt; Thank you all&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
I don't know if this is just an example that you made&lt;br&gt;
up, not thinking if it is possible, and that you really&lt;br&gt;
have some other problem in mind.&lt;br&gt;
&lt;br&gt;
But the specific problem as posed has no solution.&lt;br&gt;
&lt;br&gt;
John</description>
    </item>
    <item>
      <pubDate>Mon, 29 Dec 2008 12:51:02 -0500</pubDate>
      <title>Re: Is there any polynomial which satisfies some properties</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241670#619107</link>
      <author>zedong </author>
      <description>&quot;John D'Errico&quot; &amp;lt;woodchips@rochester.rr.com&amp;gt; wrote in message &amp;lt;gjag02$54m$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;zedong &lt;br&gt;
&amp;gt; &quot; &amp;lt;zdongwu@gmail.com&amp;gt; wrote in message &amp;lt;gjaej2$9o5$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; I have known a function g(x,y)=(x^m)*(y^n)&lt;br&gt;
&amp;gt; &amp;gt; Could I find a polynomial f which is order m+n+1&lt;br&gt;
&amp;gt; &amp;gt; and &lt;br&gt;
&amp;gt; &amp;gt; diff(f,'x')+diff(f,'y')=g&lt;br&gt;
&amp;gt; &amp;gt; And more simple more good(The less term more good)&lt;br&gt;
&amp;gt; &amp;gt; Thank you all&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I don't know if this is just an example that you made&lt;br&gt;
&amp;gt; up, not thinking if it is possible, and that you really&lt;br&gt;
&amp;gt; have some other problem in mind.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; But the specific problem as posed has no solution.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; John&lt;br&gt;
&lt;br&gt;
Thank you for your attention.In fact I am working on an integration of a polynomial over a polygon(I am writing a finite element code with matlab.).so if the above integration is possible.then  I can do that.and still I Think it's possible.because  If not I can make the order of the polynomial  more higher.I think.But actually.I don't know how to solve it.It must be solved by a matrix equation.I guess</description>
    </item>
    <item>
      <pubDate>Mon, 29 Dec 2008 14:02:03 -0500</pubDate>
      <title>Re: Is there any polynomial which satisfies some properties</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241670#619125</link>
      <author>John D'Errico</author>
      <description>&quot;zedong &lt;br&gt;
&quot; &amp;lt;zdongwu@gmail.com&amp;gt; wrote in message &amp;lt;gjah3m$fin$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;John D'Errico&quot; &amp;lt;woodchips@rochester.rr.com&amp;gt; wrote in message &amp;lt;gjag02$54m$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &quot;zedong &lt;br&gt;
&amp;gt; &amp;gt; &quot; &amp;lt;zdongwu@gmail.com&amp;gt; wrote in message &amp;lt;gjaej2$9o5$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I have known a function g(x,y)=(x^m)*(y^n)&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Could I find a polynomial f which is order m+n+1&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; and &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; diff(f,'x')+diff(f,'y')=g&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; And more simple more good(The less term more good)&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Thank you all&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I don't know if this is just an example that you made&lt;br&gt;
&amp;gt; &amp;gt; up, not thinking if it is possible, and that you really&lt;br&gt;
&amp;gt; &amp;gt; have some other problem in mind.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; But the specific problem as posed has no solution.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; John&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thank you for your attention.In fact I am working on an integration of a polynomial over a polygon(I am writing a finite element code with matlab.).so if the above integration is possible.then  I can do that.and still I Think it's possible.because  If not I can make the order of the polynomial  more higher.I think.But actually.I don't know how to solve it.It must be solved by a matrix equation.I guess&lt;br&gt;
&lt;br&gt;
NO. You are not thinking clearly here.&lt;br&gt;
&lt;br&gt;
Given a polynomial of the form&lt;br&gt;
&lt;br&gt;
g(x,y)=(x^m)*(y^n)&lt;br&gt;
&lt;br&gt;
If some polynomial f(x,y) exists such that&lt;br&gt;
&lt;br&gt;
diff(f,'x') + diff(f,'y') = g&lt;br&gt;
&lt;br&gt;
then we must have f(x,y) be order m+1 in x&lt;br&gt;
and order n in y, but at the same time, f(x,y)&lt;br&gt;
must be of order m in x and order n+1 in y.&lt;br&gt;
&lt;br&gt;
We cannot have both of these things true at&lt;br&gt;
the same time. A &quot;matrix equation&quot; will not&lt;br&gt;
help. There is no magic here, unless you have&lt;br&gt;
again failed to be accurate in your question.&lt;br&gt;
&lt;br&gt;
John</description>
    </item>
    <item>
      <pubDate>Mon, 29 Dec 2008 14:21:01 -0500</pubDate>
      <title>Re: Is there any polynomial which satisfies some properties</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241670#619128</link>
      <author>zedong </author>
      <description>&quot;John D'Errico&quot; &amp;lt;woodchips@rochester.rr.com&amp;gt; wrote in message &amp;lt;gjal8r$r3a$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;zedong &lt;br&gt;
&amp;gt; &quot; &amp;lt;zdongwu@gmail.com&amp;gt; wrote in message &amp;lt;gjah3m$fin$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &quot;John D'Errico&quot; &amp;lt;woodchips@rochester.rr.com&amp;gt; wrote in message &amp;lt;gjag02$54m$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &quot;zedong &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &quot; &amp;lt;zdongwu@gmail.com&amp;gt; wrote in message &amp;lt;gjaej2$9o5$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; I have known a function g(x,y)=(x^m)*(y^n)&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Could I find a polynomial f which is order m+n+1&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; and &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; diff(f,'x')+diff(f,'y')=g&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; And more simple more good(The less term more good)&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Thank you all&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I don't know if this is just an example that you made&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; up, not thinking if it is possible, and that you really&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; have some other problem in mind.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; But the specific problem as posed has no solution.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; John&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Thank you for your attention.In fact I am working on an integration of a polynomial over a polygon(I am writing a finite element code with matlab.).so if the above integration is possible.then  I can do that.and still I Think it's possible.because  If not I can make the order of the polynomial  more higher.I think.But actually.I don't know how to solve it.It must be solved by a matrix equation.I guess&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; NO. You are not thinking clearly here.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Given a polynomial of the form&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; g(x,y)=(x^m)*(y^n)&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; If some polynomial f(x,y) exists such that&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; diff(f,'x') + diff(f,'y') = g&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; then we must have f(x,y) be order m+1 in x&lt;br&gt;
&amp;gt; and order n in y, but at the same time, f(x,y)&lt;br&gt;
&amp;gt; must be of order m in x and order n+1 in y.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; We cannot have both of these things true at&lt;br&gt;
&amp;gt; the same time. A &quot;matrix equation&quot; will not&lt;br&gt;
&amp;gt; help. There is no magic here, unless you have&lt;br&gt;
&amp;gt; again failed to be accurate in your question.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; John&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thank you for your attention.Yes ,you are right.But I can make the order of the polynomial more higher.(I have pointed out,But the page divided it into two)&lt;br&gt;
&amp;nbsp;Thank you for your help.&lt;br&gt;
And thank you all.&lt;br&gt;
I have getten the solution.as a matter of fact.I only need x^my^n,in which m&amp;lt;=3;n&amp;lt;=3;&lt;br&gt;
I have  done it with the unknown coefficient method.&lt;br&gt;
This is the result:&lt;br&gt;
(1)g=x    f=x^2&lt;br&gt;
(2)g=xy   f=x^2y/2-x^3/6&lt;br&gt;
(3)g=x^2y  f=x^3y/3-x^4/12&lt;br&gt;
(4)g=x^2y^2  f=x^3y^2/3-x^4y/6+x^5/30&lt;br&gt;
(5) g=x^3     f=x^4/4&lt;br&gt;
(6)g=x^3y   f=x^2y^3/2-x^3y^2/2+x^4y/4-x^5/20&lt;br&gt;
Then change the position of x and y get others.(If m&amp;gt;3 and n&amp;gt;3 we can still find out,I think)&lt;br&gt;
Thank you for your attention and kind help for another time</description>
    </item>
    <item>
      <pubDate>Mon, 29 Dec 2008 17:04:01 -0500</pubDate>
      <title>Re: Is there any polynomial which satisfies some properties</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241670#619158</link>
      <author>Roger Stafford</author>
      <description>&quot;zedong &lt;br&gt;
&quot; &amp;lt;zdongwu@gmail.com&amp;gt; wrote in message &amp;lt;gjaej2$9o5$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I have known a function g(x,y)=(x^m)*(y^n)&lt;br&gt;
&amp;gt; Could I find a polynomial f which is order m+n+1&lt;br&gt;
&amp;gt; and &lt;br&gt;
&amp;gt; diff(f,'x')+diff(f,'y')=g&lt;br&gt;
&amp;gt; And more simple more good(The less term more good)&lt;br&gt;
&amp;gt; Thank you all&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;Yes, Zedong, there is always a solution but it is not unique.  We get m+n+1 equations and m+n+2 unknown coefficients.  Were you looking for a unique answer?&lt;br&gt;
&lt;br&gt;
Roger Stafford</description>
    </item>
    <item>
      <pubDate>Tue, 30 Dec 2008 07:53:03 -0500</pubDate>
      <title>Re: Is there any polynomial which satisfies some properties</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241670#619241</link>
      <author>Bruno Luong</author>
      <description>&quot;zedong &lt;br&gt;
&lt;br&gt;
&amp;gt; and &lt;br&gt;
&amp;gt; diff(f,'x')+diff(f,'y')=g&lt;br&gt;
&lt;br&gt;
Let us define u:= x+ y&lt;br&gt;
You can write the above as df/du = g&lt;br&gt;
&lt;br&gt;
This is the first order PDE (convection). If no boundary is specified, infinity solution exist. Solution is unique if and only if boundary condition is specified on half part of the boundary (where the set of lines u=x+y=cte toucjh it). And so on...&lt;br&gt;
&lt;br&gt;
Bruno</description>
    </item>
    <item>
      <pubDate>Fri, 02 Jan 2009 08:59:46 -0500</pubDate>
      <title>Re: Is there any polynomial which satisfies some properties</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241670#619533</link>
      <author>Walter Roberson</author>
      <description>zedong wrote:&lt;br&gt;
&amp;gt; I have known a function g(x,y)=(x^m)*(y^n)&lt;br&gt;
&amp;gt; Could I find a polynomial f which is order m+n+1&lt;br&gt;
&amp;gt; and &lt;br&gt;
&amp;gt; diff(f,'x')+diff(f,'y')=g&lt;br&gt;
&amp;gt; And more simple more good(The less term more good)&lt;br&gt;
&lt;br&gt;
No, you cannot.&lt;br&gt;
&lt;br&gt;
Consider even the very simple case g(x,y) = x*y.&lt;br&gt;
The general polynomial f that has to be considered is&lt;br&gt;
f = x^2*y^2*a2_2 + x^2*y*a2_1 + x*y^2*a1_2 + x^2*a2_0 + x*y*a1_1 +&lt;br&gt;
y^2*a0_2 + x*a1_0 + y*a0_1 + a0_0&lt;br&gt;
&lt;br&gt;
collect(diff(f,x) + diff(f,y),[x,y]) = &lt;br&gt;
(2*y*a2_2+a2_1)*x^2 + (2*y^2*a2_2+(2*a1_2+2*a2_1)*y + a1_1+2*a2_0)*x +&lt;br&gt;
y^2*a1_2 + (2*a0_2+a1_1)*y + a0_1+a1_0&lt;br&gt;
&lt;br&gt;
focus first on the expression that would have to yield the x*y part&lt;br&gt;
and do a comparison by parts:&lt;br&gt;
&lt;br&gt;
(2*y^2*a2_2+(2*a1_2+2*a2_1)*y + a1_1+2*a2_0)*x = x*y&lt;br&gt;
so a2_2 = 0 to zero the x^1*y^2,&lt;br&gt;
and (a1_1 + 2*a2_0) = 0 to zero x^1 * y^0,&lt;br&gt;
and 2*(a1_2 + a2_1) = 1 to match x^1 * y^1 &lt;br&gt;
By this we see that at least one of a1_2 or a2_1 is non-zero.&lt;br&gt;
&lt;br&gt;
Now examine the complete summation of the two diff() expressions&lt;br&gt;
and look for a1_2 and a2_1 . We see a2_1 in the first expression,&lt;br&gt;
(2*y*a2_2+a2_1)*x^2 . Matching by parts we know this overall expression&lt;br&gt;
is 0. Now, a2_2 is not allowed to be dependent upon y (because otherwise&lt;br&gt;
you would not be dealing with a polynomial) so to zero the x^2*y part, we&lt;br&gt;
see that a2_2 must be 0, leaving a2_1*x^2 which again must be 0, and&lt;br&gt;
since a2_1 cannot depend upon x (or else we are not dealing with a polynomial)&lt;br&gt;
we see that a2_1 must be 0. We determined that at least one of a1_2 and a2_1&lt;br&gt;
must be non-zero to get proper matching on x^1*y^1, so we have found by&lt;br&gt;
elimination that a1_2 must be non-zero. But when we look back at the&lt;br&gt;
summation, we see that a1_2 appears as the coefficient in x^0*y^2*a1_2&lt;br&gt;
and again with comparison by parts we know that must be 0, showing that&lt;br&gt;
a1_2 must be 0 after-all. With a1_2 and a2_1 both being 0, the&lt;br&gt;
(2*a1_2+2*a2_1)*y portion of the by-parts matching for x^1*y^1 must be 0.&lt;br&gt;
&lt;br&gt;
We are thus forced to the conclusion that if we are dealing with strict&lt;br&gt;
polynomials (coefficients independent of x and y), there is no&lt;br&gt;
polynomial f with terms {c, x, y, x*y, x^2*y, x*y^2} such that&lt;br&gt;
diff(f,x) + diff(f,y) = x*y .&lt;br&gt;
&lt;br&gt;
I have little doubt that with some effort, this counter-example could be&lt;br&gt;
expanded into a general proof, probably based upon examining the coefficients&lt;br&gt;
a{m+1,n} and a{m,n+1} for all positive m, n.&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
.signature note: I am now avoiding replying to unclear or ambiguous postings.&lt;br&gt;
Please review questions before posting them. Be specific. Use examples of what you mean,&lt;br&gt;
of what you don't mean. Specify boundary conditions, and data classes and value&lt;br&gt;
relationships -- what if we scrambled your data or used -Inf, NaN, or complex(rand,rand)?</description>
    </item>
    <item>
      <pubDate>Fri, 02 Jan 2009 16:47:01 -0500</pubDate>
      <title>Re: Is there any polynomial which satisfies some properties</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241670#619580</link>
      <author>Roger Stafford</author>
      <description>Walter Roberson &amp;lt;roberson@hushmail.com&amp;gt; wrote in message &amp;lt;GIk7l.8487$u17.2700@newsfe20.iad&amp;gt;...&lt;br&gt;
&amp;gt; .......&lt;br&gt;
&amp;gt; No, you cannot.&lt;br&gt;
&amp;gt; .......&lt;br&gt;
&amp;gt; Consider even the very simple case g(x,y) = x*y.&lt;br&gt;
&amp;gt; The general polynomial f that has to be considered is&lt;br&gt;
&amp;gt; f = x^2*y^2*a2_2 + x^2*y*a2_1 + x*y^2*a1_2 + x^2*a2_0 + x*y*a1_1 +&lt;br&gt;
&amp;gt; y^2*a0_2 + x*a1_0 + y*a0_1 + a0_0&lt;br&gt;
&amp;gt; .......&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;Walter, yes he can!  There seems to be some misunderstanding here about the word 'order'.  It should be clear that when Zedong says for g(x,y) = x^m*y*n he is seeking a polynomial f of order m+n+1, he means polynomials in terms x^p*y^q in which the sums of their exponents, p+q, are not in excess of m+n+1.  (In his particular case of course p+q needs to be exactly equal to m+n+1.  Nothing else would make sense.)&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;The definition given in Wikipedia agrees with that at&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Degree_of_a_polynomial&quot;&gt;http://en.wikipedia.org/wiki/Degree_of_a_polynomial&lt;/a&gt; ,&lt;br&gt;
&lt;br&gt;
in which they state clearly that &quot;The words degree and order are used interchangeably&quot; and &quot;The degree of a term is the sum of the powers of each variable in the term.&quot;  That is also my own understanding from my training in mathematics.  What it does NOT mean is that only terms x^p*y^q are allowed in which p and q are each individually limited to m+1 and n+1, respectively.  x^(m+1)*y^(n+1) is not allowed but x^(m+n+1)*y^0 is.&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;Your &quot;counterexample&quot; did not allow for the x^3 or y^3 terms which are of the appropriate order, namely 3, while improperly allowing x^2*y^2 which is of order 4.  The example Zedong has already given (yesterday) of&lt;br&gt;
&lt;br&gt;
&amp;nbsp;f(x,y) = -1/6*x^3+1/2*x^2*y&lt;br&gt;
&lt;br&gt;
is a valid solution to his problem in accordance with this definition of 'order'.&lt;br&gt;
&lt;br&gt;
Roger Stafford</description>
    </item>
  </channel>
</rss>

