Lecture 1

Admin Bits

V63.0120: Discrete Mathematics Spring 2011

Class Time/Location

Monday, Wednesday 3:30pm-5:20pm Silver Center rm. 512

Instructor

Andreas Kloeckner

Email

kloeckner@cims.nyu.edu

Office

Courant Institute, Warren Weaver Hall, Room 1311

Office Hours

Monday, Wednesday 2:30pm-3:30pm

Class Webpage

http://wiki.tiker.net/Teaching/DiscreteMathSpring2011

Email Listserv

everybody subscribed -- if not, please catch up

Text

Discrete Mathematics: Mathematical Reasoning and Proof with Puzzles, Patterns, and Games

Assessment

Homework
will be assigned weekly (generally assigned and collected on Thursdays). In fairness to the other students in the course, late homework will generally not be accepted. We will, however, drop the lowest homework score in the computation of final grades. Please talk to the instructor in cases of emergency.
Quizzes
There will be three quizzes, as indicated on the calendar below. They are tentatively scheduled as indicated in the syllabus below. Quizzes will start at the beginning of class and run for about 15-20 minutes. We will also drop the lowest quiz.
Midterms
There will be two midterm examinations, as indicated on the calendar below.
Final
The time for the cumulative final examination will be announced as the end of the semester draws near. We will not be able to accommodate early finals for nonacademic, nonemergency reasons. Please plan your travel schedule accordingly.

Grades will be computed by a weighted average:

Homework

Quizzes

Midterm I

Midterm II

Final

10%

10%

20%

25%

35%

Final scores will be converted to letter grades beginning with the following scale:

93

90

87

83

80

75

65

50

A

A-

B+

B

B-

C+

C

D

As for a curve, these cutoffs might be adjusted, but only in the downward direction (to make letter grades higher).

On the homework, each problem will be worth three points, assigned as follows:

Points

Description of Work

3

Work is completely accurate and essentially perfect. Work is thoroughly developed, neat, and easy to read. Complete sentences are used.

2

Work is good, but incompletely developed, hard to read, unexplained, or jumbled. Answers which are not explained, even if correct, will generally receive 2 points. Work contains the 'right idea' but is flawed.

1

Work is sketchy. There is some correct work, but most of the work is incorrect.

0

Work minimal or non-existent. Solution is completely incorrect.

For the purposes of assembling the final grade, the grade on each homework set is converted to a percentage of all achievable points, on a scale from 0 to 100.

Survey

Intro

Example [Reasoning]

/!\ Note: First part always a fact, then draw conclusions based on that.

Example [Santa Claus House]

Example [Monty Hall]

Suppose you're on a game show, and you're given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, say No. 1, and the host, who knows what's behind the doors, opens another door, say No. 3, which has a goat. He then says to you, "Do you want to pick door No. 2?" Is it to your advantage to switch your choice? —Whitaker/vos Savant 1990

Can we figure out a solution?

Can you identify hidden assumptions?

Assumptions:

"Monty is saying in effect: you can keep your one door or you can have the other two doors." The player therefore has the choice of either sticking with the original choice of door, or choosing the sum of the contents of the two other doors, as the 2/3 chance of hiding the car has not been changed by the opening of one of these doors.

Common goal: Eliminate the possibility for disagreement. We would like to discover a method that lets you discover truth 'mechanically', uncovering hidden assumptions and wrong deductions. Build this method in such a way that it makes sense in the context of the 'real world'.

Describing the Class

Overview

Our major goal will be to familiarize ourselves with some of the important tools of discrete mathematics.

Section 1.2: Number Puzzles and Sequences

Ways to write sequences

First of all: There is not enough information! (remember:exactness) Could always imply a rule switch after n elements.

A sequence is a function that maps the natural numbers (1,2,3,...) into another set, often the real numbers.

Common naming: a_n (like function a(n) in calculus)

Ways to write down sequences:

Can we discover each type of description for the examples above?

Definition A recursive formula for a sequence is a formula where each term is described in relation to (its position and) a previous term (or terms!) of the sequence. This type of description must include enough information on how the list begins for the recursive relationship to determine every subsequent term in the list. This is also sometimes called a recurrence relation.

Definition A closed formula for a sequence is a formula where each term is described only in relation to its position in the list.

Important examples

Example [Fibonacci] Given: F_1=1, F_2=2, F_n=F_{n-1}+F_{n-2}

F_n=\frac{1}{\sqrt5}\left(\left(\frac{1+\sqrt5}2\right)^n - \left(\frac{1-\sqrt5}2\right)^n\right)

But why? Even if we accept this result as having fallen from the sky, how could we convince ourselves that it is correct? (Substitute into recursive def.)

Example [Gauss]

a_1=1, \qquad a_n=a_{n-1}+n

Natural-language description?

Trick: increasing/decreasing order

Alt. Trick: triangular geometric view

Remark Which is difficult? Recursive \rightarrow closed? Close \rightarrow recursive?

More notation

Sequences of the form

a_0=0, \qquad a_n=a_{n-1}+\text{(increment)}

occur quite often, with different increments. Here is a different way of writing them:

Definition A sequence of the form

a_0=0, \qquad a_n=a_{n-1}+b_n

may be equivalently written as

a_n = \sum_{i=1}^n b_i

or, less formally, as

a_n=b_1+b_2+\cdots+b_n.

This is often called sum notation or sigma notation. Does this constitute closed form? The base index (1 above) may vary. Note that in \sum_{i=m}^n a_i, always m\le n, otherwise the sum evaluates to zero.