Jump to content

Materials Science and Engineering/List of Topics/Statistical Mechanics/Probability/General Definitions

Mathematical treatment

[edit | edit source]

In mathematics a probability of an event, A is represented by a real number in the range from 0 to 1 and written as P(A), p(A) or Pr(A). An impossible event has a probability of 0, and a certain event has a probability of 1. However, the converses are not always true: probability 0 events are not always impossible, nor probability 1 events certain. The rather subtle distinction between "certain" and "probability 1" is treated at greater length in the article on "almost surely".

The chance of the opposite of an event P(not A) = 1-P(A), for example the chance of not rolling a six on a six-sided die is 1 - chance of rolling a six = 116=56. If two events, A and B are independent then the joint probability is

P(A and B)=P(AB)=P(A)P(B),

for example if two coins are flipped the chance of both being heads is 12×12=14.

If two events are mutually exclusive then the probability of either occurring is

P(A or B)=P(AB)=P(A)+P(B).

For example, the chance of rolling a 1 or 2 on a six-sided die is P(1 or 2)=P(1)+P(2)=16+16=13.

If the events are not mutually exclusive then

P(A or B)=P(A)+P(B)P(A and B).

Conditional probability is the probability of some event A, given the occurrence of some other event B. Conditional probability is written P(A|B), and is read "the probability of A, given B". It is defined by

P(AB)=P(AB)P(B).

If P(B)=0 then P(AB) is undefined.

Summary of probabilities
Event Probability
A P(A)[0,1]
not A P(A)=1P(A)
A or B P(AB)=P(A)+P(B)P(AB)=P(A)+P(B)if A and B are mutually exclusive
A and B P(AB)=P(A|B)P(B)=P(A)P(B)if A and B are independent
A given B P(A|B)