MDD

367 Reputation

8 Badges

10 years, 78 days

MaplePrimes Activity


These are replies submitted by MDD

@Christian Wolinski 

Thank you so much for your answer.

@Carl Love 

Thank you so much for your efficient method.

Sincerely yours

@acer 

Thank you so much. So, using your comparison performance you suggest rtable_scanblock. Is this true?

You have to compute a Grobner basis w.r.t. a lex ordering not tdeg. Also, you could use the solve command for this.

@acer Thank you so much. I am trying to do it.

@Kitonum Oh my God!! this is excellent. Thank you so much.

@Kitonum Thank you so much. This is perfect!

@Kitonum 
Thanks again for this exellent method. Your method is appropriate for this system which arise when "n=3" and in your method I see that you use from S1 and S2 contained three polynomial. How can I use from this method automatically for any arbitrary n? 

@Kitonum 

Thank you so much for your replying. It seems that the pervious method is not appropriate for the following list. (I know that this is different list). In this list I want to subs:

E[k,k]= -1 when there is "(a+2)*x[k,k]+E[k,k]" as a part of polynomial in the following list

and 

E[k,k]= 1 when there is "a*x[k,k]+E[k,k]" as a part of polynomial in the following list.

 

For example if

B=[(a*x[1, 1] + E[1, 1])*(E[1, 1] + (a + 2)*x[1, 1]) + (a*x[2, 1] + E[2, 1])*(E[1, 2] + (a + 2)*x[1, 2]) + (a*x[3, 1] + E[3, 1])*(E[1, 3] + (a + 2)*x[1, 3])] 

then after subsituation we have 

B=[(a*x[1, 1] + 1)*(-1 + (a + 2)*x[1, 1]) + (a*x[2, 1] + E[2, 1])*(E[1, 2] + (a + 2)*x[1, 2]) + (a*x[3, 1] + E[3, 1])*(E[1, 3] + (a + 2)*x[1, 3])]

Could you please help me?

 

A=[(a*x[1, 1] + E[1, 1])*(E[1, 1] + (a + 2)*x[1, 1]) + (a*x[2, 1] + E[2, 1])*(E[1, 2] + (a + 2)*x[1, 2]) + (a*x[3, 1] + E[3, 1])*(E[1, 3] + (a + 2)*x[1, 3]), (a*x[1, 2] + E[1, 2])*(E[1, 1] + (a + 2)*x[1, 1]) + (a*x[2, 2] + E[2, 2])*(E[1, 2] + (a + 2)*x[1, 2]) + (a*x[3, 2] + E[3, 2])*(E[1, 3] + (a + 2)*x[1, 3]), (a*x[1, 3] + E[1, 3])*(E[1, 1] + (a + 2)*x[1, 1]) + (a*x[2, 3] + E[2, 3])*(E[1, 2] + (a + 2)*x[1, 2]) + (a*x[3, 3] + E[3, 3])*(E[1, 3] + (a + 2)*x[1, 3]), (a*x[1, 1] + E[1, 1])*(E[2, 1] + (a + 2)*x[2, 1]) + (a*x[2, 1] + E[2, 1])*(E[2, 2] + (a + 2)*x[2, 2]) + (a*x[3, 1] + E[3, 1])*(E[2, 3] + (a + 2)*x[2, 3]), (a*x[1, 2] + E[1, 2])*(E[2, 1] + (a + 2)*x[2, 1]) + (a*x[2, 2] + E[2, 2])*(E[2, 2] + (a + 2)*x[2, 2]) + (a*x[3, 2] + E[3, 2])*(E[2, 3] + (a + 2)*x[2, 3]), (a*x[1, 3] + E[1, 3])*(E[2, 1] + (a + 2)*x[2, 1]) + (a*x[2, 3] + E[2, 3])*(E[2, 2] + (a + 2)*x[2, 2]) + (a*x[3, 3] + E[3, 3])*(E[2, 3] + (a + 2)*x[2, 3]), (a*x[1, 1] + E[1, 1])*(E[3, 1] + (a + 2)*x[3, 1]) + (a*x[2, 1] + E[2, 1])*(E[3, 2] + (a + 2)*x[3, 2]) + (a*x[3, 1] + E[3, 1])*(E[3, 3] + (a + 2)*x[3, 3]), (a*x[1, 2] + E[1, 2])*(E[3, 1] + (a + 2)*x[3, 1]) + (a*x[2, 2] + E[2, 2])*(E[3, 2] + (a + 2)*x[3, 2]) + (a*x[3, 2] + E[3, 2])*(E[3, 3] + (a + 2)*x[3, 3]), (a*x[1, 3] + E[1, 3])*(E[3, 1] + (a + 2)*x[3, 1]) + (a*x[2, 3] + E[2, 3])*(E[3, 2] + (a + 2)*x[3, 2]) + (a*x[3, 3] + E[3, 3])*(E[3, 3] + (a + 2)*x[3, 3])]

@vv  Thank you so much. Now, it is good.!! How select this as the best answer?

@vv Thanks again. I think my question is obvious and my example is completely appropriate. I need a function which receives two parametric monomials (and also a list of variables) and returns true or false;

its output is true if these monomials have not any common variables and return false if there is at least one common variable. 

@vv Thanks for your answer. But, all of m1, m2, m3 have the variable x and so are not distinct. So, true is not correct in the output of your function.

@Carl Love Thank you very much for your helpful answers. It seems is OK!!

@vv But, now there is another problem in using HasSubexpression. When I use HasSubexpression in my main algorithm it doesn't work correctly. How to apply HasSubexpression in my main procedure? For example, in the middle of computations

`elif ormap`(proc (a) options operator, arrow; HasSubexpression(a, [n*a,n*b]) end proc, [a*n*z^3+t-1, -m*x]) = true then....

It returns false while independently in the out of procedure it returns true which is correct.

@vv Yes, c appears in H. So, I think my example is not appropriate for this case. It seems that HasSubexpression is correct. I will run our example and report the results. 

1 2 3 4 5 6 7 Last Page 3 of 11