Questions on dealing with series data and constructing power series expansions of functions.

learn more… | top users | synonyms (1)

4
votes
2answers
83 views

Evaluating a Series expansion of PolyLog function

I am trying to evaluate an expansion of the following integral $$ \int_0^\infty \frac{p^4}{1+\exp\left({\frac{p^2}{2mT} - \frac{\mu}{T}}\right)}\, dp = A_0(m,\mu) + A_2(m,\mu)T^2 + \ldots $$ in terms ...
0
votes
0answers
9 views

Using InverseSeries on series with non symbol series parameter

I am attempting to use InverseSeries in the following way: InverseSeries[A[y]+A[y]^2+O[A[y]]^3, A[x]] However, upon execution it does not perform the operation, ...
3
votes
1answer
54 views

Generating terms of the Stirling series

The Stirling series starts as follows: $$ n!=\left(\frac{n}{e}\right)^{n}\sqrt{2\pi n} \Bigl\{1+\frac{1}{12n}+\frac{1}{288n^{2}}-\frac{139}{51840 n^{3}}-\frac{571}{2888380 n^{4}}+O(n^{-5})\Bigr\}. $$ ...
0
votes
0answers
37 views

Dirichlet series expansion

Is there a way to get Dirichlet series expansions in Mathematica? For example, I would want DirichletSeries[Zeta[s], {s, 4}] to return ...
4
votes
0answers
51 views

Quirky behavior of Series[]

This is a "what's going on?" question about MMa behavior, not so much a "how to fix?" This code calculates a Taylor series for a two-term Gaussian Mixture: ...
1
vote
1answer
53 views

Applying the common factor to each term of a series

I have a series like this: Sum[(n/z)^(1 - j + n)*Binomial[1 + n, j]*G[j], {j, 0, 1 + n}]/ ((1 + n)*(n/z)^n) where G[j] is, ...
0
votes
0answers
38 views

Constructing a function for expanding general $n$ products

I have the following quantum mechanically motivated product: $\langle0\vert(A_1b_1 + A_2b_2 + A_3b_3)(B_1b_1 + B_2b_2 + B_3b_3)(C_1b_1 + C_2b_2 + C_3b_3)$, where $b_i$ is an annihilation operator ...
0
votes
0answers
43 views

Series of square root of exponential

my problem concerns the Series command applied to Sqrt of an exponential, and it can be presented in a simplified version as ...
6
votes
1answer
208 views

Find exponential generating function from the first few terms

The function FindGeneratingFunction computes the ordinary generating function of a sequence, given a sufficient number of initial terms. I have two questions in ...
0
votes
1answer
35 views

Plotting partial sums of Taylor Function

I need to plot the partial function: $T_f(x)=\log 2+\sum_{k=1}^{\infty}\frac{(-1)^{k+1}}{2^kk}(x-2)^k$ for $n=2$,$n=4$ and $n=6$ on the same plot over the interval $[-\frac{1}{2},4]$ and also the ...
1
vote
1answer
140 views

Evaluate $\pi$ using While

I am given the following exercise: Evaluate $\pi$ using the formula $\pi = 4 - \sum_{n=1}^{\infty} (-1)^n \frac{4}{2n +1}$ with precision $\epsilon = 0.0001$. First I defined the function I need ...
0
votes
1answer
47 views

Series of integrate in exponential

Why Mathematica cannot perform this series: ...
3
votes
0answers
87 views

Discrepancy in the series expansion of $\log(z/(z-1))$ in Mathematica 5

When I calculate the series expansion of $\log\frac{z}{z-1}$ around $0$ in Mathematica 5.2, I obtain: ...
0
votes
0answers
36 views

Series Expansion of Differential Operators [duplicate]

We know about the possibility of series expansion of a function in Mathematica. Same as below, where a function f[a x] is expanded around zero up to 5th order. ...
4
votes
2answers
117 views

Taylor series representation as an infinite sum

I want to see the Taylor series representation for arbitrary functions, e.g. $\sin$. With the Series[] command, I can only see the first $n$ terms. Is there the ...
0
votes
1answer
50 views

