I am trying to learn the maths I need for data science, but I left formal maths education so long ago that my maths intuition is incredibly weak. I am confronted with the following explanation, and I just don't see it as obvious in the way that the author expects me to:
"If A and B are not independent, the equation (1.6) generalizes to
P(A and B) = P(A) P(B|A)
This should make sense to you. Suppose 30% of all UC Davis students are in engineering, and 20% of all engineering majors are female. That would imply that 0.30 x 0.20 = 0.06, i.e., 6% of all UCD students are female engineers."
Why are we multiplying P(A) and P(B|A)? Of course, I know that
𝑃(𝐴∣𝐵)=𝑃(𝐴∩𝐵)/𝑃(𝐵)
and so rearranging we get the above formula, but that doesn't help explain why (for me). I've worked through his explanation of the female engineering students assuming that the overall number of students is 100, but I'm not seeing how this connects to the formula.
Clarification: equation (1.6) is:
P(A and B) = P(A) · P(B)
when A and B are independent.