let A be non empty closed_interval Subset of REAL; for Z being open Subset of REAL st A c= Z holds
integral (((- (id Z)) (#) sin),A) = (((- sin) + ((id Z) (#) cos)) . (upper_bound A)) - (((- sin) + ((id Z) (#) cos)) . (lower_bound A))
let Z be open Subset of REAL; ( A c= Z implies integral (((- (id Z)) (#) sin),A) = (((- sin) + ((id Z) (#) cos)) . (upper_bound A)) - (((- sin) + ((id Z) (#) cos)) . (lower_bound A)) )
assume A1:
A c= Z
; integral (((- (id Z)) (#) sin),A) = (((- sin) + ((id Z) (#) cos)) . (upper_bound A)) - (((- sin) + ((id Z) (#) cos)) . (lower_bound A))
A2:
sin is_differentiable_on Z
by FDIFF_1:26, SIN_COS:68;
A3:
(- sin) + ((id Z) (#) cos) is_differentiable_on Z
by Th17;
A4:
for x being Real st x in Z holds
(- (id Z)) . x = ((- 1) * x) + 0
A6:
for x being Real st x in Z holds
((- (id Z)) (#) sin) . x = - (x * (sin . x))
A8:
for x being Real st x in dom (((- sin) + ((id Z) (#) cos)) `| Z) holds
(((- sin) + ((id Z) (#) cos)) `| Z) . x = ((- (id Z)) (#) sin) . x
dom ((- (id Z)) (#) sin) =
(dom (- (id Z))) /\ REAL
by SIN_COS:24, VALUED_1:def 4
.=
dom (- (id Z))
by XBOOLE_1:28
.=
dom (id Z)
by VALUED_1:8
;
then A10:
Z = dom ((- (id Z)) (#) sin)
by RELAT_1:45;
then
dom (((- sin) + ((id Z) (#) cos)) `| Z) = dom ((- (id Z)) (#) sin)
by A3, FDIFF_1:def 7;
then A11:
((- sin) + ((id Z) (#) cos)) `| Z = (- (id Z)) (#) sin
by A8, PARTFUN1:5;
Z c= (dom (- (id Z))) /\ (dom sin)
by A10, VALUED_1:def 4;
then
Z c= dom (- (id Z))
by XBOOLE_1:18;
then
- (id Z) is_differentiable_on Z
by A4, FDIFF_1:23;
then A12:
((- (id Z)) (#) sin) | Z is continuous
by A10, A2, FDIFF_1:21, FDIFF_1:25;
then
((- (id Z)) (#) sin) | A is continuous
by A1, FCONT_1:16;
then A13:
(- (id Z)) (#) sin is_integrable_on A
by A1, A10, INTEGRA5:11;
((- (id Z)) (#) sin) | A is bounded
by A1, A10, A12, FCONT_1:16, INTEGRA5:10;
hence
integral (((- (id Z)) (#) sin),A) = (((- sin) + ((id Z) (#) cos)) . (upper_bound A)) - (((- sin) + ((id Z) (#) cos)) . (lower_bound A))
by A1, A13, A11, Th17, INTEGRA5:13; verum