let a, b be Real; for A being non empty closed_interval Subset of REAL
for f, f1 being PartFunc of REAL,REAL
for Z being open Subset of REAL st A c= Z & ( for x being Real st x in Z holds
f1 . x = (a * x) + b ) & Z = dom f & f = (a (#) (cos / sin)) - (f1 / (sin ^2)) holds
integral (f,A) = ((f1 (#) cot) . (upper_bound A)) - ((f1 (#) cot) . (lower_bound A))
let A be non empty closed_interval Subset of REAL; for f, f1 being PartFunc of REAL,REAL
for Z being open Subset of REAL st A c= Z & ( for x being Real st x in Z holds
f1 . x = (a * x) + b ) & Z = dom f & f = (a (#) (cos / sin)) - (f1 / (sin ^2)) holds
integral (f,A) = ((f1 (#) cot) . (upper_bound A)) - ((f1 (#) cot) . (lower_bound A))
let f, f1 be PartFunc of REAL,REAL; for Z being open Subset of REAL st A c= Z & ( for x being Real st x in Z holds
f1 . x = (a * x) + b ) & Z = dom f & f = (a (#) (cos / sin)) - (f1 / (sin ^2)) holds
integral (f,A) = ((f1 (#) cot) . (upper_bound A)) - ((f1 (#) cot) . (lower_bound A))
let Z be open Subset of REAL; ( A c= Z & ( for x being Real st x in Z holds
f1 . x = (a * x) + b ) & Z = dom f & f = (a (#) (cos / sin)) - (f1 / (sin ^2)) implies integral (f,A) = ((f1 (#) cot) . (upper_bound A)) - ((f1 (#) cot) . (lower_bound A)) )
assume A1:
( A c= Z & ( for x being Real st x in Z holds
f1 . x = (a * x) + b ) & Z = dom f & f = (a (#) (cos / sin)) - (f1 / (sin ^2)) )
; integral (f,A) = ((f1 (#) cot) . (upper_bound A)) - ((f1 (#) cot) . (lower_bound A))
then A2:
Z = (dom (a (#) (cos / sin))) /\ (dom (- (f1 / (sin ^2))))
by VALUED_1:def 1;
then A3:
Z c= dom (a (#) (cos / sin))
by XBOOLE_1:18;
then A4:
Z c= dom (cos / sin)
by VALUED_1:def 5;
Z c= dom (- (f1 / (sin ^2)))
by A2, XBOOLE_1:18;
then A5:
Z c= dom (f1 / (sin ^2))
by VALUED_1:8;
dom (f1 / (sin ^2)) = (dom f1) /\ ((dom (sin ^2)) \ ((sin ^2) " {0}))
by RFUNCT_1:def 1;
then A6:
Z c= dom f1
by A5, XBOOLE_1:18;
then
Z c= (dom f1) /\ (dom cot)
by A4, XBOOLE_1:19;
then A7:
Z c= dom (f1 (#) cot)
by VALUED_1:def 4;
for x being Real st x in Z holds
cos / sin is_differentiable_in x
then
cos / sin is_differentiable_on Z
by A4, FDIFF_1:9;
then A8:
a (#) (cos / sin) is_differentiable_on Z
by A3, FDIFF_1:20;
A9:
f1 is_differentiable_on Z
by A1, A6, FDIFF_1:23;
sin is_differentiable_on Z
by FDIFF_1:26, SIN_COS:68;
then A10:
sin ^2 is_differentiable_on Z
by FDIFF_2:20;
for x being Real st x in Z holds
(sin ^2) . x <> 0
then
f1 / (sin ^2) is_differentiable_on Z
by A9, A10, FDIFF_2:21;
then
f | Z is continuous
by A1, A8, FDIFF_1:19, FDIFF_1:25;
then
f | A is continuous
by A1, FCONT_1:16;
then A11:
( f is_integrable_on A & f | A is bounded )
by A1, INTEGRA5:10, INTEGRA5:11;
A12:
f1 (#) cot is_differentiable_on Z
by A1, A7, FDIFF_8:29;
A13:
for x being Real st x in Z holds
f . x = ((a * (cos . x)) / (sin . x)) - (((a * x) + b) / ((sin . x) ^2))
A15:
for x being Element of REAL st x in dom ((f1 (#) cot) `| Z) holds
((f1 (#) cot) `| Z) . x = f . x
dom ((f1 (#) cot) `| Z) = dom f
by A1, A12, FDIFF_1:def 7;
then
(f1 (#) cot) `| Z = f
by A15, PARTFUN1:5;
hence
integral (f,A) = ((f1 (#) cot) . (upper_bound A)) - ((f1 (#) cot) . (lower_bound A))
by A1, A11, A7, FDIFF_8:29, INTEGRA5:13; verum