From the course: UX Foundations: Logic and Content

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Complex operators

Complex operators

From the course: UX Foundations: Logic and Content

Start my 1-month free trial

Complex operators

In addition to the simple operators and, or, and not, we have some complex operators that are used just as frequently. Chief among these are if, material implication, xor, exclusive or, and equals, equivalence or identical. These more complex operators are often used in conjunction with the simple ones to create more elaborate arguments. Material implication, and exclusive or, can both be used to create conditional statements. This is something we do in natural language. And it's also one of the key components of any computer application. Both these operators allow us to create arguments whose outcomes depend on the conditions of the statements in those arguments. Earlier in the course, I gave you the following example. A waiter asks, do you want fries or salad? And you answer, fries unless everyone is having dessert. In that case, I'll have the salad. If we re-organize this argument using material implication, if. And negation, not. We get something like this. If, what everyone is…

Contents