Randolph diagram

From HandWiki
Revision as of 18:27, 6 February 2024 by Steve Marsio (talk | contribs) (add)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Randolph diagram that represents the logical statement [math]\displaystyle{ P \lor Q }[/math] (disjunction).

A Randolph diagram (R-diagram) is a simple way to visualize logical expressions and combinations of sets. Randolph diagrams were created by mathematician John F. Randolph in 1965, during his tenure at the University of Arkansas.

Overview

Randolph diagrams can be interpreted most easily by defining each line as belonging to or relating to one logical statement or set. Any dot above the line indicates truth or inclusion and below the line indicates falsity or exclusion. Using this system, one can represent any combination of sets or logical statements using intersecting lines.

Though Venn diagrams are more commonly used to represent combinations of sets, Randolph diagrams have the advantage of being able to cleanly represent combinations of more than 3 sets. Venn diagrams require either extension into higher spatial dimensions or the use of more complicated shapes while Randolph diagrams evenly subdivide for every additional set.[1] Here is a comparison between a Venn diagram and R-diagram for 5 sets of logical statements:

Venn's construction for 5 sets A Randolph diagram for five sets

History

In his introductory paper on the subject, Cross-Examining Propositional Calculus and Set Operations,[2] Randolph mentions that the first use of crosses and dots to represent logical relationships was introduced by W. S. McCulloch, a neurophysiologist and Randolph's contemporary. Randolph modified McCulloch's system with a new way of representing combinations and relationships of more than two logical statements or sets, namely subdividing each section of the R-diagram with a new diagonal line for each new element introduced. Randolph's paper suggests that his original notion was to use R-diagrams to represent logical relationships, and then expanded the idea to be applied to set theory as well. Throughout the paper, R-diagrams are used in conjunction with normal logical and set binary operation symbols.

Application to logic theory

When applying R-diagrams to logic theory, logical statements p, q, and r can each become a line or multiple lines to visually display the validity of each element in a larger statement. Generally, p is thought to be represented by an upward sloping line (/) while q is represented by a downward sloping line (\). A dot in the diagram above a slanting line indicates truth for that statement; likewise, a dot below indicates falsity. The R-diagrams for p and q are shown below, respectively:

R-diagram-p.svg Randolph-diagram-q.svg

For more than two statements, the four spaces formed by the intersection of lines p and q must be subdivided into more lines. In the case of r, a single upward sloping line (/) is added in each of the four spaces. The R-diagram for r is shown below:

R-diagram-r.svg

This method can be extended for any number of truth values:

Randolph-diagram-subdivisions, etc.

R-diagrams are primarily used to represent logical expressions. Given a logical proposition, R-diagrams are able to display the outcome of every possible true/false variation of each element, creating an alternative way to represent a truth table.

Truth Table
# p q r
1 T T T
2 T T F
3 T F T
4 T F F
5 F T T
6 F T F
7 F F T
8 F F F

Randolph-diagram-numbers.svgRandolph-diagram-truthvalues.svg

All the basic logical operations, or connectives, can be expressed using an R-diagrams as a more easily readable alternative to a truth table, as is shown in the table below:

Basic Logical Operations
Name Symbols R-Diagram Truth Table
Negation (not) ¬ , ~ Randolph-diagram-negation.svg
p ¬p
T F
F T
Conjunction (and) & , ∧ Randolph-diagram-conjunction.svg
p q p ∧ q
T T T
T F F
F T F
F F F
Disjunction (or) Randolph-diagram-disjunction.svg
p q p ∨ q
T T T
T F T
F T T
F F F
Material implication (if...then) [math]\displaystyle{ \rightarrow }[/math] , [math]\displaystyle{ \Rightarrow }[/math], [math]\displaystyle{ \supset }[/math] Randolph-diagram-implication.svg
p q p [math]\displaystyle{ \rightarrow }[/math] q
T T T
T F F
F T T
F F T
Biconditional (if and only if, xnor) [math]\displaystyle{ \leftrightarrow }[/math], [math]\displaystyle{ \equiv }[/math], [math]\displaystyle{ = }[/math] Randolph-diagram-bicondition.svg
p q p [math]\displaystyle{ \leftrightarrow }[/math] q
T T T
T F F
F T F
F F T

