# File:CartInts.pdf

CartInts.pdf(708 × 531 pixels, file size: 13 KB, MIME type: application/pdf)

### Captions

Add a one-line explanation of what this file represents

## Summary

 Description English: Demonstrates the compatibility of the Cartesian product and set intersection, viz. (A∩B)×(C∩D)=(A×C)∩(B×D), using example sets A = { x∈ℝ: 2≤x≤5 }, B = { x∈ℝ: 3≤x≤7 }, C = { y∈ℝ: 1≤y≤3 }, and D = { y∈ℝ: 2≤y≤4 }. Date 21 September 2014 Source Own work Author Jochen Burghardt Other versions File:CartInts.pdf — File:CartInts svg.svg
LaTeX source code
\documentclass[12pt]{article}
\usepackage[pdftex]{color}
\usepackage[paperwidth=120mm,paperheight=90mm]{geometry}
\setlength{\topmargin}{-36mm}
\setlength{\textwidth}{120mm}
\setlength{\textheight}{90mm}
\setlength{\evensidemargin}{-2.7cm}
\setlength{\oddsidemargin}{-2.5cm}
\setlength{\parindent}{0cm}
\setlength{\unitlength}{1mm}
\sloppy

\definecolor{cACf}      {rgb}{0.70,0.00,0.00}   % rectangle AxC foreground
\definecolor{cBDf}      {rgb}{0.00,0.70,0.00}   % rectangle BxD foreground
\definecolor{cACb}      {rgb}{0.99,0.80,0.80}   % rectangle AxC background
\definecolor{cBDb}      {rgb}{0.80,0.99,0.80}   % rectangle BxD background
\definecolor{cINf}      {rgb}{0.70,0.70,0.00}   % intersection foreground
\definecolor{cINb}      {rgb}{0.99,0.99,0.80}   % intersection background
\definecolor{cAxe}      {rgb}{0.80,0.80,0.99}   % coordinate axes
\definecolor{cEmb}      {rgb}{0.90,0.90,0.90}   % embedding dots

