Calculus II

Class Notes, 2/22/99


If we flip two fair coins, we can with equal probability obtain head on the first and heads on the second (H H), heads on the first and tails on the second (H T), tails on the first in heads on the second (T H), or tails on the first and tails on the second (T T).

cal41.jpg (20455 bytes)

The graph is set up with bars of length 1.

cal42.jpg (20455 bytes)

The probabilities for three coins are as indicated below.

cal43.jpg (20455 bytes)

If we flip greater in greater numbers of coins, we obtain histogram like the one below.

If we adjust the vertical scale of our graph so that the total area under the graph is 1, then the graph will be normalized.

cal44.jpg (20455 bytes)

Video Clip #01

As the number n of coins gets very large, the normalized distribution histogram representing the number of Heads above or below the most likely number n/2 approaches the normal distribution function p(x) = 1 / `sqrt(2 `pi) * e ^ (- x^2 / (2 `sigma^2) ).

cal45.jpg (20455 bytes) 

For a normal distribution function, the probability of that occurs between x = a and x = b is represented by the area under the curve between a and b.

cal47.jpg (20455 bytes)

Returning to the first example, where we flip two coins, we can construct a graph of the cumulative probability function.

cal48.jpg (20455 bytes)

For a typical normalized probability distribution function p(x), like the normal distribution function indicated below, the probability of getting <= x is the area to the left of x, denoted p(-infinity < t < x ).

The point where P(x) = 1/2 is indicated.

cal49.jpg (20455 bytes)

Video Clip #02

The probability of an occurrence between 0 and T, for some probability distribution function defined for x >= 0, is indicated by the shaded area on the graph of p(x) below.

cal50.jpg (20455 bytes)

The figure below depicts Tmedian on the graph of the cumulative distribution P(x).

cal51.jpg (20455 bytes)

Video Clip #03

If we wish to find the average age of a group of people, we add the ages of the individuals then divide by the number of individuals.

To find the average age of a large group of people using the probability distribution of their ages, we will use the probability p(xi) * `dxi instead of the number of people with ages in an interval of width `dxi about some age xi.

cal52.jpg (20455 bytes)

If we partition the age distribution in the usual manner, then we represent the sum of the ages as indicated below, and we obtain the integral of x * p(x), as indicated.

The final result is that, when the probability distribution function is normalized, the average age is simply the first-moment integral indicated in the last line below.

cal53.jpg (20455 bytes) 

Video Clip #04

As an example we analyze the probability distribution function p(x) = .14 e^(-.14 x) for x > 0.

cal56.jpg (20455 bytes)

 

 

The cumulative distribution function is obtained from the integral below, and is found to be P(x) = 1 - e^(-.14 x).

Note that

cal57.jpg (20455 bytes)

If p(x) represents the probability distribution of the lengths of time required for a certain task, then we can find the mean length of time by calculating the first-moment integral indicated in the figure below.

cal58.jpg (20455 bytes)

For this distribution, which trails off to 0 as x -> infinity, the mean represents the 'balancing point' of the distribution.

cal59.jpg (20455 bytes)

We also calculate the median length for this distribution.

cal60.jpg (20455 bytes)

Video Clip #05