Monday, 11 August 2014

More Venn diagrams with a logic puzzle

A long time ago I posted about Venn and Euler diagrams and I have been meaning to get back to this subject. Coincidentally, it was John Venn's 180th birthday on the 4th of August, celebrated by Google, so I cannot think of a better time to revive the subject.

Firstly, we recall the all important definition: a Venn diagram contains every single possible intersection between all combinations of the sets. This can be compared with an Euler diagram, which only shows the intersections in which you are interested. An illustration of this can be found in Figure 1.
Figure 1. Using four shapes a basic Euler diagram is not the same as a Venn diagram. The right shows an Euler diagram whereas the left is a Venn diagram, as it contains all possible combinations of the four groups.
As I mentioned, these are great ways of seeing logical information quickly and clearly. To show how useful they are let us consider the following puzzle.
________________________________________________________________
________________________________________
I have a collection of 8 caterpillars that have a range of different features. They can all be seen in Figure 2, below.
Unfortunately, some of them are dangerous to touch. Equally troubling is that I do not know which the dangerous ones are! All I know is that the following three statements are true:
  1. If a caterpillar has blue eyes or spots it is dangerous. If a caterpillar has both, we can't tell if it is dangerous.
  2. All safe caterpillars have more than one of the following features: teeth, blue eyes, spots, or spikes.
  3. Caterpillars with both teeth and spots are dangerous.
Using just these facts, which caterpillars are safe to touch?

Now of course there are many ways to solve this little puzzle, but Venn diagrams offer a really nifty way of seeing the solution simply and completely. Have a go at solving it and I'll post the solution next time.

6 comments:

  1. Venn diagram puzzles are awesome. We have created some quiz type Venn diagrams might want to check them out

    ReplyDelete
  2. Many thanks for the reply and the link. I've just had a quick play with your online Venn maker. It is pretty cool and perfectly usable for solving this problem. However, I couldn't find the quizzes you were referring to. Could you provide a link to those?

    ReplyDelete
  3. Tip for the caterpillars: 1 should read 'blue eyes or spots'

    ReplyDelete
    Replies
    1. You're quite right. I've edited the text to correct this.

      Delete
  4. Very graphical venn diagram. Don't really understand the Caterpillar diagram though. Its very creative and graphical. You must have used a venn diagram maker for that.

    ReplyDelete
    Replies
    1. What don't you understand about the caterpillar diagram? The diagrams were created in a mixture of inkscape and microsoft word.

      Delete