Solved

Caesar murder logic problem

Posted on 2011-03-17
8
696 Views
Last Modified: 2012-05-11
it is a problem of logic concerning who killed Julius Caesar.
I have written the logical sentences and build the truth table, but I cannot find a way to combine all these...

p: Marcus Antonius(says): Cassius or Brutus or both
q: Cassius(says): not me. Marcus Antonius is lying
r: Brutus(says): if I did it, then the other two are guilty also.

m: Marcus Antonius is guilty
c: Cassius is guilty
b: Brutus is guilty

A guilty person always lies.
A non-guilty person always tells the truth

p: c OR b OR (c AND b)
q: c’ AND m (because a guilty always lies)
r: b => (c AND m)

 
0
Comment
Question by:dimi67
8 Comments
 
LVL 4

Expert Comment

by:sgvill
ID: 35161012
not sure about the truth table, but... if marcus antonious did it, his statement being a lie and the other two being true is consistant.
0
 
LVL 84

Expert Comment

by:ozo
ID: 35162527
Cassius being guilty is also consistent.
0
 
LVL 37

Accepted Solution

by:
TommySzalapski earned 500 total points
ID: 35162720
So here's the main truth table. For the left three T means guilty. For the right three T means told the truth.
M	C	B	C v B	C' ^ p'	B' v (C ^ M)
T	T	T	T	F	T
T	T	F	T	F	T
T	F	T	T	F	F
T	F	F	F	T	T
F	T	T	T	F	F
F	T	F	T	F	T
F	F	T	T	F	F
F	F	F	F	T	T

Open in new window

But if anyone is guilty, then they must be lying and the innocent are truthful so we can blank out all the rows where there are two Ts or two Fs in someone's columns.
					
M	C	B	C v B	C' ^ p'	B' v (C ^ M)
T	T	T		F	
T	T	F		F	T
T	F	T			F
T	F	F	F	T	T
F	T	T	T	F	F
F	T	F	T	F	T
F	F	T	T		F
F	F	F		T	T

Open in new window

This leaves three valid possible scenarios
M did it
C and B did it
C did it
All three (and only these three) satisfy all the given conditions.
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:dimi67
ID: 35167724
I understand the hole concept, but what is the answer?
We have only 1 answer, or not?
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 35167791
The way you have defined the problem yields three possible answers. If the question implies there is one answer, then please check to make sure you haven't missed anything. If you look at the three scenarios I listed, all of them work given the criteria in your original post.
So there are three possible answers.
0
 

Author Comment

by:dimi67
ID: 35172743
There is one more sentence: only one of the persons is telling the truth, so, at line 5, Brutus is guilty, and what he says is false, so this is the solution...
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 35172913
I see. If only one is telling the truth, then there must be two guilty ones. So it's C and B (which is line 7 in the second table).
0
 

Author Comment

by:dimi67
ID: 35173118
yes, at line 7...thank you...
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sampling 3 60
new car buying (price bargaining) ideas.. 5 99
Math home work questions 5 107
Math equations 13 58
Complex Numbers are funny things.  Many people have a basic understanding of them, some a more advanced.  The confusion usually arises when that pesky i (or j for Electrical Engineers) appears and understanding the meaning of a square root of a nega…
We are taking giant steps in technological advances in the field of wireless telephony. At just 10 years since the advent of smartphones, it is crucial to examine the benefits and disadvantages that have been report to us.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question