Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

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.

What are the best techniques for performing introspection in Maple Documents?

I would like to use the content within a Maple Document (.mw) as input to calculations and operations within the same document. I am aware of the DocumentTools Package, but it seems that needs to open a copy of the current document to perform operations and is dependent on the current document being saved to disk rather than working with what is already in memory. What techniques are available to work with the document's data model and content within the document, such section headings, section structure, and paragraph text content - as opposed to just the variables that have been defined?
 

reordering an expression by separating rational and radical terms ?  

n^3/8 + (3*n^2*m*sqrt(t))/8 + (3*n*m^2*t)/8 + m^3*t^(3/2)/8      e.g.

Any suggestions for Electronic Laboratory Notebook (ELN) systems that work well with Maple Documents?

I find Maple Documents (.mw) useful for scientific work and data analysis. I frequently organize my documents in the style of a laboratory notebook experiment. The collapsible section heading and execution repeatability are key capabilities. Managing a collection of Maple Documents over time via file systems and revision controls systems (e.g., Git) is adequate, however it seems the workflow support and compliance capabilities of an ELN would be useful as well. A typical tension in the class of ELN systems is that many of them are prescriptive about the editor, requiring or strongly encouraging something like a web-based WYSIWYG editor that lacks the literate programming capabilities of Maple. If anyone has had a good experience taking advantage of ELN capabilities without them interfering with a Maple-document centric authoring workflow, please let me know.

hello again,

what about pure anonymous functions in Maple ?

example:

(#1+#2^3)(2,3) = 2+3^3= 29

# is reserved

? 

thank you :)

Jean-Michel

Hello Ladies and Gents,

Two more questions and I will be finished to bother you :)

What are the equivalent command for FromCharactersCode and ToCharactersCode ?

Is there a equivalent of Chop for Maple.

The first question answer might hide in some package.

Voilà.

I *shall* stop to ask questions between "math"ematica and Maple

From now on I will stick to Maple !

Thanks and kind regards to all of you.

Jean-Michel

Error, (in LinearAlgebra:-Modular:-IntegerLinearSolve) invalid arguments to iratrecon

I ran a procedure that uses only `solve/linear`. The above error was returned. Any ideas how to prevent it or why it happened?

How does `solve/linear` reach LinearAlgebra:-Modular:-IntegerLinearSolve?

Did you know that October 24th, 2026, is a very special day for us math lovers? Writing the date as 10/24/26, the date creates the following Pythagorean triple:

10² + 24² = 26²

Making it a Pythagorean Theorem Day! In fact, it is the very last one of the century (the next being in 2105). Over the years, our Maple community has been exploring some incredibly interesting ways of visualizing, proving, and applying one of math's most famous theorems!

To celebrate this great day, I thought we could revisit some of our coolest posts on the topic.

Since we are celebrating a pythagorean triple day, the Maple Learn post on Generating Pythagorean Triples is a great way to explore the theorem. Any three positive integers that satisfy the pythagorean formula are considered one of these triples (the most popular being 3, 4, and 5). The generation of these values can be looked at from both a geometric and algebraic perspective!

One of the coolest things about the Pythagorean Theorem is that we are still discovering new ways to prove it! Traditionally, a geometric method was used to prove the theorem, as can be seen in this Maple Learn post. But in only 2023 two high school students, Calcea Johnson and Ne'Kiya Jackson, presented a new trigonometric proof for the Pythagorean Theorem. 

This was incredible since most trigonometric proofs are based upon the theorem itself, so being able to prove it without these was very impressive! You can explore their approach in Johnson and Jackson's Proof of the Pythagorean Theorem, or read more about it in the MaplePrimes post New Proof of the Pythagorean Theorem.

This even inspired some mathematical artwork in Maplesoft's art competition, Paige Stone created an embroidery piece Infinite Similar Triangles based on the Johnson-Jackson triangle construction. What a fun reminder that math is just as creative as it is logical!

The Pythagorean Theorem is mostly thought of as a right triangle problem, but it is so much more than that!

Consider the Staircase Paradox. If you keep decreasing the size of steps to a staircase, the shape begins to look like a straight diagonal, but the length does not approach the length of that diagonal! The Pythagorean Theorem helped us uncover the surprising behavior behind these limits. 

Another interesting application is in Finding the Shortest Path Between Two Points, where the theorem can be applied to arc length calculations. This theorem can show up in some unexpected places! Below is an example of some curves the Pythagorean theorem can be used to calculate!

From geometry, to algebraic and trigonometric proofs, mathematical art or simply a good paradox, the Pythagorean Theorem can be explored endlessly. Do you have a favorite proof, application, or derivation from the Pythagorean Theorem? Try to appreciate it a little more on this day, since we won't have another for a while!

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