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

learn more… | top users | synonyms (1)

3
votes
1answer
109 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 ...
5
votes
5answers
107 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
1answer
51 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: ...
-1
votes
0answers
39 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 ...
0
votes
0answers
96 views

Alternative to Series

Here is a sample of my code: ...
7
votes
1answer
206 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) ...
0
votes
1answer
51 views

Replacement of terms/Pattern matching involving products of derivatives of a function

In delving into Ramanujan summation, I'm trying to get a hold of the relations of the form $$\sum_{n=0}^\infty f(n)=\dfrac{h\frac{d}{dx}}{{\mathrm{e}^{h\frac{d}{dx}}}-1}\int_{0}^\infty ...
1
vote
2answers
35 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
26 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
41 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
76 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 ...
13
votes
4answers
3k views

Multivariable Taylor expansion does not work as expected

The basic multivariable Taylor expansion formula around a point is as follows: $$ f(\mathbf r + \mathbf a) = f(\mathbf r) + (\mathbf a \cdot \nabla )f(\mathbf r) + \frac{1}{2!}(\mathbf a \cdot ...
0
votes
1answer
73 views
1
vote
1answer
85 views

Changing default behavior of Series to give slightly different SeriesData

I am working with complicated expressions expr that contains the symbolic function f[x] which I know to have a pole at ...
10
votes
2answers
423 views

InverseSeries of multiple variables and multiple equations

CONTEXT Let us consider a bit of the Universe in which we draw spheres (see a high resolution image here). Astronomers have shown that the density within these spheres could be predicted quite ...
0
votes
1answer
41 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
31 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
53 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
77 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: ...
2
votes
3answers
225 views

Sum the coefficient of a series

I am computing the Series expansion (Lauren series) of an integral and I want to sum up the coefficients of the series. ...
2
votes
1answer
134 views

divergent part of a series

I am trying to find a function that gives me the divergent part of series in any case. The method "Series[]" does not work because Series[42,{n,0,-1}] gives as ...
1
vote
1answer
35 views

Series power with unusual denominator

I have a series whose terms are: (x^n)/(n+a) where n is a positive integer, x a real number that is greater than 0 and smaller than 1, and a is a real number smaller than 1. It is easy to proof that ...
3
votes
1answer
36 views

Defining the value of variable after expansion

I have an initial equation defined as: x = Subscript[a, 0] + (1 - r^2)/Sqrt[1 + r^2 - 2*r*Cos[\[Theta]]]; I want to taylor expand this after subbing in: ...
3
votes
1answer
87 views

List interpolation

Hi mathematica people! So i am looking for the best way to interpolate a function given a list of its values. I have an iterative algorithm which needs high precision otherwise the numerical noise is ...
0
votes
1answer
71 views

How to obtain Padé approximant of $\log(x)$? [closed]

Having read this answer on Math.SE, I wanted to try seeing how Padé approximations converge to $\log(x)$. But my first attempt after reading the documentation failed: ...
4
votes
3answers
193 views

Polynomial with alternating sign coefficients from the odd degree terms of a Truncated Power Series

I'm trying to make a function that will take any truncated power series I give it, strip away all the even degree terms, then change the sign of the coefficients of every other term. So that we have a ...
0
votes
1answer
56 views

Single formula for this sequence [closed]

Consider the following sequence. 0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 7, 0, 8 We can express this sequence by (an) where an=n/2 when n is even and an=0 when n is odd. Find a single formula for an ...
2
votes
1answer
292 views

Matrix exponential MatrixExp[] vs Sum[MatrixPower[]] doesn't match?

I might be an idiot, but I cannot get the manual expansion of $e^{At}$ to match the MatrixExp[A t] result. For example, I have the following: ...
2
votes
1answer
86 views

Evaluate function defined by DifferentialRoot

I have the following sequence of rationals that I want to find the generating function of: ...
1
vote
1answer
67 views

Series expansion of InterpolatingFunction obtained from NDSolve

I am trying to obtain a series expansion of the numerical solution of a differential equation. I encounter difficulties going beyond first-order expansions which I believe might be due to my inability ...
4
votes
1answer
137 views

How do I find a series solution for $$e^{-\frac{1}{2}f'(x)} cosh( f(x) ) = ax + b$$

I am trying to approximate a function $f(x)$ satisfying a relation between $f(x)$ and its first derivative. How do I find a series solution for $$e^{-\frac{1}{2}f'(x)} cosh( f(x) ) = ax + ...
3
votes
1answer
108 views

Problem with series expansion and integrate

I have the following very simple code. A power series in a-parameter, function f[x], is integrated with respect to x, and the ...
14
votes
1answer
242 views

Why do big-O terms disappear in definite integrals since Mathematica 9?

In Mathematica 8, when I computed the following input: Integrate[Series[Cos[x], {x, 0, 2}], {x, 0, a}] Mathematica returned an expression that had a O[a^4] in ...
4
votes
0answers
48 views

FindSequenceFunction for sum of hypergeometric terms

Mathematica's built-in function FindSequenceFunction is quite good at recognizing hypergeometric terms, i.e. terms $c_k$ for which $c_{k+1}/c_k$ is a rational ...
2
votes
3answers
190 views

Extracting coefficients from a power series

I have a function defined explicitly as a power series: $$\sum_{n=0}^\infty{T_n}\frac{x^n}{n!}=\frac{\frac{x^3}{3!}}{e^x-1-x-\frac{x^2}{2!}}$$ and I would like to extract the coefficients $T_k$ as ...
2
votes
1answer
57 views

Truncating power series

I have the following typed up so as to truncate higher powers of $\tau$, ...
1
vote
1answer
75 views

Simplify a series expansion including product and multiplication

I have a following expression $$ f=\Pi_{i=1}^n \left[ 1 + \frac{1}{t} +\frac{ (m+i)}{t^2} +\frac{ (m+i)^2}{t^3} + \cdots \right] $$ here $m,n,t$ are positive integers. I want to obtain a series ...
1
vote
1answer
64 views

Series expansion for rational function with weird powers of variable?

Consider the following series expression: Series[1/(a+b x^(1/3)+c x^(4/3)),{x,0,1}] The result comes out appropriately: 1/a - b x^(1/3)/a^2 +b^2 x^(2/3)/a^3 ...
1
vote
0answers
95 views

Asymptotics: replacing all arguments in a trig function with dummy variable after manipulation

I'm doing manipulations on functions of the form $$\phi(x,z,t) = \sum_n a_n(\epsilon x,\epsilon t,z)e^{in( k_ox -\omega_o t + \epsilon \theta(\epsilon x,\epsilon t)))} e^{(k_o+\epsilon k(\epsilon ...
0
votes
1answer
62 views

Series expanding an expression to an arbitrary power

How can I get Mathematica to directly produce the series expansion of an expression such as $(1+1/x)^n$, where $n$ is an arbitrary positive integer? Note that it's important in my expression to keep ...
2
votes
2answers
773 views

About generating power series

For an arbitrary function $f(x,y)$ I am defining functions LogMT1 and LogMT2 as follows, ...
1
vote
1answer
98 views

sequence of matrix multiplications

My linear algebra book has questions that are are marked to use math software. There's probably some $50 guide on how to do everything but usually documentation has gotten me through. I've been kind ...
11
votes
2answers
2k views

Solving an ODE in power series

How do I find a series solution to an ODE? I do not mean taking the Taylor series of an exact solution; I want to solve nasty nonlinear differential equations locally via plug and chug. Surely, that ...
2
votes
2answers
152 views

How to get the series coefficient of a function defined by a differential equation [duplicate]

I need a Taylor series approximation for $x(t)$, which is defined by the following differential equation. $\frac{dx}{dt}=-k_1 x+(1-x)k_2 e^{-k_3 t}$, $x(0)=0$ ...
3
votes
0answers
131 views

Generating function for Newton series?

The function GeneratingFunction gives generating function for Taylor series. Is there a similar function for Newton's series? $$f(x) = \sum_{k=0}^\infty \binom{x}k \Delta^k [f]\left (0\right)$$
6
votes
2answers
346 views

Finding the coefficient of a certain power in a generating function

I want to compute $(t^1+\dots +t^5)(t^2+\dots+ t^6)(t^3+\dots +t^9)$ and find the coefficient of $t^{15}$ for example. $t$ is an indeterminate Now in Maple this is simply as ...
1
vote
1answer
74 views

Power series with decimal and arbitrary powers

Is there a way to make Mathematica do a series of the form: Series[ E^{\beta}$ , {x, 0, 1}] I have noticed that ...
0
votes
1answer
54 views

Speeding up ReplaceRepeated while truncating to desired order

I need to program in an algorithm that recursively makes algebraic replacements which leads to an utterly complicated algebraic function of $x$, but whose final result is only needed at fixed order in ...
2
votes
0answers
51 views

Implementation of Series function

I'm trying to evaluate the partial derivatives of some function F[x,y] at some point, i.e. ...
0
votes
1answer
123 views

Elegant way to do series expansion around x+$\epsilon$

Suppose I have a function $p(x+\epsilon,y-\epsilon,t)$, and I want to expand it around $(x,y)$ like $$ p(x+\epsilon,y-\epsilon,t)=p(x,y,t)+\dfrac{\partial p}{\partial x}\epsilon+\dfrac{\partial ...