[转]Mathematical Induction --数学归纳法1
Mathematical Induction
Mathematical Induction is a special way of proving things. It has only 2 steps:
- Step 1. Show it is true for the first one
- Step 2. Show that if any one is true then the next one is true
Then all are true

Have you heard of the "Domino Effect"?
- Step 1. The first domino falls
- Step 2. When any domino falls, the next domino falls
So ... all dominos will fall!
That is how Mathematical Induction works.
In the world of numbers we say:
- Step 1. Show it is true for n=1
- Step 2. Show that if n=k is true then n=k+1 is also true
How to Do it
Step 1 is usually easy, we just have to prove it is true for n=1
Step 2 is best done this way:
- Assume it is true for n=k
- Prove it is true for n=k+1 (we can use the n=k case as a fact.)
Step 2 can often be tricky ... because we may need to use imaginative tricks to make it work!
Like in this example:
Example: 3n−1 is a multiple of 2
Is that true? Let us find out.
1. Show it is true for n=1
31−1 = 3−1 = 2
Yes 2 is a multiple of 2. That was easy.
31−1 is true
2. Assume it is true for n=k
3k−1 is true
(Hang on! How do we know that? We don't!
It is an assumption ... that we treat
as a fact for the rest of this example)
Now, prove that 3k+1−1 is a multiple of 2

