`

Dividing The Plane 直线划分平面

 
阅读更多
A line dividesthe plane into two pieces (regions). Draw another line. The plane is nowdivided into three or four regions. It is three regions if the lines areparallel, four if they intersect. For the purposes of this article, we want thegreatest number of regions. So, two lines, four regions. A third line dividesthe plane into seven regions (See the diagram). The results, so far:
lines regions
1 2
2 4
3 7

Using a little algebra, we can find an equation for the first three lines:

R(n) = an² + bn + c
2 =  a +  b + c
4 = 4a + 2b + c
7 = 9a + 3b + c
...
R(n) = (n²+n+2)/2

We see, from the diagram, that four lines produces eleven regions. So wesee that our formula works for four lines. And we suspect that it is valid ingeneral. How do we prove that?

Let's say that we've got n lines (for some arbitrary n). Andwe add an n+1th line. That line goes throughregion-line-region-line-...-line-region. It went through n lines andn+1 regions (assuming that all of the lines intersect). For each regionthat it went through, it added a region (split that region into two regions).So it added n+1 regions. So, we've just proved the rule: R(n+1)=R(n)+ n + 1.

Our earlier formula, which works for some n, is:

R(n) = (n²+n+2)/2

What is R(n+1), by that formula?

R(n+1) = [(n+1)² + (n+1) + 2]/2
       = (n²+3n+4)/2
       = (n²+n+2)/2 + n + 1

In other words:

R(n+1) = R(n) + n + 1

So, our formula follows the rule R(n+1)=R(n) + n + 1. This meansthat we have actually proved our formula, by Mathematical Induction. Ourformula works for the first case (n=1). And we showed that if theformula works for some n, then it works for n+1.

By using Mathematical Induction, we have shown that if our formula worksfor n=1 (which it does), then it works for n=2. And if it worksfor n=2, then it works for n=3. And if it works for n=3,then it works for n=4, etc. In other words, it works for all, infinitelymany cases, from 1 on up.


Our formula, R(n)=(n²+n+2)/2 is an integer divided by 2. Doesit always give us an integer for R(n)? It should, because we never endup with a fraction of a region. Well, if n is even, then is even and n²+n+2 is even, we get an integer when we divide by 2.If n is odd, then is odd and n²+n+2 is even,we get an integer when we divide by 2.

Incidentally, our formula works for n=0. With no lines, we find thatthe plane is divided into one region. In our proof, we could have saved alittle effort, by using n=0 as the first case.

Notice: 100 lines divide the plane into 5051 regions. See my article,How To Be A Little Gauss, for an amazing"coincidence." Also notice that 1000 lines divide the plane into500501 regions. This article was actually the inspiration for that article.

© Copyright 1997, Jim Loy http://www.jimloy.com/geometry/plane.htm
分享到:
评论

相关推荐

    二级减速器课程设计说明书reducer design specification.doc

    But because the gear relative to the bearing of the two-stage cylindrical gear reducer is arranged asymmetrically, the load distribution along the tooth direction is uneven, and the shaft stiffness ...

    Two-dimensional vision measurement approach based on local sub-plane mapping

    The plane calibration is performed by dividing the calibration plane into sub-planes, and there exists an approximate affine invariance between each small sub-plane and the corresponding image plane....

    Simple Dividing Number Game

    "Simple Dividing Number Game" 是一个使用JavaScript编写的数字除法游戏,旨在通过游戏化学习的方式帮助用户提高对数字和除法的理解。这个游戏的核心概念是让玩家面对一系列数学问题,这些问题涉及将一个数字除以另...

    pku acm 1014 Dividing 代码

    Pku acm 第1014题 Dividing c代码,有详细的注释,动态规划

    yaffs2源码文件

    YAFFS is a log-structured ...is determined by dividing the file position by the chunk size. Each chunk has a number of valid bytes, which equals the page size for all except the last chunk in a file.

    Qt widgets-基本控件使用示例

    QGridLayout lays out widgets in cells by dividing the available space into rows and columns. QFormLayout, on the other hand, sets its children in a two-column form with labels in the left column and ...

    On dividing rectangles into rectangles

    本文探讨的是由路易斯安那州立大学数学系的Joshua Smith和Helena Verrill共同撰写的论文《On dividing rectangles into rectangles》。该论文主要关注如何计算将一个具有整数边长的矩形分割成多个同样具有整数边长的...

    POJ1014-Dividing【DFS】【多重背包+二进制优化】

    标题中的“POJ1014-Dividing”是指北京大学在线编程平台POJ(Problemset Online Judge)上的一个问题编号为1014的题目。这个题目通常会涉及到计算机科学和算法设计,特别是优化问题的解决方案。这里的关键词是“DFS...

    Java邮件开发Fundamentals of the JavaMail API

    receiving messages by dividing the API into two parts: * The first part of the API is the focus of this course --basically, how to send and receive messages independent of the provider/protocol. ...

    The.Definitive.Guide.to.SWT.and.JFace.eBook-LiB

    《SWT和JFace开发指南》是一本深入探讨Eclipse RCP(Rich Client Platform)开发技术的专业书籍。这本书主要关注两个关键组件:SWT(Standard Widget Toolkit)和JFace,它们是Eclipse平台中用于构建桌面应用程序的...

    convhull_3d:Quickhull算法的仅标头C实现,用于构建3-D凸包

    这个库的实现可能包括一些关键函数,如`init_quickhull()`用于初始化算法,`find_dividing_plane()`用于寻找划分点集的超平面,以及`update_hull()`用于更新凸包边界等。这些函数的内部逻辑会涉及到线性代数,如计算...

    Multiplying and Dividing Matrices Element-by-Element.zip

    标题“Multiplying and Dividing Matrices Element-by-Element”表明我们将学习如何对矩阵的每个对应元素进行运算,而不是对整个矩阵进行运算。描述中的“Matlab Tutorial - 39 - Multiplying and Dividing Matrices...

    基于FPGA的简易逻辑分析仪的设计与仿真完整设计.pdf

    By dividing the task into smaller, manageable modules and thoroughly simulating each part, the designer ensures the reliability and functionality of the final system, making it a valuable ...

    基于Fluent下的室内通风环境中不同颗粒物的扩散特性

    dividing the computational domain into grids to enable the numerical simulations; defining appropriate boundary conditions to reflect the influx of particles from outside and the outflow through ...

    Academci Reference of MUN

    RULE 3: Quorum A two-thirds majority which is calculated by dividing the number of all Member States in plenary sessions or Committees by three and multiply by two (rounding up on fractions) shall ...

    大气水文耦合模型

    in the annual runoff from 1964 to 2008 by first dividing the long-term runoff series into a natural period (1964–1979) and a human-induced period (1980–2008). Then the three quantifying methods ...

    hdoj.rar_Dividing HDOJ_OJ 1082_hdoj 10_杭电oj_杭电oj1000

    【标题】"hdoj.rar_Dividing HDOJ_OJ 1082_hdoj 10_杭电oj_杭电oj1000" 涉及的知识点主要围绕着“杭电在线判题系统(HDOJ)”以及其中的题目1082和10系列题目。HDOJ是杭州电子科技大学主办的一个在线编程竞赛平台,...

    java第二次试验

    The code uses the `float` data type to store the sum of the numbers, and then calculates the average by dividing the sum by 5. The program also calculates the square root of the average using the `...

    cuit大数据实验3 111111111111111

    MAPREDUCE 实验报告 This report summarizes the experiment on ... The experiment also highlights the importance of partitioning in dividing the output into multiple files based on specific criteria.

    微软内部资料-SQL性能优化5

    The only source of any storage location information is the sysindexes table, which keeps track of the address of the root page for every index, and the first IAM page for the index or table....

Global site tag (gtag.js) - Google Analytics