SOLUTION: 400 students are surveyed about the pets they have. 250 have a dog, 190 have a cat and 160 have a dog and a cat. What is the probability that a student has a dog? And what is t

Algebra ->  Customizable Word Problem Solvers  -> Misc -> SOLUTION: 400 students are surveyed about the pets they have. 250 have a dog, 190 have a cat and 160 have a dog and a cat. What is the probability that a student has a dog? And what is t      Log On

Ad: Over 600 Algebra Word Problems at edhelper.com


   



Question 1134540: 400 students are surveyed about the pets they have. 250 have a dog, 190 have a cat
and 160 have a dog and a cat. What is the probability that a student has a dog?
And what is the probability the student has a dog OR a cat?

Found 2 solutions by ikleyn, Edwin McCravy:
Answer by ikleyn(52778) About Me  (Show Source):
You can put this solution on YOUR website!
.
There is a universal set U of 400 students.


There is a subset D of 250 students that have a dog.


There is a subset C of 190 students that have a cat.


And there is the intersection (D n C) of these subsets, which contains 160 students that have a dog AND a cat.


Then the number of students who have a dog OR a cat is  n(D U C) = n(D) + n(C) - n(D n C) = 250 + 190 - 160 = 280.


The answer to the first question is  P(D) = n%28D%29%2F400 = 250%2F400 = 5%2F8.


The answer to the second question is  P(D U C) = n%28d_U_C%29%2F400 = 280%2F400 = 7%2F10.

Solved, answered and completed.

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

If you want to learn more about the formula to calculate the union of subsets, look into my lesson
    - Counting elements in sub-sets of a given finite set
in this site.


Answer by Edwin McCravy(20054) About Me  (Show Source):
You can put this solution on YOUR website!
400 students are surveyed about the pets they have. 250 have a dog, 190 have a
cat and 160 have a dog and a cat. What is the probability that a student has a
dog?
The probability of a dog is 250 out of 400 = 250/400 = 5/8

For the other question I think a Venn diagram is better.

Let D = the set of students who own dogs.
Let C = the set of students who own cats.
Let w = the number of students with dogs but NO cats.
Let x = the number of students both cats and dogs.
Let y = the number of students with cats but NO dogs. 
Let z = the number of students with NO dogs and NO cats.



400 students are surveyed about the pets they have.

So w + x + y + z = 400.  

250 have a dog,

So w + x = 250

190 have a cat,

So x + y = 190

160 have a dog and a cat.

So x = 160

Substitute 160 for x in w + x = 250
                      w + 160 = 250
                            w = 90

Substitute 160 for x in x + y = 190
                      160 + y = 190
                            y = 30

Substitute w=90, x=160, y=30, in w + x + y + z = 400
                             90 + 160 + 30 + z = 400
                                       280 + z = 400
                                             z = 120

[You weren't asked for z, but you should know how to find it anyway,
in case you'd have been asked about petless students]



And what is the probability the student has a dog OR a cat?

That's the number in both circles over 400, or (w+x+y)/400 = (90+160+30)/400 =
280/400 = 7/10

Edwin