1
$\begingroup$

I know how to do a taylor expansion of a function from R to R. I dont know how to do taylor expansion of functions which have 3D vectors as variable. How can I do this? I would appreciate it if someone also worked out an example. Thank you!

  • 0
    The title says "vector valued" and your question mentions "vectors as variable", which is it ?2012-11-28
  • 0
    @JoelCohen sorry for the confusion, I am not good at the terminology. I meant a function which has a vector as a variable2012-11-28
  • 0
    Do you have an example in mind?2012-11-28
  • 0
    @Muphrid f(x)=|a-x|^3 for example with x and a 3D vector and the vertical lines mean the length (here a is constant).2012-11-28
  • 0
    So $x$ and $a$ are both vectors, just $a$ is a constant vector?2012-11-28
  • 0
    @Muphrid exactly, x is the variable2012-11-28
  • 0
    Wiki source - look for scalar-valued function with a vector variable... http://en.wikipedia.org/wiki/Taylor_series#Taylor_series_in_several_variables2012-11-28

1 Answers 1

6

Then what you're looking for is the Taylor expansion of a scalar field--a function $f$ that maps $\mathbb R^n$ to $\mathbb R$.

An easy way to build up intuition about this is to do the expansion only in one direction. Let $\hat n$ be a unit vector and $t$ a scalar parameter. Let $x_0$, the point you want to expand around, be given by $x_0 = x - t \hat n$ or $x = x_0 + t \hat n$. There is only one direction connecting $x$ and $x_0$, and the magnitude can always be calculated (which fixes $t$). Then you can say

$$f(x) = f(x_0 + t \hat n) = f(x_0) + \left. \frac{\partial f}{\partial t} \right|_{x_0} t + \frac{1}{2} \left. \frac{\partial^2 f}{\partial t^2} \right|_{x_0} t^2 + \ldots$$

Now, identify $\partial f/\partial t$ as $\hat n \cdot \nabla f$. In addition, see that $t\hat n = x - x_0$. Some clever recombining of terms gives

$$f(x) = f(x_0) + (x-x_0) \cdot \nabla f|_{x_0} + \frac{1}{2} ([x - x_0] \cdot \nabla)^2 f|_{x_0} + \ldots$$

This is suitably general to cover any point $x$.

  • 0
    I dont understand why f(x)=f(x_0 +tn). could you explain? and what does de upside down delta f mean?2012-11-28
  • 0
    I've added some additional language to clarify why $x = x_0 + t \hat n$. The symbol $\nabla$ (pronounced *del*) represents the vector derivative operator. Acting on a scalar field, it produces the gradient.2012-11-28
  • 0
    @Muphrid How does the second-order term $t^2\partial_{tt}$ become $(x-x_0)\cdot \nabla)^2$?2014-01-01
  • 1
    @BillyJean: $([x-x_0] \cdot \nabla)^2 = t^2 (\hat n \cdot \nabla)^2 = t^2 \partial_{tt}$. Remember I said to identify $\hat n \cdot \nabla = \partial_t$.2014-01-01