ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

20211128泰勒公式

2021-11-28 11:31:14  阅读:181  来源: 互联网

标签:泰勒 frac 函数 公式 cfrac cdots 20211128 alpha displaystyle


目录

泰勒定理

对于一般的函数,泰勒公式的系数的选择依赖于函数在一点的各阶导数值。这个想法的原由可以由微分的定义开始。微分是函数在一点附近的最佳线性近似:

\[ f(a + h) = f(a) + f^{\prime}(a)h + o(h),其中 o(h) 是比 h \textbf{高阶} 的无穷小。 \nonumber \]

也就是说 \(\displaystyle f(a + h) \approx f(a) + f^{\prime}(a)h\) , 或 \(\displaystyle f(x) \approx f(a) + f^{\prime}(a)(x - a)\) 。

注意到 \(\displaystyle f(x)\) 和 \(\displaystyle f(a) + f^{\prime}(a)(x - a)\) 在 \(\displaystyle a\) 处的零阶导数和一阶导数相同。对 足够光滑 的函数,如果一个多项式在 \(\displaystyle a\) 处的前 \(\displaystyle n\) 次导数值都与函数在 \(\displaystyle a\) 处的前 \(\displaystyle n\) 次导数值重合,那么这个多项式应该能很好地近似描述函数在 \(\displaystyle a\) 附近的情况。

定理:
设 \(\displaystyle n\) 是一个正整数,如果定义在一个包含 \(\displaystyle a\) 的区间上的函数 \(\displaystyle f\) 在 \(\displaystyle a\) 点处 \(\displaystyle n + 1\) 次可导,那么对于这个区间上的任意 \(\displaystyle x\) 都有:

\[f(x) = f(a) + \cfrac{f^{\prime}(a)}{1!}(x - a) + \cfrac{f^{(2)}(a)}{2!}(x - a)^2 + \cdots + \cfrac{f^{(n)}(a)}{n!}(x - a)^n + R_n(x) \nonumber \]

其中的多项式称为函数在 \(\displaystyle a\) 处的 泰勒展开式 ,剩余的 \(\displaystyle R_n(x)\) 是泰勒公式的 余项 ,是 \(\displaystyle (x - a)^n\) 的高阶无穷小

\(\displaystyle R_n(x)\) 的表达式有若干种,分别以不同的数学家命名。

带有 皮亚诺型余项 的泰勒公式说明了多项式和函数的接近程度:

\[ f(x) = f(a) + \cfrac{f^{\prime}(a)}{1!}(x - a) + \cfrac{f^{(2)}(a)}{2!}(x - a)^2 + \cdots + \cfrac{f^{(n)}(a)}{n!}(x - a)^n + o \left[ (x - a)^n \right] \nonumber \]

也就是说,当 \(\displaystyle x\) 无限趋近 \(\displaystyle a\) 时,余项 \(\displaystyle R_{n}(x)\) 将会是 \({\displaystyle (x-a)^{n}}\) 的高阶无穷小,或者说多项式和函数的误差将远小于 \({\displaystyle (x-a)^{n}}\) 。这个结论可以由下面更强的结论推出。

带有 拉格朗日型余项 的泰勒公式可以视为拉格朗日微分中值定理的推广:

\[ f(x) = f(a) + \cfrac{f^{\prime}(a)}{1!}(x - a) + \cfrac{f^{(2)}(a)}{2!}(x - a)^2 + \cdots + \cfrac{f^{(n)}(a)}{n!}(x - a)^n + \cfrac{f^{(n + 1)}(\theta)}{(n + 1)!}(x - a)^{n + 1} \nonumber \]

即 \(\displaystyle R_n(x) = \cfrac{f^{(n + 1)}(\theta)}{(n + 1)!}(x - a)^{n + 1}\) ,其中 \(\displaystyle \theta \in (a, x)\) 。

带有 积分型余项 的泰勒公式可以看做微积分基本定理的推广:

\[ R_n(x) = \int_a^x \cfrac{f^{(n + 1)}(t)}{n!} (x - t)^n \mathrm{d}t \nonumber \]

余项估计

