Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2015/discrete-mathematics-continuous-mathematics-and-probability-resit/9/a/ii/solution

The cosine function is positive on and negative on . Thus any nonzero makes negative on an interval of positive length. Taking makes the total definite integral zero. Hence
Normalization alone would suggest , but that candidate still violates nonnegativity and therefore is not a probability density function.

New to topics? Read the docs here!