?
Solved

Needs help in logic

Posted on 2011-09-05
7
Medium Priority
?
329 Views
Last Modified: 2012-05-12
A={2,3,4}
B={3,4,5,6}
U={1,2,3,4,5,6,7,8,9}

P(B\A)

Answer is
{0,{5},{6},{5,6}}

Dont know how it get that needs help. Thanks.
0
Comment
Question by:mustish1
  • 3
  • 2
  • 2
7 Comments
 
LVL 20

Accepted Solution

by:
n2fc earned 2000 total points
ID: 36485895
See:  http://www.mathgoodies.com/lessons/vol6/conditional.html
for explanation on conditional probabilty...

Rule to use is:
P(B | A)  =   P(A and B)  /  P(A)
0
 

Author Comment

by:mustish1
ID: 36485922
A={2,3,4}
B={3,4,5,6}
(A and B) = {2,3,4,5,6}

is this is correct. I am guessing here and means U.
0
 

Author Comment

by:mustish1
ID: 36485993
I think B\A = {5, 6} because 5 and 6 are elements of B but not of A.
power set of {5, 6} means ?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:mustish1
ID: 36486214
The proper subsets of {5, 6} are {5} and {6} and then add in the empty set and the set itself.

i dont know if this is the way to do that.
0
 
LVL 20

Expert Comment

by:n2fc
ID: 36486231
I believe you are correct in your assumptions!  Thus you match the answer given in your original poser.
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 36486784
Um, it's not conditional probability. The problem is asking for the power set of A\B
A\B is the set of elements that are in A and not in B so {5,6} in this case. And then the power set is all the possible subsets you can create from that set so of course it would be the { {Ø} {5} {6} {5,6} }
As long as you mean empty set when you write {0} then your answer is correct. I would use the Ø character instead to avoid confusion (Hold the Alt key down and press 0216 on the keypad in Windows to get that character).
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 36486790
Sorry, of course in your question we had B\A (elements in B but not in A). I wrote A\B in the above post, but the definition is the same so don't let my typo confuse you.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

809 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