Strange long time evaluation of Series for fractional function

my problem concerns the Series command applied to a product of a rational function times a square root. This can be exemplified in the following way ...
2
votes
0answers
39 views

Puiseux series for algebraic curves

Has anyone implemented a function in Mathematica that computes Puiseux expansions of algebraic curves? Using something like ...
-2
votes
3answers
64 views

Two unrelated questions: 1. Output of Series[] for function, 2. Output conditional answers as if not conditional [closed]

As mentioned in the title, I have two questions. 1. I have code that looks similar to: ...
12
votes
3answers
376 views

How can I obtain an asymptotic integral expansion at infinity?

I want to find the asymptotic expansion at $x \to \infty$ of the following function: $$ I(x) \equiv \int_0^{\pi/2} e^{-xt^3 \cos(t)} dt.$$ To do this I defined ...
0
votes
0answers
29 views

Subtracting Series

When I input the following $\sum_{n=0}^{m+1}x[n]-\sum_{n=0}^{m}x[n]$ which in InputForm is: Sum[x[n], {n, 1, 1 + m}] - Sum[x[n], {n, 1, m}] it returns ...
0
votes
1answer
43 views

How to turn arbitrary function to polinomial series in Mathematica?

Can I turn any multivariate function into polinomial series in Mathematica? Suppose I have a function Fwd[x_, α_] := x (1/Sin[Pi x/2])^α and wish to express it ...
6
votes
2answers
186 views

How to reverse irreversible function in Mathematica?

How to reverse formula $y(x)=x (\frac{1}{sin \frac{\pi x}{2}})^\alpha$ i.e. express it as $x = x(y)$ in Mathematica? I did this way ...
0
votes
0answers
29 views

Don't understand Series expansion in my scope

I have a quite complex, implicit problem where I have the following (short version): ...
0
votes
0answers
26 views

FourierSinCoefficients extremely slow

I'm just playing with Fourier decomposition of periodic functions. We had a similar example with standing waves and cosines in class, so I tried to expand a triangle wave in sines. This is what I came ...
5
votes
0answers
128 views

Contour Integration along a contour containing two branch points

I need to compute following contour integrations: $$f(u)=\oint_\alpha dz \sqrt{z^3+z+u} \qquad ; \qquad g(u)=\oint_\beta dz \sqrt{z^3+z+u}$$ In which $\alpha$ and $\beta$ are two contours in ...
0
votes
1answer
72 views

Series with a specified number of terms

I'm doing calculations with Series where I don't know the power of the leading order term. I would like to keep a specified number of terms, but since I don't know the leading order this is proving ...
18
votes
4answers
444 views

Expansion of a hypergeometric function takes ages with Mathematica 9 and 10 (regression?)

Mathematica 8 (Linux version) can evaluate AbsoluteTiming[Series[Hypergeometric2F1[1, 1 - eps/2, 3 - eps, 1/2], {eps, 0, 0}]] in no time. On one of the ...
1
vote
1answer
83 views
0
votes
1answer
88 views

How to obtain Laurent series coefficients of an (almost) arbitrary function?

I have observed that Series in Mathematica assumes that the given function is smooth in the point around which one wants to perform series expansion. For instance: ...
2
votes
4answers
92 views

Extract a part of Series

If I have the output of Series, in terms of powers of my variable $x$, what is the quickest way to extract a part of the series, say for example the terms from $x^2$ to $x^5$, excluding those with ...
0
votes
1answer
29 views

Extract a term of `Series` output

Say I have the output of series, with all the coefficients of the different powers of my variable $x$. What is the quickest way of extracting the coefficient of the $n$-th power of $x$?
1
vote
1answer
56 views

Truncate a sum in a 'smart' way

Consider a series like this: $$\sum_{n=1}^{\infty} (c_n r^{2-n/2}+d_n r^{-n/2})$$ Sum[c[n]r^(2-n/2)+d[n]r^(-n/2),{n,Infinity}] I want, now, to keep only the ...
0
votes
1answer
49 views

