Linearization and Differentials: Building Up Virtual Mathematics Laboratory
Linearization and Differentials: Building Up Virtual Mathematics Laboratory
Definition 2
For simplicity we will use the absolute value of the
difference
=d f ( x) − t ( x) (2)
t(x)
1.4 f(x)
1.2
1.0
4
3 t(x)
2 f(x)
1
2 4 6 8 10
1
2
Fig. 4 The accuracy of the linear approximation
(5) away from point x=2 is not acceptable.
------------------ Snezhana Gocheva-Ilieva, Plovdiv University, 2011 --------------------- 18/37
3. Example with Mathematica
Example 4. Find the linearization of
x
f ( x) =
1 + x near x= 1.
Solution We start by a simple Mathematica code
with the definition of the function and the calculation
of its first derivative. The respective Mathematica
input and output are:
0.8
0.6
0.4
0.2
∆=
y f (a + d )x− f (a )
(a, f (a )) =∆t f ′=
(a )dx dy
dx = ∆x
t ( x)
a a + dx x
∆t= t (a + d x) − t (a )
= f (a ) + f ′(a ) ( (a + d )x− a ) − f (a )
= f ′(a )dx
Example 5. Let y = 5 x − 2 x + 4 .
3
(a)
dy= y ' dx= (5x 3
− 2 x + 4 dx= ) ′
(15x − 2) dx2
(
dy = 15.1 − 2 0.1 = 1.3
2
) 29/37
------------------ Snezhana Gocheva-Ilieva, Plovdiv University, 2011 ---------------------
Example 6. Finding differentials of functions
1+ x
(a) y = x cos x (b) y = x 2
( ′
) dx ( cos x − x sin x ) dx
(a)=
dy y=
' dx x cos x =
x − (1 + x)2 x −x − 2x
2 2
= dy y=
' dx = dx dx
(b) 4 4
x x
------------------ Snezhana Gocheva-Ilieva, Plovdiv University, 2011 --------------------- 30/37
(c) dy sin(3 x) )′ dx
(= 3cos(3 x)dx
(d)
dy ( =
′
ln( x ) dx ) 1
1 1
2 ln( x ) x 2 x
dx
1
= dx
4 x ln( x )
a)
b)
d)
( ) ′
df =1.7t + 2.4 dt =3.4t dt =3.4*3*0.5 =5.1
2
This way
f (3.5) ≈ f (3) +=
df (1.7 *3 2
+ 2.4 +=
5.1 )
17.7 + 5.1 =
22.8
Or the expected income of the company will be
about $ 22.8 million.