« previous | Thursday, February 20, 2014 | next »
Quiz
Approximate
given
,
, and
to within
accuracy
Lagrange
Find
(which has error
) and differentiate
Taylor Series
Recall that the taylor series for
centered at
is
In our case, we want to take the function at the point
centered around
:
Integration
Suppose we are given
and
. Our goal for this example is to approximate
with a linear function
.
We can tell that DAC ≥ 1
- Let
, then 
- Let
, then 
we solve the equations above and come up with the trapezoidal rule.
The Best Rule
This requires solving for
unknowns:
.
Theorem. [Gaussian Rule]. There is only one rule with degree of accuracy
based on
points.
quod erat demonstrandum
For two points, the gaussian rule is:
This has DAC = 3
Legendre Polynomials
This polynomial has
real-valued zeroes
with root
, so the Gaussian rule is
.
can be found to be 
with roots
, hence the Gaussian rule above.
with zeroes
, so the Gaussian rule is
. The coefficients can be found to be
,
, and
, respectively.
Note: the coefficients and points are always symmetric (about a symmetric interval)
Suppose we scale the gaussian rule for 3 points to the interval
:
We shift the points by 5 (to the midpoint of the