# Math Help - Confusion with Taylor Series

1. ## Confusion with Taylor Series

Hi,

This technique of solving PDEs uses the Taylor expansion: link.

To calculate $f$ at the $n+1^{th}$ time step, one needs to know $f$ at the $j+1^{th}$ distance step. But how is one expected to know the latter, since the unknown solution is a function of both time and distance?!

Seeking clarification. Thanks.

2. ## Re: Confusion with Taylor Series

Hey algorithm.

Your series expansion for a two dimension function will look like f(x+a,y+a) = f(a,b) + df/dx|x=a*(x-a) + df/dy|y=b(y-b) + d^2f/dx^2*(x-a)^2 + d^2f/dxdy|x=a,y=b * (x-a)*(y-b) + ... +

You can get an idea from here:

Taylor series - Wikipedia, the free encyclopedia