William W. answered 03/17/22
Math and science made easy - learn from a retired engineer
Cotangent is an odd function therefore cot(-x) = -cot(x) also cot(x) = cos(x)/sin(x) therefore:
cot(-x) = -cos(x)/sin(x)
Cosine is an even function therefore:
cos(-x) = cos(x)
Sine is an odd function therefore:
sin(-x) = -sin(x)
So, putting these together:
cot(-x)cos(-x) + sin(-x) = [-cos(x)/sin(x)][cos(x)] - sin(x)
Simplifying, we get
cot(-x)cos(-x) + sin(-x) = -cos2(x)/sin(x) - sin(x)
Then, getting a common denominator:
cot(-x)cos(-x) + sin(-x) = -cos2(x)/sin(x) - sin2(x)/sin(x)
cot(-x)cos(-x) + sin(-x) = -1[cos2(x)/sin(x) + sin2(x)/sin(x)]
cot(-x)cos(-x) + sin(-x) = -1[cos2(x) + sin2(x)]/sin(x)
cot(-x)cos(-x) + sin(-x) = -1/sin(x)
Since this equals -1/f(x) then f(x) = sin(x)