拉格朗日型余项或积分型余项可以帮助估计泰勒展开式和函数在一定区间之内的误差。设函数在区间 \(\displaystyle [a − r, a + r]\) 上 \(\displaystyle n\) 次连续可微并且在区间 \(\displaystyle (a − r, a + r)\) 上 \(\displaystyle n + 1\) 次可导。如果存在正实数 \(\displaystyle M_n\) 使得区间 \(\displaystyle (a − r, a + r)\) 里的任意\(\displaystyle x\) 都有 \(\displaystyle \left| f^{(n + 1)}(x) \right| \leqslant M_n\),那么:

\[ f(x) = f(a) + \cfrac{f^{\prime}(a)}{1!}(x - a) + \cfrac{f^{(2)}(a)}{2!}(x - a)^2 + \cdots + \cfrac{f^{(n)}(a)}{n!}(x - a)^n + R_n(x) \nonumber \]

其中 \(\displaystyle \left \vert R_n(x) \right \vert \leqslant M_n \cfrac{r^{n + 1}}{(n + 1)!}\) 。这个上界估计对区间 \(\displaystyle (a - r, a + r)\) 里的任意 \(\displaystyle x\) 都成立,是一个一致估计。

如果当 \(\displaystyle n\) 趋向于无穷大时,还有 \(\displaystyle M_n \cfrac{r^(n + 1)}{(n + 1)!} \rightarrow 0\) ,那么可以推出 \(\displaystyle R_n(x) \rightarrow 0\) , \(\displaystyle f\) 是区间 \(\displaystyle (a - r, a + r)\) 上的解析函数。 \(\displaystyle f\) 在区间 \(\displaystyle (a - r, a + r)\) 上任意一点的值都等于在这一点的 泰勒展开式的极限

麦克劳林公式

对于一个在 实数或复数 \(\displaystyle a\) 邻域上,以实数作为变量或以复数作为变量的函数,并且是无穷可微的函数 \(\displaystyle f(x)\) ,它的泰勒级数是以下这种形式的幂级数:

\[\displaystyle f(x) = \sum_{n = 0}^{\infty} \cfrac{f^{(n)}(a)}{n!}(x - a)^n \nonumber \]

如果 \(\displaystyle a=0\) ,也可以把这个级数称为麦克劳林级数

解析函数

如果泰勒级数对于区间 \(\displaystyle (a-r,a+r)\) 中的所有\(\displaystyle x\)都收敛并且级数的和等于 \(\displaystyle f(x)\) ,那么我们就称函数 \(\displaystyle f(x)\) 为 解析函数或解析形的函数 (analytic)。一个函数 当且仅当(简单地说,“只有在且只要在”)能够被表示为 幂级数 的形式时,才是解析形的函数。通常会用 泰勒定理 来估计级数的 余项 ,这样就能够确定级数是否收敛于 \(\displaystyle f(x)\) 。上面给出的幂级数展开式中的系数正好是泰勒级数中的系数。

以下三个事实可以说明为什么泰勒级数是十分重要的:

  1. 可以逐项对幂级数的计算微分和积分,因此求和函数相对比较容易。
  2. 数学家因此能够在复数平面上研究函数,因为一个解析函数,也可以被定义为在复平面中一个开放的区间内的解析函数(在区间内每一个点上都能被微分的函数)。
  3. 可用泰勒级数估计,在某一点上函数会计算出什么值。

常用的函数的麦克劳林级数

几何级数

\[ \cfrac{1}{1 - x} = \sum_{n = 0}^{\infty} x^n = 1 + x + x^2 + \cdots + x^n + \cdots \quad \forall x : \lvert x \rvert < 1 \nonumber \]

二项式级数

\[(1+x)^{\alpha}=\sum_{n=0}^{\infty} \left( \begin{array}{l} \alpha \\\ n \end{array} \right) x^{n} = 1 + \alpha x + \frac{\alpha(\alpha-1)}{2 !} x^{2} + \cdots + \frac{\alpha(\alpha-1) \cdots (\alpha-n+1)}{n !} x^{n}+\cdots , \quad \forall x : \lvert x \rvert < 1, \forall \alpha \in \mathbb{C} \\\ \text{二项式系数} \left( \begin{array}{l} \alpha \\\ n \end{array} \right) = \prod_{k=1}^{n} \frac{\alpha-k+1}{k} = \frac{\alpha(\alpha-1) \cdots(\alpha-n+1)}{n!} \text{。} \nonumber \]

指数函数和自然对数

