The trigonometric functions cosine and secant are related by the next formula:
Substituting this relation into the equation, we get:
Multiplying by cos(x) at both sides of the equation:
Substituting with y = cos(x), we get:
Using the quadratic formula with the coefficients a = 2, b = -1, and c = -1, the solution to this equation is:
In terms of the x-variable, the solutions are:
x must be in the interval [0, 2π). Taking this interval into account, the solution to the first equation is:
And the solutions to the second equation are: