Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I'd like to get the simplest possible expression when using simplify. The problem is that this is all done in a program, without having the benifit of looking at the expression on the screen and trying things. So I need a method that works for large set of input all the time.

I noticed in this example that simplify did not do what I think it should have.

Given the expression -2*(x^3 + 2)/(x*(x + 1)*(sqrt(3)*I + 2*x - 1)*(sqrt(3)*I - 2*x + 1)) it can be simplified to (x^3 + 2)/(2*x^4 + 2*x) but  I had to go into many tries in order to get this final result.

Is there a better way to do this? I end up now   doing simplify(expand(numer(expr))/expand(denom(expr))) in the hope to get better simplification.  Here is an example



`Standard Worksheet Interface, Maple 2021.2, Windows 10, November 23 2021 Build ID 1576349`








simplify(w) assuming x::real










It would be nice if Maple simplify would just do it directly as follows in Mathematica. May be there is a an  option I am overlooking



I drew a methane molecula and display three times because I wanted to get two-fold and three-fold symmetry axis. ,I would is that I would like to get a more exact output and doing it without clicking, it's say, using code. Can someone help me?

University of Costa Rica 

Course: SP-1493

Student: Lic. Marcus Vinicio Mora Salas

Instructor: Dr. Erick Castellón Elizondo





In this assigment exercises e2.113,  e2.114, e2.115 and e2.117 was solved.











Suppose I have a real function which is defined on these intervals [x0,x1],...[x1,xn], and on each interval it's defined differently, for example f(x):=sqrt(x) if x>=0; f(x):=1/x if x<0.

For the last example I tried my last resort to use the assuming operator the following way:

f := ((x -> sqrt(x)) assuming (0 <= x)) or ((x -> 1/x) assuming (x < 0)) plot(f, x)

But it doesn't seem to be working, how do you propose to define this function? perhaps proc?

I tried looking for an example in maple's help, but didn't find any.

Your help is appreciated.

I read that abs(v) should find the magnitude of complex number. But I find cases where it does not.

Should one then use sqrt( Re(v)^2 + Im(v)^2 ) instead or is there different command to use?  Here is an example


`Standard Worksheet Interface, Maple 2021.2, Windows 10, November 23 2021 Build ID 1576349`






sqrt( Re(v)^2 + Im(v)^2 );




Here is the same thing in Mathematica:

I searched help for modulus but could not find one.

Maple 2021.2

Can someone confirm, that autosave is not implemented for workbooks?

The only thing I can restore form a workbook session are specific worksheets of the workbook that I was working on.

None of the Maple codes are saved for example.

This is a major issue, folks. If you haven't implemented it, you need to tell us about it in the help document.


Hi all,

Do you know how one can ask Maple to show expressions involving special functions using their"classical symbols" instead of the associated Maple's command ?

Thanks !


I following a example of products multiplication like this one


Calculating with  this with maple 1d input is correct, but when i convert a maple 1d input  to 2D input ( i did somewhere) and use this then there is difference with the maple 1d calculation

Seems to be not a advisable to use converted maple 1d to 2 D input for calculation : ( for a mixed calculation(maple input/2D input)  or solely 2d input) , but only for purpose of seeing what the expression in maple input is standing for.   

Note: i did the calculation again with mixed input and now the correct sequenze of answers shows up ?

Just wanted to post that I had some data loss because I opened two different workbooks with the same name from different locations.

This could lead to loss of data.

I had code attachments from the "old" workbook implemented in the "new" workbook, while the new code was gone.

The prime notation as used default on my keyboard is not the same as used in Maple.




interface(typesetting = extended);



Typesetting:-Settings(typesetprime = true);



diff(y(x), x)

diff(y(x), x)


y*`\`   `and  diff(y(x), x)are not working on my keyboard as prime?

 prime symbols (not showed)  not as (3)




`Maple 2021.1, X86 64 LINUX, May 19 2021, Build ID 1539851`


interface(typesetting = extended)

diff(y(x), x)

diff(y(x), x)


Typesetting:-Settings(typesetprime = true)

diff(y(x), x)

diff(y(x), x)



diff(diff(diff(y(x), x), x), x)



y(x)*`will now be displayed as`*y


diff(y(x), x)

diff(y(x), x)



diff(diff(diff(y(x), x), x), x)


PDEtools:-declare(f(x, y))

f(x, y)*`will now be displayed as`*f


diff(f(x, y), y, x, y)

diff(diff(diff(f(x, y), x), y), y)



Application Differential equation :  

int((10000*k/(100*k*P(t) - 1) - 100/P(t))*diff(P(t), t), t = 0 .. t) = t;

