Items tagged with math math Tagged Items Feed

I am new user of Maple. I have an expression like f(x,y)/g(x,y) and I want to have Maple name f(x,y) as something simple like "h" so that later equations write h/g(x,y) instead of the complete f(x,y)/g(x,y), and also to be able to simplify other equations in terms of h.

For example, a=(x+1)(y-5)^2/(x+y-3). Can I get Maple to let h=(x+1)(y-5)^2, so that I get h/(x+y-3) when I ask for a?

Sorry if this question is basic (and my math terminology incorrect), but I have been trying for a while.

Hi all

In matlab software we have a command namely fmincon which minimizes any linear/nonlinear algebric equations subject to linear/nonlinear constraints.

Now my question is that: what is the same command in maple?or how can we minimize linear/nonlinear function subject to linear/nonlinear constraints in maple?

thanks a lot

Mahmood   Dadkhah

Ph.D Candidate

Applied Mathematics Department

Does anyone has any maple worksheet that generate surface using the PDE method described in this article?  I am trying to learn this method but I am not familiar with the mathematics to do it although the paper gives some description of it.  I hope someone can demonstrate the procedure in Maple.  Thanks

Is there any simple way to print the sum of a series with exceptions?

For example, the following works (sort of), but its not consistent with mathematical notation, where one would expect to see something like a Sigma^' printed out, and the condition, alongw ith ther limits appear under the Sigma sign:


eq:=tan(g)= e*sin(f)/(1+e*cos(f)):

gives  1.19749

What command/option do I need to get both solutions like with Mathematica:

g = 0.886461;
e = 2.53128;
eq = Tan[g] == (e Sin[f])/(1 + e Cos[f]);
NSolve[eq, f]

  (*   {{f -> -2.56623}, {f -> 1.19756}} *)


In physics as in math, we often use delta to indicate a (small but finite) variation in a parameter (e.g. delta x). Sometimes Delta (capital delta) is used for a larger variation, and there are even constructs like delta Delta x (a small variation of a larger variation in x). (Don't laugh or frown, this is being done & makes sense in certain situations.)

How do I write this best in Maple, esp. when I use 2-d math and am working on a (live-) script that may be handed out to others incl. students,? I.e. the appearance matters. Just writing delta x is interpreted (in 2-d input) as delta*x which is not what is meant (and leads to funny effects after the first simplify). If I write deltax (one word) then delta does not typeset in its proper greek form, which becomes an issue if you have many of these. I can write delta(x) and that often works (as long as you don't try to differentiate by x), but the typeset equation does not look right either (delta is not a function of x).

Is there a god way of doing this, or am I hitting a wall here?


Mac Dude


I am trying to illustrate the chain rule for multivariet functions




The Maple responce is D1(f)(u(x,y),v(x,y)*(partial of u(x,y) wrt x) +..etc


I would like to replace the D- notation with the standard notation for the "partial of f wrt u" for obvious reasons - this is what students are familar with. The convert cmnd Doe Not Work in this case.


Similarly the cmnd diff(u(x,y),v(x,y),x,x) gives rise to D1,D11, D12 symbols which I would likee to convert to standard partial notation.


All this is a BIG DEAL when trying to illstrate the chain rule in Cal III.


Joe Salacuse


Kettering University

Slides of the presentation at the VII Workshop Fast Computational and Applied Mathematics developed in graduate school at the National University of Trujillo. January 8, 2014.




L. Araujo C.

EDIT:EDIT: I found what I was looking for. Thanks!




equation 1




Can anyone tell me why nothing happens when I solve the above equation for C1.

I've been coming across this problem a few times lately, but sometimes when the equations are less complicated it does work from time to time. 

Any help would be greatly appreciated.


EDIT:  Thanks Markiyan Hirnyk

But I'm still having some trouble.






When I try solving eq2 nothing happens. 

This time C is just a variable I used and not one Maple generated.

So why doesn't it work with this particular equation?



Hi. I'd like to find the solution closest to zero for sum(abs(f(k, m, n)+g(k, m, n)), n = i .. j) , when a < m, n < b . 

Have trouble wrapping my head around how to do that and would appreciate any help.

Even better would be to find a solution where the maximum absolute value of f(k, m, n) + g(k, m, n) is minimized for n = i .. j) and when a < m, n < b , but I'm guessing the sum would be easier, and close enough.

Maybe I'm barking up the wrong tree getting this done with Maple, but I'm hopeful.

Thank you for looking

In connection with recent developments in the Physics package, we now have mathematical typesetting for all the inert functions of the mathematical language. Hey! This is within the Physics update available on the Maplesoft Physics: Research & Development webpage

I think this is an interesting development that will concretely change the computational experience with these functions: it is not the same to compute with something you see displayed as %exp(x) instead of the same computation but flowing with it nicely displayed as an exponential function with the e in grey, reflecting that Maple understands this object as the exponential inert function, with known properties (all those of the active exp function), and so Maple can compute with the inert one taking these properties into account while not executing the function itself - and this is the essence of the inert function behaviour.

Introducing mathematical display, copy and paste for all these inert functions of the mathematical language concretely increases the mathematical expressiveness of the system, for teaching, working and also for presenting ideas.

Attached is a brief illustration.

Edgardo S. Cheb-Terrab
Physics, Maplesoft  InertMathematicalFun.pdf

This is just a question on terminology. The name "combine" implies pulling terms together. Yet, when applied to something like sin(x)^2 it has the effect of expanding it:



Which seems counter-intutive to me. I tried first expand(r) but that did not expand it.

Fyi, in Mathematica the function to do the above is called


    1/2 (1 - Cos[2 x])

As Mathematica does not have a Combine[] function.

So, I am just wondering about the naming, that is all. I would never have thought first that a command called combine() will expand sin(x)^2.



Hi, all

I want to get some formular by the maple. I have some S domain transfer function, want to transform to the Z domain, but I don't know the way to realize it, is there any library function like "c2d" as in the Matlab? but "c2d" can not deal with the expression.

Thanks for replay to me!!!

New user. How do I launch the clickable math interface as in the demo video in maple 17 student? I also need help with entering/ solving simultaneous equations step by step.


I'm preparing for GRE and i came across this question from while reviewing concepts for probability.

In a deck of 52 standard playing cards, what is the probability that pulling a single card from the deck 
will produce a black card?

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