What does $\sin(\theta) > 0$ mean here? If $\tan(\theta) = -\frac{8}{15}$, and $\sin(\theta) > 0$, then find $\cos(\theta)$. The question is:

If $\tan(\theta) = -\frac{8}{15}$, and $\sin(\theta) > 0$, then find $\cos(\theta)$.

What I did was draw a triangle on the unit circle with sides $8, 15$ and therefore hypotenuse $17$ by Pythagoras theorem.
Then, to find $\cos(\theta)$, I did adjacent $15$ over hypotenuse $17$, which was my final answer: $\frac{15}{17}$.
However, the correct answer is $-\frac{15}{17}$. Can someone please explain the discrepancy here? I neglected the part were it says "and $\sin(\theta) > 0$", because I'm not sure what it means by that. I think that is why I got the signs wrong maybe.
Thanks in advance.
 A: You found the proper value of $\cos \theta$ for the reference angle for $\theta$, not for $\theta$ itself. The reference angle is the angle in the first quadrant that has the same trig values in absolute value. Your final step is to find the proper sign of your trig value, based on the quadrant your $\theta$ is in.
Your question tells you that the tangent is negative, which is true for quadrants II and IV. It also tells you that the sine is positive, which is true for quadrants I and II. The only quadrant that fits both requirements is the second quadrant, so that's where $\theta$ lies. In that quadrant, cosine is negative, so you must change your answer from $\frac{15}{17}$ to $-\frac{15}{17}$.
One way to remember the signs for each quadrant is the mnemonic All Students Take Calculus. This tells you which trig ratios are positive in each quadrant: all, sine, tangent, and cosine for quadrants I, II, III, and IV respectively.
There are other ways, such as trig identities, to solve your problem that give the correct sign automatically, but it is good to have several ways to solve your problem.
A: One way to think about it simply (and that I find helpful) is to consider it in terms of quadrants of the Cartesian plane, which are labelled in a counterclockwise direction starting from the 1st quadrant (positive $x$ and $y$). All trig ratios are non-negative in the 1st quadrant. In the other quadrants, only one of the ratios is non-negative while the other two are negative. In the 2nd quadrant, sine is non-negative. In the third, tangent is non-negative and in the 4th quadrant, cosine is non-negative.
I remember this as "ASTC" (all, sine, tangent, cosine).
The given info allows you to localise the angle to the 2nd quadrant (negative tangent, positive sine). That means the cosine is also negative, so you take the negative value.
A: Tangent has period $\pi$ but $sin$ and $cos$ have period $2\pi$, so for the range of values of $sin$ and $cos$ there are two angles for which the tangent is $-\frac{8}{15}$. The difference between these two angles is $\pi$ so for one of those angles the sine is positive and for one its negative, your condition constrains the result to one angle,  i.e. one value for cosine.
A: $\sin(\theta)>0$ means that the angle $\theta$ should lie in the first or second quadrant of the goniometric circle (in this case the second quadrant). Don't forget that there are $\textbf{two}$ angles for which $\tan(\theta)=-\frac{8}{15}$.
