Draft:Original research/MacLaurin series

From testwiki
Jump to navigation Jump to search
This graph show the use of a MacLaurin series to approximate the sine of x, or sin(x), when x = 0, and other values determined by polynomials with degree Template:Font, Template:Font, Template:Font, Template:Font, Template:Font, Template:Font and Template:Font. Credit: IkamusumeFan.

A MacLaurin series is a Taylor series that has a term at (0,0).

A Taylor series is a representation of a function as an infinite sum of terms that are calculated from the values of the function's derivatives at a single point.[1][2][3] Template:Clear

Calculuses

Template:Main

This diagram shows an approximation to an area under a curve. Credit: Dubhe.

Notation: let the symbol Δ represent difference in a variable.

Notation: let the symbol d represent an infinitesimal difference in a variable.

Notation: let the symbol represent an infinitesimal difference in one input to a function of more than one input.

Let

y=f(x)

be a function where values of x may be any real number and values resulting in y are also any real number.

Δx is a small finite difference in x which when put into the function f(x) produces a Δy.

These small differences can be manipulated with the operations of arithmetic: addition (+), subtraction (), multiplication (*), and division (/).

Δy=f(x+Δx)f(x)

Dividing Δy by Δx and taking the limit as Δx → 0, produces the slope of a line tangent to f(x) at the point x.

For example,

f(x)=x2
f(x+Δx)=(x+Δx)2=x2+2xΔx+(Δx)2
Δy/Δx=(x2+2xΔx+(Δx)2x2)/Δx
Δy/Δx=2x+Δx

as Δx andΔy go towards zero,

dy/dx=2x+dx=limitΔx0f(x+Δx)f(x)Δx=2x.

This ratio is called the derivative.

Let

y=f(x,z)

then

y=f(x,z)=f(x,z)x+f(x,z)z
y/x=f(x,z)

where z is held constant and

y/z=f(x,z)

where x is held contstant.

Notation: let the symbol be the gradient, i.e., derivatives for multivariable functions.

f(x,z)=y=f(x,z)=f(x,z)x+f(x,z)z.

For

Δx*Δy=[f(x+Δx)f(x)]*Δx

the area under the curve shown in the diagram at right is the light purple rectangle plus the dark purple rectangle in the top figure

Δx*Δy+f(x)*Δx=f(x+Δx)*Δx.

Any particular individual rectangle for a sum of rectangular areas is

f(xi+Δxi)*Δxi.

The approximate area under the curve is the sum of all the individual (i) areas from i = 0 to as many as the area needed (n):

i=0nf(xi+Δxi)*Δxi.

Notation: let the symbol represent the integral.

limitΔx0i=0nf(xi+Δxi)*Δxi=f(x)dx.

This can be within a finite interval [a,b]

abf(x)dx

when i = 0 the integral is evaluated at a and i = n the integral is evaluated at b. Or, an indefinite integral (without notation on the integral symbol) as n goes to infinity and i = 0 is the integral evaluated at x = 0.

Def. a branch of mathematics that deals with the finding and properties ... of infinitesimal differences is called a calculus.

Calculus focuses on limits, functions, derivatives, integrals, and infinite series.

"Although calculus (in the sense of analysis) is usually synonymous with infinitesimal calculus, not all historical formulations have relied on infinitesimals (infinitely small numbers that are nevertheless not zero)."[4]

Series

Template:Main Taylor Series:

y=n=0fn(a)(xa)nn!=f(a)+f(a)(xa)+f(a)(xa)2)2!+f(a)(xa)33!+...,

where fn refers to the number (n) of derivatives taken.

A MacLaurin series of a function ƒ(x) for which a derivative may be taken of the function or any of its derivatives at 0 is the power series

f(0)+f(0)1!(x)+f(0)2!(x)2+f(3)(0)3!(x)3+.

which can be written in the more compact sigma, or summation, notation as

n=0f(n)(0)n!(x)n

where n! denotes the factorial of n and ƒ (n)(0) denotes the nth derivative of ƒ evaluated at the point 0. The derivative of order zero ƒ is defined to be ƒ itself and Template:Nowrap and 0! are both defined to be 1.

MacLaurin series for ex

