离散数学关系的性质_关系和关系的性质| 离散数学

离散数学关系的性质

笛卡尔积(A * B不等于B * A) (Cartesian product (A*B not equal to B*A))

Cartesian product denoted by * is a binary operator which is usually applied between sets. It is a set of ordered pairs where the first member of the pair belongs to the first set and the second member of the pair belongs second sets.

*表示的笛卡尔积是二进制运算符,通常应用于集合之间。 它是一组有序对,其中该对的第一成员属于第一集合,而该对的第二成员属于第二集合。


If,
|A|     = m |B| = n
|A*B|   = mn 


Example:

例:

    A = {1,2}  B = {a, b, c}
A * B = { (1,a), (1,b), (1,c), (2,a), (2,b), (2,c)}

关系 (Relation)

The word relation suggests some familiar example relations such as the relation of father to son, mother to son, brother to sister etc. Familiar examples in arithmetic are relation such as "greater than", "less than", or that of equality between the two real numbers.

关系一词表示一些熟悉的示例关系,例如父亲与儿子的关系,母亲与儿子的关系,兄弟与姐妹的关系等。算术中的常见示例是诸如“大于”“小于”或关系之间相等的关系。两个实数。

Here, we shall only consider relation called binary relation, between the pairs of objects. Before we give a set-theoretic definition of a relation we note that a relation between two objects can be defined by listing the two objects an ordered pair.

在这里,我们将仅考虑对象对之间的称为二进制关系的关系。 在给出关系的集合理论定义之前,我们注意到可以通过将两个对象按有序对列出来定义两个对象之间的关系。

Definition:

定义:

Any set of ordered pairs defines a binary relations. We shall call a binary relation simply a relation. It is sometimes convenient to express the fact that particular ordered pair say (x,y) E R where, R is a relation by writing xRY which may be read as "x is a relation R to y".

任何一组有序对都定义了二进制关系。 我们将二元关系简称为关系。 通过写xRY可以表达特定的有序对说(x,y)ER的事实,其中R是一个关系,可以读为“ x是R与y的关系”

Example:

例:

The relation of father to his child can be described by a set , say ordered pairs in which the first member is the name of the father and second the name of his child that is:

父亲与他的孩子的关系可以用集合(例如有序对)描述,其中第一个成员是父亲的名字,第二个成员是他的孩子的名字,即:

F = { (x , y) |x is the father of y}

F = {(x,y)| x是y的父亲}

(Domain)

Let, S be a binary relation. The set D(S) of all objects x such that for some y, (x,y) E S is said to be the domain of S.

S为二元关系。 所有对象x的集合D(S)使得对于某个y(x,y)ES被称为S的域。

范围 (Range)

The set R(S) of all objects y such that for some x, (x,y) E S said to be the range of S.

所有对象y集合R(S) ,使得对于某些x(x,y)ES表示为S的范围。

Let r A B be a relation

令r AB为关系

    DOM(R) = {a|(a, b)E R for some b E B} 
Range(R) = {b |(a, b) E R } for some

Properties of binary relation in a set

集合中二进制关系的属性

There are some properties of the binary relation:

二进制关系具有一些属性:

  1. A binary relation R is in set X is reflexive if , for every x E X , xRx, that is (x, x) E R or R is reflexive in X <==> (x) (x E X -> xRX).

    如果对于每个x EXxRx ,即(x,x)ERRX <==>(x)(x EX-> xRX)中是自反的,则集合X中的二元关系R是自反的。

    The relation

    关系

    =< is reflexive in the set of real number since for nay x we have x<= X similarly the relation of inclusion is reflexive in the family of all subsets of a universal set.

    = <在实数集中是自反的,因为对于不存在x,我们有x <= X类似地,包含关系在通用集的所有子集的族中也是自反的。

  2. A relation R is in a set X is symmetric if for every x and y in x whenever xRy then yRX that is R is a symmetric in x.

    关系R是一组X是对称的,如果对于x中的每个xy每当XRY然后YRXRX对称。

    The relation

    关系

    <= and < are not symmetric i the set of real number while the relation of equality is.

    <=<不是对称i中的一组实数,而等式的关系。

  3. A relation R in a set x is transitive if for every x, y and z in X whenever xRy and yRx then xRz that is R is transitive in X.

    关系R中的一组X是传递的,若对所有x,yzX每当XRYYRX然后XRZR为传递在X。

    The relation

    关系

    <= < and = are transitive in the set of real numbers. The relations and equality are also transitive in the family of a subset of a universal set.

    <= <=在实数集中是可传递的。 关系和平等在通用集的子集的族中也是可传递的。

翻译自: https://www.includehelp.com/basics/relation-and-the-properties-of-relation-discrete-mathematics.aspx

离散数学关系的性质

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/545994.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

HTML,,,音乐,html embed用法

第一种&#xff1a;在页面代码中的<head></head>之间加入<bgsound src"音乐url" loop"-1"> 这段代码。 在这里要说的是&#xff0c;“loop”中的数值是音乐循环的次数&#xff0c;可设置为任意正整数&#xff0c;若设为“-1”的话&#…

少年开始学习c#编程,过路的大神请担待!

这应该真正算开始学习编程&#xff0c; 安装好了 linux&#xff0c; 开通了博客员的博客&#xff0c; 同时今天也需要把sublime安好&#xff0c; 安装MonoDevelop Codeblocks mysql-workbench 配置好相应的c#的环境&#xff0c; 在linux下安装了vmware&#xff0c; 也安装了一个…

池化技术到达有多牛?看了线程和线程池的对比吓我一跳!

这是我的第 82 篇原创文章作者 | 王磊来源 | Java中文社群&#xff08;ID&#xff1a;javacn666&#xff09;转载请联系授权&#xff08;微信ID&#xff1a;GG_Stone&#xff09;情商高的人是能洞察并照顾到身边所有人的情绪&#xff0c;而好的文章应该让所有人都能看懂。尼采曾…

小型elf Hello,World程序

参考链接&#xff1a;http://timelessname.com/elfbin/ 环境要求&#xff1a;linux gcc nasm hexcurse&#xff08;用来修改elf文件内容&#xff09; 先尝试用C语言写"Hello,World"程序(名为chello.c)&#xff1a; #include <stdio.h> int main(void) {printf…

spearman相关性_Spearman的相关性及其在机器学习中的意义

spearman相关性This article is about correlation and its implication in the machine learning. In my previous article, I have discussed Pearson’s correlation coefficient and later we have written a code to show the usefulness of finding Pearson’s correlati…

[java] 找出字符串中出现最多的字符和出现的次数

逛园子看到一童鞋做的华为上机题目&#xff0c;写来好长的代码&#xff0c;懒得看&#xff0c;感觉不可能这么难&#xff0c;于是动手敲了下。 import java.util.Scanner;public class StringTest {/*** param args*/public static void main(String[] args) {// TODO Auto-gen…

WIN7开启WIFI

开启windows 7的隐藏功能&#xff1a;虚拟WiFi和SoftAP&#xff08;即虚拟无线AP&#xff09;&#xff0c;就可以让电脑变成无线路由器&#xff0c;实现共享上网&#xff0c;节省网费和路由器购买费。主机设置如下&#xff1a; 【第一步】开始->在搜索栏中输入‘CMD’->右…

被问哭了,一位小姐姐的阿里面经!(附部分答案)

这篇文章是一位 女读者 &#xff08;加粗&#xff01;太难得&#xff09;的面试阿里的经历分享&#xff0c;虽然第二面就失败了&#xff0c;但是这样的经历对自己帮助应该还是很大的。下面的一些问题非常具有代表性&#xff0c;部分问题我简单做了修改&#xff08;有些问题表述…

Python程序不使用函数将字符大写

In this article, we will go for capitalizing the characters i.e. conversion from lowercase to uppercase without using any function. This article is based on the concept that how inbuilt function perform this task for us? 在本文中&#xff0c;我们将大写字符…

