Mathematica How to compute a Taylor expansion for f(x,y) using Mathematica?

AI Thread Summary
The discussion focuses on computing a Taylor expansion for a function f(x,y) using Mathematica's Series function. Users encounter issues with zero terms appearing in the expansion, specifically terms like 0(y+2)^2. Clarification is provided that these terms are not the numerical zero but rather represent higher-order terms, denoted as O[y+2]^2, which indicate unspecified terms of that order. To eliminate these terms from the output, the Normal function can be used in conjunction with Series, allowing for a cleaner result without the higher-order notation.
chinaman209
Messages
3
Reaction score
0
Can someone pls explain hot to compute a taylor expansion for f(x,y) using mathematica
 
Physics news on Phys.org
Series[f[x,y],{x,0,1},{y,0,1}]
 
When I expand like that i get some zero terms like 0(y+2)^2.. and so one repeated a finite number of times. When i try to simplify the answer the zeroes don't go away. So are these really zero?
 
Those are not 0 (number zero) they are O (letter "Oh"). The term O[y+2]^2 means an unspecified term of order (y+2)^2 to represent all of the higher order terms in the expansion. If you want to get rid of it then just use:

Normal[Series[...]]
 

Similar threads

Replies
1
Views
2K
Replies
4
Views
2K
Replies
4
Views
2K
Replies
1
Views
3K
Replies
13
Views
2K
Back
Top