Mathematica Letting mathematica compute taylor expansion of implicit function.

AI Thread Summary
To find the Taylor expansion of the implicit function z(x,y) defined by the equation z^3 - 2xz + y = 0 at the point (1,1,1), the implicit function theorem is necessary for calculating derivatives. Users are encouraged to define the function F(x,y,z) based on the equation and utilize Mathematica for computation. The Series command in Mathematica is not directly applicable for implicit functions, necessitating a custom routine. A suggested approach involves differentiating the function with respect to x and y to obtain the first partial derivatives, which can then be used to derive higher-order derivatives for the Taylor expansion. Specific code snippets are provided to illustrate how to compute the first partial derivative with respect to x, emphasizing the need for iterative differentiation for complete expansion.
MathematicalPhysicist
Science Advisor
Gold Member
Messages
4,662
Reaction score
372
I have the next function: z^3-2xz+y=0 and I want to find taylor expansion of z(x,y) at the point (1,1,1), obviously I need to define F(x,y,z) as above and use the implicit function theorem to calculate the derivatives of z(x,y), but I want mathematica to compute this to me.

I tried the Series command but I don't know how to use such that it will use the implicit function theorem in the computation.

Any help?

Thanks, I tried looking at the documentation of Mathematica but didn't find anything about taylor expansion of implicit functions.
 
Physics news on Phys.org
I think you're going to have to write a routine for that. I can show you how to get the first partial with respect to x. Do the same for y, then iterate:

Code:
myFunction = z[x, y]^3 - 2 x z[x, y] + y == 0
myd = D[myFunction, x]
myx1 = First[D[z[x, y], x] /. Solve[myd, D[z[x, y], x]]]
 

Similar threads

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