Let
a=sinx+cosx,b=sinxcosx
We know that sin2x+cos2x=1, so we have
(sinx+cosx)2=sin2x+2sinxcosx+cos2x=1+2b
So
a2=1+2b⟹b=2a2−1
We have the equation
2(sinx+cosx)+(secx+cscx)=36
It can be re-write as
2a+(secx+cscx)2a+cosx1+sinx12a+sinxcosxsinx+cosx2a+ba=36=36=36=36
Also we have
ba=2b2−1a=a2−12a
Then the equation is
2a+a2−12aa2−12a3−2a+2aa2−12a32a32a3−36a2+36=36=36=36=36(a2−1)=0
Let
a=c+26
Then we know
a3=(c+26)3=c3+3c226+3c(26)2+(26)3=c3+236c2+29c+436
a2=(c+26)2=c2+2c26+(26)2=c2+6c+23
Substitute them into the function
2(c3+236c2+29c+436)−36(c2+6c+23)+362c3+36c2+9c+236−36c2−18c−296+362c3−9c=0=0=0
We can get the 3 roots
⎩⎨⎧c1=0c2=232c3=−232
Back to a, we have
⎩⎨⎧a1=0+26=26a2=232+26=232+6a3=−232+26=26−32
For any x, −2≤sinx+cosx≤2. So only a=26 and a=26−32 match the condition
Condition 1: sinx+cosx=26, we have
sinx+cosx=2sin(x+4π)=26⟹sin(x+4π)=23
So, for k∈Z, we get
x+4π=3π+2kπorx+4π=32π+2kπ
and
⎩⎨⎧x=12π+2kπx=125π+2kπ
Condition 2: sinx+cosx=26−32, we have
Let θ=arcsin(23−3)
So, for k∈Z, we get
and
⎩⎨⎧x=θ−4π+2kπx=43π−θ+2kπ
So we get the final answer
k∈Z⎩⎨⎧x=12π+2kπx=125π+2kπx=arcsin(23−3)−4π+2kπx=43π−arcsin(23−3)+2kπ