Marks: This spreadsheet shows your marks to date.

Assignments: 1, 2, 3, 4, 5, 6.

Dec 7, 2005

Exam Preparation Tutorial at 10:30 a.m. Rm 2601 (Our usual classroom)

I believe I have found answers (but not solutions) to the the two old final exams handed out: 2003, 2002

Dec 5, 2005

Exam Preparation Tutorial

Dec 2, 2005

Review: Venn diagrams, Conditional probability and Bayes theorem

Nov 30, 2005

Combinatorics Review

Notes

Nov 28, 2005

Solving minimization problems using the simplex method

The simplex method is based on three assumptions:

  1. The objective function is to be minimized.
  2. All variables will take non-negative values.
  3. All the constraints have the form: linear expression ≤ nonnegative constant

Minimization problems usually violate assumptions 1. and 3.

We get around the violation of 1 by maximizing the negative of the objective function.

We get around violations of 3, by negating the constraint, then entering the constraints and objective function into a Simplex tableau. If any negative constants remain we pivot to remove them. The rule for choosing the pivot elements is:

  1. Choose a row with a negative constant.
  2. Choose a negative coefficient in this row. This will be the pivot column
  3. Choose the pivot element within this column using the usual ratio test.
  4. Pivot and repeat until no negative constants remain (above the objective function).

For exercise:

?

Nov 25, 2005

Simplex method example problem

?

Announcement

Addendum to Assignment 6 posted

As promised a second data set to consider has been added to the assignment.

Nov 23, 2005

Simplex method example problems

Topics

For exercise:

4.2 - 15, 19, 21.

Nov 21, 2005

The simplex method for solving linear programming problems

Topics

For exercise:

3.3 - 1, 3, 5.

Nov 18, 2005

Graphical solution of linear programming problems; Pivoting matrices

Topics

For exercise:

3.2 - 17, 31, 33.

Nov 16, 2005

Graphical solution of linear programming problems

  1. Identify quantity to optimize (maximize/minimize).
  2. Find equation for this quantity (this is called the objective function).
  3. Find the constraints and express them as inequalities.
  4. Find the feasible set or region by graphing the constraints and shading out the infeasible regions of the plane.
  5. The optimum will occur at one of the "corners" of the feasible region (or along an edge of it), so calculate the value of the objective function at each corner and select the optimum value.

LP Problems Overhead

For exercise:

3.2 - 1, 3, 5, 9, and 13.

Nov 14, 2005

Systems of linear equations; Matrix operations

Nov 9, 2005

Solving systems of linear equations

For exercise:

1.4 - 69; 1.s - 17, 36; 2.1 - 35, 37; 2.3 - 21, 25, 29.

Nov 7, 2005

Solving systems of linear equations

Nov 4, 2005

Graph Theory Review

Nov 2, 2005

Graph Theory

Today's Topics

For exercise:

13.5 - 3, 13.

Announcement

Assignment 4 modified due date

Assignment 3 is now due Monday November 14 at 10:30 a.m.

Oct 31, 2005

Graph Theory

Today's Topics

For exercise:

13.4 - 11, 13.

Oct 28, 2005

Graph Theory

Today's Topics

For exercise:

13.1 - 3

13.2 - 15, 19.

13.3 - 9, 12.

13.5 - 3

Announcement

Assignment 3 Extension

Assignment 3 is now due Monday October 31 at 10:30 a.m.

October 26, 2005

Graph Theory

Today's Topics:

For exercise:

Some MST and Shortest Route problems.

Oct 24, 2005. Class 20.

Graph Theory

Today's Topics:

Oct 21, 2005. Class 19.

Probability & Introduction to graph theory

Today's Topics:

Oct 19, 2005. Class 18.

Probability: Bayes' theorem

Today's Topics:

Oct 17, 2005. Class 17.

Probability: Bayes' theorem

Today's Topics:

Oct 14, 2005. Class 16.

Probability

Today's Topics:

For exercise:

6.5 ~ 3, 5, 9, 13, 15, 17, 22, 27, 35, 41, 47, 53.

6.6 ~ 5, 11, 15, 29.

Oct 12, 2005. Class 15.

Probability

Today's Topics:

For exercise:

6.4 ~ 1, 7, 9, 11, 12, 13, 15, 17, 19, 22, 25, 27, 31, 39.

Announcement

Classes and tutorials

I am going to try and maintain a clearer separation of tutorials and classes.

If you have no questions then you do not have to attend the tutorial sessions, and may just arrive for the lecture or quiz.

