Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I'm not sure exactly when this started but maple on one of my linux machines won't print more than one row of a matrix. I get dots like this:

Note that interface(rtablesize) is [10,10]. This happens with both maple2024 and maple2025. 

On any of my other machines, maple works just fine. I have also tried deleting ~/.maple and ~/.maplesoft

Hi again all,

Was trying to be helpful at

mathforums.com

and made these two Maple files.  

simple_square_root_loop.mw

simple_square_root_loop.pdf

Hope that helps.

Maple is the best :-)

goodbye for now.

 

Matthew

Fyi, this looks like a bug in odesteps. I was not expecting it to give steps for this, but I do not think it should give internal error. Will report it also.  It should just say not supported or something like this.

interface(version);

`Standard Worksheet Interface, Maple 2025.1, Linux, June 12 2025 Build ID 1932578`

SupportTools:-Version();

`The Customer Support Updates version in the MapleCloud is 29 and is the same as the version installed in this computer, created June 23, 2025, 10:25 hours Eastern Time.`

restart;

ode:=x^2*diff(y(x),x$2)+(x^2-5*x)*diff(y(x),x)+(5-6*x)*y(x)=0; #22942.  

x^2*(diff(diff(y(x), x), x))+(x^2-5*x)*(diff(y(x), x))+(5-6*x)*y(x) = 0

sol:=dsolve(ode);

y(x) = c__1*x^5*(x+5)+c__2*x*(x^4*(x+5)*Ei(1, x)+(-x^4-4*x^3+3*x^2-4*x+6)*exp(-x))

Student:-ODEs:-ODESteps(ode)

Warning, cannot verify that the given particular solution, y(x) = 1+1/5*x, actually solves the corresponding homogeneous ODE, diff(diff(y(x),x),x)+1/x*(x-5)*diff(y(x),x)-(-5+6*x)/x^2*y(x) = 0

Error, (in Student:-ODEs:-ChangeVariables) the ODE, diff(diff(U(T),T),T) = 5*(T^2+6*T-5)/T^2/(5+T)*U(T)-diff(U(T),T)*(T^2+2*T-25)/T/(5+T), contains the undifferentiated dependent variable, U(T), but the transformation %3, does not

 

 

Download internal_error_ODESteps_sept_2_2025.mw

Any idea why Maple dsolve can't find solution to this ode? From textbook

The strange thing, it solves if it asked for implicit solution. But the default, will give no solution.

Is this a defect? Should it not have returned the book solution automatically?   How is a user supposed to know the ode has a solution or not, if default call returns no solution?

restart;

interface(version);

`Standard Worksheet Interface, Maple 2025.1, Linux, June 12 2025 Build ID 1932578`

SupportTools:-Version();