3k+1 is also 3×3k
And then split 3× into 2× and 1×
And each of these are multiples of 2
Because:
- 2×3k is a multiple of 2 (we are multiplying by 2)
- 3k−1 is true (we said that in the assumption above)
So:
3k+1−1 is true
DONE!
Did you see how we used the 3k−1 case as being true, even though we had not proved it? That is OK, because we are relying on the Domino Effect ...
... we are asking if any domino falls will the next one fall?
So we take it as a fact (temporarily) that the "n=k" domino falls (i.e. 3k−1 is true), and see if that means the "n=k+1" domino will also fall.
Tricks
I said before that we often need to use imaginative tricks.
A common trick is to rewrite the n=k+1 case into 2 parts:
- one part being the n=k case (which is assumed to be true)
- the other part can then be checked to see if it is also true
We did that in the example above, and here is another one:
Example: Adding up Odd Numbers
1 + 3 + 5 + ... + (2n−1) = n2
1. Show it is true for n=1
1 = 12 is True
2. Assume it is true for n=k
1 + 3 + 5 + ... + (2k−1) = k2 is True
(An assumption!)
Now, prove it is true for "k+1"
1 + 3 + 5 + ... + (2k−1) + (2(k+1)−1) = (k+1)2 ?
We know that 1 + 3 + 5 + ... + (2k−1) = k2 (the assumption above), so we can do a replacement for all but the last term:
k2 + (2(k+1)−1) = (k+1)2
Now expand all terms:
k2 + 2k + 2 − 1 = k2 + 2k+1
And simplify:
k2 + 2k + 1 = k2 + 2k + 1
They are the same! So it is true.
So:
1 + 3 + 5 + ... + (2(k+1)−1) = (k+1)2 is True
DONE!
So there you have it!
Copyright © 2014 MathsIsFun.com
[转]Mathematical Induction --数学归纳法1的更多相关文章
- [中英双语] 数学缩写列表 (List of mathematical abbreviations)
List of mathematical abbreviations From Wikipedia, the free encyclopedia 数学缩写列表 维基百科,自由的百科全书 This ar ...
- Lecture notes of Mathematical analysis
Lecture notes of Mathematical analysis Preliminary theory Teaching purpose: Mathematical analysis is ...
- Introduction to Mathematical Thinking - Week 6 - Proofs with Quantifieers
Mthod of proof by cases 证明完所有的条件分支,然后得出结论. 证明任意 使用任意 注意,对于一个任意的东西,你不知道它的具体信息.比如对于任意正数,你不知道它是 1 还是 2等 ...
- c语言求平面上2个坐标点的直线距离、求俩坐标直线距离作为半径的圆的面积、递归、菲波那次数列、explode
#include <stdio.h> #include <math.h> #include <string.h> char explode( char * str ...
- 【具体数学--读书笔记】1.1 The Power of Hanoi
这一节借助汉诺塔问题引入了"Reccurent Problems". (Reccurence, 在这里解释为“the solution to each problem depend ...
- Python算法:推导、递归和规约
Python算法:推导.递归和规约 注:本节中我给定下面三个重要词汇的中文翻译分别是:Induction(推导).Recursion(递归)和Reduction(规约) 本节主要介绍算法设计的三个核心 ...
- 蓝眼睛与红眼睛(The blue-eyed islanders puzzle)
澳大利亚的华裔数学神童陶哲轩曾在网上贴出来一个问题 The blue-eyed islanders puzzle 让大家思考,逗大家玩儿. 说一个岛上有100个人,其中有5个红眼睛,95个蓝眼睛.这个 ...
- A.Kaw矩阵代数初步学习笔记 10. Eigenvalues and Eigenvectors
“矩阵代数初步”(Introduction to MATRIX ALGEBRA)课程由Prof. A.K.Kaw(University of South Florida)设计并讲授. PDF格式学习笔 ...
- MOOCULUS微积分-2: 数列与级数学习笔记 5. Another comparison test
此课程(MOOCULUS-2 "Sequences and Series")由Ohio State University于2014年在Coursera平台讲授. PDF格式教材下载 ...
随机推荐
- Xcode真机调试出现The account '***' has no team with ID '***'的解决方案
前段时间,想用真机调试的时候出现 The account '***' has no team with ID '***'的问题, 以前页真机调试过,没有这种情况,于是我登陆开发者中心,进去发现说我的账 ...
- 实战Nginx与PHP(FastCGI)的安装、配置与优化
一.什么是 FastCGIFastCGI是一个可伸缩地.高速地在HTTP server和动态脚本语言间通信的接口.多数流行的HTTP server都支持FastCGI,包括Apache.Nginx和l ...
- JavaScript Array对象sort() 方法小结
sort() 方法用于对数组的元素进行排序. 语法arrayObject.sort(sortfunction) 参数sortfunction 可选.规定排序顺序.必须是函数. 返回值对数组的引用.请注 ...
- idea初使用之配置使用maven仓库
idea使用的理由已经无需多说.现在已经超过了eclipse.java开发种占有44%.第一次使用上手还是挺难的.跟用惯了myeclipse的我来说.对于project的概念深入人心.还理解不了它的M ...
- QT 做软件盘
最近搞了一个组织细胞脱水机项目,当然,对于国内的项目都是仿来仿去的,我们也不例外,开启被仿机器后,第一个看到的界面就是用户登录界面,需要输入中文,作为一个程序员,我的第一反应就是我需要采用什么用的框架 ...
- 执行最慢的SQL语句
---执行最慢的SQL语句SELECT top 20(total_elapsed_time / execution_count)/1000 N'平均时间ms',total_elapsed_time/1 ...
- 使用CSDN Code将网站部署到Windows Azure Website上
在云计算时代,开发和部署应该是完全统一和集成的.在海外,开发者可以用github来管理他们的代码,并且直接部署到Windows Azure上.随着Windows Azure在国内的发布,我们发现,其实 ...
- SQLSERVER跨数据库操作 ---- sp_addlinkedserver
由于项目需要跨数据库进行相应的sql操作(这里遇到的是sqlserver的A库,到sqlserver的B库) sp_addlinkedserver [ @server = ] ' server ' [ ...
- 在gridControl的单元格中的多行文本
我们知道,gridcontrol里面的单元格默认是不能换行的,但是有时候我们需要显示要换行的文本,应该怎么处理呢?这里提供一个方案: 假设我有一个列”合同文本“(colContractText),我要 ...
- 数据库DDL语句书写规范
数据库DDL语句书写规范 1.SQL语句编写说明编写SQL语句应遵循统一的规范,包括大小写.空格.换行.缩进等等,只有完全一样的SQL才能在数据库中共享,从而减少硬解析. 字段类型.长度:根据数据情况 ...