Results 1 to 3 of 3

Math Help - Converting Sentence to Boolean Expression...

  1. #1
    Newbie
    Joined
    Oct 2008
    Posts
    14

    Converting Sentence to Boolean Expression...

    Hey guys,

    If I have three variables: X, Y, and Z, and I want to convert "exactly two of the three variables" into a boolean expression, would I express that as...

    (X^Y^!Z) \/ (X^!Y^Z) \/ (!X^Y^Z)

    ...with ^ being AND, \/ being OR, and ! being NOT?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member

    Joined
    May 2006
    From
    Lexington, MA (USA)
    Posts
    11,707
    Thanks
    627
    Hello, inthedl!

    If I have three variables: X, Y,\text{ and }Z, and I want to convert

    "exactly two of the three variables" into a boolean expression,

    would I express that as: . (X \wedge Y \wedge \sim\!Z) \vee (X \wedge \sim\!Y \wedge Z) \vee (\sim\!X \wedge Y \wedge Z)

    Yes, that's correct.

    The three cases are mutually exclusive, so an ordinary OR will suffice.

    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Oct 2008
    Posts
    14
    Thanks! I appreciate your help!
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. help with simplifying boolean expression
    Posted in the Discrete Math Forum
    Replies: 1
    Last Post: October 10th 2011, 05:48 AM
  2. boolean expression
    Posted in the Discrete Math Forum
    Replies: 2
    Last Post: May 14th 2011, 11:11 AM
  3. Simplify boolean expression.
    Posted in the Discrete Math Forum
    Replies: 8
    Last Post: March 1st 2011, 05:57 PM
  4. Boolean Expression
    Posted in the Discrete Math Forum
    Replies: 2
    Last Post: January 24th 2011, 11:51 PM
  5. Boolean expression simplification
    Posted in the Discrete Math Forum
    Replies: 3
    Last Post: September 1st 2010, 08:23 AM

Search Tags


/mathhelpforum @mathhelpforum