\begin{document}
\begin{picture}(115,85)
% embedding from intervals to rectangles
\textcolor{cEmb}{\multiput(45,7)(0,1){13}{\makebox(0,0){$\cdot$}}}% A
\textcolor{cEmb}{\multiput(45,26)(0,1){9}{\makebox(0,0){$\cdot$}}}%
\textcolor{cEmb}{\multiput(75,11)(0,1){9}{\makebox(0,0){$\cdot$}}}%
\textcolor{cEmb}{\multiput(75,26)(0,1){9}{\makebox(0,0){$\cdot$}}}%
\textcolor{cEmb}{\multiput(55,12)(0,1){8}{\makebox(0,0){$\cdot$}}}% B
\textcolor{cEmb}{\multiput(55,26)(0,1){9}{\makebox(0,0){$\cdot$}}}%
\textcolor{cEmb}{\multiput(95,12)(0,1){8}{\makebox(0,0){$\cdot$}}}%
\textcolor{cEmb}{\multiput(95,26)(0,1){19}{\makebox(0,0){$\cdot$}}}%
\textcolor{cEmb}{\multiput(7,35)(1,0){13}{\makebox(0,0){$\cdot$}}}% C
\textcolor{cEmb}{\multiput(26,35)(1,0){19}{\makebox(0,0){$\cdot$}}}%
\textcolor{cEmb}{\multiput(11,55)(1,0){9}{\makebox(0,0){$\cdot$}}}%
\textcolor{cEmb}{\multiput(26,55)(1,0){19}{\makebox(0,0){$\cdot$}}}%
\textcolor{cEmb}{\multiput(12,45)(1,0){8}{\makebox(0,0){$\cdot$}}}% D
\textcolor{cEmb}{\multiput(26,45)(1,0){19}{\makebox(0,0){$\cdot$}}}%
\textcolor{cEmb}{\multiput(12,65)(1,0){8}{\makebox(0,0){$\cdot$}}}%
\textcolor{cEmb}{\multiput(26,65)(1,0){29}{\makebox(0,0){$\cdot$}}}%
% y axis
\textcolor{cAxe}{\put(25.000,20.000){\vector(0,1){60.000}}}%
\textcolor{cAxe}{\multiput(25.000,35.000)(0.000,10.000){5}{\line(-1,0){1.000}}}%
\textcolor{cAxe}{\put(27,80){\makebox(0,0)[l]{$y$}}}%
\textcolor{cAxe}{\put(20,35){\makebox(0,0)[l]{$1$}}}%
\textcolor{cAxe}{\put(20,45){\makebox(0,0)[l]{$2$}}}%
\textcolor{cAxe}{\put(20,55){\makebox(0,0)[l]{$3$}}}%
\textcolor{cAxe}{\put(20,65){\makebox(0,0)[l]{$4$}}}%
\textcolor{cAxe}{\put(20,75){\makebox(0,0)[l]{$5$}}}%
% x axis
\textcolor{cAxe}{\put(20.000,25.000){\vector(1,0){90.000}}}%
\textcolor{cAxe}{\multiput(35.000,25.000)(10.000,0.000){8}{\line(0,-1){1.000}}}%
\textcolor{cAxe}{\put(110,27){\makebox(0,0)[b]{$x$}}}%
\textcolor{cAxe}{\put(35,20){\makebox(0,0)[b]{$1$}}}%
\textcolor{cAxe}{\put(45,20){\makebox(0,0)[b]{$2$}}}%
\textcolor{cAxe}{\put(55,20){\makebox(0,0)[b]{$3$}}}%
\textcolor{cAxe}{\put(65,20){\makebox(0,0)[b]{$4$}}}%
\textcolor{cAxe}{\put(75,20){\makebox(0,0)[b]{$5$}}}%
\textcolor{cAxe}{\put(85,20){\makebox(0,0)[b]{$6$}}}%
\textcolor{cAxe}{\put(95,20){\makebox(0,0)[b]{$7$}}}%
\textcolor{cAxe}{\put(105,20){\makebox(0,0)[b]{$8$}}}%
% x-interval end markers
\textcolor{cACf}{\put(45,4){\line(0,1){2}}}% A
\textcolor{cACf}{\put(75,4){\line(0,1){2}}}%
\textcolor{cBDf}{\put(55,9){\line(0,1){2}}}% B
\textcolor{cBDf}{\put(95,9){\line(0,1){2}}}%
\textcolor{cINf}{\put(55,6.5){\line(0,1){2}}}% A n B
\textcolor{cINf}{\put(75,6.5){\line(0,1){2}}}%
% y-interval end markers
\textcolor{cACf}{\put(4,35){\line(1,0){2}}}% C
\textcolor{cACf}{\put(4,55){\line(1,0){2}}}%
\textcolor{cBDf}{\put(9,45){\line(1,0){2}}}% D
\textcolor{cBDf}{\put(9,65){\line(1,0){2}}}%
\textcolor{cINf}{\put(6.5,45){\line(1,0){2}}}% C n D
\textcolor{cINf}{\put(6.5,55){\line(1,0){2}}}%
\thicklines
% x-interval lines and captions
\textcolor{cACf}{\put(45,5){\line(1,0){30}}}% A
\textcolor{cACf}{\put(46,7){\makebox(0,0)[bl]{$A$}}}%
\textcolor{cBDf}{\put(55,10){\line(1,0){40}}}% B
\textcolor{cBDf}{\put(94,8){\makebox(0,0)[tr]{$B$}}}%
\textcolor{cINf}{\put(55,7.5){\line(1,0){20}}}% A n B
% y-interval lines and captions
\textcolor{cACf}{\put(5,35){\line(0,1){20}}}% C
\textcolor{cACf}{\put(7,36){\makebox(0,0)[bl]{$C$}}}%
\textcolor{cBDf}{\put(10,45){\line(0,1){20}}}% D
\textcolor{cBDf}{\put(8,64){\makebox(0,0)[tr]{$D$}}}%
\textcolor{cINf}{\put(7.5,45){\line(0,1){10}}}% C n D
% rectangle backgrounds
\textcolor{cACb}{\put(45,35){\makebox(0,0)[bl]{\rule{30mm}{20mm}}}}% A x C
\textcolor{cBDb}{\put(55,45){\makebox(0,0)[bl]{\rule{40mm}{20mm}}}}% B x D
\textcolor{cINb}{\put(55,45){\makebox(0,0)[bl]{\rule{20mm}{10mm}}}}% intersection
% rectangle borders and captions
\thinlines
\textcolor{cACf}{\put(45,35){\framebox(30,20){}}}% A x C
\textcolor{cACf}{\put(46,36){\makebox(0,0)[bl]{$A \times C$}}}%
\textcolor{cBDf}{\put(55,45){\framebox(40,20){}}}% B x D
\textcolor{cBDf}{\put(94,64){\makebox(0,0)[tr]{$B \times D$}}}%
\end{picture}
\end{document}


## Licensing

I, the copyright holder of this work, hereby publish it under the following licenses: Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.   This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. You are free: to share – to copy, distribute and transmit the work to remix – to adapt the work Under the following conditions: attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

## File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current15:08, 21 September 2014 708 × 531 (13 KB)Jochen Burghardt (talk | contribs){{Information |Description=Intersection of Cartesian products |Source={{own}} |Date=2014-09-21 |Author=Jochen Burghardt |Permission= |other_versions= }}

There are no pages that use this file.