This is the mathematical and probability knowledge required for this course:
The mathematics part should have been covered in pre-requisite courses. Coverage of probability is less certain (pun intended 😉) and needed in the second half of the course, so you should review the
second part below
with particular care.
Revisions Part 1: Mathematics #
Functions and their derivatives #
- Be familiar with functions
- Basic derivatives:
-
Taylor's expansion
(here for an exponential random variable):
Be able to find expressions for following summations #
Change the order of double summation #
The solution to a quadratic equation #
The equation
If
Example #
For example, find a value for
Solution: let
We reject the solution
Be able to solve simple differential equations #
Example 1 #
For example, solve
Solution:
Example 2 #
Solve
Solution:
Integrals #
- We have
where is the anti-derivative of , such that . - The integration variable is just a tool, that is,
it does not matter to use or . - We have
For example: -
Integration by parts
:
The average of a function on
#
Let
Interpretation:
Definition:
Example 1: #
The average value of
Example 2: #
The average value of
Example 3: #
The trapezoid rule in integration #
The average value of
The definition of and its numerical calculations
#
In the summation in
Approximations:
: the average of times .- If
, .
Alternatively,
Approximations:
The average number of numbers
#
Let
Example 1 #
The average value of
Example 2 #
One student took 8 subjects in his first year at University of Melbourne. The results are as follows: Semester 1: 75, 83, 65, 90; Semester 2: 60, 76, 80, 50.
Then
is the total marks from year 1.- The average mark is
- The average mark for S1 is
- The average mark for S2 is
The weighted average of numbers
#
Let
Let
Note:
is the weight attached to .- if
, then is the average of (equally weighted).
Example #
In the assessment of ACTL10001, the assignments account for 20%, the mid-semester exam accounts for 10%, and the final exam accounts for 70%. A student got 70 out of 100 for mid-semester result, 95 out of 100 for assignments, and 80 for final exam. Then the overall weighted average mark is
Revisions Part 2: Probability #
The following contents are the object of a video recorded in August 2021:
annotated pdf
If you wish to watch the embedded videos from Lecture Capture, you need to have logged in and entered Lecture Capture via Canvas once for each session. This is to restrict access to students enrolled at the University of Melbourne only.
Events and Probability #
Vocabulary: events vs probability #
It is important to understand the difference between events and probability:
- Event: what could happen - an actual “thing”, in real life, that could happen;
- Probability: our understanding of the “likelihood” (or frequency) of an event (something that could occur).
So when we are building a mathematical model for uncertain outcomes:
- The first step is to work out what are all the possible things that could occur (for instance, “rain” or “no rain”). The full set of those is denoted
. - The second step is to make assumptions about how likely those things can occur. Here "
" is an operator that maps an event into a probability. For instance, means that the likelihood corresponding to the event “rain” is 20%.
In what follows we outline basic results and axioms around events and their probabilities. Often logic means that a result or definition on one side (e.g. events) can be translated on the other side (e.g. probabilities).
For instance, the complement to an event is exactly whatever could happen, that is not the event. Hence, the probability of the complement must be 1 minus the probability of the original event; see 2.1.2.4 below.
Events, operations of events, probability of an event #
: empty set, that it, it is an impossible event: : the full set of possible outcomes, that is, it is a certain event: : an event (within ), . : the event that does not occur (called a “complement”): : and , the event that both and occur. : or , the event that either or , or both events occur. : If occurs, must, and: ; .
Example: = {a 20-year old survives to age 70}, = {the 20-year old survives to age 50}. Then .
Mutually exclusive events #
If
Independent events and
#
If
Conditional probability formula #
We have
This leads to Bayes' theorem, see for instance
this
.
Also,
- If
, then and - If
and are independent, then - If
, then and Given has occurred, is certain.
Random variables and their distribution #
Definition #
A random variable, denoted by capital letters
Distribution Function #
Definition:
. , if . is right-continuous (aka “càdlàg”), i.e., . . . .
In our subject, we generally assume that
Difference betweeen continuous and discrete random variables #
As an introduction to differences between continuous and discrete random variables, review this video:
Continuous random variables ( )
#
. . typically looks likebut note that it does not need to be concave.
Discrete random variables #
A random variable
-
Probability distribution of
where
-
-
The distribution function
is a piece-wise constant function (also called step function).
Moments of a random variable #
Expectation and variance #
Expectation of
Furthermore:
measures the variability of . The larger the variance, the more variability has.- If
, . There is no variability for . is a constant. - If
and are independent, then
Moments of the average of iid rv’s #
Assume
Selected distributions #
Binomial distribution #
If
Note:
, . . . represents # of successes out of independent trials, each trail has two outcomes: sucess with probability OR failure with probability .
Exponential distribution #
If
Note:
. .
Uniform distribution #
If
Note:
. .
Credit #
The initial version of those notes were developed by Professor Shuanming Li in 2018. These were then transcribed modified and augmented by Professor Benjamin Avanzi in 2021.