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

learn more… | top users | synonyms (1)

1
vote
2answers
135 views

Solve of cubic and quartic equations too slow

In my problem I have a third order algebraic equation for the variable sigma, all other letters are parameters. Here is it's right-hand side, left hand side is ...
1
vote
0answers
69 views

Finding consecutive residues of large expression?

I have given a large expression expr (has LeafCount of 2772, you can find it in this file or ...
-3
votes
2answers
127 views

How to create a series using For loop.? [closed]

i want to create a series such as 10^n-1 * 10^n-2 *.......... * 10^2 * 10^1 using for loop ; here is my code. For[n=1, n<18, a=10^n; n++, b=(10^n)*a;]; ...
1
vote
5answers
191 views

Getting $e$ closer than $0,001$?

Everyone knows that $\sum \frac{1}{n!} =e$. How should I make a program in Wolfram Mathematica, that tells me, how many members I need from the sum, to get a number, with mistake smaller, than $0,001?$...
2
votes
1answer
102 views

Finding terms of the perturbation solution

I've got a task to find first three terms of the perturbation series solution to: $$y' = 1 +(1+\epsilon)y^2,\quad y(0)=1, \quad t > 0,$$ for a small $\epsilon$. I am supposed to use Mathematica ...
1
vote
1answer
70 views

Series around a point

I have the function Vt ...
2
votes
1answer
66 views

Solving ODE in power series about infinity

I want to solve a particular ODE in power series of 1/x. I can obtain the power series solution about x=0. Can any one suggest how to obtain a series solution in 1/x for the following ODE? I tried ...
5
votes
2answers
197 views

Series solution of the Lane-Emden equation

I have the following problem: I'd like to show how the Lane-Emden equation would look like if someone would solve it as a series. Here's the code: ...
2
votes
0answers
60 views

Changing variables in a series expansion

I want to compute the Taylor expansion of some pure function f[x_], but then perform a change of variables in the resulting expression. So, for example, the output ...
1
vote
1answer
42 views

System of equations from coefficients of series

I have two functions $F_1(a,b,x)$ and $F_2(a,b,x)$ I expand these functions about the point $x=0$ Series[F1,{x,0,2}] Series[F2,{x,0,2}] the coefficients are ...
2
votes
3answers
75 views

Series: two varibles, how to eliminate the (product) higher order

I have a function of $f(x,y)$, where $x,y$ are very small numbers. I want to series expand it to the $3$rd power. However I don't want the terms such that $x^2y^2$, $xy^3$ etc. because I would reckon ...
1
vote
2answers
61 views

A series expansion

It might be a silly question. Actually I'm facing a problem expanding $(1+\frac{2}{x})^{\frac{i}{2}}$ for small $x$. Mathematica can not expand it. But it can of course expand $(1+\frac{2}{x})^{\frac{...
10
votes
1answer
149 views

How to predict the degree of the first series coefficient?

Given an expression f that is a function of x and a number x0, what is the least integer <...
2
votes
2answers
90 views

Strange failure of Series and Derivative

I just spend three hours and posted two Questions trying to figure something out, and it turned out all the confusion was caused by this mysterious quirk. I want to expand g[x,v] in v at v=0, using ...
1
vote
1answer
67 views

How to bound a recursive Derivative definition?

I need to convert derivatives of g[x,v] wrt v into derivatives wrt x using this relation: $$\frac{dg[x,v]}{dv}=\frac{1}{2}\frac{d^{2}g}{dx^{2}}+\frac{1}{2}\left(\frac{dg}{dx}\right)^{2}$$ This code ...
1
vote
1answer
66 views

How to use PadeApproximant with a defined Derivative?

I need to generate a Pade approximant expansion in v of the following: $$g(x,v)\equiv \ln\int_{-\infty}^{\infty}e^{-y\left(z\right)}N\left(x-z,v\right)\,\mathrm{d}...
1
vote
1answer
53 views

Failure of Series[] for hypergeometric functions

I am encountering peculiar errors when asking Mathematica for series expansions of certain hypergeometric functions. To give an example, consider the function $f(x) = {}_{5} F_{4}(3/2,3/2,3/2,2,2; 1,...
0
votes
1answer
48 views

Get dominant terms in asymptotic expansion

I'd like to find the dominant terms of an expression given the conditions $x,y >> 1$: $c_0 y+\frac{y^2 \left(4 c_0^2 y - 12 c_1 c_2^2+y^2\right)}{24 x^2 \left(\text{c1}^2+\text{c2}^2+y\right)}$ ...
1
vote
1answer
85 views

Numerically solving a transcendental equation as a series

Given a transcendental equation $f(x,y)=0$, is there a way for Mathematica to automatically solve the equation as a series? I already know that I can use ...
1
vote
1answer
219 views

Plotting a Taylor series of Partial sum

Hi people, I want to plot the partial sum from n=0 to n =6 with the given function f about the point a=0 (just the maclaurin series). Unfortunately, I am unable to make sense of the issue M'tica is ...
0
votes
1answer
86 views

how can I convert a sum series to an equivalent product series

There are many identities in which on one side we have a summation series and on the other side we have a product series. For e.g. the very famous rogers-ramanujan identity ∑_(n=0)^∞▒q^(n^2 )/〖(q;q)〗n ...
17
votes
1answer
199 views

SeriesData sucks when it can. How do I keep SeriesData from sucking?

When I run Series[f[x]*Sin[x],{x,0,3}, Analytic->False] I get: f[x](x-x^3/3+O[x]^4) as expected. In ...
1
vote
0answers
55 views

How to erase the O[x] terms after using Series [closed]

I have a matrix in which I have used terms like: Series[Sin[(a qy)/2] , {qy, 0, 2}] How to get rid of the O[qz]^3 afterwards ?...
4
votes
2answers
256 views

Determine the coefficient of expansion of the product of two sumations?

I would like to determine the coefficient of a desired term in the product of two summation where the powers of $x$ are not necessarily integers. For example $$ \sum_{i=1}^N x^{1/i}\sum_{j=1}^N x^{1/j}...
2
votes
1answer
70 views

Most simple example where series expanding a root object actually fails due to branchcuts

When computing the series expansion of a Root object Mathematica throws an error like: "Because of branch cuts, the series may represent a different root of [root expression] for some values of [...
2
votes
0answers
95 views

Peculiarities with Series and fractional exponents or bug?

The documentation of the Series[] function states that it can handle "certain expansions involving negative powers, fractional powers, and logarithms." What are the ...
2
votes
1answer
122 views

Solve an inequality involving a sum with a parameter

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 parameter? When I do ...
0
votes
1answer
69 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
168 views

Taylor Series vs. Series Function [closed]

Could someone please explain why the these two functions give two different results ...
2
votes
2answers
156 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
84 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
47 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
297 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
101 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 ...
5
votes
2answers
251 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 ...
7
votes
2answers
141 views

Generating terms of the Stirling series

The Stirling series starts as follows: $$n!=\left(\frac{n}{e}\right)^{n}\sqrt{2\pi n} \left\{1+\frac{1}{12n}+\frac{1}{288n^{2}}-\frac{139}{51840 n^{3}}-\frac{571}{2888380 n^{4}}+O\left(n^{-5}\right)\...
4
votes
0answers
62 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
63 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
49 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
1answer
242 views

Asymptotic forms of Bessel function

I want to replace Bessel functions by asymptotic forms, so the question is: can I find the best ones with help of Mathematica? And if it's possible, how can I do it? Update How can I get with ...
0
votes
0answers
100 views

Series of square root of exponential [closed]

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
324 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
46 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
182 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
53 views

Series of integrate in exponential

Why Mathematica cannot perform this series: ...
3
votes
0answers
124 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
269 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
72 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 ...