Questions on the special mathematical functions implemented in Mathematica.
0
votes
0answers
17 views
Find a sequence of integers which give max in each step
I would like to write a program in Mathematica to look for the integer $n$ such that the following definition holds for any $1 < m < n $
$$\frac{f(n)}{f(m)}>1+\frac{\log(n/m)}{\log(n) ...
10
votes
2answers
176 views
What kind of hypergeometric function is it?
I found a formula for an integral of a product of three Bessel functions at The Wolfram Functions Site:
I cannot understand what kind of hypergeometric function it is.
The Mathematica code given ...
7
votes
1answer
102 views
Visualizing vector-spherical waves
This is a follow-up question to this one on visualizing vector-spherical harmonics. This time, I would like to visualize the vector spherical waves (including the radial dependence). The functions ...
2
votes
3answers
131 views
Why do these two different zetas produce the same value?
Zeta[-13] == Zeta[-1] == -1/12
Why do these two different zetas produce the same value?
5
votes
0answers
173 views
7
votes
2answers
101 views
How to simplify an expression with special functions to zero
The following is a well-known Bessel function identity:
$$J_{-n}(z)=(-1)^n J_n(z),\qquad n\in\mathbb Z$$
To check this, I used the following code and the result is as what I expected.
...
12
votes
2answers
361 views
Visualizing vector spherical harmonics
I have painstakingly derived the vector-spherical harmonics $\mathbf{V}_{J,\,M}^\ell(\theta, \phi)$, which are the generalization of ordinary spherical harmonics $Y_\ell^m(\theta, \phi)$ to vector ...
10
votes
1answer
219 views
Why can't I change the value of MaxRecursion in NIntegrate when integrating BesselJ?
I am trying to evaluate this integral numerically
$$
\int_0^{\infty } J_0(q R) \tanh(q) \, \mathrm{d}q
$$
for large values of $R$. This makes the integrand oscillate more quickly and Mathematica ...
6
votes
1answer
84 views
How to calculate this integral? Integrate[BesselJ[0, x - BesselJZero[0, 1]]/x, {x, -Infinity, Infinity}]
I tried to calculate the following integral, but it returned unevaluated.
...
2
votes
0answers
43 views
RSolve and incomplete gamma function
I am interested in how Mathematica uses the incomplete gamma function to solve difference equations. For example, if we have this inhomogeneous, 2nd order equation and use ...
8
votes
2answers
134 views
Problem with NIntegrate when WorkingPrecision is specified
I am trying to evaluate this integral numerically:
$$
\int_0^{\infty } m \exp (-m) J_1(m){}^2 \, dm
$$
Everything is OK when only the integration method is specified:
...
3
votes
3answers
145 views
Mathematica not able to confirm its own solution to differential equation
I type the following into Mathematica:
DSolve[q''[x] + 2 x/(x^2 - 1) q'[x] - 4*q[x]/(x^2 - 1) == 0, q[x], x]
It gives me the result
...
16
votes
1answer
273 views
Peirce's quincuncial projection
The Peirce quincuncial projection is the cartographic projection of a sphere onto a square.
In short, I would like to see it implemented in Mathematica.
Here is my code:
...
0
votes
1answer
42 views
Reflection transform of function [duplicate]
I am trying to find the reflection function. Here is my function and its graph.
...
1
vote
2answers
79 views
How to take conjugate of a function?
Naïvely this is what happens and it obviously is not helpful!
...
3
votes
1answer
75 views
Find point at which equation stops having roots (if it exists)
I am interested in the roots of this function:
f[M_, b_] := 1 - (2 M Gamma[2, 0, (1/M + b M)/Sqrt[b]])/(1/M + b M)
for fixed values of b. In particular I want ...
5
votes
2answers
135 views
Why does Integrate return a solution that is not defined at a particular point when it actually is well defined at that point?
I am trying to compute
Integrate[Sqrt[x^4 + (y - y^2)^2], {x, 0, y}]
Mathematica 8 gives
...
5
votes
5answers
308 views
Series expansion in terms of Hermite polynomials
I am trying to expand a polynomial in terms of orthogonal polynomials (in my case, Hermite). Maple has a nice built-in function for this, ChangeBasis.
Is there a ...
5
votes
2answers
110 views
Mathematica cannot calculate a limit
When I evaluate
Limit[E^(-n)*Sum[n^k/(k!),{k,0,n}], n -> ∞]
Mathematica gives me the result
...
1
vote
0answers
70 views
Getting poles of a Gamma functions
Why do the following 2 sequences give different answers?
n = 1.5
Series[Gamma[0.5 - n - x], {x, 0, 2}]
Series[Gamma[-1 - x], {x, 0, 2}]
(..clearly the output from the second expression is ...
4
votes
1answer
98 views
Simplifying numerical expressions involving special functions
I've encountered the following problem. There is the identity that the special functions EllipticK[x] and EllipticE[x] satisfy:
...
3
votes
1answer
101 views
Strange behaviour of PolyLog Function
I discovered some strange behaviour of the PolyLog[] Function in Mathematica which seems to me like a bug in the function implementation.
It looks like ...
1
vote
2answers
166 views
Irregular Confluent Hypergeometric Functions (Spherical Coulomb Wavefunctions)
I want to program in the regular and irregular spherical Coulomb wavefunctions $F_\ell(\gamma,kr)$ and $G_\ell(\gamma,kr)$, respectively, which are defined in terms of the regular and irregular ...
5
votes
0answers
81 views
Expansion of $E(i c \mid m)$ at $c\to\infty$?
Currently, I am using a Windows machine with Mathematica 8. I noticed a difference in a series expansion of the function EllipticE[] in comparison with a result ...
0
votes
0answers
66 views
How to have Mathematica find asymptotics with correct asumptions
I'm tried to find a certain expansion of the Hypergeometric1F1 function using Mathematica:
...
0
votes
2answers
198 views
Using Mathematica to find poles of Gamma functions [closed]
I am concerned about the expression on the RHS of equation A.5 (page 19) in this paper:
$$\int\frac{d^d ...
0
votes
1answer
200 views
How can I define a Step-Wise function in Mathematica (Not using Heaviside Step Function)? [closed]
I need to define a function, which has very different behaviour in different regions. There are about 13 different regions. A sample of my function is the foloowing table:
I want to define it as a ...
6
votes
2answers
138 views
5
votes
0answers
233 views
Reproducing the Integral Definition of the Modified Bessel function
I need to simplify some integral expressions in terms of special functions, such as the modified Bessel function of the first kind. See for example Eq. (5) on this page. Notice that the real ...
2
votes
1answer
149 views
Directional derivative of SiegelTheta
I'm working on a problem where I have to integrate both the Mathematica function SiegelTheta and some of its second order directional derivatives. Using the function works well but something goes ...
1
vote
0answers
105 views
A curious double zeta evaluation [closed]
While investigating the evaluation of a double Euler sum (a.k.a. a double zeta function),
$$\zeta(r,s)=\sum_{j=1}^\infty \sum_{k=1}^{j-1}\frac1{j^s k^r}$$
in Mathematica, I chanced upon most ...
1
vote
1answer
169 views
Plotting Fresnel function
I am trying to plot the partial sums and the cesaro means of the function $\sqrt{|x|}$ and for $a_{n}$, I obtained the following code which contains FresnelS.
...
7
votes
2answers
525 views
problem with coloring spherical harmonics
I want to color a spherical harmonics. So I write as follows.
...
8
votes
1answer
465 views
solve an integral equation numerically
I am trying to find a numerical solution for an equation of the form:
$$
f(t)=\int_{t_{min}}^{t} {\exp[2 (t^\prime - t)] E(t^\prime) f(t^\prime)}
+ \int_{t}^{0}{ \exp(t^\prime - t) E(t^\prime) ...
9
votes
3answers
292 views
Multi-Factorial and Series with Triple-factorial terms
Let $n!^{(k)}$ denote a multi-factorial which is defined by
$$
n!^{(k)} = \begin{cases}
1 & n \leqslant 0, \\
n, & 0 < n < ...
3
votes
0answers
110 views
Why doesn't Log[Gamma[]] simplify to LogGamma[] where it could?
I have been playing with various equations involving amount of permutations in relatively large sets. Easiest way to look at these is something like Log[10, bignumber!] . Often expressions, even ...
7
votes
1answer
341 views
Implementation of Incomplete Fermi-Dirac Integral in Mathematica
I'm working on a special algorithm to implement a more accurate effective mass calculation for hole carriers in silicon in Mathematica. This rather involved algorithm uses incomplete Fermi-Dirac ...
3
votes
2answers
109 views
LevinRule and SphericalBessels
I'm currently looking at a simplified problem that approximates another problem I'm looking into. In this simplified problem I at least have an analytic integrand and can easily provide all info on ...
10
votes
1answer
281 views
Is my expression too complicated for FullSimplify or am I doing something wrong?
I have a messily defined function $v(h, w)$ with $h, w \in \mathbb{R}$ and with a removable singularity at $h=1/2$, and I am trying to prove some of its properties using Mathematica. In particular I ...
5
votes
2answers
193 views
Solve for $a$ as a function of $\beta$?
I am trying to solve this equation:
$$\beta^{-a} \Gamma(a) \sin(a \pi) +
e^\beta \beta^{2 a - 1} \Gamma(1 - a) \sin(a \pi) = 0$$
I tried the following:
...
15
votes
0answers
353 views
Fast Spherical Harmonics radiative transfer
This is a rather specific question and I apologize for spamming you with some lengthy code. But it could be interesting for some reader and maybe you can help out, so please bear with me.
I am using ...
0
votes
1answer
165 views
Iterative way to find roots of confluent hypergeometric function
I am trying to find roots of confluent hypergeometric function and I wonder if I can choose the initial guess by the choice of $\beta$.
...
7
votes
4answers
436 views
Finding the roots of Hypergeometric1F1[]
I am trying to find the roots, λ, for this equation:
Hypergeometric1F1[1/4 (2 - λ /β), n + 1, β]
for certain ...
12
votes
1answer
237 views
Extra factors appear when evaluating Euler integrals
When I perform the double integral in Mathematica,
Integrate[(x (1 - x))^z (y (1 - y))^z, {x, 0, 1}, {y, 0, 1}]
which should give
$$B(z+1,z+1)^2 = ...
3
votes
2answers
216 views
6
votes
0answers
252 views
Inverse Laplace transform not obtained
I can't seem to be able to compute the inverse Laplace transform of a Laplace transform:
...
7
votes
3answers
446 views
Checking if the roots of a function are real
I'm trying to determine if the roots of a function are real. How would you do that?
(In particular I'm interested in verifying that the roots of LegendreP[6, x] ...
10
votes
6answers
2k views
About multi-root search in Mathematica for transcendental equations
I have some questions for multiroot search for transcendental equations. Is there any clever solution to find all the roots for a transcendental equation in a specific range?
Perhaps ...
11
votes
1answer
436 views
Incorrect results for elementary integrals when using Integrate
There is a rather simple integral ($K_0$ is the 0-th order MacDonald function)
$$\int_0^\infty e^{-x \cosh\xi}\, d\xi = K_0(x)$$
which mathematica cannot solve. This even though the documentation ...
6
votes
2answers
400 views