Series identity with binomial coefficients [duplicate]

I have this apparently simple equation: ...
2
votes
2answers
87 views

Series expression of a Root object

I was wondering if it is possible to get Mathematica to return a series approximation of a Root object. Example: I want a series representation of x in terms of ...
2
votes
2answers
145 views

Linearization of differential equations

I was wondering if one could define an operator such that, when I give a certain number of (differential) equations as an output, and an "equilibrium" value for each of the variables, it returns the ...
0
votes
1answer
73 views

Can't get solution to a system of recurrence equeations

I would be grateful if someone could help me with this problem. I define two series recursively, thus: ...
5
votes
5answers
141 views

Isolating cross terms

I have a set of expressions that contains terms like $\frac{1}{(x + a + b)(c+d)}$. I would like to simplify the denominator so that products of $a,b,c,d$ are dropped, but $x c$ and $x d$ are kept. ...
0
votes
0answers
59 views

Linearization of differential equation - need tips for the use of Series function

I would like to linearize a differential equation around a equilibrium position. The description of the steps that I have carried out are : Equation ...
3
votes
1answer
174 views

Series approximation to integral

I would like to approximate the integral $$ \int_0^\infty dy\,\frac{1}{\sqrt{2\pi y\sigma^2}}\exp\left(-\frac{(x-y)^2}{2y\sigma^2}\right)f(y), $$ as a series expansion in the limit $\sigma\rightarrow ...
8
votes
1answer
242 views

Error in infinite sum

The binary weight of the non negative integer k is defined by w[k_] := Total[IntegerDigits[k, 2]] The first values are (cf. http://oeis.org/ A000120) ...
1
vote
2answers
38 views

Imploying a sequence in a series

I would like to have the following sequence, $(a)_n$, in a series where $a_0 = 1$ and $a_n = a(a+1)\cdots (a+ n -1)$. The series I have is $$ 2\sum_{n=0}^{\infty}\frac{(1/2)_n}{n!(2n+1)^3} $$ I know ...
0
votes
1answer
40 views

Derivative inside a Series [closed]

I have a function defined by a sum, which I would like to differentiate. For example: ...
1
vote
1answer
56 views

Don't understand why my Taylor expansion results in a message and an unexpected result

Trying to do something simple: Taylor expand a generic function of t around a point t and substitute ...
5
votes
2answers
91 views

Replace expression in series expansion [duplicate]

A test case: I'm trying to replace an expression inside a series expansion: Series[f[x],{x,x0,4}] ./ (x-x0)->h but it still returns ...
0
votes
0answers
107 views

Alternative to Series

Here is a sample of my code: ...
0
votes
1answer
86 views

Series expand root of quartic polynomial containing many real parameters and FullSimplify return `Indeterminate`

Using Mathematica I can get the Eigenvalues of the following matrix (using Quartics->True): ...
0
votes
1answer
49 views

Series expansion of large expression

I have the following equation: eq=E0[x,y,z]+E1[x,y,z]*Cos[phi]+E2[x,y,z]*Cos[phi]^2+E3[x,y,z]*Sin[phi] Now E0,E1,E2 and ...
0
votes
0answers
32 views

SumConvergence with product $\sum_1^\infty{\frac{1\times3\times5\times…\times(2n-1)}{n!}}$

SumConvergence[( Product[(2 n - 1), {n, 1, infinity}])/n!, n] $$\sum_1^\infty{\frac{1\times3\times5\times...\times(2n-1)}{n!}}$$ However this returns true but it ...
0
votes
2answers
58 views

Failed to use N[%] for a infinite series

I am trying to evaluate a infinite series: $$ 2 \sum _{l=1}^{\infty } \Re\left(n^{\frac{2 i \pi l}{\log (q)}} \Gamma \left(\alpha -\frac{2 i l \pi }{\log (q)}\right)\right) $$ With the code: ...
1
vote
2answers
79 views

Series with specific notation

I'm trying to get mathematicas series function to output a result that look like this: instead of calculating the actual "values", like doing so here: ...