Calculus Online: Lab 3
Welcome to Lab 3 of Math 100 Sections 103, 104, 107 and 109.
Instructions
- At the bottom of the page you will find a tool
for saving and reloading your work. Enter your login id and student
number into the fields, and then use the Save and
Load buttons.
- You do not need to complete your work during your lab
session. But be sure to save your work before you leave. You can
then restore your old session at another time with the
Load button.
- All submissions must be received by 11:59 pm on 26 October.
Warning!
If you leave this page
without saving your work, it will be lost. Always save your work
before leaving this page or reloading it.
Probability Density Functions
In this lab, we will explore probability density functions in a
little more detail than we did in class. Please read carefully
because it will have some material which is new to you.
Probability density
functions are a very important type of function since they give us a
means of organizing a large collection of data. In fact, whether you
are in the natural sciences, commerce or the social sciences, chances
are good that you will encounter a probability density function in
your future.
To get started, let's imagine
that we are studying a particular type of fish. One of the things we
would like to understand is approximately how big this type of fish
is. The natural thing to do is to measure the size of many of these
fish. This gives us a lot of data, and we would like some convenient
way of analyzing the data. One way would be to use
a bar graph like we see on the right.
Let's look carefully at this graph: the possible sizes of fish
have been divided into ten ranges (which we'll call bins
). Over each bin, the area of the bar
represents the number of fish in that bin.
For that reason, the height of the bar over a bin represents the
density of fish in that bin; that is, it tells us, the
ratio of the number of fish in the bin to the width of the bin. At
first, that may seem a little strange but we'll see one good reason
for doing it this way at the end of the lab. For now, just notice
that the number of fish in a bin depends on how big the bin is.
Looking at the density will partially negate the effect of the bin size
on our graph.
It is very important that you understand what we've just done.
The next question will make sure you do.
Question 1 (2 marks)
In the diagram below, you are shown three bins. In this diagram,
we have chosen to use bins of different sizes, though usually you will
see graphs in which all the bins have the same width. From
left to right, the width of the bins is 4, 2 and 3. Adjust the height
of each of the bins so that the number of fish in each bin is 24.
Remember that the area should represent the number of fish in the bin.
If we would like to get a better feeling for the size of the fish,
we could increase the number of bins. You will see the effect of
doubling the number of bins to 20 on the right. This is constructed
from the graph with 10 bins
by dividing each bin into two new ones.
First notice that when the number of bins doubles, the width of
the each bin is halved. However, the area, which represents the
number of fish in a bin, over the two new bins is the same as the area
over the original bin.
Here's what happens as we further increase the number of bins.
Notice that as the size
of the bins becomes very small, the graph starts to look like the
graph of a continuous function (shown on the left). We call this
function a probability density function
and denote it by
(Next term, we will define a
probability density function to be something slightly different, but
this is good enough for now.)
Here is what this graph means: very few fish have a size in a
range where this function is close to zero.
However, many fish are of a size where this function
is large. We sometimes express this in terms of probability: we say
that a fish is unlikely to have a size in a range where the function
is close to zero. And a fish is likely to have a size in a range
where the function has a large value.
Question 2
A fire swept through a forest a few years ago. When the diameters
of the trees in the forest are measured, the resulting probability
density function is as below.
Part a (1 mark)
Select "Part a" above and position the ball near the
most likely diameter found in the forest.
Part b (1 mark)
Select "Part b" above and position the ball near the
least likely diameter found in the forest. (Note: Your answer may
not be the same as your friend's.)
Let's remember the crucial fact about probability density functions:
the area under the curve represents the number of occurrences in a
given range.
Question 3
The Graduate Record Exam (GRE) is an exam which is taken by
students who want to attend graduate school. Shown below is the graph
of the probability density function describing the performance of
students the last time the exam was given. A perfect score on the
exam is 1000. When you move the dot, the region under
the graph to the left of that point is shaded and you are told what
the area of that region is. This area represents the number of
students who earn a score below the score where the dot is.
Part a (1 mark)
How many students took the exam. Select "Part a"
above and enter your result.
Part b (1 mark)
What fraction of these students scored below 400? Select "Part b" and
enter your result (as a real number between 0 and 1). (We also say that
this is the probability that a typical student scored below 400.)
Part c (1 mark)
Graduate schools will admit everyone scoring over 600. What fraction
of the students are admitted to graduate school? Select "Part c" and
enter your result. (We also say that this is the probability that a
typical student is admitted to graduate school.)
When you drag the dot around in Question 3, you are exploring a new
function which is called the cumulative distribution function
and denoted
We define
to be the
area under the graph to the left of x . Since our
graph is the probability density function
, this is
the same as saying that
measures the number of
students scoring lower than x .
There is a very important and wonderful relationship between these
two functions; namely,
the derivative of the cumulative distribution function is the
probability density function.
To see why this is so, remember that
Let's think about the right hand
side of that last equation:
measures the number of
students scoring less than x + h and
measures the number of students scoring less than
x. This means that the difference
measures the number of students scoring between x
and x + h. This is represented by the area under
the graph between x and x + h as
is shown to the right.
Now this area is approximately the same as the rectangle
whose width is h and whose height is
This means that
We recognize this ratio as an average rate of
change of
As h decreases, this ratio approaches the derivative,
and so we see that
Question 4
This question requires that you think about the relationship
between the cumulative distribution and the probability density
functions just discussed.
Quantum mechanics describes the positions of sub-atomic particles
by giving a probability density function which tells us the chances of
finding a particle in a particular region of space. Shown below if
the graph of a cumulative distribution function
for
an electron in an atom. Here, r is the distance
from the electron to the nucleus of the atom. The function
measures the number of times that the electron is found between
0 and r.
Part a (1 mark)
Select "Part a" above and then move the ball to a
position where the electron is least likely to be. Think carefully!
You are looking at the cumulative distribution rather than the
probability density.
Part b (1 mark)
Select "Part b" and then move the ball to the most likely place that
the electron will be. (A wide range of answers will be accepted.)
|