Items tagged with denominator denominator Tagged Items Feed

Are comma's ever used in denominators?

Just curious, since when say transcribing code from a book and you're in the denominator pushing the comma should automatically move you over and up to where one should be placed.  Not that it really matters but if it's easy to implement that would be a luxury (unless of course commas are used in denominators).


I seem to run into problems with (quantum) perturbation theory. In the following minimal working example, an energy denominator, as occuring in perturbation theory is not evaluated if I previously assume that the quantum number is a positive integer. It's supposed to return an error, as the energy denominator is 0.

restart; with(Physics)

a := Annihilation(N, 1, notation = explicit):

psi := Ket(N, m);

Physics:-Ket(N, m)


E := proc (g) options operator, arrow; (1/2)*g*(g-1)-mu*g end proc:

simplify(value(Typesetting:-delayDotProduct(Typesetting:-delayDotProduct(Dagger(psi), 1/(E(m)-H)), psi)))



assume(`in`(m, nonnegint), m > 0);

simplify(value(Typesetting:-delayDotProduct(Typesetting:-delayDotProduct(Dagger(psi), 1/(E(m)-H)), psi)))

-2*Physics:-Bracket(Physics:-Bra(N, m), 1/(-2*mu*Physics:-`*`(`a-`[N[1]], `a+`[N[1]])+2*mu*m-m^2+Physics:-`*`(Physics:-`^`(`a-`[N[1]], 2), Physics:-`^`(`a+`[N[1]], 2))-4*Physics:-`*`(`a-`[N[1]], `a+`[N[1]])+2*mu+m+2), Physics:-Ket(N, m))


Parse:-ConvertTo1D, "invalid input %1", `.`(Dagger(psi), 1/(E-H), psi)






Best regards,


Hello People in mapleprimes,


I want to know how to factor the denominator of the first term in the right hand side, using commands not clickable math.

And, I know applyop can be used in this case, but I want to know is other ways than using applyop. 





Thanks in advance.







I would like to know if it is possible to make Maple do the following:

Suppose you have a function dx:=1/((x1-x3)^2+(x2-x4)^2) and we want  diff(dx,x1), is there a way to obtain: *-(2*x1-2*x3)/((x1-x3)^2+(x2-x4)^2)^2 instead of -1/(x1^2-2*x1*x3+x3^2+x2^2-2*x2*x4+x4^2)^2*(2*x1-2*x3)?

Basically how to keep the denominator in a fatorized form and not expanded?



This is a simple question,


How do I tell maple to give only one fraction instead of a sum of several with different denominators.



if i sum 1/3 + x/5 maple simply gives me: 1/3 + x/5


I want maple to give me (5+3x)/15



I am trying to get the real and imaginary part of a complex expression but it appears that the evalc(Im(F)) does not work. My guess is that i have to manipulate the expression before i use the evalc, but the simplify command for example did not give a result either. My funstion is F:=1+2*zs*I-w^2/ws^2-w^2/ws^2*ks*(1+2*zs*I)*(K3*(1+2*z3*I)-H*K2(1+2*z2*I)+H*(H*K1*(1+2*z1*I)-K2*(1+2*z2*I)))/(K1*(1+2*z1*I)*K3*(1+2*z3*I)-K2^2*(1+2*z2*I)^2);

As you see I have imaginary I...

Hi there.

Is it possible to get Maple to factorise polynomiums like for instance the one given in the Maple sheet I've attached? The idea is to get both the nominator and denominator factorised, making it easy to read poles and zeros for an electrical circuit.

Thank you.

Something simple enough, I want show (g^n) / (g^n -1) = 1 / 1 - g^(-n) step by step in maple. 

The problem I'm having is getting maple to freeze the terms.  Maple likes to simplify before I can have it do what I want.  I suppose I could make everything a name and show it manually but I would like to force maple to do it. 

first setting


so first multiply the numerator and denominator by g^(-n)

Page 1 of 1