Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Regrettably, I only recently became aware of the frontend command. For manipulating expressions (e.g., with simplify, expand, combine, ...), it is extremely useful.

I was wondering whether there wasn't a better name for it, since "frontend" doesn't indicate the action the command performs. Why is that command called frontend at all? Why not calling it "freeze" for example?

Every engineer knows the part of the job that never makes it into the design review highlights. It’s the worst-case check you redo because a part changed. It’s the sizing calculation rebuilt for the third project in a row. It’s the report that has to record every step, so someone else can follow your work and sign it off.

Today we’re launching Maple Loop, an AI engineering agent from Maplesoft built to take on exactly that work. Here’s what it does.

Give it a problem, not a formula

Working with Maple Loop starts the way you’d brief a colleague. You describe the problem and point it to your files: schematics, datasheets, requirements, test data. Here’s a prompt from one of our worst-case circuit analysis runs:

“Our 3.3 V rail monitor resets the processor when the rail drops. The reset has to happen between 3.00 V and 3.20 V. Will that work with the parts we chose?"

From there, Maple Loop plans the work and moves through it the way an engineering team would: requirements, design, analysis, verification. It checks each phase before moving on. When it’s done, it comes back with the tolerance build-up for each part, the part costing the most margin, and a ranked list of fixes with what each one buys you.

You can start from a blank prompt like this one, or from a template for common jobs such as worst-case circuit analysis or PID control design. See it in action. 

Why the math runs in Maple

This is the part we care about most. General AI tools are good at producing answers, but in engineering an answer you can’t verify isn’t worth much. A plausible number from a language model can be wrong in ways that are hard to spot, and it gives your reviewers nothing to check.

So, Maple Loop splits the job.

 

You get the engineering, not just the answer

What comes back isn’t a chat transcript. It’s working files in tools you already know, with the full calculation inside.

Calculations arrive as Maple Flow documents, laid out like a clean hand calc with units carried through every step, ready for review. Full derivations come as Maple worksheets. And when a problem calls for system behavior, Maple Loop builds a MapleSim model you can simulate and tune.

The rest of the team doesn’t need Maple to benefit. From the same checked calculation, Maple Loop can produce Word reports, PDFs, Excel workbooks, PowerPoint decks, generated code and shareable dashboards.

Because everything is built on live Maple documents, the work doesn’t go stale. When a part changes, you change the input and rerun, and the analysis and documents update together. The next design revision starts from a working calculation instead of a blank page.

A new way to put Maple to work

Maple has always been about getting the math right. With Maple Loop, we’re putting the same engine to work in a new way, at the center of an AI agent that carries engineering projects from the first prompt to a reviewed result. It’s a natural next step for Maple: the same math you already rely on, now doing the work inside an engineering workflow.

Get access to Maple Loop

We’ve been testing Maple Loop with engineering teams on real problems across electrical and mechanical work, and many more.

Join the waitlist for access to Maple Loop.

What routine analysis would you hand off first? Which workflows should we focus on next?

Tell us in the comments.

The 2026 CMS Winter Meeting will be held in Montreal December 11-14. Mike Carvalho and I will be running a mini-course, Using Maple for Mathematics Research: an Introduction for Graduate Students, free of charge for CMS attendees. Even though much of the material will be geared toward graduate students, everyone is welcome to attend. 

If you are planning to be at CMS in December, please consider registering for our mini-course, or at least stop by our booth to tell us what you've been doing with Maple or our other products!

Contrary to the plot tab, the animation tab has no feature to orient the animation content interactively. 

plot3d example where "fine tuning" of the orientation is possible:

Is there a way (keyboard short cuts?) to do this?

If not, am I the only user missing such a feature?

I am trying to do some simple variable substitution, but for some reason Maple will not do/allow it. I am extremely puzzled by this, and the only workaround seems to be doing it by hand or changing variable names. Any thoughts would be appreciated. For some reason I cannot upload contents...

restart;
T=R/(2*Pi*l^2) - diff(C(R, Q, beta, c), R)/(4*Pi)
                              d                  
                             --- C(R, Q, beta, c)
                      R       dR                 
               T = ------- - --------------------
                         2           4 Pi        
                   2 Pi l                        

P = 1/(8*Pi*l^2)
                                 1   
                          P = -------
                                    2
                              8 Pi l 

isolate((2),l^2)
                           2     1   
                          l  = ------
                               8 P Pi

Want to replace l^2 in (1) with this expression (3), but won't allow it. 
subs((3),(1))
                              d                  
                             --- C(R, Q, beta, c)
                      R       dR                 
               T = ------- - --------------------
                         2           4 Pi        
                   2 Pi l                        


subs_error.mw

How can I input and display unicide characters? 
then I would like to add the characters to a special pallet.