Oct 8, 2005. Class 14.

Combinatorics

Today's Topics:

Took up Assignment 1. Note how little of the truth table had to be completed.

Took up Quiz 3. There will be a Venn diagram counting problem on the final exam. (See the previous final exam attached to the course outlne.)

The navigation problem of getting from one point in a grid to another, can be thought of as choosing a number of times to go west or north. So in the example, we had to choose 4 of 11 movements to be westward ones, giving C(11,4).

We rarely add together counts of ways in combinatorics, but it does come up when we need to combine the number of ways associated with mutually exclusive possibilities, e.g. the urn problem 5.6 - 4 d).

For exercise:

5.6 ~ 4, 13, 15, 17, 20, 25, 29, 31, 33, 39.

Oct 5, 2005. Class 13.

Combinatorics

Today's Topics:

Continued doing combinatorics by example using problems from the overheads.

To the types of problems from the previous class we added compound problems, where we might have to add the results of two or more ways of counting things out, e.g. SEQUOIA, or where there might multiple different types of choices, e.g. the poker hand.

As before the trick with combinatorics is to get good at identifying which type a particular problem is.

For exercise:

Continue working on the exercises assigned in the previous class.

Oct 3, 2005. Class 12.

Combinatorics

Today's Topics:

We did combinatorics by example considering problems from the overheads.

We saw four main types of problems:

The trick with combinatorics is to get good at identifying which type a particular problem is.

For exercise:

5.4 ~ 2, 5, 7, 9, 15, 17, 22, 27, 29, 31, 36, 49, 51, 55.

5.5 ~ 21, 25, 29, 31, 33, 37, 41, 53, 57.

Sept 30, 2005. Class 11.

Mathematics of elections

Today's Topics:

For exercise:

Work on Assignments 1 and 2.

Sept 28, 2005. Class 10.

Set theory

Today's Topics:

For exercise:

Try using Euler diagrams to analyze the following arguments.

  1. All joggers are lean. All lean people are healthy. Therefore all joggers are healthy.
  2. Some mathematicians are teachers. Some teachers are bald. Therefore some mathematicians are bald.
  3. All mathematicians are teachers. Some teachers are bald. Therefore some mathematicians are bald.
  4. All mathematicians are teachers. All teachers are bald. Therefore some mathematicians are bald.
  5. Mammals are warm-blooded. Snakes are not mammals. Therefore no snakes are warm-blooded.

Sept 30, 2005. Class 11.

Election Theory; Combinatorics preview

Today's Topics:

For exercise:

Work on the first two assignments.

Sept 26, 2005. Class 9.

Set theory

Today's Topics:

For exercise:

5.1 ~ 13, 27, 29, 31.

5.2 ~ 3, 5, 9, odd 13 - 43.

5.3 ~ 1, 3, 7, 13, 17, 41, 43, 45, 47, 50, 51.

Sept 24, 2005.

Digital logic Review problems

Sept 23, 2005. Class 8.

Digital logic 3

Today's Topics:

For exercise:

Try completing our circuit to add two 1-bit numbers.

Sept 21, 2005. Class 7.

Digital logic 2

Today's Topics:

For exercise:

Try completing our circuit to add three 1-bit numbers (called a full-adder).

Sept 19, 2005. Class 6.

Digital logic 1

Today's Topics:

For exercise:

Try completing our circuit to add two 1-bit numbers.

Try question 3 from the 2003 final exam (handed out with the course description at the start of term).

Sept 15, 2005. Announcement.

Class Cancelled Friday Sept 16

My grandmother has passed away and I will be travelling to the funeral in Ontario. I will be leaving early Friday morning and, assuming there are no missed connections, will be back for Monday's class.

For exercise:

Logic review problems and solutions

Sept 14, 2005. Class 4.

Validating arguments 2 and 3

Today's Topics:

For exercise:

Sept 12, 2005. Class 3.

Logical equivalence; Translating sentences; Validating arguments 1

Today's Topics:

For exercise:

Sept 9, 2005. Class 2.

Statements; Connectors (^, v, ~); Truth tables

Today's Topics:

Lecture Notes

For exercise:

You can check your answers to the odd-numbered problems on pages A50 and A51 in Appendix A at the back of the book. The sentences in the even-numbered problems from 2 through 14 are all statements.

Sept 7, 2005. Class 1.

Course Introduction

In today's class we went over the course description with some care, and then looked at some simple finite math problems to get us thinking mathematically:

For exercise: