Ask your own question, for FREE!
Mathematics 24 Online
OpenStudy (anonymous):

Discrete Math question... will type equation, but I need to prove this using logical equivalences

OpenStudy (anonymous):

\[[(p V q) \rightarrow r]\rightarrow[(p \rightarrow r) \Lambda (q \rightarrow r)]\]

myininaya (myininaya):

Do you know what a truth table is?

OpenStudy (anonymous):

vaguely

myininaya (myininaya):

You have 3 variables: p,q, and r To calculate the number of rows you will need for this truth table you do 2^(number of variables) Then do all possible combinations for p,q, and r and I mean like TTT, TTF, and so on...

myininaya (myininaya):

Once you set that part we will look at each little expression inside the statement

OpenStudy (anonymous):

so 8 rows

myininaya (myininaya):

I mean like the P or Q thing then the (P or Q) then r thing then we will go to the other side of the implication which I think you actually meant to put an equivalent sign instead of ->

OpenStudy (anonymous):

this is how the problem was typed out for me

myininaya (myininaya):

right don't you agree there will be 8 possible combinations? pqr ---- TTT TTF TFF TFT FTT FTF FFF FFT

OpenStudy (anonymous):

ahhh!!! yes!

OpenStudy (anonymous):

good with that

myininaya (myininaya):

now for each of those combinations decide if "P or Q" is T or F

myininaya (myininaya):

We are doing this because this in the statement

OpenStudy (anonymous):

sorry, that is where you are losing me...

myininaya (myininaya):

and i don't mean to change the capital to lower case you have in the table this already pqr ---- TTT TTF TFF TFT FTT FTF FFF FFT =============================== now we are going to another column using what we already have in the rows to decide what p or q is -------- pqr p or q ---- ______ TTT TTF TFF TFT FTT FTF FFF FFT

myininaya (myininaya):

for the first row you are given p and q are both true so is p or q true?

OpenStudy (anonymous):

can it be both?

myininaya (myininaya):

http://en.wikipedia.org/wiki/Truth_table check out this table it gives you the definition (or logic) of the conjunctions and implications this or is the inclusive or which means it can be both the exclusive or will show an F when both are true

OpenStudy (anonymous):

pqr p or q ---- ______ TTT T TTF T TFF T TFT T FTT T FTF T FFF T FFT T

OpenStudy (anonymous):

OOPS!

OpenStudy (anonymous):

pqr p or q ---- ______ TTT T TTF T TFF T TFT T FTT T FTF T FFF F FFT F

myininaya (myininaya):

yeah great correction

myininaya (myininaya):

now lets look at the whole left side of the implication

OpenStudy (anonymous):

got going and then for got where to switch

OpenStudy (anonymous):

ok

myininaya (myininaya):

pqr p or q (p or q) then r ---- ______ ----------- TTT T TTF T TFF T TFT T FTT T FTF T FFF F FFT F

myininaya (myininaya):

you should see why we did one whole column for the p or q part now we needed that column for this new column

OpenStudy (anonymous):

pqr p or q (p or q) then r ---- ______ ----------- TTT T T TTF T T TFF T F TFT T T FTT T T FTF T F FFF F T? FFT F F

myininaya (myininaya):

do you know why the second row is wrong?

OpenStudy (anonymous):

yes...

OpenStudy (anonymous):

geez! sorry!

OpenStudy (anonymous):

\[ \begin{array}{|c|c|c|c} P & Q & R & (P\lor{}Q)\to R \\ \hline T & T & T & T \\ T & T & F & F \\ T & F & T &T \\ T & F & F & F \\ \hline F & T & T & T \\ F & T & F & F \\ F & F & T & T \\ F & F & F &T \\ \hline \end{array} \] do you know how long it took me to do this? can i have a cookie?

myininaya (myininaya):

you have a true if part and a false then part

myininaya (myininaya):

it's okay @teach3.14 these truth tables can get long and sometimes everyone including i make a mistake seeing all these F and T make me dizzy and crazy

OpenStudy (anonymous):

it looks very nice @satellite73

myininaya (myininaya):

yes hes a show off

OpenStudy (anonymous):

:)

OpenStudy (anonymous):

just send me the cookie i will be on my way

myininaya (myininaya):

cookie given ok so now we need to go on the other side of the implication

myininaya (myininaya):

and idea where to start there?

myininaya (myininaya):

any*

OpenStudy (anonymous):

\[p \rightarrow r\]

myininaya (myininaya):

sounds great you are working on the logic that we should do whats in the grouping symbols great

myininaya (myininaya):

ok so we need to make a new column for that

myininaya (myininaya):

then a new column for q then r then a new column for the whole right side

OpenStudy (anonymous):

wait a sec, was his table correct? aren't lines 6 & 7 switched around for the (p v q) ->r?

myininaya (myininaya):

let me take a look

myininaya (myininaya):

looks like you are right about row 6 column 4

myininaya (myininaya):

but everything else is right

OpenStudy (anonymous):

pqr p or q (p or q) then r p then r q then r ---- ______ ----------- ___________ --------- TTT T T T T TTF T F F F TFF T F F T TFT T T T F FTT T T F T FTF T F T F FFF F T T T FFT F F F F

myininaya (myininaya):

including the row 7 part just the row 6 column 4

myininaya (myininaya):

in his table*

OpenStudy (anonymous):

ok good, I got worried for a second, thought I was following along!

myininaya (myininaya):

5th and last line for the p then r 4th and last

myininaya (myininaya):

if=false and then=true then the if then statement is true

myininaya (myininaya):

i know that is weird sounding but that is logic

myininaya (myininaya):

4th and last for q then r*

OpenStudy (anonymous):

so the p and the q are like the if and the then?

myininaya (myininaya):

and did you change values for the (p or q) then r thing?

myininaya (myininaya):

for that column check out the 2nd row and last row

OpenStudy (anonymous):

ok, I am afraid I am off on where we are now...

OpenStudy (anonymous):

is this correct? pqr p or q (p or q) then r p then r q then r ---- ______ ----------- ___________ --------- TTT T T T T TTF T F F F TFF T F F T TFT T T T T FTT T T T T FTF T F T F FFF F T T T FFT F F T T

myininaya (myininaya):

ok look at the last row for (p or q) then r and that is all i can see

OpenStudy (anonymous):

pqr p or q (p or q) then r p then r q then r ---- ______ ----------- ___________ --------- TTT T T T T TTF T F F F TFF T F F T TFT T T T T FTT T T T T FTF T F T F FFF F T T T FFT T F T T

myininaya (myininaya):

ok no....you change the wrong value

OpenStudy (anonymous):

ok good, cause I didn't think that was right!

myininaya (myininaya):

I was talking about the last row for (p or q) then r

OpenStudy (anonymous):

pqr p or q (p or q) then r p then r q then r ---- ______ ----------- ___________ --------- TTT T T T T TTF T F F F TFF T F F T TFT T T T T FTT T T T T FTF T F T F FFF F T T T FFT F T T T

myininaya (myininaya):

beautiful :)

myininaya (myininaya):

now the last column

myininaya (myininaya):

last column should be a pretty easy one i love and

OpenStudy (anonymous):

pqr p or q (p or q) then r p then r q then r p and q ---- ______ ----------- ___________ --------- _________ TTT T T T T T TTF T F F F F TFF T F F T F TFT T T T T F FTT T T T T F FTF T F T F F FFF F T T T T FFT F T T T F

OpenStudy (anonymous):

?

myininaya (myininaya):

we don't care about p and q we care about (p then r) and (q then r)

OpenStudy (anonymous):

ahhh

myininaya (myininaya):

for example p then r is T in the first row q then r is T is in the first row so the and of those parts is also T in the first row

myininaya (myininaya):

lol if you just want to write that column that is fine because i think you have ran out of room

OpenStudy (anonymous):

pqr p or q (p or q) then r p then r q then r p then r and q then r ---- ______ ----------- ___________ --------- ____________________ TTT T T T T T TTF T F F F T TFF T F F T F TFT T T T T T FTT T T T T T FTF T F T F F FFF F T T T T FFT F T T T T

myininaya (myininaya):

err i can't really read it i'm sorry but in order for an and statement to be true both parts must be true all other cases write F

OpenStudy (anonymous):

so ONLY if the are BOTH true?

myininaya (myininaya):

you should notice something about the (p or q) then r column and also the (p then r) and (q then r) column what do you know about each value for each row right!

myininaya (myininaya):

you can answer my question after you are done fixing the table

myininaya (myininaya):

actually when you are done i will probably restate me question to help better guide

OpenStudy (anonymous):

pqr p or q (p or q) then r p then r q then r p then r and q then r ---- ______ ----------- _________ --------- _________________ TTT T T T T T TTF T F F F F TFF T F F T F TFT T T T T T FTT T T T T T FTF T F T F F FFF F T T T T FFT F T T T T

OpenStudy (anonymous):

I think I was actually correct

OpenStudy (anonymous):

:)

myininaya (myininaya):

so you must right down this whole true table that you have built (this work is for your instructor) what i would do is highlight the boxes that we want to compare which is (p or q) then r | (p then r) and (q then r) T T F F F F T T T T F F T T T T

OpenStudy (anonymous):

they match

myininaya (myininaya):

if you actually had a highlighter and i was you i would highlight these two columns these columns are the important columns as they help us determine if the statements are logically equivalent

myininaya (myininaya):

since they match they are logically equivalent

myininaya (myininaya):

if they had one single mismatching and they are not logically equivalent and you would piss off any Vulcan

OpenStudy (anonymous):

awesome! thanks!

myininaya (myininaya):

you did great you put in a lot of work you deserve a medal also for all your hard work you should try working some truth tables more too to get more practice also remember if you have and if then statement.... if=false and then=true --- the statement is true if=false and then=false --- the statement is true for "and statements" you need to just remember that you must have both parts true for the statement to be true

OpenStudy (anonymous):

thank you for taking the time to walk me though that! I will try to practice some more!

myininaya (myininaya):

and of course if you have: if=true and then=true then the if then statement is totally true I didn't say that above because that one i think is obvious

OpenStudy (anonymous):

:)

myininaya (myininaya):

have a goodnight and good luck

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!