Академический Документы
Профессиональный Документы
Культура Документы
df
(a).
dx
Geometrical interpretation of derivative
f 0 (a) =
Line equation
Definition 0.1.2. Let A(xA , yA ) and B(xB , yB ) two points. Then the line
equation which passed through this points is:
x xA
y yA
=
.
xB xA
yB yA
The above formula can be written in the following way:
yB yA
yB yA
y=
x
xA + y A .
xB xA
xB xA
The slop of the line is:
m=
yB yA
.
xB xA
1
0.2
Taylor Polynomial
1. ex 1 + x +
x2
2!
+ ... +
xn
;
n!
2. sin x x
x3
3!
x5
5!
x +1
+ . . . + (1)n (2n+1)!
;
2n
3. cos x 1
x2
2!
x4
4!
x
+ . . . + (1)n (2n)!
.
2n
0.3
Newtons Method
The goal of this section is to find, using an approximation, the solution for
the the following equation:
f (x) = 0.
The function must have the following properties:
a) function must be continuous
b) function must be derivable
c) f (a) f (b) < 0.
Property c) and a) gave the a solution for the equation f (x) = 0. To obtain
the rule for Newtons method is it necessary to write the Taylor series for the
function f (x) around the point a.
f (x) = f (a) +
(x a)2 00
(x a)3 000
xa 0
f (a) +
f (a) +
f (a) + . . .
1!
2!
3!
(3)
Retaining only the first and the second terms of above series, it is obtained
the equation of the tangent in a point and an approximation for the initial
function. So:
f (x) f (a) + (x a)f 0 (a).
(4)
The steps to apply the Newtons method are:
Step 1. It is chosen a point x1 which is the close to the solution according with
an estimate.
Step 2. It is create the tangent line at the point (x1 , f (x1 ) using the equation
of the tangent:
y = f (x1 ) + f 0 (x1 )(x x1 ).
Step 3. The tangent line will intersect the Ox-axis when y = 0. So,
f (x1 ) + f 0 (x1 )(x2 x1 ) = 0
f (x1 ) = f 0 (x1 )(x2 x1 )
f (x1 )
= x2 x1
0
f (x1 )
f (x1 )
.
x2 = x1 0
f (x1 )
(5)
(6)
(7)
(8)
f (xn )
.
f 0 (xn )
(9)