Taylor series is defined as

n=0f(n)(t)n!(xt)n

The MacLaurin series occurs when t=0

n=0f(n)(0)n!(x)n

The derivatives are

y'=ex
y'=ex
y'=ex

.

.

.

Development of MacLaurin series for ex

ex=10!+11!x+12!x2+13!x3

ex=1+x+12x2+16x3


Explicit form can be written as

ex=n=01n!(x)n

MacLaurin series for the natural logarithm

The natural logarithm (with base Template:Mvar) has Maclaurin series

log(1x)=n=1xnn=xx22x33,log(1+x)=n=1(1)n+1xnn=xx22+x33.

They converge for |x|<1.

MacLaurin series for sin(x)

y=sin(t)
y=cos(t)
y=sin(t)
y=cos(t)
yiv=sin(t)
yv=cos(t)

.

.

.

Development of MacLaurin series for sin(x)

sin(x)=00!+11!x02!x213!x3+04!x4+15!x5...

sin(x)=1x16x3+1120x5...


Explicit form can be written as

sin(x)=n=0(1)n(2n+1)!(x)(2n+1)

MacLaurin series for cos(x)

Development of MacLaurin series for cos(x)

y=cos(t)
y=sin(t)
y=cos(t)
y=sin(t)
yiv=cos(t)

.

.

.

cos(x)=10!+01!x12!x2+03!x3+14!x4

cos(x)=112x2+124x4...


Explicit form can be written as

cos(x)=n=0(1)n(2n)!(x)2n

Euler's formula

Recalling Euler's Formula:

eiωx=cosωx+isinωx



Recall the Taylor Series from above for ex at :t=0 (also called the MacLaurin series)

ex=n=0xnn!



By replacing x with iωx, the Taylor series for eiωx can be found:

eiωx=n=0(iωx)nn!



even powers of n = 2k:

i2k=(i2)k=(1)k


odd powers of n = 2k+1:

i2k+1=(i2)ki=(1)ki



For iωx:

eiωx=n=0in(ωx)nn!=k=0i2k(ωx)2k(2k)!+k=0i2k+1(ωx)2k+1(2k+1)!



Using the two previous equations:

eiωx=k=0(1)k(ωx)2k(2k)!+ik=0(1)k(ωx)2k+1(2k+1)!



eiωx=cos(ωx)+isin(ωx)



Therefore, the first part of the equation is equal to the Taylor series for cosine, and the second part is equal to the Taylor series for sine as follows:

cos(ωx)=k=0(1)k(ωx)2k(2k)!


sin(ωx)=k=0(1)k(ωx)2k+1(2k+1)!


MacLaurin series for (1x)a

f(x)=1(1x)a

Template:Center topTable for Maclaurin SeriesTemplate:Center bottom
f(x)=1(1x)a f(0)=1(10)a=1
f(x)=a(1x)a+1 f(0)=a(10)a+1=a
f(x)=a(a+1)(1x)a+2 f(0)=a(a+1)(10)a+2=a(a+1)
f(3)(x)=a(a+1)(a+2)(1x)a+3 f(3)(0)=a(a+1)(a+2)(10)a+3=a(a+1)(a+2)
And so on.. ..

Rewriting the Maclaurin series expansion,

1(1x)a=f(0)+f(0)1!(x0)+f(0)2!(x0)2+f(3)(0)3!(x0)3+.

Substituting the values from the table, we get

1(1x)a=1+a1!(x)+a(a+1)2!(x)2+a(a+1)(a+2)3!(x)3+.
1(1x)a=n=0(a)kxkn!

Using

(a)0:=1
(a)k:=a(a+1)(a+2)(a+k1)

We can represent

n=0(a)k(b)k(c)kxkn!=F(a,b;c;x)
n=0(a)k(b)k(b)kxkn!=F(a,b;b;x)

Binomial series

The binomial series is the power series

(1+x)α=n=0(αn)xn

whose coefficients are the generalized binomial coefficients

(αn)=k=1nαk+1k=α(α1)(αn+1)n!.

(If Template:Math, this product is an empty product and has value 1.) It converges for |x|<1 for any real or complex number Template:Mvar.

