1. Trang chủ
  2. » Giáo án - Bài giảng

Discrrete mathematics for computer science 12induction

11 91 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 11
Dung lượng 292,19 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Like Dominos…Click to edit Master text styles Second level Third level Fourth level Fifth level.

Trang 1

Induction

Trang 2

The Idea of Induction

0, 1, 2, 3, 4, 5, …

then you know that

all the ints are red !

Trang 3

Induction Rule

R ( 0 ), R ( 1 ), R ( 2 ),…, R ( n ),…

R ( 0 )

and (" n) ( R ( n )fi R ( n+1 ))

(" m) R ( m )

Trang 4

Like Dominos…

Click to edit Master text styles

Second level

Third level

Fourth level

Fifth level

Trang 5

Example Induction Proof

Let’s prove:

r-1

(for r ≠ 1)

Trang 6

Statements in magenta form a

template for inductive proofs:

• Proof: (by induction on n )

• The induction hypothesis, P( n ) , is:

Example Induction Proof

1+r +r + +r =

r-1 L

(for r ≠ 1)

Trang 7

Base Case (n = 0):

r - 1

= =

r - 1 1

L

0+1

1+r +r + +r =

r - 1

Example Induction Proof

1

OK!

Trang 8

• Inductive Step: Assume P ( n ) for some n ≥ 0

and prove P ( n+1 ) :

Example Induction Proof

+1

n+ 1 r ( ) - 1

r - 1 L

Trang 9

Now from induction

hypothesis P(n) we have

1+r +r + +r =

r - 1

Example Induction Proof

so add rn+1 to both sides

Trang 10

adding rn+1 to both sides,

n+1 n+1

+1

(n+1)

r - 1+r (r - 1)

=

r - 1

r - 1

=

r - 1

r - 1

L

Example Induction Proof

This proves

P(n+1)

completing the

proof by induction.

Trang 11

“” is an ellipsis.

Can lead to confusion (n = 0 ?)

• Sum notation more precise

Means you

an aside: ellipsis

∑n i i=0

L

1+r +r + +r

Ngày đăng: 22/03/2019, 10:51

TỪ KHÓA LIÊN QUAN