MaplePrimes Questions

Maple help pages keep getting worst with each release.

I want all input to be displayed using Maple 1D notation, so I can copy the example to my worksheet since I only use worksheet and not document (2D) mode.

So even though the first thing I do when I open help it to turn off the 

                     view->Display examples with 2D

So it is no longer checked, I still see many pages using 2D math for input. 

Here is one example ?D  page

If I copy one such input to my worksheet now it looks like this

eveything in 2D becomes ?? when I copy it.

So one can only look but not copy?

Is there any other option to make sure, really make sure, all examples have 1D as input?

The problem is that it is all not consistent. Some examples have a mix of 2D and 1D as the above page. Some are in 2D and some are in 1D.

And this is all on the same help page!

Does no one inside Maplesoft even look at their own help pages?
 

At school the teacher always said that if we have second order ode and only one initial conditions (say y'(0)=0 or y(0)=0) then the solution should have one constant of integration in it.

And if we have no initial conditions, then the solution should have 2 constants of integrations in it.

And if we have two initial conditions, then the solution should have zero constants of integrations in it.

In this example, Maple is given second order ode with one IC. But the solution it gives when asked to solve it explicit, has no constant of integration in it at all. 

When asked to solve it using implicit, then the constant of integration shows up. 

Both solutions actually verify to be fully correct using odetest. So it looks like the solution as explicit is particular solution and not a general solution.

Why is that? Why it did not give general solution when asked to solve the ode as explicit?

restart;

interface(version);

`Standard Worksheet Interface, Maple 2024.1, Windows 10, June 25 2024 Build ID 1835466`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1793 and is the same as the version installed in this computer, created 2024, August 25, 9:6 hours Pacific Time.`

libname;

"C:\Users\Owner\maple\toolbox\2024\Physics Updates\lib", "C:\Program Files\Maple 2024\lib"

restart;

ode:=y(x)*diff(y(x),x$2)+diff(y(x),x)^2+1=0;
IC:=D(y)(0)=1;

y(x)*(diff(diff(y(x), x), x))+(diff(y(x), x))^2+1 = 0

(D(y))(0) = 1

sol1:=dsolve([ode,IC],explicit);
 

y(x) = (-x^2+x*2^(1/2)+1/2)^(1/2)

sol2:=dsolve([ode,IC],implicit);

-(1/2)*y(x)^2+x*y(0)-(1/2)*x^2+c__2 = 0

odetest(sol1,[ode,IC]);
odetest(sol2,[ode,IC]);

[0, 0]

[0, 0]

 

 

Download why_missing_constant_of_integration_august_25_2024.mw

In calculation limit, signum and infinity appear!!!

Is this correct?

 

lim.mw

The second result is definitely wrong, but why is this? 

MmaTranslator:-FromMma("Subscript[x, 0] -> 2 (y - z) (y - z)");
                       MmaTranslator:-FromMma(

MmaTranslator:-FromMma("Subscript[x, 0] -> 2 (y - z)^2"); # should return: x[0] = 2*(y - z)^2
                      MmaTranslator:-FromMma(

The result is still wrong even if I type an explicit multiplication sign (for instance, "Subscript[x, 0] -> 2*(y - z)^2"). 

Dear all
I have an equation, I would like to dermine the exact solution, but maple return an error 

exact_solution.mw

Thank you

On a Windows 10 installation with

I get after system restart and Maple launch

followed by

What could be the cause that the update is not downloading and how to fix it?

Maple solves this first order ode correctly and solution verifies OK. The solution is explicit and has RootOf. I asked it to solve it using dAlembert method to compare with my own solution using dAlembert.

Next I called dsolve on same ode and IC but asked for implicit solution now instead, then called solve on the implicit solution to see if it will give same solution y(x) as before (with RootOf). But instead solve gives this internal error 

               Error, (in evala) reducible RootOf detected.  

Next called PDEtools:-Solve to see if it will give same error. It did not give error. But it also could not solve for y(x) either.

Any one has any idea why this error is generated by solve? Is this expected or not?

I was expecting same result as first call to dsolve which returned explicit solution. And why is PDEtools:-Solve do not generate same error? It must have run through different code path.

May be some one have some insight on this.

interface(version);

`Standard Worksheet Interface, Maple 2024.1, Windows 10, June 25 2024 Build ID 1835466`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1792 and is the same as the version installed in this computer, created 2024, August 22, 12:6 hours Pacific Time.`

libname;

"C:\Users\Owner\maple\toolbox\2024\Physics Updates\lib", "C:\Program Files\Maple 2024\lib"

ode:=(2*x+y(x))+(4*x-2*y(x)+1)*diff(y(x),x)=0;
IC:=y(1/2)=0;

2*x+y(x)+(4*x-2*y(x)+1)*(diff(y(x), x)) = 0

y(1/2) = 0

maple_sol:=dsolve([ode,IC],[dAlembert]);

y(x) = RootOf((8*I)*exp((3/41)*41^(1/2)*arctanh((1/41)*(-28*x+6*_Z-5)*41^(1/2)/(-4*x+2*_Z-1)))*9^(1/2)*x+48*(-(16*_Z^2-40*_Z*x-16*x^2-13*_Z+6*x+2)/(-4*x+2*_Z-1)^2)^(1/2)*_Z*x*exp((3/41)*41^(1/2)*arctanh((19/123)*41^(1/2)))-96*x^2*(-(16*_Z^2-40*_Z*x-16*x^2-13*_Z+6*x+2)/(-4*x+2*_Z-1)^2)^(1/2)*exp((3/41)*41^(1/2)*arctanh((19/123)*41^(1/2)))+I*exp((3/41)*41^(1/2)*arctanh((1/41)*(-28*x+6*_Z-5)*41^(1/2)/(-4*x+2*_Z-1)))*9^(1/2)+6*(-(16*_Z^2-40*_Z*x-16*x^2-13*_Z+6*x+2)/(-4*x+2*_Z-1)^2)^(1/2)*_Z*exp((3/41)*41^(1/2)*arctanh((19/123)*41^(1/2)))-36*x*(-(16*_Z^2-40*_Z*x-16*x^2-13*_Z+6*x+2)/(-4*x+2*_Z-1)^2)^(1/2)*exp((3/41)*41^(1/2)*arctanh((19/123)*41^(1/2)))-3*(-(16*_Z^2-40*_Z*x-16*x^2-13*_Z+6*x+2)/(-4*x+2*_Z-1)^2)^(1/2)*exp((3/41)*41^(1/2)*arctanh((19/123)*41^(1/2))))

odetest(maple_sol,[ode,IC])

[0, 0]

maple_sol:=dsolve([ode,IC],[dAlembert],implicit);

-((1/64)*I)*(64*x+8)*exp((3/41)*41^(1/2)*arctanh((1/41)*(28*x-6*y(x)+5)*41^(1/2)/(4*x-2*y(x)+1)))*exp(-(3/41)*41^(1/2)*arctanh((19/123)*41^(1/2)))/(((16*x^2+40*x*y(x)-16*y(x)^2-6*x+13*y(x)-2)/(4*x-2*y(x)+1)^2)^(1/2)*(4*x-2*y(x)+1))+x+(1/8)*(4*((16*x^2+40*x*y(x)-16*y(x)^2-6*x+13*y(x)-2)/(4*x-2*y(x)+1)^2)^(1/2)*exp(-(3/41)*41^(1/2)*arctanh((1/41)*(28*x-6*y(x)+5)*41^(1/2)/(4*x-2*y(x)+1)))*x-2*((16*x^2+40*x*y(x)-16*y(x)^2-6*x+13*y(x)-2)/(4*x-2*y(x)+1)^2)^(1/2)*exp(-(3/41)*41^(1/2)*arctanh((1/41)*(28*x-6*y(x)+5)*41^(1/2)/(4*x-2*y(x)+1)))*y(x)+((16*x^2+40*x*y(x)-16*y(x)^2-6*x+13*y(x)-2)/(4*x-2*y(x)+1)^2)^(1/2)*exp(-(3/41)*41^(1/2)*arctanh((1/41)*(28*x-6*y(x)+5)*41^(1/2)/(4*x-2*y(x)+1))))*exp((3/41)*41^(1/2)*arctanh((1/41)*(28*x-6*y(x)+5)*41^(1/2)/(4*x-2*y(x)+1)))/(((16*x^2+40*x*y(x)-16*y(x)^2-6*x+13*y(x)-2)/(4*x-2*y(x)+1)^2)^(1/2)*(4*x-2*y(x)+1)) = 0

#solve gives error
sol:=solve(maple_sol,y(x));

Error, (in evala) reducible RootOf detected.  Substitutions are {RootOf(6*RootOf(_Z^2-41,index = 1)*_Z+41*_Z^2+5,label = exptmp) = -5/41*RootOf(_Z^2-41,index = 1), RootOf(6*RootOf(_Z^2-41,index = 1)*_Z+41*_Z^2+5,label = exptmp) = -1/41*RootOf(_Z^2-41,index = 1)}

#PDEtools:-Solve  gives no error but does not solve it
sol:=PDEtools:-Solve(maple_sol,y(x));

 


 

Download reducible_rootof_detected_august_24_2024.mw

I am trying to understand under which conditions submenus disappear.

Now I have seen that the context panel is empty when submenues disappear.

Has anybody noticed the same and are there other instances when the context panel is emtpy?

Both effects could have the same rootcause.

Here is an example:
A -> no submenu

B -> Empty context panel

C -> Menu appears inside workspace (first time I see that)