Maple 2021 Questions and Posts

These are Posts and Questions associated with the product, Maple 2021



I can't find the toolbar for drawing i Maple 2021. 

Can anyone help me? I'm using Macbook.


I try to clik on at picture but I can't see it.

I try to insert a drawnig but I can't see it.


Hope someone can help me.

Would be nice if someone could add Maple 2021 to Software Change Requests list.

Right now Maple 2021 is unusable for us due to a big problem related to saving workbooks.




n := 4000

M1 := LinearAlgebra:-RandomMatrix(n, n, datatype = float[4])

M2 := LinearAlgebra:-RandomMatrix(n, n, datatype = float[4])




tNoCUDA := time[real](M1.M2)









tCUDA := time[real](M1.M2)














Hello all :-)

I just upgraded to 2021 and ran the example help page for CUDA.

From the help we can see that the ratio is 11.

With Maple 2020 I had a ratio of 7.24

With Maple 2021 I have a ratio of around 4. (see the mw attached).

I wonder with which version the help page was made but on my machines the ratio diminishes from version to version

but I upgraded the hardware.

Now it's Windows 10 Pro 20H2, the amazing AMD Ryzen Threadripper (64 cores) and 256 Go RAM, the graphic card is a NVIDIA RTX 3090 with...10496 CUDA cores.

So what can't I get a better ratio with/without CUDA?


I get the degree sequence of a graph, I want to create more graphs, but maple seems to only get the only graph.

Is there a good way to get more, a foolish dream, can we get all the graphs that satisfy this degree sequence condition?

G := SequenceGraph(L):




Consider an easy example of a table.


We can give an index to it and get its corresponding entry if exists.


We can also get the set of all indices, or the set of all entries. But what about receiving the index or set of indices with a specific entry. for example asking what indices have the entry `1`?

Of course I can define a search procedure myself, but I thought there might be an efficient way which is already implemented as a function/method on tables.

This is new exception generated by Maple pdsolve in 2021. Different from the last post I gave on pdsolve. So I thought it will be better to keep them separate since the causes are different.

pde :=  diff(w(x,y,z),x)+(a1*x^n1*y+b1*x^m1)*diff(w(x,y,z),y)+(a2*x^n2*y+b2*x^m1)*diff(w(x,y,z),z)= 0;

#another example

local gamma:
pde := diff(w(x,y,z),x)+(a1*x^n1*y+ b1*x^m1)*diff(w(x,y,z),y)+(a2*x^n2*y+b2*x^m2)*diff(w(x,y,z),z)=c2*x^k2*y+c1*x^k1*z;


Error, (in GAMMA) numeric exception: division by zero

The same PDE works in 2020.2. The answer it gives is large so will not show it all below.

Screen shots

Maple 2021


Maple 2020.2

All on windows 10.

Do other see the same error? What causes it?


I noticed number of pde's now fail in Maple 2021 with the error 

          int/gbinthm/structure INVALID subscript selector

but they do not fail in Maple 2020.2.

Here are few   examples

pde :=a*x^n*diff(w(x,y),x) + n*x^m*y*diff(w(x,y),y) =s*x^p*y^q+d;

pde :=a*x^n*diff(w(x,y),x) + n*x^m*y*diff(w(x,y),y)=c*x^k*y^s+d; 

pde :=a*x^n*diff(w(x,y),x)+b*x^m*y*diff(w(x,y),y) =  (c*x^k*y^s + d)*w(x,y);

pde :=  a*diff(w(x,y),x)+ y*diff(w(x,y),y) = b*w(x,y)+ c*x^n*y^m;


Error, (in int/gbinthm/structure) invalid subscript selector

While in Maple 2020.2 they all work. Screen shot

Maple 2021


Maple 2020.2


Any idea why this happens? Do others see the same error?



I've experienced problems a couple of times when trying to save a workbook in Maple 2021.

At first I thought it was due to a unstable VPN connection, but this also happens on a local drive.

This is just an obervation. May be due to me missing some clarification.

My understanding is that in Maple 2021, one can now export a complete Maple worksheet/document to Latex successfuly.

According to  it says under "Latex export"
  Export is available for individual expressions or the entire document, though the latex command

So I would have expected that now all the online PDF documents for the new features in Maple 2021 to be generated from Latex for better formatting.

But when going over number of documents, they do not appear to have converted to Latex before generating the PDF.

Even the PDF document about the new latex command does not appear to have been generated from Latex. I can quickly recognize a PDF that was generated from Latex, and these PDF files are clearly not.

Looking at sample PDF from Maple website, it says the generator is "iText" and not latex compiler.

It looks like these documents were just a direct export of the Maple worksheet to PDF, instead of being exporting to Latex first, and then compiled to PDF.

Am I missing something? Why not take advantage of the Maple Latex export, and convert all the documents to Latex first and then generate the PDF from Latex? This would make them look much better in terms of formatting and math rendering.

Here are some examples

Why did not Maple documentation take advantage of the new export command of Maple's latex command? This would also have been a good way and an opportunity to show case the effectiveness of the new latex export command.

May be it was not done due to time constraint before the release date of maple 2021? Or are there other technical reasons?



Dear all,

I believe there is a bug in integration of square of Jacobi sine function.

Here is what I did:

u := int(JacobiSN(x, k)^2, x);

The result I got is
                  x - EllipticE(JacobiSN(x, k), k)
             u := --------------------------------
However, according to  Handbook of elliptic integrals for engineers and scientists by Byrd and Friedman Eq (310.02), it is supposed to be  

                  x - EllipticE(JacobiAM(x, k), k)
             u := --------------------------------


 Note that I tried also to integrate first and third power of JacobiSN a the results are in agreement with the book.

Hi there.

I found some strange behavior of int function in document with using of Physics package in Maple 2021 in comparison with Maple 2020:

Please look at that.

Thank you.

Int(UxUxy+UxxUy, x)=UxUy

How can I do this?

Show that x-2 is a factor of p(x)=x^3+3x^2-4x-12

I)determine all the linear factors of p(x)

ii)what are the zeros of y=p(x)

iii)sketch function y=p(x)

In Maple 2021

B:=sqrt( (-4*u^(1/3)+1)*u^(4/3));

This is one of the integrals, that in Maple 2020 did not handle. In Maple 2020, it gives this

B:=sqrt( (-4*u^(1/3)+1)*u^(4/3));
A:=1/( -12*u+ 3*u^(2/3)-3*B);

The difference is that in Maple 2021 int is able to solve this (but gives very long output which I will not post here). The problem is now simplify() gives an error on the result. I was trying to see if possible to obtain the same small result as Mathematica's after simplifying. Here is Mathematica's result

B = Sqrt[(-4*u^(1/3) + 1)*u^(4/3)];
A = 1/(-12*u + 3*u^(2/3) - 3*B);
res = Integrate[A, u]

It is good that Maple can solve this integral, but why simplify gives error on the result? Is there a workaround?


1 2 3 4 5 Page 4 of 5