Using the well-known double-angle identity cos2x=cos2x−sin2x=c−s, we can rewrite every entry of the matrix in terms of these symbols.
The third-row, third-column entry becomes
1+cos2x=1+(c−s)=1+c−s.
Consequently the matrix takes the form
s2+ss−2+cccc−sc−s1+c−s.
To simplify the determinant, we apply elementary row operations, remembering that adding or subtracting a multiple of one row from another does not change the value of the determinant.
First subtract the first row from the second:
R2⟵R2−R1,
which produces
R2:(2+s)−s=2, c−(−2+c)=2, (c−s)−(c−s)=0.
s2s−2+c2cc−s01+c−s.
Next, subtract the first row from the third:
R3⟵R3−R1,
to obtain
R3:s−s=0, c−(−2+c)=2, (1+c−s)−(c−s)=1.
After these two operations the matrix becomes
s20−2+c22c−s01.
Now we will operate C2⟵C2−C1,
s20−2+c−S2−22−0c−s01.
∴ we get s20−2+c−S02c−s01.
Now we expand the determinant along the second row, using the cofactor expansion rule “+−+”:
f(x)=−22+c−s2c−s1
Now we expand it we get f(x)=−2((−2+c−s)−2(c−s))
⇒f(x)=4−2s+2c
Recall that s−c=1−2c
Therefore, f(x)=2+4c
The cosine function satisfies 0≤cos2x≤1 for every real x, and this remains true on the interval [0,π]. Consequently
2+4(0)≤f(x)≤2+4(1)⟹2≤f(x)≤6.
Hence the maximum value attained by f(x) is
fmax=4+2⋅1=6.
So, the answer is 6.
Tagged Evaluation of determinants. Machine-assigned, so read it as a strong shortlist rather than a verdict.