Sunday, February 7, 2010

How Many Flowers?

All of Sally's flowers, except two, are roses.

All of her flowers, except two, are tulips.

All of her flowers, except two, are daisies.

How many flowers does Sally own?


(there are 2 possible solutions)

17 Comments:

Blogger Chris said...

3. I'll be back though.

February 7, 2010 6:47 AM  
Blogger Chris said...

Sally has either got 1 rose, 1 tulip and 1 daisy, or 2 of an unspecified flower or flowers.

February 7, 2010 7:07 AM  
Blogger Zaux said...

Morning Chris ...

right you are ...

you watching the Super bowl today .. or do you not give a flip about American football? ... :)

February 7, 2010 7:33 AM  
Anonymous Simon H said...

All of Sally's flowers, except two, are roses. (A)
All of her flowers, except two, are tulips. (B)
All of her flowers, except two, are daisies. (C)

Let F be the total number of flowers Sally owns.
Let R be the number of roses Sally owns.
Let D be the number of daisies Sally owns.
Let T be the number of tulips Sally owns.
Let A be the total number of all other types of flowers that Sally owns. (The question does not state that Sally owns only roses, daisies and tulips.)

By definition:

F=R+T+D+A (i)

First case scenaro, assume Sally only owns roses, tulips and daisies, ie A=0.

From (i):

F=R+T+D (ii)

From (A), (B) and (C) respectively:

F=2+R (iii)
F=2+T (iv)
F=2+D (v)

(iii), (iv) and (v) give:

2+R = 2+T = 2+D

R = T = D (vi)

We can now interchange R, T and D in any equation we like, as we know they are all equal to each other.
Using this method, (ii) can be changed to:

F=3R (vii)

From (iii) and (vii) we get

3R=2+R
2R=2
R=1

Therefore from (vi), T=1 and D=1

Enter these values for R, T and D into (ii) gives

F=3

So the first solution is that Sally owns 3 flowers which are one rose, one tulip and one daisy.

Now consider the second scenario, where A is non-zero.

(iii), (iv), (v) and (vi) still hold true so (i) can be changed to:

F=3R+A (viii)

(iii) and (viii) give:

3R+A = 2+R
R+A=2
A=2-R (ix)

(iii), (iv) and (v) can be written as:

F-2=R
F-2=T
F-2=D

substitute for R,T and D in (i) gives:

F=(F-2) + (F-2) + (F-2) + A
F=3F-6+A
A=6-2F (x)

(iii) and (x) give:

A=6-2(R+2)
A=6-2R-4
A=2-2R (xi)

(ix) and (xi) give:

2-R = 2-2R
-R=-2R
R=0

(vi) tells us that T=0 and D=0

(xi) gives A=2

So the second solution is that Sally owns 2 flowers, neither of which are roses, tulips or daisies. Maybe she has 2 orchids.

February 7, 2010 7:37 AM  
Blogger Zaux said...

hi Simon ...

nice analysis ...

February 7, 2010 7:39 AM  
Anonymous Simon H said...

Thanks! I had the answer before any posts were made but instead of just saying "2 or 3" (Chris...) I decided to provide a proof! ;)

February 7, 2010 7:52 AM  
Anonymous Anonymous said...

Wow that was mouthful, Simon, but nice. I couldn't really figure out another answer. Only 2 is what i calculated yet.

SpArKo

February 7, 2010 8:16 AM  
Blogger Chris said...

This post has been removed by the author.

February 7, 2010 8:56 AM  
Blogger Chris said...

Reposting as this is slightly better than my last version.

Hi Simon. I nearly always publish my reasoning (your ;) tells me
that you knew that).

Let f = total number of flowers, r, t, d and a be the number of
each type. Let (1) f = r+t+d+a. In the sequence specified in the
question, we obtain:
(2) t+d+a = 2, (3) r+d+a = 2, (4) r+t+a = 2.

(2)-(3) => t-r = 0 => t = r,
(3)-(4) => d-t = 0 => d = t. So d = t = r.
Subst t for d in (2) => 2t + a = 0
So either a = 0 and t = 1 or a = 2 and t = 0.
If a = 0 then r = t = d = 1 and f = 3
If a = 2 then r = t = d = 0 and f = 2

Of course a could be replaced by x+y and if a = 2 could have
x = 2, y = 0 or x = 0, y = 2 or x = y = 1.

February 7, 2010 9:32 AM  
Anonymous Simon H said...

Hi Chris - only a bit of gentle ribbing! I think you have a mistake in your analysis though-

Where you say "Subst t for d in (2) => 2t+a=0

it should say 2t+a=2 maybe?
Your reasoning would then be correct in yielding the only non-negative integer solutions a=0,t=1 and a=2,t=0

My proof took a little more space as I decided to provide algebraically complete solutions. (I agree that 2t+a+2 is pretty simple to solve by trial and error with non-neg integer values but this is not strictly a proof!)

;D

February 7, 2010 10:13 AM  
Anonymous Simon H said...

Sorry I had a mistake too! Of course I meant "2t+a=2" both times!

February 7, 2010 10:14 AM  
Anonymous Anonymous said...

3 because the other 2 are not the specified flower therefore there is one of each making 3 flowers total.

Posted by The Godson

February 7, 2010 10:24 AM  
Blogger Chris said...

Hi Simon. Well spotted; it is/was a typo.

I'm not sure that I understand the rest of your comment though. You made an initial assumption that a = 0 without any explanation as to why you felt that was OK to do. A priori, it may even have led to a contradiction.

I don't believe that it is possible to show that 2t + a = 2 leads to a = 0 and t = 1, or a = 2 and t = 0, without resorting to trial and error (or what, to me, is the same thing, a set of tables). You can say that t and a are integers, as you assume that the problem doesn't allow for fractional flowers. If it did, then the problem would have an infinite number of solutions.

February 7, 2010 1:38 PM  
Anonymous Anonymous said...

sally only has one rose and one tulip
daisies are weeds total flowers 2

February 7, 2010 2:28 PM  
Blogger Chris said...

A weed is a plant or flower that grows where you don't want it to.

February 7, 2010 2:56 PM  
Blogger Chris said...

... and more importantly, Sally cannot only have 1 tulip and 1 daisy in the given problem. She'll have to have two other types of flowers.

February 7, 2010 5:14 PM  
Blogger Alexander said...

I vote 3.
That's before I read what everyone said about it

February 8, 2010 6:32 PM  

Post a Comment

Links to this post:

Create a Link

<< Home