Source

Adapted from my own handwritten and hand-typed notes from Year 1 to Year 3 of my EEE degree

Cutting the Taylor series after the term gives the Taylor polynomial , a polynomial that approximates near . Taylor's formula gives the exact error.

Taylor polynomial

Facts:

  • and have the same value and the same first derivatives at
  • is the linearisation (tangent line)
  • is the quadratic approximation
  • Pick as a nearby easy point (often the nearest integer, or )

Taylor's formula (remainder)

If has derivatives of all orders on an interval containing and :

for some between and . We do not know , so we bound by its largest possible value.

If , then equals the sum of its Taylor series at that .

Uses

  • Prove a series equals : show
  • Error of an estimate: where
  • Number of terms: find the smallest that makes this bound below the target error

A helpful fact: for every fixed .

Worked example: building

and for at :

0
1
2
3
4

Worked example: equals its series

All derivatives of are or , so and

So the Maclaurin series of equals for every . The same argument with works for .

Worked example: error

Estimate with . For some ,

using .

Worked example: number of terms

Approximate by with error at most . Here with , and :

So is enough: approximates within .