Questions tagged [series-expansion]
Questions on dealing with series data and constructing power series expansions of functions.
896
questions
1
vote
1
answer
75
views
The Baselproblem from Euler
$Zeta(2) = 1/6 Pi^2$
This is the value of the Riemann Zeta function "for the number 2
Euler the famous mathematician first calculated this symbolic value in the 18 century in his "Basel ...
0
votes
1
answer
55
views
Convergent Taylor series unrecognized by Sum
I am trying to understand why Sum does not recognize a particular Taylor series as convergent. I have defined a function 'series' like this, that computes the Taylor series of a function 'f' at 'x', ...
3
votes
1
answer
80
views
How to find the asymptotic envelope of a function?
Context
I am interested in the asymptotic behaviour of the envelope of a given function.
Unless I missed it, it would be of interest to have a Mathematica function which
when given
...
0
votes
1
answer
100
views
Expansion of standard inverse normal cdf
Let $\Phi: x\rightarrow y$ be the CDF of a standard normal distribution. The range of $\Phi(x)$ is $[0,1]$ and the domain is all real numbers.
I want to get a series expansion of $\Phi^{-1}(y)$ around ...
1
vote
2
answers
199
views
How to write code for SeriesCoefficient to work for non integral coefficients?
I have a function of $r$ which I expand at $\infty$ using Series. It is a complicated and messy function, with a parameter $0 \leq \epsilon < 1$. After expansion,...
0
votes
0
answers
58
views
How to access the Wolfram Data Repository
How I can obtain the raw data of different epidemics in different viruses such as COVID-19, ebola, influenza, etc.?
I consulted the site but I can't figure out how to extract the data in real time to ...
1
vote
1
answer
39
views
Set the value of a parameter in a Series expression [closed]
I have a lengthy expression resulting from a series expansion in some dummy variable $e$ which I now wish to set equal to 1. However, when I try to use a ReplaceAll ...
3
votes
1
answer
106
views
Asymptotic integral expansion at infinity [closed]
Define for all $n\in\mathbb{N}$, a definite double integral, $$I_n= \int_{0}^{1}\int_{0}^{1}\left(\frac{x^2(1-x)y^2(1-y)}{1+x^2 y^2}\right)^n\frac{\cos((2n+1)\tan^{-1}(xy))}{\sqrt{1+x^2y^2}}\ dxdy$$
...
2
votes
0
answers
75
views
How can I make sure that when I write in the wolfram language, I'm writing exactly what I intend (or what others are writing)? [closed]
I'm someone who is just starting to do some hobbyist math on my own, using various tools like wolfram alpha, and I have a question about the wolfram command line. My question is as follows
I'm not ...
1
vote
1
answer
58
views
Finding constant term in product expression
I've an expression which is product of 20 or more factors of polynomial, something like $$\left(1-\frac{pq}{z^i}\right)(1+pq z^j+z^k)$$ and I want to find coefficient of $z^0$. SeriesCoefficient works ...
6
votes
3
answers
401
views
Neglecting higher order terms in a Lagrangian
I have a lagrangian which is modified by variable change. I want to neglect all the 4th order and higher terms in the new lagrangian. The code being used is given below:
...
0
votes
0
answers
41
views
Perturbing a tensorial expression
I am new to Mathematica. I am trying to simplify an expression of the some form like:
$$
n_i \sigma_{ij} n_j - \gamma n_i \hat{\sigma_{ij}} n_j = 2 + v_i x_i + \kappa E_{ij} \chi_{ji}
$$
There are ...
3
votes
2
answers
206
views
Can Mathematica simplify an ordinary differential equation (ODE) by assuming a power series solution and obtain the recurrence relation?
I have an ordinary differential equation and want to solve it using power series as ψ[x_] = Sum[Subscript[a, n] x^n, {n, 0, ∞}] to obtain the recurrence relation ...
0
votes
1
answer
52
views
Truncation by coefficient size
I have a series with e.g. Chebyshevs: $\sum_i^N a_i T_i(x)$
where they are decreasing in size with increasing $i$.
So now suppose I multiply two such series: $(\sum_i^N a_i T_i(x))(\sum_i^N b_i T_i(x))...
1
vote
0
answers
84
views
Strange behavior of error function series expansion at infinity
Evaluating
Normal[Series[1/ (1 + xi Erf[xi]), {xi, ∞, 2}]]
Normal[Series[1/( xi (1/xi + Erf[xi])), {xi, ∞, 2}]]
gives
...
4
votes
1
answer
170
views
Proper treatment of roots and powers in Series?
I have the following problem in Mathematica 9 on Linux. I let Mathematica compute the Series expansion:
...
2
votes
1
answer
168
views
BUG: Why is Series[] getting this expression wrong?
EDIT: Wolfram confirmed this is a bug in Series[], and they're looking into it.
I'm trying to generate a 2nd-order Taylor series in theta for a complicated expression "mdel" using Series[...
1
vote
1
answer
130
views
A request on the kernel of the function ”SpheroidalEigenvalue“ in Mathemitica 11
I want to understand the algorithm of the function "SpheroidalEigenvlaue" in Mathematica 11, especially the code of the following command.
Then I will try to use this algorithm to reproduce ...
1
vote
0
answers
41
views
Identification of terms
I have the following sum on terms:
...
6
votes
1
answer
233
views
Using Integrate and then Series seem to produce a wrong result
Bug introduced in 11.1.0.0 or earlier and persisting through 14.0 or later
Run this:
...
1
vote
1
answer
100
views
Limit of Hypergeometric Functions
Mathematica (12) seems to have a lot of trouble with taking limits involving hypergeometric functions. A simple example I am interested in is the following
...
0
votes
0
answers
57
views
Series behavior for self-defined function
How to make Series give the correct expansion of a self-defined function?
For example, for some reason, I use f[x] to represent ...
2
votes
1
answer
137
views
Asymptotic solution of a system of ODEs
I have the following system of Ordinary Differential Equations (ODEs) together with initial values
...
1
vote
1
answer
70
views
Expanding polynomials using valuation
I would like to expand the polynomial $p(\lambda) = \sum_{i=0}^{d} a_{i} \lambda^{i}$, as $F(p(\lambda), \lambda_{0})= \min_{j} [ val(a_{j}) + j \lambda_{0} ] $ with $\lambda_{0}$ being a real ...
1
vote
0
answers
118
views
How can I fully simplify sum that includes absolute value?
Consider the following sum:
...
3
votes
3
answers
183
views
Evaluating series expansion is very slow
I need in my work to get series expansion of
(2 E^x x HypergeometricPFQ[{1}, {1/2 + E^-x/4, 1 + E^-x/4}, -(x^2/4)])/Gamma[E^-x/2] + x^(1 - E^-x/2) Sin[x]
up to $n=...
0
votes
3
answers
183
views
Replacing function by another one each time it appears
I have expression involving Cos of some parameters. I would like to replace those Cos by their infinite series each time they do appear.
I tried the following which doesn't work:
...
9
votes
2
answers
398
views
Why does Mathematica get the infinite sum of this representation of the taylor series of $\cos^2(x)$ wrong?
Bug introduced in 12.0 or earlier, persisting through 13.2 or later
Mathematica correctly identifies this sum as $\cos(x)$:
...
2
votes
3
answers
156
views
Find Generalized Series with Symbolic Variable
CoefficientList[Series[Exp[x], {x, a, 3}], x]
Gives the following expression,
$$
\left\{-\frac{1}{6} e^a a^3+\frac{e^a a^2}{2}-e^a a+e^a,\frac{e^a a^2}{2}-e^a a+e^...
3
votes
2
answers
175
views
First argument -h is not a valid variable
I am trying to simpligy my life by defining a function that gets the series expansion of $f(x+h)$ and $f(x-h)$ (at $x=0$) by the following code,
...
1
vote
0
answers
55
views
Limit giving indeterminate result
I have a function $r_h(v)$ given by,
$$r_h (v) = \left(\frac{m_0}{2 g} e^{-g v_f} \left(-1+e^{-g(v - v_f)} \right) \right)^{1/5}$$
where $m_0$ and $g$ are just numbers. I want to take the limits of ...
0
votes
0
answers
100
views
How to solve recurrence equation using RSolve?
How can I solve the following recurrence equation while I dont have the initial values?
Is it possible to solve this using RSolve?
...
1
vote
0
answers
82
views
Series expansion message with special functions
I am trying to expand the following expression in alp,eps. Since the expression involves Hypergeometric2F1, I am using HypExp.
<...
1
vote
0
answers
25
views
Finding the coefficients of a decomposition of complicated expression into products of special functions
I have the following expression which arises while studying minimal models in CFT. The 4-point amplitude of scalars is given by
$$G(z,\overline{z}) = ((1-z)(1-\overline{z}))^{\frac{m-1}{m+1}}\mathcal{...
1
vote
1
answer
109
views
Series expansion of Beta function in Mathematica
How one should do the series expansion of Beta function $B(x,y)=\frac{\Gamma(x)\Gamma(y)}{\Gamma(x+y)}$ around an arbitrary negative integer let's say $x=-k$ and $y=-l$? I want a symbolic expression ...
2
votes
1
answer
76
views
An apparent error with Chebyshev polynomials
I am on 11.0.1.0
SeriesCoefficient[ChebyshevU[n,x],{x,0,m}] returns
...
11
votes
2
answers
304
views
Is it possible to circumvent a bug inside SeriesCoefficient?
Bug introduced in 9.0.1 or earlier and fixed in 13.3.
As far as I can tell, there seems to be a bug in SeriesCoefficient:
...
12
votes
2
answers
489
views
Why do I get a wrong result from SeriesCoefficient?
Bug introduced in 7.0.1 or earlier and fixed in 13.3
Consider the following code:
func[x_] = Sin[x^3]/(x - 1/3);
c[n_] = SeriesCoefficient[func[x], {x, 0, n}]
<...
1
vote
1
answer
89
views
Proving an expression from Mathematica which is clearly visible from Plots
I have the following Mathematica code:
...
2
votes
1
answer
111
views
How to convert DifferenceRoot into a special function?
Clear["Global`*"];
f[z_] := z^(2 m) /(1+z)^m
res = SeriesCoefficient[f[z], {z, -1, -1},
Assumptions -> Element[m, PositiveIntegers]]
The result ...
1
vote
0
answers
92
views
Trying to use Linear Optimization to solve inequalities
I am trying to use Mathematica to get bounds on some quantities using a certain procedure which is called conformal bootstrap. For the users who don't come with a background in HEP, I am basically ...
4
votes
1
answer
115
views
A simple series expansion which seems to be wrong
Trying to answer this question, I made the following input
FullSimplify[SeriesCoefficient[ArcTanh[x]/(1 + x^2), {x, 0, n}]]
I shall not type the results but,
not ...
0
votes
1
answer
84
views
Series expansion for expression with parameter?
I would like to compute the following expansion.
Series[(A + p/x^a)^2, {x, 0, 1}]
where $a>0$. However Mathematica simply returns the expression, unless I ...
12
votes
3
answers
7k
views
Laurent series expansion
Can someone share how to find the Laurent series expansion of
$$f(z)=\frac{1}{(z^2-1)(z^2-4)}$$
centered at $0$ on the annulus $1<|z|<2$?
0
votes
0
answers
157
views
How to solve or test the interval of Uniform Convergence of function series?
How to solve or test the interval of Uniform Convergence of function series? (ref2)
e.g.
$\sum_{k=1}^{\infty}\left(z^{k-1}-z^k\right)$
The convergence interval of this series can be got by ...
1
vote
1
answer
225
views
Discrepancy with Hurwitz Zeta function
I've come across an issue while using Wolfram Mathematica that I don't quite understand.
Consider the following symbolic computation:
...
1
vote
1
answer
54
views
How to obtain a list of pairs of exponents in a double series expansion?
Let's say we have a function of two variables $f(x,y)$ and we work out its Taylor expansion up to some power. I would like to use Mathematica to construct a list of all exponents that appear in the ...
2
votes
0
answers
190
views
How to approximate an exponential series?
Consider the following expression
$$
y_j= \sum_{k=0}^{L} \frac{e^{-\sum_{i=-k}^k(k-|i|)x_{j+i}}-e^{-\sum_{i=-k}^k(k+1-|i|)x_{j+i}}}{\sum_{i=-k}^k x_{j+i}}\tag{1}
$$
for $1\leq j \leq L$. Given smooth ...
1
vote
1
answer
90
views
Comparing two power series and extracting their coefficients
I have a standard mathematical problem that I was wondering how to solve efficiently by mathematica. Here is the problem.
I have two power series expansions of a function ...
2
votes
4
answers
337
views
Series expansion of the integral from its numerical values
I have already asked a similar question regarding approximating Taylor series of the function from noisy data. This is another example I am having trouble with. Consider the integral
$$I(x)=\int_0^1\...