Solution:
Let represent the situation in which the student knows the solution, represent the situation in which the student guesses the answer, and represent the situation in which the answer is accurate.
Then
And
Also (correct answer given that he knows)
And (correct answer given that he guesses)
Now, the probability that he knows the answer is if the answer is accurate.
By using Bayes’ theorem, we have:
We get the following results by substituting the values: