Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11950 > unrolled thread

problem with DSolve and spheroidal harmonics

Started byTom Dickens <tomdickens@att.net>
First post2012-10-05 06:40 +0000
Last post2012-10-06 08:16 +0000
Articles 3 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  problem with DSolve and spheroidal harmonics Tom Dickens <tomdickens@att.net> - 2012-10-05 06:40 +0000
    Re: problem with DSolve and spheroidal harmonics Tom Dickens <tomdickens@att.net> - 2012-10-06 06:06 +0000
    Re: problem with DSolve and spheroidal harmonics Roland Franzius <roland.franzius@uos.de> - 2012-10-06 08:16 +0000

#11950 — problem with DSolve and spheroidal harmonics

FromTom Dickens <tomdickens@att.net>
Date2012-10-05 06:40 +0000
Subjectproblem with DSolve and spheroidal harmonics
Message-ID<k4lvck$d2q$1@smc.vnet.net>
All,

I wonder if this is a bug. I'm working on a project involving
spheroidal harmonics, and tried the following example from the Help:

DSolve[(1 - x^2) y''[x] -  2 x y'[x] + (SpheroidalEigenvalue[n, m, c]
+ c^2 (1 - x^2) - m^2-(  1 - x^2)) y[x] == 0, y, x]

 {{y -> Function[{x},  C[1] SpheroidalPS[n, m, c, x] + C[2]
SpheroidalQS[n, m, c, x]]}}

This shows (in the Help) that the defining differential equation is
solved correctly. However, when I run it in either v7 or v8 I get a
differential root object

{{y->DifferentialRoot[Function[{-[FormalY],-[FormalX]},{-[FormalY][-[FormalX]]
(1--[FormalX]^2-c^2+-[FormalX]^2
c^2+m^2-SpheroidalEigenvalue[n,m,c])+2 -[FormalX]
(-[FormalY]^-[Prime])[-[FormalX]]+(-1+-[FormalX]^2)
(-[FormalY]^-[Prime]-[Prime])[-[FormalX]]==0,-[FormalY][0]==C[1],(-[FormalY]^-[Prime])[0]==C[2]}]]}}

Any thoughts?

Thanks,
Tom

[toc] | [next] | [standalone]


#11965

FromTom Dickens <tomdickens@att.net>
Date2012-10-06 06:06 +0000
Message-ID<k4ohpj$i74$1@smc.vnet.net>
In reply to#11950
Thanks to Bob Hanlon who pointed out my misprint: I had " m^2 - "
instead of the correct "m^2 / " .

THis happened because I have a homebrew code that I use to modify
clipboard contents so I can use them for file names, and it changed
the "/" to "-".

Tom

On Fri, 5 Oct 2012 06:40:20 +0000 (UTC), Tom Dickens
<tomdickens@att.net> wrote:

>All,
>
>I wonder if this is a bug. I'm working on a project involving
>spheroidal harmonics, and tried the following example from the Help:
>
>DSolve[(1 - x^2) y''[x] -  2 x y'[x] + (SpheroidalEigenvalue[n, m, c]
>+ c^2 (1 - x^2) - m^2-(  1 - x^2)) y[x] == 0, y, x]
>
> {{y -> Function[{x},  C[1] SpheroidalPS[n, m, c, x] + C[2]
>SpheroidalQS[n, m, c, x]]}}
>
>This shows (in the Help) that the defining differential equation is
>solved correctly. However, when I run it in either v7 or v8 I get a
>differential root object
>
>{{y->DifferentialRoot[Function[{-[FormalY],-[FormalX]},{-[FormalY][-[FormalX]]
>(1--[FormalX]^2-c^2+-[FormalX]^2
>c^2+m^2-SpheroidalEigenvalue[n,m,c])+2 -[FormalX]
>(-[FormalY]^-[Prime])[-[FormalX]]+(-1+-[FormalX]^2)
>(-[FormalY]^-[Prime]-[Prime])[-[FormalX]]==0,-[FormalY][0]==C[1],(-[FormalY]^-[Prime])[0]==C[2]}]]}}
>
>Any thoughts?
>
>Thanks,
>Tom

[toc] | [prev] | [next] | [standalone]


#11979

FromRoland Franzius <roland.franzius@uos.de>
Date2012-10-06 08:16 +0000
Message-ID<k4opcr$iod$1@smc.vnet.net>
In reply to#11950
Am 05.10.2012 08:40, schrieb Tom Dickens:
> All,
>
> I wonder if this is a bug. I'm working on a project involving
> spheroidal harmonics, and tried the following example from the Help:
>
> DSolve[(1 - x^2) y''[x] -  2 x y'[x] + (SpheroidalEigenvalue[n, m, c]
> + c^2 (1 - x^2) - m^2-(  1 - x^2)) y[x] == 0, y, x]
>
>   {{y -> Function[{x},  C[1] SpheroidalPS[n, m, c, x] + C[2]
> SpheroidalQS[n, m, c, x]]}}
>
> This shows (in the Help) that the defining differential equation is
> solved correctly. However, when I run it in either v7 or v8 I get a
> differential root object
>
> {{y->DifferentialRoot[Function[{-[FormalY],-[FormalX]},{-[FormalY][-[FormalX]]
> (1--[FormalX]^2-c^2+-[FormalX]^2
> c^2+m^2-SpheroidalEigenvalue[n,m,c])+2 -[FormalX]
> (-[FormalY]^-[Prime])[-[FormalX]]+(-1+-[FormalX]^2)
> (-[FormalY]^-[Prime]-[Prime])[-[FormalX]]==0,-[FormalY][0]==C[1],(-[FormalY]^-[Prime])[0]==C[2]}]]}}
>
> Any thoughts?

The corrected differential equation you are writing about is most probably

 > DSolve[(1 - x^2) y''[x] -  2 x y'[x] + (SpheroidalEigenvalue[n, m, c]
 > + c^2 (1 - x^2) - m^2/(  1 - x^2)) y[x] == 0, y, x]
......................^^^^..
which is  the azimutal part of the sphere laplacian for
a product ansatz

Y =e^(i m phi) y(theta)
x=cos(theta)


Lap Y = 1/sin(theta) d_theta sin(theta) d_theta  y0
         + 1/sin(theta)^2 d_phi^2 y

-- 

Roland Franzius

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web