let Z be open Subset of REAL ; ( Z c= dom (((id Z) ^ ) (#) arccot ) & Z c= ].(- 1),1.[ implies ( - (((id Z) ^ ) (#) arccot ) is_differentiable_on Z & ( for x being Real st x in Z holds
((- (((id Z) ^ ) (#) arccot )) `| Z) . x = ((arccot . x) / (x ^2 )) + (1 / (x * (1 + (x ^2 )))) ) ) )
set f = id Z;
assume that
A1:
Z c= dom (((id Z) ^ ) (#) arccot )
and
B:
Z c= ].(- 1),1.[
; ( - (((id Z) ^ ) (#) arccot ) is_differentiable_on Z & ( for x being Real st x in Z holds
((- (((id Z) ^ ) (#) arccot )) `| Z) . x = ((arccot . x) / (x ^2 )) + (1 / (x * (1 + (x ^2 )))) ) )
A2:
Z c= dom (- (((id Z) ^ ) (#) arccot ))
by A1, VALUED_1:8;
A3:
for x being Real st x in Z holds
(id Z) . x = x
by FUNCT_1:35;
Z c= (dom ((id Z) ^ )) /\ (dom arccot )
by A1, VALUED_1:def 4;
then A4:
Z c= dom ((id Z) ^ )
by XBOOLE_1:18;
A0:
not 0 in Z
then A5:
( (id Z) ^ is_differentiable_on Z & ( for x being Real st x in Z holds
(((id Z) ^ ) `| Z) . x = - (1 / (x ^2 )) ) )
by FDIFF_5:4;
A6:
arccot is_differentiable_on Z
by B, SIN_COS9:82;
A7:
((id Z) ^ ) (#) arccot is_differentiable_on Z
by A0, A1, B, SIN_COS9:130;
then A8:
(- 1) (#) (((id Z) ^ ) (#) arccot ) is_differentiable_on Z
by A2, FDIFF_1:28, A;
for x being Real st x in Z holds
((- (((id Z) ^ ) (#) arccot )) `| Z) . x = ((arccot . x) / (x ^2 )) + (1 / (x * (1 + (x ^2 ))))
proof
let x be
Real;
( x in Z implies ((- (((id Z) ^ ) (#) arccot )) `| Z) . x = ((arccot . x) / (x ^2 )) + (1 / (x * (1 + (x ^2 )))) )
assume A9:
x in Z
;
((- (((id Z) ^ ) (#) arccot )) `| Z) . x = ((arccot . x) / (x ^2 )) + (1 / (x * (1 + (x ^2 ))))
then A10:
((id Z) ^ ) (#) arccot is_differentiable_in x
by A7, FDIFF_1:16;
A11:
(id Z) ^ is_differentiable_in x
by A5, A9, FDIFF_1:16;
A12:
arccot is_differentiable_in x
by A6, A9, FDIFF_1:16;
((- (((id Z) ^ ) (#) arccot )) `| Z) . x =
diff (- (((id Z) ^ ) (#) arccot )),
x
by A8, A9, FDIFF_1:def 8
.=
(- 1) * (diff (((id Z) ^ ) (#) arccot ),x)
by A10, FDIFF_1:23, A
.=
(- 1) * (((arccot . x) * (diff ((id Z) ^ ),x)) + ((((id Z) ^ ) . x) * (diff arccot ,x)))
by A11, A12, FDIFF_1:24
.=
(- 1) * (((arccot . x) * ((((id Z) ^ ) `| Z) . x)) + ((((id Z) ^ ) . x) * (diff arccot ,x)))
by A5, A9, FDIFF_1:def 8
.=
(- 1) * (((arccot . x) * (- (1 / (x ^2 )))) + ((((id Z) ^ ) . x) * (diff arccot ,x)))
by A9, FDIFF_5:4, A0
.=
(- 1) * ((- ((arccot . x) * (1 / (x ^2 )))) + ((((id Z) ^ ) . x) * ((arccot `| Z) . x)))
by A6, A9, FDIFF_1:def 8
.=
(- 1) * ((- ((arccot . x) * (1 / (x ^2 )))) + ((((id Z) ^ ) . x) * (- (1 / (1 + (x ^2 ))))))
by B, A9, SIN_COS9:82
.=
(- 1) * ((- (((arccot . x) * 1) / (x ^2 ))) - ((((id Z) ^ ) . x) * (1 / (1 + (x ^2 )))))
.=
(- 1) * ((- ((arccot . x) / (x ^2 ))) - ((((id Z) . x) " ) * (1 / (1 + (x ^2 )))))
by A4, A9, RFUNCT_1:def 8
.=
(- 1) * ((- ((arccot . x) / (x ^2 ))) - ((1 / x) * (1 / (1 + (x ^2 )))))
by A3, A9
.=
(- 1) * ((- ((arccot . x) / (x ^2 ))) - ((1 * 1) / (x * (1 + (x ^2 )))))
by XCMPLX_1:77
.=
((arccot . x) / (x ^2 )) + (1 / (x * (1 + (x ^2 ))))
;
hence
((- (((id Z) ^ ) (#) arccot )) `| Z) . x = ((arccot . x) / (x ^2 )) + (1 / (x * (1 + (x ^2 ))))
;
verum
end;
hence
( - (((id Z) ^ ) (#) arccot ) is_differentiable_on Z & ( for x being Real st x in Z holds
((- (((id Z) ^ ) (#) arccot )) `| Z) . x = ((arccot . x) / (x ^2 )) + (1 / (x * (1 + (x ^2 )))) ) )
by A8; verum