SlideShare une entreprise Scribd logo
1  sur  10
RELAZIONIRELAZIONI
Relazione tra due insiemiRelazione tra due insiemi
• Una relazione tra due insiemi  A e B  (o Una relazione tra due insiemi  A e B  (o 
relazione binariarelazione binaria) è un sottoinsieme del loro) è un sottoinsieme del loro
prodotto cartesiano AxBprodotto cartesiano AxB
• Si utilizzano in maniera equivalente le notazioniSi utilizzano in maniera equivalente le notazioni
–
–
–
• quando sono verificate si dice che  A è inquando sono verificate si dice che  A è in
relazione con B  (secondo la relazione R ).relazione con B  (secondo la relazione R ).
( ), con ,a b a A b B
a b
∈ℜ ∈ ∈
ℜ
Proprietà riflessivaProprietà riflessiva
Una relazioneUna relazione RR definita in un insiemedefinita in un insieme AA è riflessiva se ogniè riflessiva se ogni
elemento di A è in relazione con se stesso :elemento di A è in relazione con se stesso :
,x x x Aℜ∀∈
Proprietà simmetricaProprietà simmetrica
Una relazioneUna relazione RR definita in un insieme A è simmetrica se, perdefinita in un insieme A è simmetrica se, per
ogni coppiaogni coppia xx ee yy di elementi condi elementi con xx in relazione conin relazione con yy , anche, anche yy
è in relazione conè in relazione con x :x :
Se xSe x RR y , allora yy , allora y RR xx
ProprietàProprietà transitivatransitiva
• Una relazioneUna relazione RR definita in un insieme A èdefinita in un insieme A è transitivatransitiva sese
ogni volta cheogni volta che xx è in relazione conè in relazione con yy ee yy è in relazione conè in relazione con zz , è, è
vero chevero che xx è in relazione conè in relazione con zz ::
Se aSe a RR b e bb e b RR c , allora ac , allora a RR cc
Relazione d’equivalenzaRelazione d’equivalenza
Una relazioneUna relazione RR definita in un insieme A è una relazionedefinita in un insieme A è una relazione
di equivalenza se è :di equivalenza se è :
• RiflessivaRiflessiva
• SimmetricaSimmetrica
• TransitivaTransitiva
ESEMPIESEMPI
Una relazione d’equivalenza genera in A unaUna relazione d’equivalenza genera in A una partizionepartizione ::
• Ogni sottoinsieme non è vuoto.Ogni sottoinsieme non è vuoto.
• Presi due qualsiasi sottoinsiemi ,essi sonoPresi due qualsiasi sottoinsiemi ,essi sono
disgiunti.disgiunti.
• L’unione dei sottoinsiemi è l’insieme AL’unione dei sottoinsiemi è l’insieme A
Ognuno dei sottoinsiemi degli elementi in relazione è unaOgnuno dei sottoinsiemi degli elementi in relazione è una
classe di equivalenzaclasse di equivalenza ..
L’insieme delle classi d’equivalenza è dettoL’insieme delle classi d’equivalenza è detto insiemeinsieme
quozientequoziente..
RELAZIONE D’ORDINERELAZIONE D’ORDINE
Una relazione in un insiemeUna relazione in un insieme AA si dicesi dice RELAZIONERELAZIONE
D'ORDINE inD'ORDINE in AA se gode delle seguenti proprietà:se gode delle seguenti proprietà:
• PROPRIETA' RIFLESSIVAPROPRIETA' RIFLESSIVA;;
• PROPRIETA' ANTISIMMETRICAPROPRIETA' ANTISIMMETRICA;;
• PROPRIETA' TRANSITIVAPROPRIETA' TRANSITIVA..
In questo caso si dice che l'insiemeIn questo caso si dice che l'insieme AA èè ORDINATO dallaORDINATO dalla
RELAZIONERELAZIONE ..
Relazioni

Contenu connexe

Dernier

Esperimenti_laboratorio di fisica per la scuola superiore
Esperimenti_laboratorio di fisica per la scuola superioreEsperimenti_laboratorio di fisica per la scuola superiore
Esperimenti_laboratorio di fisica per la scuola superiorevaleriodinoia35
 
IL CHIAMATO ALLA CONVERSIONE - catechesi per candidati alla Cresima
IL CHIAMATO ALLA CONVERSIONE - catechesi per candidati alla CresimaIL CHIAMATO ALLA CONVERSIONE - catechesi per candidati alla Cresima
IL CHIAMATO ALLA CONVERSIONE - catechesi per candidati alla CresimaRafael Figueredo
 
XIII Lezione - Arabo G.Rammo @ Libera Accademia Romana
XIII Lezione - Arabo G.Rammo @ Libera Accademia RomanaXIII Lezione - Arabo G.Rammo @ Libera Accademia Romana
XIII Lezione - Arabo G.Rammo @ Libera Accademia RomanaStefano Lariccia
 
Storia dell’Inghilterra nell’Età Moderna.pptx
Storia dell’Inghilterra nell’Età Moderna.pptxStoria dell’Inghilterra nell’Età Moderna.pptx
Storia dell’Inghilterra nell’Età Moderna.pptxOrianaOcchino
 
La seconda guerra mondiale per licei e scuole medie
La seconda guerra mondiale per licei e scuole medieLa seconda guerra mondiale per licei e scuole medie
La seconda guerra mondiale per licei e scuole medieVincenzoPantalena1
 
XI Lezione - Arabo LAR Giath Rammo @ Libera Accademia Romana
XI Lezione - Arabo LAR Giath Rammo @ Libera Accademia RomanaXI Lezione - Arabo LAR Giath Rammo @ Libera Accademia Romana
XI Lezione - Arabo LAR Giath Rammo @ Libera Accademia RomanaStefano Lariccia
 
lezione di fisica_I moti nel piano_Amaldi
lezione di fisica_I moti nel piano_Amaldilezione di fisica_I moti nel piano_Amaldi
lezione di fisica_I moti nel piano_Amaldivaleriodinoia35
 
Corso di digitalizzazione e reti per segretario amministrativo
Corso di digitalizzazione e reti per segretario amministrativoCorso di digitalizzazione e reti per segretario amministrativo
Corso di digitalizzazione e reti per segretario amministrativovaleriodinoia35
 
Ticonzero news 148.pdf aprile 2024 Terza cultura
Ticonzero news 148.pdf aprile 2024 Terza culturaTiconzero news 148.pdf aprile 2024 Terza cultura
Ticonzero news 148.pdf aprile 2024 Terza culturaPierLuigi Albini
 

Dernier (9)

Esperimenti_laboratorio di fisica per la scuola superiore
Esperimenti_laboratorio di fisica per la scuola superioreEsperimenti_laboratorio di fisica per la scuola superiore
Esperimenti_laboratorio di fisica per la scuola superiore
 
IL CHIAMATO ALLA CONVERSIONE - catechesi per candidati alla Cresima
IL CHIAMATO ALLA CONVERSIONE - catechesi per candidati alla CresimaIL CHIAMATO ALLA CONVERSIONE - catechesi per candidati alla Cresima
IL CHIAMATO ALLA CONVERSIONE - catechesi per candidati alla Cresima
 
XIII Lezione - Arabo G.Rammo @ Libera Accademia Romana
XIII Lezione - Arabo G.Rammo @ Libera Accademia RomanaXIII Lezione - Arabo G.Rammo @ Libera Accademia Romana
XIII Lezione - Arabo G.Rammo @ Libera Accademia Romana
 
Storia dell’Inghilterra nell’Età Moderna.pptx
Storia dell’Inghilterra nell’Età Moderna.pptxStoria dell’Inghilterra nell’Età Moderna.pptx
Storia dell’Inghilterra nell’Età Moderna.pptx
 
La seconda guerra mondiale per licei e scuole medie
La seconda guerra mondiale per licei e scuole medieLa seconda guerra mondiale per licei e scuole medie
La seconda guerra mondiale per licei e scuole medie
 
XI Lezione - Arabo LAR Giath Rammo @ Libera Accademia Romana
XI Lezione - Arabo LAR Giath Rammo @ Libera Accademia RomanaXI Lezione - Arabo LAR Giath Rammo @ Libera Accademia Romana
XI Lezione - Arabo LAR Giath Rammo @ Libera Accademia Romana
 
lezione di fisica_I moti nel piano_Amaldi
lezione di fisica_I moti nel piano_Amaldilezione di fisica_I moti nel piano_Amaldi
lezione di fisica_I moti nel piano_Amaldi
 
Corso di digitalizzazione e reti per segretario amministrativo
Corso di digitalizzazione e reti per segretario amministrativoCorso di digitalizzazione e reti per segretario amministrativo
Corso di digitalizzazione e reti per segretario amministrativo
 
Ticonzero news 148.pdf aprile 2024 Terza cultura
Ticonzero news 148.pdf aprile 2024 Terza culturaTiconzero news 148.pdf aprile 2024 Terza cultura
Ticonzero news 148.pdf aprile 2024 Terza cultura
 

En vedette

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Relazioni

  • 2. Relazione tra due insiemiRelazione tra due insiemi • Una relazione tra due insiemi  A e B  (o Una relazione tra due insiemi  A e B  (o  relazione binariarelazione binaria) è un sottoinsieme del loro) è un sottoinsieme del loro prodotto cartesiano AxBprodotto cartesiano AxB • Si utilizzano in maniera equivalente le notazioniSi utilizzano in maniera equivalente le notazioni – – – • quando sono verificate si dice che  A è inquando sono verificate si dice che  A è in relazione con B  (secondo la relazione R ).relazione con B  (secondo la relazione R ). ( ), con ,a b a A b B a b ∈ℜ ∈ ∈ ℜ
  • 3. Proprietà riflessivaProprietà riflessiva Una relazioneUna relazione RR definita in un insiemedefinita in un insieme AA è riflessiva se ogniè riflessiva se ogni elemento di A è in relazione con se stesso :elemento di A è in relazione con se stesso : ,x x x Aℜ∀∈
  • 4. Proprietà simmetricaProprietà simmetrica Una relazioneUna relazione RR definita in un insieme A è simmetrica se, perdefinita in un insieme A è simmetrica se, per ogni coppiaogni coppia xx ee yy di elementi condi elementi con xx in relazione conin relazione con yy , anche, anche yy è in relazione conè in relazione con x :x : Se xSe x RR y , allora yy , allora y RR xx
  • 5. ProprietàProprietà transitivatransitiva • Una relazioneUna relazione RR definita in un insieme A èdefinita in un insieme A è transitivatransitiva sese ogni volta cheogni volta che xx è in relazione conè in relazione con yy ee yy è in relazione conè in relazione con zz , è, è vero chevero che xx è in relazione conè in relazione con zz :: Se aSe a RR b e bb e b RR c , allora ac , allora a RR cc
  • 6. Relazione d’equivalenzaRelazione d’equivalenza Una relazioneUna relazione RR definita in un insieme A è una relazionedefinita in un insieme A è una relazione di equivalenza se è :di equivalenza se è : • RiflessivaRiflessiva • SimmetricaSimmetrica • TransitivaTransitiva
  • 8. Una relazione d’equivalenza genera in A unaUna relazione d’equivalenza genera in A una partizionepartizione :: • Ogni sottoinsieme non è vuoto.Ogni sottoinsieme non è vuoto. • Presi due qualsiasi sottoinsiemi ,essi sonoPresi due qualsiasi sottoinsiemi ,essi sono disgiunti.disgiunti. • L’unione dei sottoinsiemi è l’insieme AL’unione dei sottoinsiemi è l’insieme A Ognuno dei sottoinsiemi degli elementi in relazione è unaOgnuno dei sottoinsiemi degli elementi in relazione è una classe di equivalenzaclasse di equivalenza .. L’insieme delle classi d’equivalenza è dettoL’insieme delle classi d’equivalenza è detto insiemeinsieme quozientequoziente..
  • 9. RELAZIONE D’ORDINERELAZIONE D’ORDINE Una relazione in un insiemeUna relazione in un insieme AA si dicesi dice RELAZIONERELAZIONE D'ORDINE inD'ORDINE in AA se gode delle seguenti proprietà:se gode delle seguenti proprietà: • PROPRIETA' RIFLESSIVAPROPRIETA' RIFLESSIVA;; • PROPRIETA' ANTISIMMETRICAPROPRIETA' ANTISIMMETRICA;; • PROPRIETA' TRANSITIVAPROPRIETA' TRANSITIVA.. In questo caso si dice che l'insiemeIn questo caso si dice che l'insieme AA èè ORDINATO dallaORDINATO dalla RELAZIONERELAZIONE ..