Simplifying logical expressions

R-diagrams can be used to easily simplify complicated logical expressions, using a step-by-step process. Using order of operations, logical operators are applied to R-diagrams in the proper sequence. Finally, the result is an R-diagram that can be converted back into a simpler logical expression.

For example, take the following expression:

[math]\displaystyle{ (Q \leftrightarrow P) \lor (\lnot P \land Q) \, }[/math]

It can be simplified using R-diagrams as follows:

[math]\displaystyle{ ( }[/math]Randolph-diagram-q.svg[math]\displaystyle{ \leftrightarrow }[/math]40px[math]\displaystyle{ ) \lor ( }[/math]40px[math]\displaystyle{ \land }[/math]Randolph-diagram-q.svg[math]\displaystyle{ ) }[/math]

Randolph-diagram-bicondition.svg[math]\displaystyle{ \lor }[/math]Randolph-diagram-qminusp.svg

Randolph-diagram-implication.svg

which is equal to:

[math]\displaystyle{ P \rightarrow Q. \, }[/math]

Proving logical arguments

Similarly, R-diagrams can be used to prove or disprove logical arguments. Take, for instance, the well known argument modus ponens, also known as implication elimination:

[math]\displaystyle{ \frac{P \to Q, P}{\therefore Q} }[/math]

This can be converted into a tautological logical expression,

[math]\displaystyle{ ((P \to Q) \land P) \to Q }[/math]

which can then be simplified using R-diagrams:

[math]\displaystyle{ (( }[/math]40px[math]\displaystyle{ \to }[/math]40px[math]\displaystyle{ ) \land }[/math]40px[math]\displaystyle{ ) \to }[/math]40px

[math]\displaystyle{ ( }[/math]Randolph-diagram-implication.svg[math]\displaystyle{ \land }[/math]40px[math]\displaystyle{ ) \to }[/math]Randolph-diagram-q.svg

Randolph-diagram-conjunction.svg[math]\displaystyle{ \to }[/math]Randolph-diagram-q.svg

Randolph-diagram-tautology.svg

The result is an R-diagram in which every space has a dot. This means the argument is a tautology; it is true in all cases. An R-diagram in which no space has a dot is a contradiction, a statement that is never true.

Application to set theory

R-diagrams are also used in set theory, as an alternative to Venn diagrams. In set theory, each line represents a set instead of a logical statement; A replaces p and B replaces q. When used for sets, a dot above the line represents inclusion, where a dot below represents exclusion. As in logic, basic set operations can be represented visually using R-diagrams:

Basic Set Operations
Name Notation R-Diagram
Union [math]\displaystyle{ A \cup B }[/math] Randolph-diagram-disjunction.svg
Intersection [math]\displaystyle{ A \cap B }[/math] Randolph-diagram-conjunction.svg
Absolute Complement [math]\displaystyle{ A^{c} }[/math] Randolph-diagram-negation.svg
Relative Complement (set difference) [math]\displaystyle{ A \smallsetminus B }[/math] Randolph-diagram-diff.svg
Symmetric Difference [math]\displaystyle{ A \Delta B }[/math] Randolph-diagram-symdiff.svg

R-diagrams illustrate the equivalence between the set theoretical and logical concepts: intersection in set theory is equivalent to conjunction in logic, and set theory's union is equivalent to the logical disjunction.

References

  1. "Sets and Randolph Diagrams". Paper presented at the Louisville Regional Convention of the National Council of Teachers of Mathematics. Louisville, Kentucky: Western Kentucky University. October 1970. http://www.eric.ed.gov/PDFS/ED045458.pdf. 
  2. "Cross-Examining Propositional Calculus and Set Operations". The American Mathematical Monthly (Mathematical Association of America) 72 (2): 117–127. February 1965. doi:10.1080/00029890.1965.11970498.