160 likes | 299 Views
Chapter 3. Mathematical Reasoning. 3.1 Methods of proof. A theorem is a statement that can be shown to be true. A proof is to demonstrate that a theorem is true with a sequence of statements that form an argument.
E N D
Chapter 3. Mathematical Reasoning 3.1 Methods of proof • A theorem is a statement that can be shown to be true. • A proof is to demonstrate that a theorem is true with a sequence of statements that form an argument. • An axiom or postulate is the underlying assumption about mathematical structures, the hypothesis of the theorem to be proved, and previously proved theorems. • The rulesof inference are the means used to draw conclusion from other assertions which tie together the steps of a proof. • A lemma is a simple theorem used in the proof of other theorems. • A corollary is a proposition that can be established directly from a theorem that has been proved. • A conjecture is a statement whose truth is unknown. When its proof is found, it becomes a theorem.
hypotheses conclusion Example 1 It is snowing today. If it snows today, then we will go skiing. We will go skiing. • Rules of Inference The rules of inference provide the justification of the steps used to show that a conclusion follows logically from a set of hypotheses. • Basis of the rule of inference: the law of detachment
Example 2 Solution Example 3 Example 4 Solution
Solution p: It is sunny this afternoon. q Example 5 Example 6 r s t Show the following hypotheses : (1) It is not sunny this afternoon and it is colder than yesterday. (2)We will go swimming only if it is sunny. (3) If we do not go swimming, then we will take a canoe trip. (4) If we take a canoe trip, then we will be home by sunset. lead to the conclusion “We will be home by sunset”.
p q r s Example 7 • Show that the hypotheses • If you send me an e-mail message, • then I will finish writing the program, • (2) If you do not send me an e-mail massage, then I will go to sleep early, • (3) If I go to sleep early, then I will wake up feeling refreshed • lead to the conclusion “If I do not finish • writing program, then I will wake up • feeling refreshed”.
Use mathematical induction! Mathematical induction is used to prove the form Where the universe of discourse is the set of positive integers. • Basis step. The proposition P(1) is shown to be true. • Inductive step. The implication 3.2 Mathematical Induction How to prove 1+2+…+n=n(n+1)/2 for n=1,2,…? The Well-Ordering Property Every nonempty set of nonnegative integers has a least element. Mathematical Induction(1)
Law of detachment P(n) Example 1 = 2 Basis step : We prove P(1) is true. 1 1 . Therefore, P(1) is true. + Inductive step : Assuming P(k) is true, we prove P(k 1 ) is true. + + + + - + + 1 3 5 ( 2 k 1 ) ( 2 k 1 ) L = + + = + 2 2 k ( 2 k 1 ) ( k 1 ) + Therefore, for any k if P(k) is true then P(k 1 ) is true. Why does Mathematical induction work? P(1)
P(n) Use Mathematical induction to prove the inequality Example 2
Mathematical Induction(2) P(n) Mathematical induction is used to prove the form Where the universe of discourse is the set of contiguous integers: m,m+1,m+2,…. Example 3 • Basis step. The proposition P(m) is shown to be true. • Inductive step. The implication Use Mathematical induction to prove that
Example 4 Sums of Geometric Progressions Use Mathematical induction to prove the following formula: P(n)
Example 5 Inequality for Harmonic Numbers. Use Mathematical induction to prove that P(n)
Example 6 The numbers of Subsets of a Finite Set Use Mathematical induction to prove that P(n) X X
Example 1 Function f is recursively defined by f(0)=3, f(n+1)=2f(n)+3. Find f(1),f(2) and f(3). 3.3 Recursive Definitions Recursive definitions: defining an object by itself. Recursively defined functions • To define a function with these of nonnegative integers as its domain, • Specify the value of the function at zero. • Give a rule for finding its value at an integer from its values at smaller integers. • Such a definition is called a recursive or inductive definition. f(1)=2f(0)+3=9, f(2)=2f(1)+3=21, f(3)=2f(3)+3=93.
Example 2 Give an inductive definition of the factorial function F(n)=n!. Example 3 Solution F(0)=1 F(n+1)=(n+1)F(n)
Example 4 Example 5