Let $f: \mathbb R^{2}\to \mathbb R, f(x,y)=y-e^{x}\sin(y)$
I was asked to find the the Taylor polynomial about $(1,\pi)$ until the terms of third order.
Solution: setting $z=(1+x,\pi+y)$, we get $f(z)=y+\pi-e^{x+1}\sin(y+\pi)=\pi+y+ee^{x}\sin(y)$
and then taking the Taylor polynomials of that we get:
$= \pi + y +e(1+x+\frac{x^{2}}{2!}+\frac{x^{3}}{3!}+\mathcal{O(\vert\vert x,y\vert\vert^{4})})(y-\frac{y^{3}}{3!}+\mathcal{O}(\vert\vert x,y\vert\vert^{5}))$ (*)
And since $\mathcal{O}(g)\mathcal{O}(f)=\mathcal{O}(g\times f)$ and for $h=\mathcal{O}(f_{m})$ and $g=\mathcal{O}(f_{n})$, it follows $g,h=\mathcal{O}(\max\{f_{n},f_{m}\})$
Am I correct in saying that (*)$=...+\mathcal{O}(\vert\vert x,y\vert\vert^{9})$
Somehow our lecturer got to (*)$=...+\mathcal{O}(\vert\vert (x,y)\vert\vert^{4})$, and I have no idea how he got that.
Let us forget about the $\pi$, the $y$ and the $e$ to focus on what matters, the big product.
Using distributivity, it becomes a sum $$\ldots+\text{ $\ldots\mathcal{O}(\| x,y\|^{4})$ $+$ $\ldots\mathcal{O}(\| x,y\|^{5})$ $+\ldots\mathcal{O}(\| x,y\|^{9})$.}$$ where each $\ldots$ stands for a polynomial.
Now the fundamental question is what precision do we have when we write this?
A related problem: Say you know the value of a number $x\sim 3.1415 $ up to four digits and another one $y\sim 2.71828$ up to five digits. Is this enough to write down $xy$ with a precision of nine digits?