let Z be open Subset of REAL; ( Z c= dom (cot (#) arctan) & Z c= ].(- 1),1.[ implies ( cot (#) arctan is_differentiable_on Z & ( for x being Real st x in Z holds
((cot (#) arctan) `| Z) . x = (- ((arctan . x) / ((sin . x) ^2))) + ((cot . x) / (1 + (x ^2))) ) ) )
assume that
A1:
Z c= dom (cot (#) arctan)
and
A2:
Z c= ].(- 1),1.[
; ( cot (#) arctan is_differentiable_on Z & ( for x being Real st x in Z holds
((cot (#) arctan) `| Z) . x = (- ((arctan . x) / ((sin . x) ^2))) + ((cot . x) / (1 + (x ^2))) ) )
A3:
arctan is_differentiable_on Z
by A2, SIN_COS9:81;
Z c= (dom cot) /\ (dom arctan)
by A1, VALUED_1:def 4;
then A4:
Z c= dom cot
by XBOOLE_1:18;
for x being Real st x in Z holds
cot is_differentiable_in x
then A5:
cot is_differentiable_on Z
by A4, FDIFF_1:9;
for x being Real st x in Z holds
((cot (#) arctan) `| Z) . x = (- ((arctan . x) / ((sin . x) ^2))) + ((cot . x) / (1 + (x ^2)))
proof
let x be
Real;
( x in Z implies ((cot (#) arctan) `| Z) . x = (- ((arctan . x) / ((sin . x) ^2))) + ((cot . x) / (1 + (x ^2))) )
assume A6:
x in Z
;
((cot (#) arctan) `| Z) . x = (- ((arctan . x) / ((sin . x) ^2))) + ((cot . x) / (1 + (x ^2)))
then A7:
sin . x <> 0
by A4, FDIFF_8:2;
((cot (#) arctan) `| Z) . x =
((arctan . x) * (diff (cot,x))) + ((cot . x) * (diff (arctan,x)))
by A1, A5, A3, A6, FDIFF_1:21
.=
((arctan . x) * (- (1 / ((sin . x) ^2)))) + ((cot . x) * (diff (arctan,x)))
by A7, FDIFF_7:47
.=
(- ((arctan . x) / ((sin . x) ^2))) + ((cot . x) * ((arctan `| Z) . x))
by A3, A6, FDIFF_1:def 7
.=
(- ((arctan . x) / ((sin . x) ^2))) + ((cot . x) * (1 / (1 + (x ^2))))
by A2, A6, SIN_COS9:81
.=
(- ((arctan . x) / ((sin . x) ^2))) + ((cot . x) / (1 + (x ^2)))
;
hence
((cot (#) arctan) `| Z) . x = (- ((arctan . x) / ((sin . x) ^2))) + ((cot . x) / (1 + (x ^2)))
;
verum
end;
hence
( cot (#) arctan is_differentiable_on Z & ( for x being Real st x in Z holds
((cot (#) arctan) `| Z) . x = (- ((arctan . x) / ((sin . x) ^2))) + ((cot . x) / (1 + (x ^2))) ) )
by A1, A5, A3, FDIFF_1:21; verum