I am new here, no idea how latex works, found this format to easily work but I can't use the usual align method with it.
\[f(x)=p_n(x)+R_{n+1}(x) \]
\[p_n(x)=f(x_0)+\frac{(x-x_0)}{1!}f'(x_0)+...+\frac{(x-x_0)^n}{n!}f^(n)(x_0) \]
\[ R_{n+1}(x)=\frac{1}{n!}\int\limits_{x_0}^x (x-t)^n f^{n+1}(t) \ dt \]
These are my formulas
I tried using
\begin(align)
\[f(x)&=p_n(x)+R_{n+1}(x) \]
\[p_n(x)&=f(x_0)+\frac{(x-x_0)}{1!}f'(x_0)+...+\frac{(x-x_0)^n}{n!}f^(n)(x_0) \]
\[ R_{n+1}(x)&=\frac{1}{n!}\int\limits_{x_0}^x (x-t)^n f^{n+1}(t) \ dt \]
\end(align)
But it gave me a bunch of errors. I am using these packages:
\usepackage[parfill]{parskip}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{amsmath}
alignenvironment OR\[...\]but NOT both. In youraligncode, eliminates\[and replace\]by\\\. – Mar 19 '17 at 18:04\begin{subequations}and\end{subequations}or\numberwithin{equation}{section}, depending on what you want. The first option yields (1a), (1b) and so on while the second gives you (1.x) in section 1, (2.y) in 2 etc. – Mar 19 '17 at 18:23