C语言,你真的弄懂了么?

程序&#xff08;来源 &#xff09;&#xff1a; #include <stdio.h>int main(void) {int x[4];printf("%p\n", (void*) (x));printf("%p\n", (void*) (x 1));printf("%p\n", (void*) (&x));printf("%p\n", (void*) (&…

Oracle自增序列

SQL Server中数据库可以自增字段&#xff0c;但是Oracle中没有这个选项&#xff0c;实际应用中我们可以使用序列(Sequence)实现想要的功能。创建Sequence语法如下&#xff1a;CREATE SEQUENCE SEQUENCE_NAME? START WITH 1 --从 1 开始INCREMENT BY 1 --每次增加 1NOMA…

阿里《Java开发手册》最新嵩山版发布!

《Java 开发手册》是阿里巴巴集团技术团队的集体智慧结晶和经验总结&#xff0c;经历了多次大规模一线实战的检验及不断完善&#xff0c;公开到业界后&#xff0c;众多社区开发者踊跃参与&#xff0c;共同打磨完善&#xff0c;系统化地整理成册&#xff0c;当前的版本是嵩山版。…

递归转化成非递归过程_8086微处理器中的递归和重入过程

递归转化成非递归过程As we all know that a procedure is a set of instruction written separately which can be used any time in the code when required. A normal procedure execution includes calling of the procedure, shifting the control of the processor to th…

the development of c language(转)

c语言之父Dennis Ritchie 写的关于c语言开发历史的文章&#xff0c;来自这里 lisp专家Richard P.Gabriel 的《the Rise of Worse is Better 》&#xff08;wikipedia入口 &#xff0c;c2入口 &#xff0c;《Worse is Better 》&#xff0c;《软件开发宗旨 》&#xff09;中也…

漫谈软件研发特种部队之中的一个

特种部队&#xff0c;是指进行特殊任务的部队&#xff0c;具有编制灵活、人员精干、装备精良、机动高速、训练有素、战斗力强等特点。 特种部队最早出如今二战期间。德国于1939年9月1日的波兰战役中首次投入了一种被称为“勃兰登堡”部队的特种部队作为德国突击波兰的先锋&…

Oracle创建用户和授权

在OracleXE中创建scott用户1、打开SQL*Plus&#xff0c;以 sys用户登录数据库connect / as sysdba2、依次执行下面命令--DROP USER scott CASCADE;CREATE USER scott IDENTIFIED BY tiger;GRANT connect,resource TO scott;GRANT CREATE DATABASE LINK, CREATE MATERIALIZED VI…

不要一把梭了,这才是SQL优化的正确姿势!|原创干货

这是我的第 83 篇原创文章作者 | 王磊来源 | Java中文社群&#xff08;ID&#xff1a;javacn666&#xff09;转载请联系授权&#xff08;微信ID&#xff1a;GG_Stone&#xff09;年少不知优化苦&#xff0c;遇坑方知优化难。——村口王大爷全文内容预览&#xff1a;我之前有很多…

PLSQL_性能优化系列10_Oracle Array数据组优化

2014-09-25 Created By BaoXinjian 一、摘要 集合是Oracle开发中经常遇到的情况&#xff0c;Oracle集合分为三种情况&#xff1a;索引表集合(index by table)、嵌套表集合(nested table)、可变集合(varry table)。 PL/SQL中没有数组的概念&#xff0c;他的集合数据类型和数组是…

最小c编译器

最小c编译器&#xff08;来源 &#xff08;最好在linux下操作&#xff09;&#xff09;代码有好几个版本&#xff0c;我选择otccelfn.c 。 /*Obfuscated Tiny C Compiler with ELF outputCopyright (C) 2001-2003 Fabrice BellardThis software is provided as-is, without any…

在Java中使用Collat​​or和String类进行字符串比较

Given two strings and we have to compare them using Collator and String classed in Java. 给定两个字符串&#xff0c;我们必须使用Java中分类的Collat​​or和String进行比较。 Using Collator class – to compare two strings, we use compare() method – it returns…