4 = 2 * 2
;
then
2 divides 4
by INT_1:def 3;
then Lm1:
4 is even
by ABIAN:def 1;
3 = (2 * 1) + 1
;
then Lm2:
3 is odd
by ABIAN:1;
::
deftheorem defines
Polynom POLYEQ_2:def 1 :
for a, b, c, d, e, x being Complex holds Polynom (a,b,c,d,e,x) = ((((a * (x |^ 4)) + (b * (x |^ 3))) + (c * (x ^2))) + (d * x)) + e;
registration
let a,
b,
c,
d,
e,
x be
Complex;
coherence
Polynom (a,b,c,d,e,x) is complex
;
end;
registration
let a,
b,
c,
d,
e,
x be
Real;
coherence
Polynom (a,b,c,d,e,x) is real
;
end;
theorem
for
a,
c,
e,
x being
Real st
a <> 0 &
e <> 0 &
(c ^2) - ((4 * a) * e) > 0 &
Polynom (
a,
0,
c,
0,
e,
x)
= 0 holds
(
x <> 0 & (
x = sqrt (((- c) + (sqrt (delta (a,c,e)))) / (2 * a)) or
x = sqrt (((- c) - (sqrt (delta (a,c,e)))) / (2 * a)) or
x = - (sqrt (((- c) + (sqrt (delta (a,c,e)))) / (2 * a))) or
x = - (sqrt (((- c) - (sqrt (delta (a,c,e)))) / (2 * a))) ) )
theorem
for
a,
b,
c,
x,
y being
Real st
a <> 0 &
((b ^2) - ((4 * a) * c)) + (8 * (a ^2)) > 0 &
y = x + (1 / x) &
Polynom (
a,
b,
c,
b,
a,
x)
= 0 holds
for
y1,
y2 being
Real st
y1 = ((- b) + (sqrt (((b ^2) - ((4 * a) * c)) + (8 * (a ^2))))) / (2 * a) &
y2 = ((- b) - (sqrt (((b ^2) - ((4 * a) * c)) + (8 * (a ^2))))) / (2 * a) holds
(
x <> 0 & (
x = (y1 + (sqrt (delta (1,(- y1),1)))) / 2 or
x = (y2 + (sqrt (delta (1,(- y2),1)))) / 2 or
x = (y1 - (sqrt (delta (1,(- y1),1)))) / 2 or
x = (y2 - (sqrt (delta (1,(- y2),1)))) / 2 ) )
theorem Th7:
for
a1,
a2,
a3,
a4,
a5,
b1,
b2,
b3,
b4,
b5 being
Real st ( for
x being
Real holds
Polynom (
a1,
a2,
a3,
a4,
a5,
x)
= Polynom (
b1,
b2,
b3,
b4,
b5,
x) ) holds
(
a5 = b5 &
((a1 - a2) + a3) - a4 = ((b1 - b2) + b3) - b4 &
((a1 + a2) + a3) + a4 = ((b1 + b2) + b3) + b4 )
theorem Th8:
for
a1,
a2,
a3,
a4,
a5,
b1,
b2,
b3,
b4,
b5 being
Real st ( for
x being
Real holds
Polynom (
a1,
a2,
a3,
a4,
a5,
x)
= Polynom (
b1,
b2,
b3,
b4,
b5,
x) ) holds
(
a1 - b1 = b3 - a3 &
a2 - b2 = b4 - a4 )
theorem Th9:
for
a1,
a2,
a3,
a4,
a5,
b1,
b2,
b3,
b4,
b5 being
Real st ( for
x being
Real holds
Polynom (
a1,
a2,
a3,
a4,
a5,
x)
= Polynom (
b1,
b2,
b3,
b4,
b5,
x) ) holds
(
a1 = b1 &
a2 = b2 &
a3 = b3 &
a4 = b4 &
a5 = b5 )
::
deftheorem defines
Four0 POLYEQ_2:def 2 :
for a1, x1, x2, x3, x4, x being Real holds Four0 (a1,x1,x2,x3,x4,x) = a1 * ((((x - x1) * (x - x2)) * (x - x3)) * (x - x4));
registration
let a1,
x1,
x2,
x3,
x4,
x be
Real;
coherence
Four0 (a1,x1,x2,x3,x4,x) is real
;
end;
theorem Th10:
for
a1,
a2,
a3,
a4,
a5,
x,
x1,
x2,
x3,
x4 being
Real st
a1 <> 0 & ( for
x being
Real holds
Polynom (
a1,
a2,
a3,
a4,
a5,
x)
= Four0 (
a1,
x1,
x2,
x3,
x4,
x) ) holds
(((((a1 * (x |^ 4)) + (a2 * (x |^ 3))) + (a3 * (x ^2))) + (a4 * x)) + a5) / a1 = (((((x ^2) * (x ^2)) - (((x1 + x2) + x3) * ((x ^2) * x))) + ((((x1 * x3) + (x2 * x3)) + (x1 * x2)) * (x ^2))) - (((x1 * x2) * x3) * x)) - ((((x - x1) * (x - x2)) * (x - x3)) * x4)
theorem Th11:
for
a1,
a2,
a3,
a4,
a5,
x,
x1,
x2,
x3,
x4 being
Real st
a1 <> 0 & ( for
x being
Real holds
Polynom (
a1,
a2,
a3,
a4,
a5,
x)
= Four0 (
a1,
x1,
x2,
x3,
x4,
x) ) holds
(((((a1 * (x |^ 4)) + (a2 * (x |^ 3))) + (a3 * (x ^2))) + (a4 * x)) + a5) / a1 = ((((x |^ 4) - ((((x1 + x2) + x3) + x4) * (x |^ 3))) + ((((((x1 * x2) + (x1 * x3)) + (x1 * x4)) + ((x2 * x3) + (x2 * x4))) + (x3 * x4)) * (x ^2))) - ((((((x1 * x2) * x3) + ((x1 * x2) * x4)) + ((x1 * x3) * x4)) + ((x2 * x3) * x4)) * x)) + (((x1 * x2) * x3) * x4)
theorem
for
a1,
a2,
a3,
a4,
a5,
x1,
x2,
x3,
x4 being
Real st
a1 <> 0 & ( for
x being
Real holds
Polynom (
a1,
a2,
a3,
a4,
a5,
x)
= Four0 (
a1,
x1,
x2,
x3,
x4,
x) ) holds
(
a2 / a1 = - (((x1 + x2) + x3) + x4) &
a3 / a1 = ((((x1 * x2) + (x1 * x3)) + (x1 * x4)) + ((x2 * x3) + (x2 * x4))) + (x3 * x4) &
a4 / a1 = - (((((x1 * x2) * x3) + ((x1 * x2) * x4)) + ((x1 * x3) * x4)) + ((x2 * x3) * x4)) &
a5 / a1 = ((x1 * x2) * x3) * x4 )