document.write( "Question 667165: A and B are events defined on a sample space, with P(A) = 0.5 and P(A and B) = 0.2. Find P(B | A). \n" ); document.write( "
Algebra.Com's Answer #414833 by Edwin McCravy(20059)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "Formula for conditional probability:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "                   P(First AND Second)       P(Second AND First) \r\n" );
document.write( "P(First|Second) = ---------------------  =  ---------------------\r\n" );
document.write( "                       P(Second)                 P(Second)\r\n" );
document.write( "\r\n" );
document.write( "Note: the events might be in either order on the top since AND \r\n" );
document.write( "is commutative, but the denominator is always the probability \r\n" );
document.write( "of what is given, that is, what is after the vertical line \"|\".\r\n" );
document.write( "\r\n" );
document.write( "with P(A) = 0.5 and P(A and B) = 0.2. \r\n" );
document.write( "\r\n" );
document.write( "Find P(B|A)  \r\n" );
document.write( "\r\n" );
document.write( "Here the First = B and the Second = A\r\n" );
document.write( "\r\n" );
document.write( "                   P(Second AND First) \r\n" );
document.write( "P(First|Second) = ---------------------\r\n" );
document.write( "                       P(Second)\r\n" );
document.write( "\r\n" );
document.write( "           P(A and B)     0.2\r\n" );
document.write( "P(B|A) = ------------- = ----- =  \"2%2F5\" = 0.4\r\n" );
document.write( "              P(A)        0.5\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );