⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 content-4-1-1.htm

📁 实用的离散数学课件
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<html>
<head>
<title>guanxigainian</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.unnamed1 {  font-size: 9pt; line-height: 15pt}
.unnamed2 {  font-size: 10pt; font-weight: bold}
-->
</style>
</head>

<body bgcolor="#FFFFFF" background="IMAGE/di.gif">



<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
      <p style="line-height: 150%" align="center"><b><font size="5">基本概念</font></b> </p>
      <p style="line-height: 150%"><b>一、<a name="content-4-1-1-guanxi"></a>关系</b></p>
      <p style="line-height: 150%">&nbsp; 是指<a href="content-2-1-1.htm#content-2-1-1-keti">个体</a>之间的相互联系,是一种普遍存在的现象。</p>              
      <p style="line-height: 150%">&nbsp; 例:集合A={a,b,c,d}表示4位学生,B={x,y}表示两门课程,4位学生的选课情况如下:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>              
      <div align="center">              
        <center>              
        <table border="1" width="44%">              
          <tr>              
            <td width="50%" align="center">a</td>              
            <td width="50%" align="center">x</td>              
          </tr>              
          <tr>              
            <td width="50%" align="center">b</td>              
            <td width="50%" align="center">x</td>              
          </tr>              
          <tr>              
            <td width="50%" align="center">c</td>              
            <td width="50%" align="center">y</td>              
          </tr>              
          <tr>              
            <td width="50%" align="center">d</td>              
            <td width="50%" align="center">x</td>              
          </tr>              
        </table>              
        </center>              
      </div>              
      <p style="line-height: 150%">&nbsp;               
      则用序偶的方法来表示就是:C={&lt;a,x&gt;,&lt;b,x&gt;,&lt;c,y&gt;,&lt;d,x&gt;}</p>              
      <p style="line-height: 150%">&nbsp; 而A<img border="0" src="image/cheng.GIF" width="13" height="14">B={&lt;a,x&gt;,&lt;b,x&gt;,&lt;c,x&gt;,&lt;d,x&gt;,&lt;a,y&gt;,&lt;b,y&gt;,&lt;c,y&gt;,&lt;d,y&gt;}</p>              
      <p style="line-height: 150%" align="center">C<img border="0" src="image/baohan.gif" width="11" height="10">A<img border="0" src="image/cheng.GIF" width="13" height="14">B</p>              
      <p style="line-height: 150%"><b>1、n元关系</b></p>              
      <p style="line-height: 150%">&nbsp; 笛卡尔积<img border="0" src="image/a1.gif" width="12" height="15" ><img src="image/cheng.GIF" width="13" height="14">…<img src="image/cheng.GIF" width="13" height="14"><img border="0" src="image/an.gif" width="14" height="15">               
      的任意子集称为一个<img border="0" src="image/a1.gif" width="12" height="15" >,…,<img border="0" src="image/an.gif" width="14" height="15">               
      上的<b>n元关系</b></p>              
      <p style="line-height: 150%"><b>2、<a name="content-4-1-1-eryuanguanxi"></a>二元关系</b></p>              
      <p style="line-height: 150%">&nbsp; 任意一个<img border="0" src="image/a1.gif" width="12" height="15" ><img src="image/cheng.GIF" width="13" height="14"><img border="0" src="image/a2.gif" width="14" height="15">的子集均为一个二元关系,称为<img border="0" src="image/a1.gif" width="12" height="15" >到<img border="0" src="image/a2.gif" width="14" height="15">的二元关系,记为:</p>              
      <p style="line-height: 150%" align="center">R={&lt;x,y&gt;|x<img border="0" src="image/shuyu.gif" width="13" height="11"><img border="0" src="image/a1.gif" width="12" height="15" ><img border="0" src="image/hequ.gif" width="9" height="11">y<img border="0" src="image/shuyu.gif" width="13" height="11"><img border="0" src="image/a2.gif" width="14" height="15">}</p>              
      <p style="line-height: 150%" align="left">&nbsp; 这里,<img border="0" src="image/a1.gif" width="12" height="15" >称为R的前域,<img border="0" src="image/a2.gif" width="14" height="15">称为R的培域,</p>              
      <p style="line-height: 150%" align="left">&nbsp; 当&lt;x,y&gt;<img border="0" src="image/shuyu.gif" width="13" height="11">R,时通常也可以写成               
      xRy.</p>              
      <p style="line-height: 150%" align="left">&nbsp; 例: 关系R={&lt;1,2&gt;,&lt;a,b&gt;},可记为               
      1R2 aRb</p>              
      <p style="line-height: 150%" align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;               
      设,A={1,3,5,a,b},B={2,4,6,a,b},可以称R为A到B的一个关系.</p>              
      <p style="line-height: 150%" align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;               
      设,A={1,2,3,a,b},可以称R为A上的二元关系.</p>              
      <p style="line-height: 150%">&nbsp;<b>3、定义域和值域</b></p>              
      <p style="line-height: 150%">&nbsp; <b>定义域:</b>设R为A到B的一个关系,如果有y使得&lt;x,y&gt;<img border="0" src="image/shuyu.gif" width="13" height="11">R,则所有的x构成的集合称为R的定义域,记为</p>              
      <p style="line-height: 150%" align="center">Dom(R)={x|<img border="0" src="Image/cunzai.gif" width="7" height="11">y(y<img border="0" src="image/shuyu.gif" width="13" height="11">B<img border="0" src="image/hequ.gif" width="9" height="11">&lt;x,y&gt;<img border="0" src="image/shuyu.gif" width="13" height="11">R}</p>              
      <p style="line-height: 150%">&nbsp; <b>值域:</b>设R为A到B的一个关系,如果有x使得&lt;x,y&gt;<img border="0" src="image/shuyu.gif" width="13" height="11">R,则所有的y构成的集合称为R的值域,记为</p>              
      <p style="line-height: 150%" align="center">Ran(R)={y|<img border="0" src="Image/cunzai.gif" width="7" height="11">x(x<img border="0" src="image/shuyu.gif" width="13" height="11">A<img border="0" src="image/hequ.gif" width="9" height="11">&lt;x,y&gt;<img border="0" src="image/shuyu.gif" width="13" height="11">R}</p>              
      <p style="line-height: 150%" align="center">所以,Dom(R)<img border="0" src="image/shuyu.gif" width="13" height="11">A,               
      Ran(R)<img border="0" src="image/shuyu.gif" width="13" height="11">B</p>              
      <p style="line-height: 150%"><b>4、关系的个数</b></p>              
      <p style="line-height: 150%">&nbsp; 集合A上的关系的个数依赖于A种元素的个数,即A的基数,</p>              
      <p style="line-height: 150%">设|A|=n,</p>             
      <p style="line-height: 150%">&nbsp; |A<img src="image/cheng.GIF" width="13" height="14">A|=<img border="0" src="Image/nde2.gif" width="14" height="14">,</p>            
      <p style="line-height: 150%">&nbsp; A<img src="image/cheng.GIF" width="13" height="14">A的子集的个数为<img border="0" src="Image/2dende2.gif" width="17" height="16">,</p>            
      <p style="line-height: 150%">所以,A上有<img border="0" src="Image/2dende2.gif" width="17" height="16">个不同的二元关系</p>            
      <p style="line-height: 150%">如:|A|=3,则A上有512个不同的二元关系。</p>            
      <p style="line-height: 150%"> </p>            
      <p style="line-height: 150%"><b>5、三种特殊的关系</b></p>            
      <p style="line-height: 150%">&nbsp; (1)空关系 <img border="0" src="Image/kong.gif" width="11" height="11">             
      (即为空集)</p>            
      <p style="line-height: 150%">&nbsp; (2)全关系 <img border="0" src="Image/Ea.gif" width="17" height="15">={&lt;x,y&gt;|(x<img src="image/shuyu.gif" width="13" height="11">A)<img src="image/hequ.gif" width="9" height="11">(y<img src="image/shuyu.gif" width="13" height="11">A)}=A<img src="image/cheng.GIF" width="13" height="14">A</p>          
      <p style="line-height: 150%">&nbsp; (3)恒等关系 <img border="0" src="Image/Ia.gif" width="14" height="15">={&lt;x,x&gt;|x<img src="image/shuyu.gif" width="13" height="11">A}</p>          
      <p style="line-height: 150%">如: A={a,b}</p>          
      <p style="line-height: 150%">则<img border="0" src="Image/Ea.gif" width="17" height="15">={&lt;a,a&gt;,&lt;a,b&gt;,&lt;b,a&gt;,&lt;b,b&gt;}<br>          
      &nbsp; <img border="0" src="Image/Ia.gif" width="14" height="15">={&lt;a,a&gt;,&lt;b,b&gt;}</p>          
      <p style="line-height: 150%"> </p>    
      <p style="line-height: 150%"><b>6、关系的<img border="0" src="Image/bing.gif" width="14" height="14">、<img border="0" src="Image/jiao.gif" width="14" height="15">、-          
      运算</b></p>         
      <p style="line-height: 150%"><b>&nbsp;&nbsp;&nbsp; </b>二元关系也是一个集合,所以也有<img border="0" src="Image/bing.gif" width="14" height="14">、<img border="0" src="Image/jiao.gif" width="14" height="15">、-          
      运算。</p>         
      <p style="line-height: 150%">&nbsp;&nbsp;&nbsp; 设:R、S为两个二元关系,则</p>         
      <ul>         
        <li>         

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -