ecterrab

14645 Reputation

24 Badges

20 years, 167 days

MaplePrimes Activity


These are replies submitted by ecterrab

@Markiyan Hirnyk 

Just for curiosity: are you a physicist or working in condensed matter physics? Giving a look at the papers you selected randomly, I think the answer to your "More concrete question" is actually found in the answer to your first question; the mathematical methods used in these papers appear to me to be a subset of the methods listed in the previous reply. 

@J F Ogilvie

Note please that the contents of this post is contextualized by the title, "Physics, one year of developments". This post is not about how powerful is the Maple intsolve command for solving integral equations (BTW I think it is powerful, as indicated by its help page), or about how relevant would be the Heun special functions.

I also realize that you feel that this Maple's integral-equation solver could be more powerful, and that you think the Heun functions are useless, and that you want to express these thoughts (BTW you have done this in various Physics post unrelated to special functions). But please allow us to dissent. There are physicists working with these functions, both in General Relativity and Quantum Mechanics - publications of 2013 and 2014. I am saying this not as a way to say "someone is right or wrong", but just to ask you for some space for a different opinion. 

Some things were you seem to be missing information. You say:

"The help files on Jacobi functions seem to provide no indication to the Jacobi elliptic functions cn(..,..), dn(..,..), sn(..,..)"

Check please the help page for JacobiPQ, or JacobiCN, ore any of the 12 ones. The functions are there and the documentation is too, there are not 11 but 12 + the JacobiAM (amplitud), and the help page is invoked in the right way,  enter ?JacobiPQ, or ?JacobiCN, etc.

You say:

"Asking help on Heun functions returns a sequence of "unknown" and "unable"


Check the help page ?Heun and the pages therein. Here again I do not find what you say (I mean the facts).

You say:

... these somewhat obscure [Heun] functions

Please note that many special function experts (Marichev, Brychov, etc;, google for this and you will get the idea) differ from you. The Heun functions are modern special functions being studied and having their properties unveiled by a growing number of expert people in the special function area.

... spheroidal functions and Lame functions

Although I would like to have more time to implement some of these spheroidal functions, I note that they are not currently used as it was the case 100+ years ago when special functions were not so developed in the mathematical language (I am not talking about Computer Algebra). As a measurement of their relevance in Physics, for instance, I recall that they are not mentioned in the 9 volumes of the Landau and Lifshitz "Course on Theoretical Physics ", nor in the main texbooks in Mathematical Methods for Physicists; to mention but three: Courant & Hilbert, "Methods of Mathematical Physics (2 vols)", Smirnov, "A Course of Higher Mathematics, (5 vols)",  Arfken & Weber, "Mathematical Methods for Physicists".

Anyway the above is just my opinion, one in a universe of opinions. I understood yours. It is all OK with the differences. I am not a believer in written debates. I also feel as said that this post on Physics: one year of developments is not quite the right framework for these topics you mentioned.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft
Editor, Computer Physics Communications

 

 

@H-R 

Have you checked the link indicated, "Relating 3D vectors and tensors"? I continue thinking that "... this answer contains all the ingredients I could imagine behind your question, related Maple input/output illustrating, and also pointers to specific free online literature related to your question."

Regarding this other issue to the side, your quote now of wiki, please do not missunderstand me but "curl(curl(A))" is in my opinion unclear tensor notation. Compare for instance with the right-hand side of the last equation shown in your image of wikipedia. Anyway let's not deviate: give a look please to "Relating 3D vectors and tensors", the Maple worksheet with input output available in that link, as well as the free-online "A Premier on Tensor Calculus" linked there too, pages 30 to 40. I understand there you will find the answer with details to you question.

Edgardo S. Cheb-Terrab 
Physics, Differential Equations and Mathematical Functions, Maplesoft

@Markiyan Hirnyk 

Condensed Matter Physics (CMP) is an area too vast. Quoting wikipedia, "The diversity of systems and phenomena available for study makes condensed matter physics the most active field of contemporary physics: one third of all American physicists identify themselves as condensed matter physicists". 

Anyway, generally speaking, working in theoretical CMP requires the mathematical methods of Quantum Mechanics, Electrodynamics, Statistical Mechanics, and Field Theory, as well as powerful differential equation tools to handle from ODEs to PDE integrable systems. Most of these mathematical methods, but for perhaps functional integration and more advanced numerical PDE solving, are already implemented in the Maple system, and the implementation is improving at every release. This post is all about that.

Moving a bit away from theoretical CPM, Maple also has optimization, numerical integration and probability distribution algorithms that allow for Monte-Carlo simulations (including the MapleSim[Analysis][MonteCarlo] itself), quite useful for simulating systems with many coupled degrees of freedom, such as fluids, disordered materials, solids, etc. These tools are a bit scattered though, instead of within a package with specific tools for Monte-Carlo simulations in Physics. Similar to that, we do not have, for instance, a separate package for Statistical Physics, but then we do have the Maple Statistics package covering most of the related topics. 

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@maleclerc88 

The problem is resolved, you need to update your Physics library from the usual place, the Maplesoft R&D Physics webpage.

The issue: because A is a quantum opetator, A[1] operates on the first quantum number of the basis of Kets labeled A, while A[2] operats on the second quantum number of that same basis. Therefore, A[1] and A[2] commute. At the same time, the AntiCommutator rule set made A[1] and A[2] anticommute, resulting in a logical inconsistency resulting in (the absurd) A[1] A[3] = 0.

It is curious how this went undected when writing the first reply. The situation is of course unusual. Anyway the code now checks for that before concluding about commutation/anticommutation of operators, so that if A[1], A[2] anticommute, because you set a rule specifying so, then they do not commute regardless of operating on different quantum numbers of the same basis of Kets.

Then simplify(A[1] A[3]) does not return 0 (wrong) while simplify(A[1] A[3] + A[3] A[1]) does return 0 (correct). You need to update your Physics library containing this fix as said.

Edgardo S. Cheb-Terrab 
Physics, Differential Equations and Mathematical Functions, Maplesoft

 

@nm 

Order is an environment variable that is assigned a number. Therefore it cannot be an optional argument: dsolve(blabla, Order = 20) would result in (arrive at dsolve as) dsolve(blabla, 6 = 20). For this reason, in dsolve,series, pdsolve,series, DifferentialAlgebra[PowerSeriesSolution], DEtools[rtaylor] - these from the top of my head but I believe that also everywhere else in the Maple system where you compute series solutions - the optional argument is called order = n, not Order = n. Just to say that Maple made its mind about this time ago, and it is consistent.

On the other hand, it is true, order = n is documented in all these help pages (pdsolve,series, DifferentialAlgebra[PowerSeriesSolution], DEtools[rtaylor], ..) but not in dsolve,series, confusing you. This is an oversight. I will make sure the option is mentioned also in dsolve,series.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@tomleslie 

In the help page for Physics,Vectors, I see

 

which shows the ordering: for spherical coordinates, phi in third place. The convention for the ranges is rather standard and found in basically all physics and vector analysis textbooks. I added an explicit sentence "where theta ranges from 0 to Pi and phi from 0 to 2*Pi right after the image in the ?Physics,Vectors help page.

VectorCalculus is not part of the Physics package. The conventions for the coordinates in the VectorCalculus package are presented in ?VectorCalculus,Coordinates and today I am not working, just perusing here, but from the top of my head (see ?VectorCalculus,SetCoordinates) you can set the ordering as you prefer, for instance via SetCoordinates(spherical[r,theta,phi]), or [r,phi,theta].

Edgardo S. Cheb-Terrab 
Physics, Differential Equations and Mathematical Functions, Maplesoft

This new command, introduced in the library as Physics:-Library:-Assume, has more relevance than what seemed at first, so I moved it one level up, it is now one of the main commands of the Physics package. I will see if it can be made  available also as an option (e.g. redefinevariables = false) of the old assume command.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@Markiyan Hirnyk 

pdsolve(pde, build) returns the built form of the solution. Because a solution through separation of variables is a particular solution, it is important to make this information (the kind of separation of variables) visible. As explained in ?pdsolve, the solution is returned automatically 'built' when it is a general solution, otherwise when you receive a PDESolStruc as in this case, use the option built.. In brief: either this solution you posted, or the explicit and correct analytic-exact solution it returns when you use the option built are useful. Relevant as well, in the case of Shrodinger's equation, actually, the solutions of interest as mainly by separation of variables. 

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft.

@Michael_Watson 

In the reviewed worksheet I posted with the previous reply, I do not see difficulties in eqn3 - what is the problem you are experiencing? Perhaps if you share a worksheet showing the issue?

Edgardo S. Cheb-Terrab 
Physics, Differential Equations and Mathematical Functions, Maplesoft

@acer 

The edited version you posted looks excellent Acer!

Best

Edgardo S. Cheb-Terrab 
Physics, Differential Equations and Mathematical Functions, Maplesoft

@VicenteAtal 

I know some bits on the internals of the Maple worksheet representation but this is beyond my knowledge - I forwarded your worksheet to the Maple GUI gurus.

Best

Edgardo

Hi

Perhaps you could post a worksheet showing, say, where you are with your problem and where is that you don't know how to proceed further?

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@J F Ogilvie 

Yes, any of these two you mentioned would serve the purpose you have, but you need to reverse the order in the equations; i.e use 

 

BTW, the "powerhouses" for developments like this one are the packages, that require more and more functionality.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@J F Ogilvie 

Replacing assume by this new Physics:-Library:-Assume would not be appropriate at this point, after so many years of existence of assume. If we were to do that, worksheets or programs already developed by people and that rely on, or make use of the redefinition of variables performed by the old assume, might then require adjustements, because removing this inconvenient redefinition is actually the main feature of this new Physics:-Library:-Assume.

On the other hand, after a week using this new Physics:-Library:-Assume, the advantages are so obvious that Physics:-Library:-Assume could better be a user level command, instead of one somehow hidden two package-levels within Physics.

A similar situation happens with this new functionality, automaticsimplification, as well as the redefinesum and combinepowersofsamebase, all of them current computing-mode options of the Physics package, that introduce functionality very useful also outside the framework of Physics. 

Likewise, PDEtools:-declare, PDEtools:-Solve and PDEtools:-casesplit have highly regarded functionality useful beyond differential equations, as well as the commands for performing Union and Intersection of regions of the complex plane expressed algebraically, both currently within the MathematicalFunctions package.

But things also change with time. The originally internal solver of ODEtools, called `ODEtools/Solve` ended up as a useful addition to solve; the code under `ODEtools/first_integral` got renamed as int/homotopic and is nowadays an important part of int, the same way as internal DE code formerly developed to compute certain kind of elliptic integrals, and the current `int/parallel`, also former DE code for integration. In the same line, IntegrationTools:-Change is actually a wrapper around PDEtools:-dchange. Or more important, the internal DE code to manipulate assumptions related to DE parameters ended up as the skeleton of the current assuming command, the internal DE conversion routines for mathematical functions related to DE special function solutions are today the skeleton of the FunctionAdvisor, the routines for compacting DE solutions are now known as simplify(expresion, size), also now at the core of this new automaticsimplification of Physics, and etc. the list is large.

All this is to say that the PhysicsPDEtools and MathematicalFunction packages are also, somehow, small powerhouses for these developments. That is good, as opposed to "bad because of happening within packages". Let's see the filled part of the cup. And when the development is very good it often ends up available as a user-level command in one way or another.

Edgardo S. Cheb-Terrab 
Physics, Differential Equations and Mathematical Functions, Maplesoft

@Markiyan Hirnyk 

{1+I*y : y>=0} union {-1+I*y : y<=0} is not a branch cut of sqrt(1-z^2). Just clarifying. Having said that, yes, a command of the form is(..., branch_cut of ...) would be useful. All the tools for developing it are already in place; these are the hidden exports of MathematicalFunctions, `&Intersect`, `&Minus`, `&Union`, that I still need to document.

Edgardo S. Cheb-Terrab 
Physics, Differential Equations and Mathematical Functions, Maplesoft

First 45 46 47 48 49 50 51 Last Page 47 of 65