I am taking course on probability and reading about bayes theorem.
In Sheldon Ross' book, it given as $$P(E) = P(E|F)P(F) + P(E|F^C)P(F^C)$$ with note: Equation above states that the probability of the event E is a weighted average of the conditional probability of E given that F has occurred and the conditional probability of E given that F has not occurred – each conditional probability being given as much weight as the event on which it is conditioned had of occurring.
On wikipedia, it is given as $$P(A|B) = \frac{P(B|A)P(A)}{P(B)}$$
In Kenneth Rosen's book it is given as $$P(F|E)=\frac{P(F)P(E|F)}{P(E|F)P(F)\cup P(E|F^C)P(F^C)}$$
Though I understand proofs of all of those, I dont understand the connection between them or to say, how they all communicate the same meaning? Or am mistaking and they are talking about different stuff?
Equation 1. is known as the law of total probability
Equation 2. is Bayes' theorem.
Equation 3. is Bayes' theorem with the law of total probability applied on A and B on the $P(B)$ in the denominator.