School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
Welcome to Dream.In.Code
Become an Expert!

Join 340,154 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 3,965 people online right now. Registration is fast and FREE... Join Now!



Discrete structures - logic problem

Discrete structures - logic problem

#1 swimchelle  Icon User is offline

  • New D.I.C Head
  • Pip
  • Group: New Members
  • Posts: 1
  • Joined: 24-September 08


Dream Kudos: 0

Posted 25 May 2009 - 12:31 AM

Hi I have just started learning discrete structures, propositional and predicate logic
I have no idea where to start on this problem.
Prove (b(1)=J ^ b(2)=S ^ b(3)=C) v (b(1) = S ^ b(2)=C ^ b(3)=J) and then
(b(3)=J -> b(1)=S ^ b(2)=C) ^ (b(3)=C -> b(1)=J ^ b(2)=S)
Any hints on where to start would be much appreciated!!
THANKS
Was This Post Helpful? 0
  • +
  • -


#2 IngeniousHax  Icon User is offline

  • |>|20-514<|{3|2
  • PipPipPipPip
  • Group: Members
  • Posts: 701
  • Joined: 28-March 09


Dream Kudos: 0

Posted 25 May 2009 - 09:48 AM

Do you have values for b? or is that all the information you have?
Was This Post Helpful? 0
  • +
  • -

#3 Dantheman  Icon User is offline

  • D.I.C Regular
  • PipPipPip
  • Group: Members
  • Posts: 445
  • Joined: 27-May 09


Dream Kudos: 0

Posted 28 May 2009 - 03:28 PM

View Postswimchelle, on 25 May, 2009 - 12:31 AM, said:

Hi I have just started learning discrete structures, propositional and predicate logic
I have no idea where to start on this problem.
Prove (b(1)=J ^ b(2)=S ^ b(3)=C) v (b(1) = S ^ b(2)=C ^ b(3)=J) and then
(b(3)=J -> b(1)=S ^ b(2)=C) ^ (b(3)=C -> b(1)=J ^ b(2)=S)
Any hints on where to start would be much appreciated!!
THANKS


I have a good understanding of propositional logic (studied it in Discrete Math, Mathematical Logic, and Logic classes), but I have no idea what you wrote. I understand that

^ is a conjunction
v is a disjunction
-> is implication
= is equivalence

but everything else makes absolutely no sense. For example what is b(2) supposed to mean?
Was This Post Helpful? 0
  • +
  • -

#4 JayFCox  Icon User is offline

  • New D.I.C Head
  • Pip
  • Group: Members
  • Posts: 41
  • Joined: 31-May 09


Dream Kudos: 0

Posted 31 May 2009 - 10:42 AM

View PostDantheman, on 28 May, 2009 - 03:28 PM, said:

View Postswimchelle, on 25 May, 2009 - 12:31 AM, said:

Hi I have just started learning discrete structures, propositional and predicate logic
I have no idea where to start on this problem.
Prove (b(1)=J ^ b(2)=S ^ b(3)=C) v (b(1) = S ^ b(2)=C ^ b(3)=J) and then
(b(3)=J -> b(1)=S ^ b(2)=C) ^ (b(3)=C -> b(1)=J ^ b(2)=S)
Any hints on where to start would be much appreciated!!
THANKS


I have a good understanding of propositional logic (studied it in Discrete Math, Mathematical Logic, and Logic classes), but I have no idea what you wrote. I understand that

^ is a conjunction
v is a disjunction
-> is implication
= is equivalence

but everything else makes absolutely no sense. For example what is b(2) supposed to mean?


I think he's slightly misunderstanding the problem.
b(2) doesn't mean anything more than what's stated. b2 either is equal to S or C!
Just take
(b(1)=J ^ b(2)=S ^ b(3)=C) v (b(1) = S ^ b(2)=C ^ b(3)=J)
as "the truth".

So, Either
b(1) is J and b(2) is S and b(3) isC
or
b(1) is S and b(2) is C and b(3) is J

From that, prove
1. if b(1) is J then b(2) is S and b(3) is C
and
2. if b(2) is S then b(2) is C and b(3) is J

Hope this helps,

Jay
Was This Post Helpful? 1
  • +
  • -

#5 Dantheman  Icon User is offline

  • D.I.C Regular
  • PipPipPip
  • Group: Members
  • Posts: 445
  • Joined: 27-May 09


Dream Kudos: 0

Posted 06 June 2009 - 07:58 AM

Oh. Well, in that case I can't see what can be the problem. The question basically gives the answer right away.

Look at the value of b3, then look if it matches any given conditions. Can't get any simpler than that.
Was This Post Helpful? 0
  • +
  • -



Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month