Formula
Formula
Newton’s method
If f (x) has a continuous derivative f 0 (x) then an iterative process for the solution(s) of
f (x) = 0 is
f (xk )
xk+1 = xk − 0 .
f (xk )
Polynomial interpolation
When the function f (x) is known at n + 1 distinct points x0 , x1 , . . . , xn , the interpolating
polynomial pn (x) which satisfies pn (xk ) = f (xk ), k = 0, . . . , n is (Lagrange’s form)
n n
X Y (x − xj )
pn (x) = Lk (x)f (xk ) where Lk (x) =
k=0 j=0
(xk − xj )
j6=k
(x − x0 )(x − x1 ) · · · (x − xn ) (n+1)
f (x) − pn (x) = f (t), t ∈ [x0 , xn ] .
(n + 1)!
Numerical integration
Trapezium rule:
Z b
h h2
f (x)dx = [f0 + 2f1 + 2f2 + · · · + 2fn−1 + fn ] − (b − a)f 00 (t), t ∈ [a, b] ,
a 2 12