Processing math: 100%
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 6 years ago

Hans gravatar image

Symbolic Taylor expansion

I would like to expand the symbol function f as a Taylor series δf(x)=δxddxf+12(δx)2d2dx2f+O((δx)3) with δx=a1(δt)12+a2(δt)+a3(δt)32+O((δt)2) and expand and collect the same power terms of δt up to a designated power, say, 32. f is just a symbol, I just need Mathsage to produce the symbols of derivatives ddx.

How should one set this up?

Symbolic Taylor expansion

I would like to expand the symbol function f as a Taylor series δf(x)=δxddxf+12(δx)2d2dx2f+O((δx)3) with δx=a1(δt)12+a2(δt)+a3(δt)32+O((δt)2) and expand and collect the same power terms of δt up to a designated power, say, 32. f is just a symbol, I just need Mathsage to produce the symbols of derivatives ddx.

How should one set this up?


eric_g has given an answer to this question. I would like to do the same to f(x,y) with δy=a1(δs)12+a2(δs)+a3(δs)32+O((δs)2) How can I set this up?

Symbolic Taylor expansion

I would like to expand the symbol function f as a Taylor series δf(x)=δxddxf+12(δx)2d2dx2f+O((δx)3) with δx=a1(δt)12+a2(δt)+a3(δt)32+O((δt)2) and expand and collect the same power terms of δt up to a designated power, say, 32. f is just a symbol, I just need Mathsage to produce the symbols of derivatives ddx.

How should one set this up?


eric_g has given an answer to this question. I would like to do the same to f(x,y) with δy=a1(δs)12+a2(δs)+a3(δs)32+O((δs)2) with power terms being dti2dsj2 where i and j are nonnegative integers.

How can I set this up?

Symbolic Taylor expansion

I would like to expand the symbol function f as a Taylor series δf(x)=δxddxf+12(δx)2d2dx2f+O((δx)3) with δx=a1(δt)12+a2(δt)+a3(δt)32+O((δt)2) and expand and collect the same power terms of δt up to a designated power, say, 32. f is just a symbol, I just need Mathsage to produce the symbols of derivatives ddx.

How should one set this up?


eric_g has given an answer to this question. I would like to do the same to f(x,y) with δy=a1(δs)12+a2(δs)+a3(δs)32+O((δs)2) with power terms being collected according to the powers dti2dsj2 where i and j are nonnegative integers.integers and arranged in the ascending order of i+j.

How can I set this up?

Symbolic Taylor expansion

I would like to expand the symbol function f as a Taylor series δf(x)=δxddxf+12(δx)2d2dx2f+O((δx)3) with δx=a1(δt)12+a2(δt)+a3(δt)32+O((δt)2) and expand and collect the same power terms of δt up to a designated power, say, 32. f is just a symbol, I just need Mathsage to produce the symbols of derivatives ddx.

How should one set this up?


eric_g has given an answer to this question. I would like to do the same to f(x,y) with δy=a1(δs)12+a2(δs)+a3(δs)32+O((δs)2) with terms collected according to the powers dti2dsj2 where i and j are nonnegative integers and arranged in the ascending order of i+j.i+j. I would also like to have the capacity to collect terms according to the order of some other variables, say, a1.

How can I set this up?

Symbolic Taylor expansion

I would like to expand the symbol function f as a Taylor series δf(x)=δxddxf+12(δx)2d2dx2f+O((δx)3) with δx=a1(δt)12+a2(δt)+a3(δt)32+O((δt)2) and expand and collect the same power terms of δt up to a designated power, say, 32. f is just a symbol, I just need Mathsage to produce the symbols of derivatives ddx.

How should one set this up?


eric_g has given an Inspired by eric_g's answer to this question. I would like to do question, I am able to perform the same operation to f(x,y) with $$\delta y = a_1(\delta s)^{\frac12}+a_2(\delta s)+a_3(\delta s)^{\frac32}+O((\delta s)^2)$$ with s)^2)$$. I would like to collect terms collected according to the powers dti2dsj2 where i and j are nonnegative integers and arranged in the ascending order of i+j. I would also like to have the capacity to collect terms according to the order of some other variables, say, a1.a1. I have tried using

g.full_simplify().maxima_methods().collectterms(dt)

for a single variable dt. But it does not seem to work well for the fractional power. I do not know if it will work for dti2dsj2.

How can I set this up?