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

learn more… | top users | synonyms (1)

1
vote
1answer
73 views

Find an instance satisfying an inequality involving sums

Good day. I am new to Mathematica and I am looking for advice. Is it possible to solve $$\sum_{k=0}^{n} \frac{p^k}{k!}>0$$ for $n$ where $p$ is a constant parameter? When I do ...
0
votes
1answer
33 views

What is the best way to generate this power series expansion?

f[m_,z_] := (1/m)*Sum[Exp[z*Exp[2*Pi*I/m]^k], {k,0,m-1}] g[t_] := 1/(2-f[5,t^(1/5)]) Series[g[t], {t,0,10}] When I tried to compute this on Wolfram Programming ...
0
votes
1answer
132 views

Taylor Series vs. Series Function [closed]

Could someone please explain why the these two functions give two different results ...
2
votes
2answers
141 views

SeriesCoefficients expansion contradicts FullSimplify

Executing the following SeriesCoefficient[Log[1/2 (1 + Sqrt[1 - x])], {x, 0, n}, Assumptions -> {n >= 1, n ∈ Integers}] I get: which clearly asserts ...
0
votes
4answers
43 views

Remove low orders from Series [closed]

It is easy to truncate Series upto some order, say $n$. My question is how do I remove low orders? Let us say my series is a power series in $x$. I want to remove the terms with negative powers ...
3
votes
1answer
41 views

Order of evaluation of Exp and Normal on result from Series

This may be more math related than Mathematica related, but I thought this might be of interest to the group. I'm trying to work with some Taylor Series approximations of functions that are ...
10
votes
1answer
164 views

Dirichlet coefficients as limits: wrong

Perhaps I should have included the word "bug" in my question. Here we go There is a bug in this Limit Limit[3^s (-1 - 2^-s + Zeta[s]), s -> ∞] (* 0 *) which ...
0
votes
1answer
90 views

second order nonlinear ode

I need to solve the following equation for $u_n(t)$: $u''=\frac{u'^2}{2u}+\frac{3u^3}{2}+4tu^2+2\left(t^2+\frac{n}{2}+(2p+1)\frac{1+3(-1)^n}{4}\right)u-\frac{n+(2p+1)(1-(-1)^n)}{4u}$ where $p$ is a ...
4
votes
2answers
97 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
55 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
39 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
52 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
55 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
40 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
46 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
214 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
37 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
143 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
49 views

Series of integrate in exponential

Why Mathematica cannot perform this series: ...
3
votes
0answers
93 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
37 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
130 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
53 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
47 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
65 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
383 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
30 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
45 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
196 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
30 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
138 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
461 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
90 views
0
votes
1answer
89 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
93 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
58 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
52 views

Series identity with binomial coefficients [duplicate]

I have this apparently simple equation: ...
2
votes
2answers
92 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
158 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
74 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
144 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
60 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
185 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
244 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
44 views

Derivative inside a Series [closed]

I have a function defined by a sum, which I would like to differentiate. For example: ...