When Template:Math, this is essentially the infinite geometric series mentioned in the previous section. The special cases Template:Math and Template:Math give the square root function and its inverse:

(1+x)12=1+12x18x2+116x35128x4+7256x5,(1+x)12=112x+38x2516x3+35128x463256x5+.

When only the linear term is retained, this simplifies to the binomial approximation.

MacLaurin series for arctan(1+x)

We have the function

arctan(1+x)

Expand arctan(1+x)

Template:Center topTable for Maclaurin SeriesTemplate:Center bottom
f(x)=arctan(1+x) f(0)=arctan(1+0)=π4
f(x)=11+(1+x)2 f(0)=11+(1+0)2=12
f(x)=2(x+1)[1+(1+x)2]2 f(0)=2(0+1)[1+(1+0)2]2=12
f(3)(x)=2(3x2+6x+2)[1+(1+x)2]3 f(3)(0)=2(3(0)2+6(0)+2)[1+(1+0)2]3=12
And so on.. ..

Rewriting the Maclaurin series expansion,

arctan(1+x)=f(0)+f(0)1!(x0)+f(0)2!(x0)2+f(3)(0)3!(x0)3+.

Substituting the values from the table, we get

arctan(1+x)=π4+12*1!(x)12*2!(x)2+12*3!(x)3+.

MacLaurin series for arctan(x)

arctan(x)

Expanding arctan(x) using Maclaurin's series

Template:Center topTable for Maclaurin SeriesTemplate:Center bottom
f(x)=arctan(x) f(0)=arctan(0)=0
f(x)=11+x2 f(0)=11+(0)2=1
f(x)=2x[1+x2]2 f(0)=2(0)[1+(0)2]2=0
f(3)(x)=6x22[1+x2]3 f(3)(0)=6(0)22[1+(0)2]3=2
f(4)(x)=24x(x21)[1+x2]4 f(4)(0)=24(0)((0)21)[1+(0)2]4=0
f(5)(x)=24(5x410x2+1)[1+x2]5 f(5)(x)=24(5(0)410(0)2+1)[1+(0)2]5=24
And so on.. ..

Rewriting the Maclaurin series expansion,

arctan(x)=f(0)+f(0)1!(x0)+f(0)2!(x0)2+f(3)(0)3!(x0)3+.

Substituting the values from the table, we get

arctan(x)=0+11!(x)+02!(x)2+23!(x)3+04!(x)4+245!(x)5.

MacLaurin series for trigonometric functions

sinx=n=0(1)n(2n+1)!x2n+1=xx33!+x55!for all xcosx=n=0(1)n(2n)!x2n=1x22!+x44!for all xtanx=n=1B2n(4)n(14n)(2n)!x2n1=x+x33+2x515+for |x|<π2secx=n=0(1)nE2n(2n)!x2n=1+x22+5x424+for |x|<π2arcsinx=n=0(2n)!4n(n!)2(2n+1)x2n+1=x+x36+3x540+for |x|1arccosx=π2arcsinx=π2n=0(2n)!4n(n!)2(2n+1)x2n+1=π2xx363x540for |x|1arctanx=n=0(1)n2n+1x2n+1=xx33+x55for |x|1, x±i

All angles are expressed in radians. The numbers Template:Math appearing in the expansions of Template:Math are the Bernoulli numbers. The Template:Math in the expansion of Template:Math are Euler numbers.

Engineering

Template:Main The "performance of a Markov system under different operating strategies [can be estimated] by observing the behavior of the system under the [strategy of having] a Maclaurin series for the performance measures of [the] Markov chains."[5]

Hypotheses

Template:Main

  1. Any non-convergent function can be represented by a MacLaurin series.

See also

Template:Div col

Template:Div col end

References

Template:Reflist

Template:Mathematics resourcesTemplate:Sisterlinks Template:NOINDEX/DRAFT

  1. Template:Cite web
  2. Template:Cite journal
  3. Ranjan Roy, The Discovery of the Series Formula for π by Leibniz, Gregory and Nilakantha, Mathematics Magazine Vol. 63, No. 5 (Dec., 1990), pp. 291-306.
  4. Template:Cite book
  5. Template:Cite journal