let Z be open Subset of REAL ; :: thesis: ( Z c= dom (cosec (#) arccot ) & Z c= ].(- 1),1.[ implies ( cosec (#) arccot is_differentiable_on Z & ( for x being Real st x in Z holds
((cosec (#) arccot ) `| Z) . x = (- (((cos . x) * (arccot . x)) / ((sin . x) ^2 ))) - (1 / ((sin . x) * (1 + (x ^2 )))) ) ) )
assume that
A1:
Z c= dom (cosec (#) arccot )
and
A2:
Z c= ].(- 1),1.[
; :: thesis: ( cosec (#) arccot is_differentiable_on Z & ( for x being Real st x in Z holds
((cosec (#) arccot ) `| Z) . x = (- (((cos . x) * (arccot . x)) / ((sin . x) ^2 ))) - (1 / ((sin . x) * (1 + (x ^2 )))) ) )
Z c= (dom cosec ) /\ (dom arccot )
by A1, VALUED_1:def 4;
then A3:
Z c= dom cosec
by XBOOLE_1:18;
for x being Real st x in Z holds
cosec is_differentiable_in x
then A4:
cosec is_differentiable_on Z
by A3, FDIFF_1:16;
A5:
arccot is_differentiable_on Z
by A2, SIN_COS9:82;
for x being Real st x in Z holds
((cosec (#) arccot ) `| Z) . x = (- (((cos . x) * (arccot . x)) / ((sin . x) ^2 ))) - (1 / ((sin . x) * (1 + (x ^2 ))))
proof
let x be
Real;
:: thesis: ( x in Z implies ((cosec (#) arccot ) `| Z) . x = (- (((cos . x) * (arccot . x)) / ((sin . x) ^2 ))) - (1 / ((sin . x) * (1 + (x ^2 )))) )
assume A6:
x in Z
;
:: thesis: ((cosec (#) arccot ) `| Z) . x = (- (((cos . x) * (arccot . x)) / ((sin . x) ^2 ))) - (1 / ((sin . x) * (1 + (x ^2 ))))
then A7:
sin . x <> 0
by A3, RFUNCT_1:13;
((cosec (#) arccot ) `| Z) . x =
((arccot . x) * (diff cosec ,x)) + ((cosec . x) * (diff arccot ,x))
by A1, A4, A5, A6, FDIFF_1:29
.=
((arccot . x) * (- ((cos . x) / ((sin . x) ^2 )))) + ((cosec . x) * (diff arccot ,x))
by A7, FDIFF_9:2
.=
(- (((cos . x) * (arccot . x)) / ((sin . x) ^2 ))) + ((cosec . x) * ((arccot `| Z) . x))
by A5, A6, FDIFF_1:def 8
.=
(- (((cos . x) * (arccot . x)) / ((sin . x) ^2 ))) + ((cosec . x) * (- (1 / (1 + (x ^2 )))))
by A2, A6, SIN_COS9:82
.=
(- (((cos . x) * (arccot . x)) / ((sin . x) ^2 ))) - ((cosec . x) * (1 / (1 + (x ^2 ))))
.=
(- (((cos . x) * (arccot . x)) / ((sin . x) ^2 ))) - ((1 / (sin . x)) * (1 / (1 + (x ^2 ))))
by A3, A6, RFUNCT_1:def 8
.=
(- (((cos . x) * (arccot . x)) / ((sin . x) ^2 ))) - (1 / ((sin . x) * (1 + (x ^2 ))))
by XCMPLX_1:103
;
hence
((cosec (#) arccot ) `| Z) . x = (- (((cos . x) * (arccot . x)) / ((sin . x) ^2 ))) - (1 / ((sin . x) * (1 + (x ^2 ))))
;
:: thesis: verum
end;
hence
( cosec (#) arccot is_differentiable_on Z & ( for x being Real st x in Z holds
((cosec (#) arccot ) `| Z) . x = (- (((cos . x) * (arccot . x)) / ((sin . x) ^2 ))) - (1 / ((sin . x) * (1 + (x ^2 )))) ) )
by A1, A4, A5, FDIFF_1:29; :: thesis: verum