int((10000*k/(100*k*P(t)-1)-100/P(t))*(diff(P(t), t)), t = 0 .. t) = t



Error, (in solve) cannot solve expressions with diff(P(t), t) for P(t)


This error .. see  Applications to Differential Equations

Applications to Differential Equations





Also a error in old studymaterial : how to be fixed ? ...or obselote now this calculation and must be replaced for a modern calculation in Maple ?

In the exercise uploaded I have to plot asymptotes of a function. I know this is possible using definitions of all kind of asymptotes and ploting in a figure. However I would like to know if exists some parameter for plot method that automatically show asymptotes.




Plot this couple of parametric equations, identify the geometric figure known as the folium of Descartes , and relate properties of the figure to numerical coefficients in the equations.

  x = 3*t/(t^3+1), y = 3*t^2/(t^3+1)   


restart: with(plots):




See how the plot of the folium of Descartes can be built with the following code:

d1 :=

Error, invalid terms in product: -10 .. 10

Error, invalid terms in product: -10 .. 10

Error, (in plots:-pointplot) points cannot be converted to floating-point values




For this question I need that who help me focus in second block of code in the document. Basically, what I am trying is to get a plot of folium of Dercastes using parametric equation to plot ordered pairs. In order to success, is needed to exclude t=-1. In the block is showed what I tried. I concluded that my approach in solving that part of exercise is wrong. What could be a well approach?

I have to do this  diff(f(x), x) = f(1/x), f(0) = 0 , but it gives me the error on solution := dsolve(equations) :Error, (in dsolve) found the indeterminate function f with different arguments {f(x), f(1/x)} and I know what to do, please help me

Thought always that the round d is reserved for function of two variables x,y , but  that seems to be not the case here ?


Comparing Different Answers


Een antwoord ergens gegeven is

Int(sqrt(x^2+1), x) = (1/2)*x*sqrt(x^2+1)+(1/2)*ln(x+sqrt(x^2+1)) + C                                                             (vb)


Mple geeft



Int((x^2+1)^(1/2), x) = (1/2)*x*(x^2+1)^(1/2)+(1/2)*arcsinh(x)+C[1]



De twee antwoorden lijken nog niet opelkaar !
In het gegeven antwoord staat er een ln en in Maple kan een expressie omgezet worden in ln termen


Int((x^2+1)^(1/2), x) = (1/2)*x*(x^2+1)^(1/2)+(1/2)*ln(x+(x^2+1)^(1/2))+C[1]


(2)  is hetzelfde (vb)

Dezelfde integraal i sook gegeven als


Int((x^2+1)^(1/2), x) = (1/8)*(x+(x^2+1)^(1/2))^2+(1/2)*ln(x+(x^2+1)^(1/2))-(1/8)/(x+(x^2+1)^(1/2))^2+C[2]



een effectieve manier om twe antwoorden t evergelijken voor hetzelfde probleem is het verschil te berekenen van een vergelijking met de twee integralen








(x^2+1)^(1/2)-(1/4)*(x+(x^2+1)^(1/2))*(1+x/(x^2+1)^(1/2))-(1/2)*(1+x/(x^2+1)^(1/2))/(x+(x^2+1)^(1/2))-(1/4)*(1+x/(x^2+1)^(1/2))/(x+(x^2+1)^(1/2))^3 = 0



0 = 0


Strange that  diff(lhs(%)-rhs(%)=0,x);  is translated by 2 d input with round d notation for functions with two variables ?
The two integrals are functions of one variable
diff(f, x)


Here is a problem that I recently had to solve and I really liked it. I recommend it to all Maple fans:

"The contour of the Christmas tree on the occasion of the New Year 2022 is a triangle, which is divided into 7 small triangles, the bases of which are parallel. The areas of triangles and the star are measured in snowflakes, the values of which are presented on the balls (of course, the number of snowflakes must be integer). It is necessary to determine the areas of triangles, on the balls of which there are no numbers".

At first glance it seems that the area of the star is not related to the problem, but it is not. This will become clear only after the problem is solved.

                          alt text


Hi! I want to make animation from the sequence below to download but it's not working I mean that it's ok when I want to see animation on display but it cannot be seen as something like "display(seq(...,a=1..100),insequence=true)" which is easy to export

M := seq(Mandelbrot(500, -0.17225 - evalf(a/100000) + (0.660347 + evalf(a/100000))*I, -0.17115 - evalf(a/100000) + (0.66116 + evalf(a/100000))*I, iterationlimit = 3000, output = layer1, cutoff = 10000), a = 1 .. 100);
seq([Embed(M[j])], j = 1 .. 100);

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