The problem is as follows
A secret agent, disguised as a waiter for the evening, momentarily observes a note with a highly confidential password over the shoulder of an invited military commander. The password consists of a long randomized sequence of the letters a, b, and c, which occur with probabilities P(a) = 0.5, P(b) = 0.2, and P(c) = 0.3.
The agent makes random errors when reproducing the observed password on the napkin with the error probabilities: P(b|a) = 0.05, P(c|a) = 0.1, P(a|b) = 0.15, P(c|b) = 0.05, P(a|c) = 0.1, P(b|c) = 0.15.
(a) What is the probability that a letter a on the agent's napkin originally was a letter b on the military commander's password note?
(b) Given that a letter c was reproduced on the napkin, what is the probability that there was a letter c on that position in the original password note?
The problem is that I don't know what the probabilities p(a|b) and so on are supposed to mean if thats not the probability that one letter was originally the other. I have tried setting up events like let A = "a" is produced, and B = originally "b", then $P(A \bigcap B)$ would give me the answer after applying bayes theorem but that didnt work...
P(a|b) is the probability that the agent writes an a on his copy given that commander wrote a b. You have to use the fact that P(x) = P(x|a)+P(x|b)+P(x|c). Does this help? P(a and b) will always be zero because both characters can only pick one letter per position and also P(a and b) doesn't show up in Baye's theorem. Does this help?