:: TAYLOR_1 semantic presentation :: Showing IDV graph ... (Click the Palm Trees again to close it)
:: deftheorem Def1 defines #Z TAYLOR_1:def 1 :
theorem Th1: :: TAYLOR_1:1 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th2: :: TAYLOR_1:2 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: TAYLOR_1:3 :: Showing IDV graph ... (Click the Palm Tree again to close it)
Lm1:
for n being natural number
for x being real number holds (exp x) #R n = exp (n * x)
theorem Th4: :: TAYLOR_1:4 :: Showing IDV graph ... (Click the Palm Tree again to close it)
Lm2:
for i being Integer
for x being real number holds (exp x) #R i = exp (i * x)
theorem Th5: :: TAYLOR_1:5 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th6: :: TAYLOR_1:6 :: Showing IDV graph ... (Click the Palm Tree again to close it)
Lm3:
for x being real number
for q being Rational holds (exp x) #R q = exp (q * x)
theorem Th7: :: TAYLOR_1:7 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th8: :: TAYLOR_1:8 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th9: :: TAYLOR_1:9 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: TAYLOR_1:10 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: TAYLOR_1:11 :: Showing IDV graph ... (Click the Palm Tree again to close it)
then Lm4:
( number_e > 1 & number_e > 0 )
by XREAL_1:2;
theorem Th12: :: TAYLOR_1:12 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th13: :: TAYLOR_1:13 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th14: :: TAYLOR_1:14 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th15: :: TAYLOR_1:15 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th16: :: TAYLOR_1:16 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th17: :: TAYLOR_1:17 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem Def2 defines log_ TAYLOR_1:def 2 :
theorem Th18: :: TAYLOR_1:18 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: TAYLOR_1:19 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: TAYLOR_1:20 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem Def3 defines #R TAYLOR_1:def 3 :
theorem Th21: :: TAYLOR_1:21 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: TAYLOR_1:22 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem Def4 defines diff TAYLOR_1:def 4 :
:: deftheorem Def5 defines is_differentiable_on TAYLOR_1:def 5 :
theorem Th23: :: TAYLOR_1:23 :: Showing IDV graph ... (Click the Palm Tree again to close it)
definition
let f be
PartFunc of
REAL ,
REAL ;
let Z be
Subset of
REAL ;
let a,
b be
real number ;
func Taylor f,
Z,
a,
b -> Real_Sequence means :
Def6:
:: TAYLOR_1:def 6
for
n being
natural number holds
it . n = ((((diff f,Z) . n) . a) * ((b - a) |^ n)) / (n ! );
existence
ex b1 being Real_Sequence st
for n being natural number holds b1 . n = ((((diff f,Z) . n) . a) * ((b - a) |^ n)) / (n ! )
uniqueness
for b1, b2 being Real_Sequence st ( for n being natural number holds b1 . n = ((((diff f,Z) . n) . a) * ((b - a) |^ n)) / (n ! ) ) & ( for n being natural number holds b2 . n = ((((diff f,Z) . n) . a) * ((b - a) |^ n)) / (n ! ) ) holds
b1 = b2
end;
:: deftheorem Def6 defines Taylor TAYLOR_1:def 6 :
Lm5:
for b being Real ex g being PartFunc of REAL , REAL st
( dom g = REAL & ( for x being Real holds
( g . x = b - x & ( for x being Real holds
( g is_differentiable_in x & diff g,x = - 1 ) ) ) ) )
Lm6:
for n being Nat
for l, b being Real ex g being PartFunc of REAL , REAL st
( dom g = REAL & ( for x being Real holds
( g . x = (l * ((b - x) |^ (n + 1))) / ((n + 1) ! ) & ( for x being Real holds
( g is_differentiable_in x & diff g,x = - ((l * ((b - x) |^ n)) / (n ! )) ) ) ) ) )
Lm7:
for n being Nat
for f being PartFunc of REAL , REAL
for Z being Subset of REAL
for b being Real ex g being PartFunc of REAL , REAL st
( dom g = Z & ( for x being Real st x in Z holds
g . x = (f . b) - ((Partial_Sums (Taylor f,Z,x,b)) . n) ) )
theorem Th24: :: TAYLOR_1:24 :: Showing IDV graph ... (Click the Palm Tree again to close it)
Lm8:
for f being PartFunc of REAL , REAL
for Z being Subset of REAL
for n being Nat st f is_differentiable_on n,Z holds
for a, b being Real st a < b & [.a,b.] c= Z & (diff f,Z) . n is_continuous_on [.a,b.] & f is_differentiable_on n + 1,].a,b.[ holds
for g being PartFunc of REAL , REAL st dom g = Z & ( for x being Real st x in Z holds
g . x = (f . b) - ((Partial_Sums (Taylor f,Z,x,b)) . n) ) holds
( g . b = 0 & g is_continuous_on [.a,b.] & g is_differentiable_on ].a,b.[ & ( for x being Real st x in ].a,b.[ holds
diff g,x = - (((((diff f,].a,b.[) . (n + 1)) . x) * ((b - x) |^ n)) / (n ! )) ) )
Lm9:
for n being Nat
for f being PartFunc of REAL , REAL
for Z being Subset of REAL st f is_differentiable_on n,Z holds
for a, b being Real st a < b & [.a,b.] c= Z & (diff f,Z) . n is_continuous_on [.a,b.] & f is_differentiable_on n + 1,].a,b.[ holds
ex g being PartFunc of REAL , REAL st
( dom g = Z & ( for x being Real st x in Z holds
g . x = (f . b) - ((Partial_Sums (Taylor f,Z,x,b)) . n) ) & g . b = 0 & g is_continuous_on [.a,b.] & g is_differentiable_on ].a,b.[ & ( for x being Real st x in ].a,b.[ holds
diff g,x = - (((((diff f,].a,b.[) . (n + 1)) . x) * ((b - x) |^ n)) / (n ! )) ) )
theorem Th25: :: TAYLOR_1:25 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
n being
Nat for
f being
PartFunc of
REAL ,
REAL for
Z being
Subset of
REAL st
f is_differentiable_on n,
Z holds
for
a,
b being
Real st
a < b &
[.a,b.] c= Z &
(diff f,Z) . n is_continuous_on [.a,b.] &
f is_differentiable_on n + 1,
].a,b.[ holds
for
l being
Real for
g being
PartFunc of
REAL ,
REAL st
dom g = REAL & ( for
x being
Real holds
g . x = ((f . b) - ((Partial_Sums (Taylor f,Z,x,b)) . n)) - ((l * ((b - x) |^ (n + 1))) / ((n + 1) ! )) ) &
((f . b) - ((Partial_Sums (Taylor f,Z,a,b)) . n)) - ((l * ((b - a) |^ (n + 1))) / ((n + 1) ! )) = 0 holds
(
g is_differentiable_on ].a,b.[ &
g . a = 0 &
g . b = 0 &
g is_continuous_on [.a,b.] & ( for
x being
Real st
x in ].a,b.[ holds
diff g,
x = (- (((((diff f,].a,b.[) . (n + 1)) . x) * ((b - x) |^ n)) / (n ! ))) + ((l * ((b - x) |^ n)) / (n ! )) ) )
theorem Th26: :: TAYLOR_1:26 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th27: :: TAYLOR_1:27 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
n being
Nat for
f being
PartFunc of
REAL ,
REAL for
Z being
Subset of
REAL st
f is_differentiable_on n,
Z holds
for
a,
b being
Real st
a < b &
[.a,b.] c= Z &
(diff f,Z) . n is_continuous_on [.a,b.] &
f is_differentiable_on n + 1,
].a,b.[ holds
ex
c being
Real st
(
c in ].a,b.[ &
f . b = ((Partial_Sums (Taylor f,Z,a,b)) . n) + (((((diff f,].a,b.[) . (n + 1)) . c) * ((b - a) |^ (n + 1))) / ((n + 1) ! )) )
Lm10:
for f being PartFunc of REAL , REAL
for Z being Subset of REAL
for n being Nat st f is_differentiable_on n,Z holds
for a, b being Real st a < b & [.a,b.] c= Z & (diff f,Z) . n is_continuous_on [.a,b.] & f is_differentiable_on n + 1,].a,b.[ holds
for g being PartFunc of REAL , REAL st dom g = Z & ( for x being Real st x in Z holds
g . x = (f . a) - ((Partial_Sums (Taylor f,Z,x,a)) . n) ) holds
( g . a = 0 & g is_continuous_on [.a,b.] & g is_differentiable_on ].a,b.[ & ( for x being Real st x in ].a,b.[ holds
diff g,x = - (((((diff f,].a,b.[) . (n + 1)) . x) * ((a - x) |^ n)) / (n ! )) ) )
Lm11:
for n being Nat
for f being PartFunc of REAL , REAL
for Z being Subset of REAL st f is_differentiable_on n,Z holds
for a, b being Real st a < b & [.a,b.] c= Z & (diff f,Z) . n is_continuous_on [.a,b.] & f is_differentiable_on n + 1,].a,b.[ holds
ex g being PartFunc of REAL , REAL st
( dom g = Z & ( for x being Real st x in Z holds
g . x = (f . a) - ((Partial_Sums (Taylor f,Z,x,a)) . n) ) & g . a = 0 & g is_continuous_on [.a,b.] & g is_differentiable_on ].a,b.[ & ( for x being Real st x in ].a,b.[ holds
diff g,x = - (((((diff f,].a,b.[) . (n + 1)) . x) * ((a - x) |^ n)) / (n ! )) ) )
theorem Th28: :: TAYLOR_1:28 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
n being
Nat for
f being
PartFunc of
REAL ,
REAL for
Z being
Subset of
REAL st
f is_differentiable_on n,
Z holds
for
a,
b being
Real st
a < b &
[.a,b.] c= Z &
(diff f,Z) . n is_continuous_on [.a,b.] &
f is_differentiable_on n + 1,
].a,b.[ holds
for
l being
Real for
g being
PartFunc of
REAL ,
REAL st
dom g = REAL & ( for
x being
Real holds
g . x = ((f . a) - ((Partial_Sums (Taylor f,Z,x,a)) . n)) - ((l * ((a - x) |^ (n + 1))) / ((n + 1) ! )) ) &
((f . a) - ((Partial_Sums (Taylor f,Z,b,a)) . n)) - ((l * ((a - b) |^ (n + 1))) / ((n + 1) ! )) = 0 holds
(
g is_differentiable_on ].a,b.[ &
g . b = 0 &
g . a = 0 &
g is_continuous_on [.a,b.] & ( for
x being
Real st
x in ].a,b.[ holds
diff g,
x = (- (((((diff f,].a,b.[) . (n + 1)) . x) * ((a - x) |^ n)) / (n ! ))) + ((l * ((a - x) |^ n)) / (n ! )) ) )
theorem Th29: :: TAYLOR_1:29 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
n being
Nat for
f being
PartFunc of
REAL ,
REAL for
Z being
Subset of
REAL st
f is_differentiable_on n,
Z holds
for
a,
b being
Real st
a < b &
[.a,b.] c= Z &
(diff f,Z) . n is_continuous_on [.a,b.] &
f is_differentiable_on n + 1,
].a,b.[ holds
ex
c being
Real st
(
c in ].a,b.[ &
f . a = ((Partial_Sums (Taylor f,Z,b,a)) . n) + (((((diff f,].a,b.[) . (n + 1)) . c) * ((a - b) |^ (n + 1))) / ((n + 1) ! )) )
theorem Th30: :: TAYLOR_1:30 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th31: :: TAYLOR_1:31 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th32: :: TAYLOR_1:32 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: TAYLOR_1:33 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
n being
Nat for
f being
PartFunc of
REAL ,
REAL for
x0,
r being
Real st 0
< r &
f is_differentiable_on n + 1,
].(x0 - r),(x0 + r).[ holds
for
x being
Real st
x in ].(x0 - r),(x0 + r).[ holds
ex
s being
Real st
( 0
< s &
s < 1 &
f . x = ((Partial_Sums (Taylor f,].(x0 - r),(x0 + r).[,x0,x)) . n) + (((((diff f,].(x0 - r),(x0 + r).[) . (n + 1)) . (x0 + (s * (x - x0)))) * ((x - x0) |^ (n + 1))) / ((n + 1) ! )) )