SciTech-Mathmatics-Taylor Equation泰勒公式: 用幂级数(幂函数的和) 去无穷拟合 N阶可导函数(连续可导有N阶导数)

https://www.mathsisfun.com/algebra/taylor-series.html
https://math.libretexts.org/Bookshelves/Calculus/Calculus_3e_(Apex)/08%3A_Sequences_and_Series/8.08%3A_Taylor_Series

Derivative and Slope

Quick review: a derivative gives us the slope of a function at any point.
These derivative rules can help us:

  • The derivative of a constant is 0
  • The derivative of ax is a (example: the derivative of 2x is 2)
  • The derivative of xn is nxn1 (example: the derivative of x3 is 3x2)
  • We will use the little mark to denote "derivative of" (example: f(x) denote the derivative of f(x)).

Taylor Series:

  • First define f(0)(x)=f(x) and 0!=1 :

  • Formula:
    f(x)=n=0f(n)(x0)n!(xx0)n=f(x0)+n=1f(n)(x0)n!(xx0)n

  • Examples:
    ex=n=0xnn!=1+x+x22!+x33!+x44!+x55!++xnn!cos(x)=n=0(1)(n)(2n)!x(2n)=1+(1)x22!+(+1)x44!++(1)(n)(2n)!x(2n)sin(x)=n=0(1)n(2n+1)!x(2n+1)=x+(1)x33!+(+1)x55!++(1)n(2n+1)!x(2n+1)
    Let  x=iy and i2=1:
    ex=eiy=n=0(iy)nn!=1+iy+1y22!+i1y33!++1y44!+i+1y55!++in(ynn!=(1+1y22!++1y44!+)+i(y+1y33!++1y55!+)=cosy+isinyeix=cosx+isinx , Euler's Equation
    So the Taylors Equation, Eulers Equation are unified in Complex Space with $ the\ Trigonometry\ Functions and  Natural Exponential Functions

  • Applications of Taylor Series
    The uses of the Taylor series are:

    • Taylor series is used to evaluate the value of a whole function in each point,
      if the functional values and derivatives are identified at a single point.
    • The representation of Taylor series reduces many mathematical proofs.
      The sum of partial series can be used as an approximation of the whole series.
    • Multivariate Taylor series is used in many optimization techniques.
      This series is used in the power flow analysis of electrical power systems.

Maclaurin Series:

  • First define f(0)(x)=f(x) and 0!=1 :
  • Formula: f(x)=n=0f(n)(x0)n!(xx0)n=f(0)+n=1f(n)(0)n!xn

幂级数拟合:

幂函数: xn , nN , xR 这类函数, 例如 x2 , x3 , ...
其优点:

  • 容易计算及实现:
    计算上, 只要对 x 及系数(+ ,  , × , ÷)就可快速高性能求值; 甚至 口/心/笔 算可得出结果;
    实现上, 对硬件没特别要求, 嵌入式设备上都可快速实现, 并已有许多可直接使用的成熟软硬件库);
  • 任意拟合精度: 预先确定可拟合至任意精度, 并可根据需要设置:
  • 幂函数的特点(properties)为人熟知使用:
    例如:
    y=ax2+bx+c 的 U形图, 有极值以及求解极值.
    y=ax3+bx2+cx+d 的 两个极值以及求解极值 .
    ...

Taylor Series幂级数(Taylor Series)证明

First define f(0)(x)=f(x) and 0!=1 :
hypothesis:  1. the function f(x) has derivatives of  every order and that we can in fact find them all.  2. the function f(x) does in fact have a power series representation about x=x0 .

such that: f(x)=P(x) ,  f(x)where P(x)=n=0cn(xx0)n=c0(xx0)0+c1(xx0)1+c2(xx0)2+...+cn(xx0)n+ ...=c0+n=1cn(xx0)n c0=f(x0)P(0)(x)=f(0)(x)P(1)(x)=f(1)(x)P(2)(x)=f(2)(x)P(3)(x)=f(3)(x)...P(n)(x)=f(n)(x)

P(0)(x)=c0+c1(xx0)1+c2(xx0)2+c3(xx0)3+ ...+cn(xx0)n+ ...P(1)(x)=0+1!c1+2!c2(xx0)1+3c3(xx0)(31)+ ... +ncn(xx0)(n1)+ ...P(2)(x)=0+0+2!c2+3!c3(xx0)(32)+ ... +n(n1)cn(xx0)(n2)+ ...P(3)(x)=0+0+0+3!c3+ ... +n(n1)(n2)cn(xx0)(n3)+ ......P(n)(x)=0+0+0+0+ ... +n!cn+ ......NOW plugin in x=x0 , and we have: P(0)(x0)=f(0)(x0)=0!c0P(1)(x0)=f(1)(x0)=1!c1P(2)(x0)=f(2)(x0)=2!c2P(3)(x0)=f(3)(x0)=3!c3...P(n)(x0)=f(n)(x0)=n!cn...cn=f(n)(x0)n!

coefficientswherecn=f(n)(x0)n!

First define f(0)(x)=f(x) and 0!=1 :
f(x)=n=0f(n)(x0)n!(xx0)n

Frequently Asked Questions – FAQs

  • Q1 What is a Taylor series?
    Taylor series is a function of an infinite sum of terms in increasing order of degree. Taylor series of polynomial functions is a polynomial.
  • Q2 What is the use of Taylor series?
    Taylor series is used to evaluate the value of a whole function in each point if the functional values and derivatives are identified at a single point.
  • Q3 What is a Maclaurin series?
    A Taylor series is called Maclaurin series when the function is centered at zero point.
posted @   abaelhe  阅读(43)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
点击右上角即可分享
微信分享提示