The determinant of the matrix 111+cosx11+sinx1111 can be found using first row expansion:
det=1⋅1+sinx111−1⋅11+cosx11+1⋅11+cosx1+sinx1
Calculating each 2×2 determinant:
First: (1+sinx)(1)−(1)(1)=sinx
Second: (1)(1)−(1)(1+cosx)=−cosx
Third: (1)(1)−(1+sinx)(1+cosx)
=1−(1+cosx+sinx+sinxcosx)
=−cosx−sinx−sinxcosx
Combining the results:
det=1(sinx)−1(−cosx)+1(−cosx−sinx−sinxcosx)
=sinx+cosx−cosx−sinx−sinxcosx
=−sinxcosx
Using the double angle formula sinxcosx=21sin2x:
−sinxcosx=−21sin2x
The maximum value of sin2x is 1, and the minimum value is −1.
The maximum value of −sin2x is −(−1)=1.
Therefore:
Maximum value =−21×(−1)
=21
This occurs when sin2x=−1, at x=−4π,43π, etc.
The maximum value of the determinant is 21.