Unanswered Questions

This page lists MaplePrimes questions that have not yet received an answer

I have a problem calculating integral analytically.

Can anyone help me in this regard?

Thanks

problem_2_integral_&_moshtagh.mw

I wonder what is the general view on this.

Maple tries hard to find analytical solutions by trying different algorithms. Which is very good. But the question is, should it also hang doing this? Should not there be a circuit breaker to prevent the hang?

I mean there must be a limited number of algorithms it tries. So at one point one would expect it will finish and return either no solution or the solution it found.

For this Abel ode   y'=x+y^3, which is known not to be solvable, Maple hangs on 

           > Step 2: calculating resultants to eliminate F and get candidates for 

I waited for almost one hour. Clearly this indicates a problem internally. Right?

There should be some internal checks to prevent this hang I would think.  I do not know where it actually hangs, since trace only shows the last step above.

It will good to find out the cause of the hang and add code to prevent this in a future version of Maple dsolve to make it more robust.

btw, using that another software, it returns instantly on this ode with no solution. May be the other software did not try as hard, but at least it did not hang :)

restart;

interface(version);

`Standard Worksheet Interface, Maple 2025.0, Linux, March 24 2025 Build ID 1909157`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1861 and is the same as the version installed in this computer, created 2025, April 10, 15:58 hours Pacific Time.`

restart;

infolevel[dsolve]:=5;
ode:=diff(y(x),x)=x+y(x)^3;
sol:=dsolve(ode,y(x))

5

diff(y(x), x) = x+y(x)^3

Methods for first order ODEs:

--- Trying classification methods ---

trying a quadrature

trying 1st order linear

trying Bernoulli

trying separable

trying inverse linear

trying homogeneous types:

trying Chini

Chini's absolute invariant is: (1/27)/x^5

differential order: 1; looking for linear symmetries

trying exact

trying Abel

The relative invariant s3 is: x

The first absolute invariant s5^3/s3^5 is: 1/x^5

The second absolute invariant s3*s7/s5^2 is: 0

...checking Abel class AIL (45)

...checking Abel class AIL (310)

...checking Abel class AIR (36)

...checking Abel class AIL (301)

...checking Abel class AIL (1000)

...checking Abel class AIL (42)

...checking Abel class AIL (185)

...checking Abel class AIA (by Halphen)

...checking Abel class AIL (205)

...checking Abel class AIA (147)

...checking Abel class AIL (581)

...checking Abel class AIL (200)

...checking Abel class AIL (257)

...checking Abel class AIL (400)

...checking Abel class AIA (515)

...checking Abel class AIR (1001)

...checking Abel class AIA (201)

...checking Abel class AIA (815)

Looking for potential symmetries

... changing x -> 1/x, trying again

Looking for potential symmetries

The third absolute invariant s5*s7/s3^4 is: 0

 ->         ======================================

 ->             ...checking Abel class D (by Appell)

 -> Step 1: checking for a disqualifying factor on F after evaluating x at a number

Trying x = 1

*** No disqualifying factor on F was found ***

 -> Step 2: calculating resultants to eliminate F and get candidates for C

 

 

Download why_hangs_dsolve_april_18_2025.mw

Occasionally I want to convert 2D-Math input to 1D-Math input. This is either not fully working with comments or changes the format. Example:

Try converting the input below to Maple 1D-Math (select -> right click -> 2D-Math -> convert to -> 1D-Math)

statement

statement

(1)

The*comment*dissapears:

statement;

 

statement

(2)

The Maple Input at the top can be converted by selecting the style C Maple Input from the edit tab but the font changes not to the default font for 1D Math-Input;

statement

statement

(3)

The above is in italic and not in bold. However the default for 1D-Math Input is the following

statement

statement

(4)

 

NULL

Also pasting code with comments in MaplePrimes (function insert code snippet) removes comments.

Any other ways? Ideally, I would also like to convert a whole document in one go, That is probably asked too much.

Download convert_comment_to_1D.mw

As shown in the paper, and in many similar ones, the authors use a particular method that I believe is related to the long wave limit. I’m familiar with other approaches, but the traditional methods haven’t been successful in this case. This author, along with a few others, has tried applying this long wave limit approach, though many papers don’t explicitly mention the substitutions they use to arrive at the lump solution.

I’ve been able to separately find the lump series, but for some of the other solutions, we first need to figure out how to derive this key result. Once that part is clear, the rest should be easier to handle. I've been working through everything step by step and have managed to reproduce many of the solutions from the paper.

Also i don't know how finding (eq17) in paper, which they found by apply long wave limit to (eq7) in paper

additionaly How finding line which i think they found by finding velocity?

Please, if you have any information or insight into how we can obtain this more difficult result, I would really appreciate your help.

restart

with(PDEtools)

with(LinearAlgebra)

NULL

with(SolveTools)

_local(gamma)

NULL

declare(u(x, y, z, t))

u(x, y, z, t)*`will now be displayed as`*u

(1)

declare(f(x, y, z, t))

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

(2)

alpha := 1; beta := 1; delta := 1; lambda := 1

1

 

1

 

1

 

1

(3)

pde := diff(diff(u(x, y, z, t), t)+6*u(x, y, z, t)*(diff(u(x, y, z, t), x))+diff(u(x, y, z, t), `$`(x, 3)), x)-lambda*(diff(u(x, y, z, t), `$`(y, 2)))+diff(alpha*(diff(u(x, y, z, t), x))+beta*(diff(u(x, y, z, t), y))+delta*(diff(u(x, y, z, t), z)), x)

diff(diff(u(x, y, z, t), t), x)+6*(diff(u(x, y, z, t), x))^2+6*u(x, y, z, t)*(diff(diff(u(x, y, z, t), x), x))+diff(diff(diff(diff(u(x, y, z, t), x), x), x), x)-(diff(diff(u(x, y, z, t), y), y))+diff(diff(u(x, y, z, t), x), x)+diff(diff(u(x, y, z, t), x), y)+diff(diff(u(x, y, z, t), x), z)

(4)

thetai := t*w[i]+x*k[i]+y*l[i]+z*r[i]+eta[i]

eq15 := w[i] = -(k[i]^4+k[i]^2+k[i]*l[i]+k[i]*r[i]-l[i]^2)/k[i]

eq17 := u(x, y, z, t) = 2*(diff(diff(f(x, y, z, t), x), x))/f(x, y, z, t)-2*(diff(f(x, y, z, t), x))^2/f(x, y, z, t)^2

A[sj] := (3*k[i]^4*k[j]^2-6*k[i]^3*k[j]^3+(3*k[j]^4+l[j]^2)*k[i]^2-2*k[i]*k[j]*l[i]*l[j]+k[j]^2*l[i]^2)/(3*k[i]^4*k[j]^2+6*k[i]^3*k[j]^3+(3*k[j]^4+l[j]^2)*k[i]^2-2*k[i]*k[j]*l[i]*l[j]+k[j]^2*l[i]^2)

F2 := 1+exp(eta[1])+b[1, 2]*exp(eta[1]+eta[2])+exp(eta[2])

1+exp(eta[1])+b[1, 2]*exp(eta[1]+eta[2])+exp(eta[2])

(5)

F22 := 1+exp(eta[1])+(3*k[1]^4*k[2]^2-6*k[1]^3*k[2]^3+(3*k[2]^4+l[2]^2)*k[1]^2-2*k[1]*k[2]*l[1]*l[2]+k[2]^2*l[1]^2)*exp(eta[1]+eta[2])/(3*k[1]^4*k[2]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+l[2]^2)*k[1]^2-2*k[1]*k[2]*l[1]*l[2]+k[2]^2*l[1]^2)*exp(-(t*k[1]^4+t*k[1]^2+t*k[1]*l[1]+t*k[1]*r[1]-t*l[1]^2-x*k[1]^2-y*k[1]*l[1]-eta[1]*k[1])/k[1]-(t*k[2]^4+t*k[2]^2+t*k[2]*l[2]+t*k[2]*r[2]-t*l[2]^2-x*k[2]^2-y*k[2]*l[2]-eta[2]*k[2])/k[2])/(3*k[1]^4*k[2]^2+6*k[1]^3*k[2]^3+(3*k[2]^4+l[2]^2)*k[1]^2-2*k[1]*k[2]*l[1]*l[2]+k[2]^2*l[1]^2)+exp(-(t*k[2]^4+t*k[2]^2+t*k[2]*l[2]+t*k[2]*r[2]-t*l[2]^2-x*k[2]^2-y*k[2]*l[2]-eta[2]*k[2])/k[2])

(7)

indets(F222)

{t, x, y, eta[1], eta[2], k[1], k[2], l[1], l[2], r[1], r[2], exp(-(t*k[1]^4+t*k[1]^2+t*k[1]*l[1]+t*k[1]*r[1]-t*l[1]^2-x*k[1]^2-y*k[1]*l[1]-eta[1]*k[1])/k[1]), exp(-(t*k[2]^4+t*k[2]^2+t*k[2]*l[2]+t*k[2]*r[2]-t*l[2]^2-x*k[2]^2-y*k[2]*l[2]-eta[2]*k[2])/k[2]), exp(-(t*k[1]^4+t*k[1]^2+t*k[1]*l[1]+t*k[1]*r[1]-t*l[1]^2-x*k[1]^2-y*k[1]*l[1]-eta[1]*k[1])/k[1]-(t*k[2]^4+t*k[2]^2+t*k[2]*l[2]+t*k[2]*r[2]-t*l[2]^2-x*k[2]^2-y*k[2]*l[2]-eta[2]*k[2])/k[2])}

(8)

eq1 := eval(F222, {eta[1] = -1, eta[2] = -1, k[1] = K[1]*epsilon, l[1] = L[1]*epsilon, r[1] = R[1]*epsilon})

exp(-(epsilon^4*t*K[1]^4+epsilon^2*t*K[1]^2+epsilon^2*t*K[1]*L[1]+epsilon^2*t*K[1]*R[1]-epsilon^2*t*L[1]^2-epsilon^2*x*K[1]^2-epsilon^2*y*K[1]*L[1]+epsilon*K[1])/(K[1]*epsilon))+(3*K[1]^4*epsilon^4*k[2]^2-6*K[1]^3*epsilon^3*k[2]^3+(3*k[2]^4+l[2]^2)*K[1]^2*epsilon^2-2*K[1]*epsilon^2*k[2]*L[1]*l[2]+k[2]^2*L[1]^2*epsilon^2)*exp(-(epsilon^4*t*K[1]^4+epsilon^2*t*K[1]^2+epsilon^2*t*K[1]*L[1]+epsilon^2*t*K[1]*R[1]-epsilon^2*t*L[1]^2-epsilon^2*x*K[1]^2-epsilon^2*y*K[1]*L[1]+epsilon*K[1])/(K[1]*epsilon)-(t*k[2]^4+t*k[2]^2+t*k[2]*l[2]+t*k[2]*r[2]-t*l[2]^2-x*k[2]^2-y*k[2]*l[2]+k[2])/k[2])/(3*K[1]^4*epsilon^4*k[2]^2+6*K[1]^3*epsilon^3*k[2]^3+(3*k[2]^4+l[2]^2)*K[1]^2*epsilon^2-2*K[1]*epsilon^2*k[2]*L[1]*l[2]+k[2]^2*L[1]^2*epsilon^2)+exp(-(t*k[2]^4+t*k[2]^2+t*k[2]*l[2]+t*k[2]*r[2]-t*l[2]^2-x*k[2]^2-y*k[2]*l[2]+k[2])/k[2])

(9)

G := limit(eq1, epsilon = 0)

exp(-(t*k[2]^4+t*k[2]^2+t*k[2]*l[2]+t*k[2]*r[2]-t*l[2]^2-x*k[2]^2-y*k[2]*l[2]+2*k[2])/k[2])+exp(-1)+exp(-(t*k[2]^4+t*k[2]^2+t*k[2]*l[2]+t*k[2]*r[2]-t*l[2]^2-x*k[2]^2-y*k[2]*l[2]+k[2])/k[2])

(10)

Download LWL.mw

in try to figure out why in some function i can find this critical point for ploting i need that point , untill now i just find in one function and other i can't and my program not runing for other and really this is make problem for my invistigation i want to fixed that and i upload that file i did and that file i can't find it for , thanks for any help?

line-undone.mw

Line-1-Done.mw

I can't find the help page for Abel second kind, class B. 

Maple has help page for Abel second kind, class A and Abel second kind, class C. But not for class B. 

Here is an example of Abel second kind class B

ode:=(3*t*y(t)+y(t)^2)+(t^2+t*y(t))*diff(y(t),t)=0;
DEtools:-odeadvisor(ode)

I wanted to know the difference and the transformation used for class B to make it Abel first kind.

I googled and can't find it. Also local help skips over class B.

Is this documented somewhere else?

btw, find error on the help page for class A. Transformation used is wrong. Will leave this for another question.

I'm not currently working on the topic of fluids and I'm not very familiar with it. However, my partner is working on it and is using other software. They have a question about whether Maple can handle this kind of work. Are there any examples available? I’d appreciate any help

thanks!

Dear Maple experts,

is there a possibility/command to get a vizualization of the output of the command FeedbackConnect?

I was thinking of something like this:


as it is given on the maple-help page for that command (but not generated via a maple command as far as I understood)

Thanks in advance !

I have repeatedly seen this on two Windows PCs:

The assignement operator := is rendered as a roman d

This happens after using Maple for some time.
 Exiting Maple and restart of Maple is required. Has someone noticed the same?
All on Windows 10 and for sure in screen reader mode (my default, cannot report on the new GUI).

It seems that the new Ribbon interface has several bugs (probably an update will come soon). So, not only the Export As is not working, but I see that (at least in Windows), opening a worksheet with a large output will display the output using the Maple input font.
Just save a .mw with the content:

expand((x+1)^200);

and then open it.

hello everyone,

I am a bit shortsighted even with my glasses.

So my question is easy :: is there a way that when I open a (new) worksheet the magnification is 150%.

I can do it easily by hand but I am looking for 'something' in my maple.ini file to do this?

As well with the help pages.

Because even if I have a 150% magnification and I call a help page the display is still 100 % not 150%.

A part that I would like to set for every session a Digits:16 .

In the .ini file where I must input this? A ";" or not?

Thank you veru much.

Jean-Michel

I don't know what combination of keys I used, but I deleted all the answers and comments to this question in one go. 
https://mapleprimes.com/posts/229696-I-Find-An-Error

Can some moderator recover all of them?

Thanks in advance and sorry for the inconvenience

This question is about a particularity of a widely used function, which looks like a bug at the first glance, but is not (after carefully studying the help page).

The function “add” (a built-in function with special evaluation rules) is intended to be used on sequences. If for any reason (in a procedure for example) a sequence degenerates to a single scalar expression and add is applied to it, the expression can change. This is most likely undesired. In the case below (simplified from a real case that happened to me) a product is transformed into a nonsense sum.

data := 1.*Unit(m);
accu_length := add(data);
data := data, 2.*Unit(m);
accu_length := add(data);
                       data := 1. Unit(m)

                  accu_length := 1. + Unit(m)

                 data := 1. Unit(m), 2. Unit(m)

                   accu_length := 3. Unit(m)

It is quite likely that the above unit error will be noticed. In the following case it is more likely that a change in value remains unnoticed.

data := 2/5;
add(data);
                                   2
                           data := -
                                   5

                               7

I was wondering whether Maple could issue a warning to prevent this use error of add, when certain types of expressions are passed to add.
Alternatively Maple could return the expression unchanged. So far, I have not found a case where it makes sense to apply add to operands of a scalar expression (excluding set, list, array, ... ).

This leads to the question of whether this functionality (add working on a scalar expression) is needed at all. I tried a few and none of them is useful

[a = b, a^b, a@b, a/b, sin(a), int(f(x), x), a[b]];
map(add, %);
        [        b       a                            ]
        [a = b, a , a@b, -, sin(a), int(f(x), x), a[b]]
        [                b                            ]

          [                         1                ]
          [a + b, a + b, a + b, a + -, a, f(x) + x, b]
          [                         b                ]

Anything else which could make sense?

In the File menu,  the Export As dialog is missing. Only the default (.pdf) can be used; no .mpl or .tex)
The Save As dialog is incomplete (e.g. save to .mws).

Or, is the installation corrupted?

I need to take up an issue which is quite old, but still unsolved.

https://www.mapleprimes.com/questions/234249-Text-Quality-On-Screen

The problem is that in specific display configurations with one (rotated) vertical screen and multiple horizontal screens, the quality of fonts especially is significantly lower in Maple as with a configuration with just horizontal screens.

The affect is visible in Maple when it is on the horizontal (unrotated) screens.

Here are screenshots for comparision, and the layout of my desktop.

Screen layout:

Screenshot rotated

Screenshot unrotated

It seems that the problem is present when starting Maple. Changing the rotation of the screen when Maple is running does not affect the font quality in Maple.

Other (Windows) programs are not affected at all of this changes, so this seems to be a Java issue.

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