[Math] Tangent Line to $\sin x+\cos x$

calculus

When is the tangent line to
$y = \sin x + \cos x$
horizontal?

I have no idea how to solve this problem. Would I use the equation of a tangent line here? Because if so i have no idea how to apply that.

Best Answer

Hint 1. A line is horizontal when its slope is $0$.

Hint 2. The slope of the tangent line to $y=f(x)$ at $a$ is $f'(a)$.