\[\begin{align} e^{x} &= \sum_{n=0}^{\infty} \frac{x^{n}}{n !} = 1 + x + \frac{x^{2}}{2!} + \frac{x^{3}}{3!} + \cdots + \frac{x^{n}}{n!} + \cdots \quad \forall x \quad \text{(对所有x都成立)} \nonumber \\\ \ln(1 - x) &= -\sum_{n = 1}^{\infty} \frac{x^{n}}{n} = -x - \frac{x^{2}}{2} - \frac{x^{3}}{3} - \cdots - \frac{x^{n}}{n} - \cdots \quad \forall x \in [-1,1) \quad \text{(对于在区间[-1,1)内所有的x都成立)} \nonumber \\\ \ln(1 + x) &= \sum_{n = 1}^{\infty} \frac{(-1)^{n + 1}}{n} x^{n} = x - \frac{x^{2}}{2} + \frac{x^{3}}{3} - \cdots + \frac{(-1)^{n+1}}{n} x^{n} + \cdots \quad \forall x \in(-1,1] \quad \text{(对于在区间(-1,1]内所有的x都成立)} \nonumber \end{align} \]

三角函数

\[\begin{align} \sin x &= \sum_{n = 0}^{\infty} \frac{(-1)^{n}}{(2n + 1)!} x^{2n + 1} &=& x - \frac{x^{3}}{3!} + \frac{x^{5}}{5!} - \cdots &\quad \forall x \nonumber \\\ \cos x &= \sum_{n = 0}^{\infty} \frac{(-1)^{n}}{(2n)!} x^{2n} &=& 1 - \frac{x^{2}}{2!} + \frac{x^{4}}{4!} - \cdots &\quad \forall x \nonumber \\\ \arcsin x &= \sum_{n = 0}^{\infty} \frac{(2 n)!}{4^{n}(n!)^{2}(2n + 1)} x^{2n + 1} &=& x + \frac{x^{3}}{6} + \frac{3 x^{5}}{40} + \cdots &\quad \forall x:|x| \leq 1 \nonumber \\\ \arccos x &= \frac{\pi}{2} - \arcsin x \\\ &= \frac{\pi}{2} - \sum_{n = 0}^{\infty} \frac{(2n)!}{4^{n}(n!)^{2}(2n + 1)} x^{2n + 1} &=& \frac{\pi}{2} - x - \frac{x^{3}}{6} - \frac{3x^{5}}{40} + \cdots &\quad \forall x:|x| \leq 1 \\\ \arctan x &= \sum_{n= 0 }^{\infty} \frac{(-1)^{n}}{2n + 1} x^{2n + 1} &=& x - \frac{x^{3}}{3} + \frac{x^{5}}{5} - \cdots &\quad \forall x:|x| \leq 1, x \neq \pm i \nonumber \end{align} \]

几个重要的低阶展开的麦克劳林公式

  1. \(\displaystyle {\sin x=x-\frac{x^{3}}{3 !}+O\left(x^{3}\right), \arcsin x=x+\frac{x^{3}}{3 !}+O\left(x^{3}\right)}\)
  2. \(\displaystyle {\tan x=x+\frac{x^{3}}{3}+O\left(x^{3}\right), \arctan x=x-\frac{x^{3}}{3}+O\left(x^{3}\right)}\)
  3. \(\displaystyle {\cos x=1-\frac{x^{2}}{2 !}+\frac{x^{4}}{4 !}+O\left(x^{4}\right), \arccos x=\frac{\pi}{2}-x-\frac{x^{3}}{3 !}-O\left(x^{3}\right)}\)
  4. \(\displaystyle {\ln (1+x)=x-\frac{x^{2}}{2}+\frac{x^{3}}{3}+O\left(x^{3}\right)}\)
  5. \(\displaystyle {e^{x}=1+x+\frac{x^{2}}{2 !}+\frac{x^{3}}{3 !}+O\left(x^{3}\right)}\)
  6. \(\displaystyle {(1+x)^{\alpha}=1+\alpha x+\frac{\alpha(\alpha-1)}{2 !} x^{2}+O\left(x^{2}\right)}\)

标签:泰勒,frac,函数,公式,cfrac,cdots,20211128,alpha,displaystyle
来源: https://www.cnblogs.com/vocaloid-fan1995/p/15614610.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有