`The Customer Support Updates version in the MapleCloud is 29 and is the same as the version installed in this computer, created June 23, 2025, 10:25 hours Eastern Time.`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1877 and is the same as the version installed in this computer, created 2025, July 11, 19:24 hours Pacific Time.`

restart;

ode:=v(x)*diff(v(x),x) = g;
ic:=v(x__0) = v__0;
sol:=dsolve([ode,ic]);

v(x)*(diff(v(x), x)) = g

v(x__0) = v__0

restart;

ode:=v(x)*diff(v(x),x) = g;
ic:=v(x__0) = v__0;
sol:=dsolve([ode,ic],'implicit');

v(x)*(diff(v(x), x)) = g

v(x__0) = v__0

-2*g*x+v(x)^2+2*g*x__0-v__0^2 = 0

#why did not default call return this?
PDEtools:-Solve(sol,v(x))

v(x) = (2*g*x-2*g*x__0+v__0^2)^(1/2), v(x) = -(2*g*x-2*g*x__0+v__0^2)^(1/2)

Download dsolve_gives_no_solution_sept_2_2025.mw


Under the name of mmcdara (unfortunately inaccessible since the major July 2025 Mapleprimes outage, and probably lost forever, God rest his soul.) I published two years ago a post about Multivariate Normal Distribution.

The current post continues in the same vein and presents the construction of a few new Multivariate Random Variables (MRV for short) named Multinomial (see for instance this recent question), Dirichlet, Categorical and related compound distributions.
I advice the interested readers to give a quick look to these names on Wikipedia).

As I explained (in fact it was my alter ego who did it) in Multivariate Normal Distribution, the Statistics package is limited to univariate random variable  and thus implementing some requires a little cunning.
A very simple example will help you understand where problems lie:

Whereas the expectation (sometimes named "mean") of a univariate random variable is a number or an expression, the expectation of a Multivariate Random Variable is a vector (or a list, a n-uple, ...) of numbers or expressions.
So far, so good, except that the Mean attribute of Distribution only accepts scalar quantities. So if you want to assign a vector to Mean you have to code it some way and do something like Decode(Mean(My_MRV)) to get the expectation in a vector form.

 

The Variance case is even more tricky because the variance of a MRV is no longer a scalar quantity but a matrix.
Beyond this some very useful attributes like ParentName and Parameters cannot be instanciated in the definition of MRVs, implying here again some bit of gymnastics to, if not instantiate these attributes, at least be able to retrieve them when needed.
Finally, last but not least, the RandomSample is not appropriated to sample MRVs.

The file attached to this post contains more than 20 procedures enabling the definition of the studied MRVs, the decoding of the coded attributes, the visualization (which is not that immediate because the supports of the MRVs I foccus on are simplexes), the parameter estimations against empirical observations (frequentist and bayesian points of view), and so on.

Nevertheless, there is still a lot missing, but at some point I believe we need to decide that the work is over*


Multinomial_Dirichlet_and_so_on.mw

* difficult to part with your baby though, not sure I won't add a few little things I have up my sleeve.

On the very first day of class, a student once told math educator Sam Densley: “Your class feels safe.”

Open classroom door with students inside

Honestly, I can’t think of a better compliment for a teacher. I reflected on this in a LinkedIn post, and I want to share those thoughts here too.

A Story of Struggle

I rarely admit this, because it still carries a sting of shame. In my role at Maplesoft, people often assume I was naturally good at math. The truth is, I wasn’t. I had to work hard, and I failed along the way.

In fact, I failed my very first engineering course, Fundamentals of Electrical Engineering. Not once, but twice. The third time, I finally earned an A.

That second failure nearly crushed me. The first time, I told myself I was just adjusting to university life. But failing again, while my friends all passed easily, left me feeling stupid, ashamed, and like I didn’t belong.

When I got the news, I called my father. He left work to meet me, and instead of offering empty reassurances, he did something unexpected: he told me about his own struggles in school, the courses he failed, the moments he nearly gave up. Here was someone I admired, a successful engineer, admitting that he had stumbled too.

In that moment, the weight lifted. I wasn’t dumb. I wasn’t alone.

That experience has stayed with me ever since: the shame, the anxiety, the voice in my head whispering “I’m not cut out for this.” But also the relief of realizing I wasn’t the only one. And that’s why I believe vulnerability is key.

When teachers open up, something powerful happens:

  • Students stop thinking they’re the only ones who feel lost.
  • They see that failure isn’t the end; it’s part of the process.
  • It gives students permission to be honest about their own struggles.

That’s how you chip away at math anxiety and help students believe: “I can do this too.”

Why Vulnerability Matters

Abstract metallic mask with mathematical symbols

I can’t recall a single teacher in my own schooling who openly acknowledged their academic struggles. Why is that?

We tell students that “struggle is normal,” but simply saying the words isn’t enough. Students need to see it in us.

When teachers hide their struggles, students assume they’re the only ones who falter. That’s when math anxiety takes root. But when teachers are vulnerable, the cycle breaks. Students realize that struggle doesn’t mean they’re “bad at math.” It means they’re learning. Vulnerability builds trust, and trust is the foundation of a safe classroom.

What I Hear from Instructors

In my work at Maplesoft, I often hear instructors say: “Students don’t come to office hours — I wish they did.”

And I get it. Sometimes students are too anxious or hesitant to ask for help, even when a teacher makes it clear they’re available. That’s one of the reasons we built the Student Success Platform. It gives instructors a way to see where students are struggling without calling anyone out. Even if students stay silent, their struggles don’t stay invisible.

But tools can only go so far. They can reveal where students need support and even help illuminate concepts in new ways. What they can’t do is replace a teacher. Real learning happens when students feel safe, and that safety comes from trust. Trust isn’t built on flawless lectures or perfect answers. It grows when teachers are willing to be human, willing to admit they’ve struggled too.

That’s when students believe you mean it. And that’s when they’re more likely to walk through the door and ask for help.

The Real Lesson

Ultimately, what matters most in the classroom, whether in mathematics or any other subject, isn’t perfection. It’s effort.

As a new school year begins, it’s worth remembering:

  • Students don’t just need formulas.
  • They need to know struggle is normal.
  • They need to know questions are welcome.
  • They need to know the classroom is safe enough to try.

Because long after they move on, that’s what they’ll remember: not just what they learned, but how they felt.

I test a lot of them but some of them make a problem i  don't know i am do it in wrong way or the author did wrong i need verifying thus solution of odes specially in case 4 when we have not equal sign how use that?

and case 5 is Weierstrass elliptic function which i don't know how set up and use i think is a on kinf of odes but why they use that sign for this function?

ode-17.mw

The font size in the debugger is very small.

Even if I increase the zoom in the worksheet before starting the debugger, this has no effect on the debugger.

Is there an option to use larger font for the debugger? Here is an example, this is worksheet after making the zoom 145%

 

And here is the debugger window.  side by side with the worksheet. Notice the font in debugger do not change.

 

It looks even smaller on the desktop, I am using large monitor also. 

Is there separate setting to change font size for debugger?

Maple 2025.1 on Linux KDE plasma, Cauchy OS (Arch based)


I'm struggling to construct a statistical Distribution involving Product.
This is likely a question of delayed evaluation but I'm not capable to fix it.
Can you please look to this  Product_error.mw  worksheet  and help me fixing the issue?

Thanks in advance

Hi,

I’m having fun animating a beautiful geometric shape starting from a few trigonometric functions. I’m wondering if there’s a way to link each curve in the animation to its name.

restart

plots:-animatecurve([sin(x), sin(x)^2, sin(x)^3, sin(x)^4, sin(x)^5, sin(x)^6, surd(sin(x), 2), surd(sin(x), 3), surd(sin(x), 4), surd(sin(x), 5), surd(sin(x), 6)], x = 0 .. Pi, thickness = 2.5, background = "AliceBlue", labels = ["", ""], size = [800, 800])

 

plot([sin(x), sin(x)^2, sin(x)^3, sin(x)^4, sin(x)^5, sin(x)^6, surd(sin(x), 2), surd(sin(x), 3), surd(sin(x), 4), surd(sin(x), 5), surd(sin(x), 6)], x = 0 .. Pi, thickness = 2.5)

 

NULL

Download Animation_Trigo.mw

How to get amultiple line plots in one graph for differnt values of E1 := .1,0.2,0.3,and 0.4 with differnt color line red,blue,black and green and how to get numerical values for the all E1 value in one matrix form 

at E1=0.1 value of diff(g(x), x, x), diff(f(x), x, x),diff(f(x), x) and diff(g(x),  x).

AGM_method_single_line_plot.mw

I recently upgraded from Maple 23 to Maple 24. While many display issues have been resolved, I’ve encountered a new real problem: when entering operations or a factorial in a denominator or exponent, the cursor unexpectedly jumps to the inline position. This forces me to manually reposition the cursor using backspace plus left-arrow keys, and forgetting to do so can lead to errors. I have a perpetual Maple license through my university and haven’t purchased maintenance this time. Is there any way to fix or work around this cursor-jumping issue in Maple 24 without purchasing a new license?

The_Bohrs_Model_-_MaplePrimes.mw

Look at the equation (11) in the Maple's document. I would like to force Maple to let the variable "r" inside the squared root so to get the equation (12). Any idea of doing that?  Thank you in advance for your help.

Already  by Help of my favorite Dr.David he did find the thus three step for non schrodinger equation but in here i got some issue of coding which is so different from before, is about transformation of pdes to two parts od real and imaginary part and then substitution our function the functions is clear but combining them and findinf leading exponent and resonance point and finding function in step 3 in different and jsut the function is different with eperate the real and imaginary part for finding step one ...

note:=q=u*exp(#) then |q|=u

schrodinger-test.mw

paper-1

paper-2

(2500iw/(1+5iw) )+(200iw/1-10iw)+5 rationalize and simplify

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