restart;
UTF8(U + D7CF);
Error, invalid input: UTF8 expects its 1st argument, s, to be of type string, but received U+D7CF
UTF8("U+01 D7CF");
                          "U+01 D7CF"

"U+01 D7CF";
                          "U+01 D7CF"

U + D7CF;
                            U + D7CF

unicodeexamples
U+01 D7C9 
U +01 D7CF
U +01 2540
U +01 2541
   U list unicode examples + D7C9 U + D7CF U + 2540 U + 2541


Download 2026-11-10_Q_Unicode_Characters.mw

Is this a bug in Maple?  it gives error in Maple 2026.2 and also Maple 2025.2

restart;

ode:=-1/diff(Y(X),X)^3*diff(diff(Y(X),X),X)+4*X = piecewise(0 <= Y(X) and Y(X) < Pi,0,Pi <= Y(X) and Y(X) < 2*Pi,10,2*Pi <= Y(X),0);

solve(ode,diff(Y(X),X$2))

workaround is to use isolate instead of solve or Solve:

 

 

But why solve fails just because RHS is piecewise ?

Wanted to check before sending bug report in case it is by design.

I just opened maple to use it, and I receieved a notice that an update was available.  I proceeded with the update and it failed to install, complaining that "open programs" needed to be closed.  There were no open programs so I opted to have the installer "ignore" the warning.  However, it would not continue and it gave a list of two programs that were in use (even though I had closed Maple).  This is a snapshot of the warning.

 

It appears that the update may have completed as the maple version that appears during startup is 2026.1.  However, the program is very slow to open a new document (I have to click on the "New Document" button several times before it response) and very slow to close.(I have to click on the "X" icon (upper right of top menu) before it will close.

 

Any help would be appreciated.

Regards,

Frank DiJoseph

f := x -> 6*x - 1;

g := x -> -2*x + 33;

plot(f(x), g(x));
Error, (in plot) unexpected option: -2*x+33

Why no parentheses around "%" are needed here

cos^2 + sin^2 = 1;
%(x);
                           2      2    
                        cos  + sin  = 1

                           2         2    
                     cos(x)  + sin(x)  = 1

as they are required here (to group terms)
 

(cos^2 + sin^2 = 1)(x);
                           2         2    
                     cos(x)  + sin(x)  = 1

Is it because % (?ditto) is an operator or because of an evaluation rule?

I know the opposite: Maple treats (sin)(x) the same as sin(x), i.e. removes the parentheses.  
I also know that Maple has special evaluation rules for procedures (see ?last_name_eval) but the
"operator expression" cos^2 + sin^2 = 1 inside the parentheses is of type equation and not of type function/procedure.

I assume that % reevaluates a previously computed result stored in the kernel and not in the user interface but maybe I am wrong here. If equation labels are used instead of %, also no parentheses are needed, but in this case the equation label refers to output stored at the level of the user interface.

I could not identify a menu item in the ribbon interface under "Insert" (where it was with the former interface).

Let B and D be natural numbers. Prove that in the rational numbers there exist solutions (x;y) of the equation x^3-y^3=B^3+D^3 and the equation x^3-y^3=B^3-D^3, and find the solution formula and example solutions.

edited:

This problem becomes interesting when one searches for positive rational solutions x=x(B,D) and y=y(B,D).

I see my Maple has updated to 2026.2 What has been inproved in this release?

At a birthday party, the jubilarian in question observes:
If I substitute my current age for D in Pell X² – D Y² = 1, then X becomes my age next year, and Y is the age of my grandchild. Then how old we are?

I crated this "defs.mpl" File:
assume(a>0,b>=a,b>d,L>b,u>0,u<L):
def4 := ['L' = 2865, 'a' = 315, 'b' = 315, 'd' = 210, 'h' = 140]:
def5 := ['L' = 2865, 'a' = 315, 'b' = 315, 'd' = 280, 'h' = 140]:

clear:=proc()
 unassign('L',' a',' b',' d',' h');
 assume(a>0,b>=a,b>d,L>b,u>0,u<L);
 is(b>0);
end proc:

reassign:=proc(defs)
 clear();
 assume(a>0,b>=a,b>d,L>b,u>0,u<L);
 assign(defs);
 defs;
end proc:

Then it produced this Output:

> read "defs.mpl"
> assign(def4);
> def4;
          [2865 = 2865, 315 = 315, 315 = 315, 210 = 210, 140 = 140]

> clear();
                                     true

> def4;
                [L = 2865, a = 315, b = 315, d = 210, h = 140]

> reassign(def5);
                [L = 2865, a = 315, b = 315, d = 280, h = 140]

> def5;
               [L = 2865, a = 315, b = 315, d = 280, 140 = 140]

> def4;
               [L = 2865, a = 315, b = 315, d = 210, 140 = 140]

Why is here 'h' replaced by its value, while the other variable names are printed as expected.

In my Settings I specified that assumed variables shall not have an annotation.

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