Get Email Updates Email this Topic Print this Page

Reply Tue 3 Jun, 2008 03:43 pm
Think of logic as a different type of language, but not in the sense of Italian or Spanish, but more like music or math. You have to understand the special subject matter in order to "speak" it. So this thread is meant to introduce you to the special logical language that composes propositional logic.

Truth Functionality

But more importantly, the type of logical language we have to speak has to be truth functional, that is, it has to be distinguished in its truth or falsity. The basic thing you need to understand with truth and falsity in truth functional logic is;

a)If some sentence expresses a truth, it's taken to be true.
b)If some sentence expresses a falsity, it's taken to be false.

But this is a key concept to understand. If a sentence is taken to be true or false, it will have a truth value of either true or false. This comes in later though.

Logical Sentences

This is the tip of the iceberg for truth functional logic, so It's probably easiest to understand it in terms of a common sentence and extrapolate from that.

Take this example sentence that we will break down;

Dan is at home and Ann is at home


Simple, right? But that one sentence has three constituent sentences and structures within it, of which understanding this will come in handy when translating sentences to logical proofs. It may seem obvious, but this is just to make it obvious.

The whole sentence is a compound sentence, which basically means that it is composed of two simple sentences joined by a connective sentence (or word in this instance).

[Dan is home
] simple sentence
[and] connective
[Ann is home]Solving a Conjunction truth table
This is what a basic truth table for a conjunction looks like.
http://i28.tinypic.com/nl7hpx.jpghttp://i27.tinypic.com/2lsw2tf.jpg


Step 1 - Draw a basic truth table, which is basically a cross. In the top right quadrant, insert the compound (conjunction) sentence A & B. Now notice the top left quadrant, A B. The top left quadrant contains all the variables in the compound sentence A & B. There can be more or less variables, but for now let's stick to two.

Step 2 - Now that you have put down the compound sentence in the top left and all the variables in the top, you can write down the possible truth combinations for the variables. Now this is how it goes in a nutshell. If there is one variable in a sentence, there are two horizontal rows one on top of the other of possible truth combinations. If there is two variables, like the example has, there are four possible truth combinations. If there is three variables, there are eight, etc, etc.

The easiest way to do it is to write in the first column under A the truth variables as followed; T,F,T,F,T,F, etc. Also, it doesn't matter how many variables you have in the top left, you keep going T, F, T,F, etc. continually. The second variable B has a different order. This order is T, T, F, F, T,T, F, F, etc. Basically, there are groups of two for each truth value.

Keep in mind, this bottom left matrix is meant to help you reference truth value combinations. It does not factor into the truth table calculation. That comes next.

Step 3 - Now that you have the truth values written down in your bottom left matrix, you simply transfer what is under A in the bottom left matrix to the bottom right quadrant under A. Make sure they are in line, this is important.

Step 4 - Transfer the B values from bottom left to bottom right, making sure to keep them in line.

Step 5 - This is where the trouble starts. Up until now you have been figuring out the truth value possibilities. Now here is the solution part. I'll go into more detail with truth tables later on, but suffice to say for now, the solution for a truth table like this rests under the connective (remember from earlier in the post?) It is obvious which connective it is now, but later there may be dozens of connectives, but for now there is only one.

So how do you solve a truth table? This is where the fundamental rules come in. For a conjunction, the rule is, and keep this in mind, a conjunction is true if the left conjunct is true and the right conjunct is true. This is the rule. No Bull S.'ery can change that fundamental rule. THIS IS IMPORTANT!!!! REMEMBER IT!!!! I'll write down a whole diagram of all the connectives later, but this is a conjunction.


So now that you have that fundamental rule in mind, you can now solve the basic truth table. If a conjunction is true only if the left conjunct is true and the right conjunct is true, the only possible combination that could be true is the first row, as it equates to the rule. The other combinations are false.

RECAP!!!
-----------------------------------------------------------------------------------------------------------------------------------
CONJUNCTION
Formal Logic : & (aka ampersand)

This could be translated from the sentence "Alan is hairy and Barry is not," but translations come later.


Rule : A conjunction is true only if the left conjunct is true and the right conjunct is true.

------------------------------------------------------------------------------------------------------------------------------------


First, sorry for the quality of the examples, I did it in paint, so its no masterpiece. Tomorrow, I'll do the disjunction, conditional, bi-conditional, and negation. But first acquaint yourself with the truth table format and the qualities of a conjunction. I'm trying to figure out how I can do answer keys for these tables as they are jpeg, so if you have any suggestions, let me know.

IF YOU HAVE ANY QUESTIONS, PLEASE ASK AWAY!!!
 
VideCorSpoon
 
Reply Wed 4 Jun, 2008 07:42 am
@VideCorSpoon,
Here is a more elaborated version of the truth table steps. also, observe the artistic modern grunge arrows... yeah, thats right... I meant for them to look like that, LOL.

http://i30.tinypic.com/11v4rja.jpg
 
chad3006
 
Reply Wed 4 Jun, 2008 09:17 am
@VideCorSpoon,
So, if I understand it correctly, a False always trumps a True, correct?
 
VideCorSpoon
 
Reply Wed 4 Jun, 2008 10:04 am
@chad3006,
Actually, you relatively correct, but it is really difficult and abstract to rationalize it that way, but good observation.

Think of it like this, "a true always trumps a false" and here's why.

We want to find the instances in which a conjunction can be true because we are concerned only with finding valid logical answers to questions or problems.

We want to weed out the instances in which a conjunction can be false. We want to do this because it is easier to say "this one thing is true" instead of saying "this is false" "and this is also false" and "this is false as well." Its just more convenient that way, plus it will get confusing later on.

In step four, after we had transferred the possible combinations to the bottom right area, we have to remember the rule of a conjunction

A conjunction is true if the left conjunct is true and the right conjunct is true


The matrix that we put down reveals to us that there is only one possible combination in four which gives us a true value based on that rule, which I put a check mark next to. The other three are instance in which a conjunction is not true.

http://i32.tinypic.com/166bwbs.jpg

If I didn't properly answer your question, just tell me because I think your question was very relevant.
 
VideCorSpoon
 
Reply Wed 4 Jun, 2008 12:24 pm
@VideCorSpoon,
Here is an example of a four variable truth probability matrix.

http://i31.tinypic.com/n12s28.jpg

The thing to simply remember is that the initial "trues" grow exponentially.
 
de budding
 
Reply Wed 4 Jun, 2008 03:57 pm
@VideCorSpoon,
I don't get why in the diagram at step 2 that 'A' goes TFTF but 'B' goes TTFF... whats the difference?
Dan.http://i30.tinypic.com/11v4rja.jpg
 
VideCorSpoon
 
Reply Wed 4 Jun, 2008 08:02 pm
@de budding,
That's actually a good question, because I never explained why the potential truth possibilities are grouped and written in that way.

When I first learned how to do truth tables, the professor just told us "this is the way to do it." But it makes sense when you think of it like this.

Say you flip a coin twice, and on the first try you can either get a head or a tail, and on the second try you can get either a head or a tail again. Think of head and tail as true and false. Now think of all the possible ways you could flip a coin twice. You can get a head and a head, a tail and a tail, a head and a tail, a tail and a head. {HH,TT,HT,TH}, or as we know it {TT,FF,TF,FT}.

Also, the order in which they occur doesn't even matter.
 
de budding
 
Reply Thu 5 Jun, 2008 09:20 am
@VideCorSpoon,
I get it know Very Happy thank you!

Dan.
 
Holiday20310401
 
Reply Thu 17 Jul, 2008 09:10 pm
@de budding,
So these are a lot like punnett squares then, and true is the recessive while false is the dominant
 
VideCorSpoon
 
Reply Fri 18 Jul, 2008 11:36 am
@Holiday20310401,
Yeah, I never really thought about it like that! The truth table is basically an account of what the different combinations of truth values would be for a given argument. I guess a comparison could be made between the dual truth values and the punnett square alleles. But the dominant and recessive traits of truth values comes only from the inference rules.
 
kennethamy
 
Reply Fri 18 Jul, 2008 12:03 pm
@VideCorSpoon,
VideCorSpoon wrote:
Yeah, I never really thought about it like that! The truth table is basically an account of what the different combinations of truth values would be for a given argument. I guess a comparison could be made between the dual truth values and the punnett square alleles. But the dominant and recessive traits of truth values comes only from the inference rules.


It can also be put as follows:

1. T v X = T
2. F v X = X
3. T & X = X
4, F & X = F
5. T > X = X
6. F > X = T
7. X > T = T
8. X > F = X
 
VideCorSpoon
 
Reply Fri 18 Jul, 2008 02:12 pm
@kennethamy,
Thats an interesting way of putting it.

From what I gather, x is a function of (T or F) wherein any variability of those two values equal true, because a disjunction is false only when both disjuncts are false. So I would think that #2's usage of the x is problematic as the x in the right disjunct could be have two separate overall values.

I think the same can be said for the conjunction and the conditionals.
 
kennethamy
 
Reply Sat 19 Jul, 2008 11:08 am
@VideCorSpoon,
VideCorSpoon wrote:
Thats an interesting way of putting it.

From what I gather, x is a function of (T or F) wherein any variability of those two values equal true, because a disjunction is false only when both disjuncts are false. So I would think that #2's usage of the x is problematic as the x in the right disjunct could be have two separate overall values.

I think the same can be said for the conjunction and the conditionals.


1. T v X = T
2. F v X = X
3. T & X = X
4, F & X = F
5. T > X = X
6. F > X = T
7. X > T = T
8. X > F = X

But if (in 2) X is F, then the whole expression is F. And if X is T, then the whole expression is T. So 2= whatever X is.
 
VideCorSpoon
 
Reply Sat 19 Jul, 2008 12:10 pm
@kennethamy,
That seems problematic because, if we use #2 as an example (i.e. F v X = X) the X (last x in the line) to a point needs to be defined as either true or false. It kinda cuts down on excess logic. Its correct.

I get where you are coming from. Lines 1 makes sense. Because line 1 has a true value, whatever the value of the next variable, the result will always be true because a disjunction can only be false when both disjuncts are false. But it gets confusing when you approach line 2. Since there is a false in the left disjunct, you run into 2 possibilities of it being either true or false. So I think the problem lies in the dual use of x in such a defined system.

It is right, but it seems more complicated than it should be. My argument is based more on basic understandability. But still, good stuff.
 
Jimmy53
 
Reply Sat 9 Aug, 2008 09:29 am
@VideCorSpoon,
Could anyone please explain how to get the answer for the following Truth Table. Unfortunately, I'm new to these and just can not quite understand them yet.


Q:
In relation to TRUTH TABLES, if A has the value TRUE and B has the value FALSE, what would f have if f = A AND B?
 
Arjen
 
Reply Sat 9 Aug, 2008 09:36 am
@Jimmy53,
Jimmy53 wrote:
Could anyone please explain how to get the answer for the following Truth Table. Unfortunately, I'm new to these and just can not quite understand them yet.


Q:
In relation to TRUTH TABLES, if A has the value TRUE and B has the value FALSE, what would f have if f = A AND B?

FALSE. It would only have true if both A AND B would have the truth value TRUE; hence the name.

Smile
 
Jimmy53
 
Reply Sat 9 Aug, 2008 09:58 am
@Arjen,
Hi Arjen

Thanks very much for your reply, much appreciated. I have only started to try truth tables and just can seem to grasp them. Hopefully I think I've got it now.

Many thanks again for your speedy reply.
Jim
 
Arjen
 
Reply Sat 9 Aug, 2008 04:38 pm
@Jimmy53,
The speed was due to luck Jimmy. If you have more questions, perhaps I can be of further assistance. If not I bet VideCorSpoon can be...or perhaps him and me together...or something..

Smile

Is your interest a private matter, or one stimulated by school by the way?
 
VideCorSpoon
 
Reply Sun 10 Aug, 2008 10:26 am
@Arjen,
The main thing to remember about truth tables is the fact that a table will show you the possible truth combinations for a certain argument. When you stated that the assigned truth values of A=T and B=F, you must mean that on a specific line of your truth table. Remember the truth possibility matrix will give you the different combinations. The lower case f I am assuming is the transference of the truth probability matrix value. The lower case f (if I understand your question right) will always be false. The litmus test comes when you have to apply the rules (conjunction, disjunction, etc.) to the truth tables.
 
Alanocrates
 
Reply Wed 3 Sep, 2008 10:00 am
@VideCorSpoon,
Spoon, I am still not solid on understanding the "matrix" thing. Is this important to know for future logic things.

BTW, I just started college a day ago and logic is a class a have to take. It seems very intimidating to me becuse I am no good in math. Do you think this will effect my ability to get logic down????? It seems very scary to me. Do you think I should take math courses to prepare myself for this class????

also, thnx for the tutorials.

- alan
 
 

 
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 04/18/2024 at 11:24:40