Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.math > #548334 > unrolled thread

daily problem

Started byRichD <r_delaney2001@yahoo.com>
First post2021-12-14 19:52 -0800
Last post2021-12-19 14:02 -0800
Articles 20 on this page of 43 — 11 participants

Back to article view | Back to sci.math


Contents

  daily problem RichD <r_delaney2001@yahoo.com> - 2021-12-14 19:52 -0800
    Re: daily problem Mike Terry <news.dead.person.stones@darjeeling.plus.com> - 2021-12-15 18:19 +0000
      Re: daily problem RichD <r_delaney2001@yahoo.com> - 2021-12-15 17:38 -0800
        Re: daily problem Mike Terry <news.dead.person.stones@darjeeling.plus.com> - 2021-12-16 02:47 +0000
          Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-16 00:10 -0800
            Re: daily problem Mike Terry <news.dead.person.stones@darjeeling.plus.com> - 2021-12-16 14:22 +0000
            Re: daily problem RichD <r_delaney2001@yahoo.com> - 2021-12-16 17:00 -0800
              Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-17 00:16 -0800
                Re: daily problem FromTheRafters <erratic@nomail.afraid.org> - 2021-12-17 06:06 -0500
                  Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-17 09:35 -0800
                Re: daily problem Mike Terry <news.dead.person.stones@darjeeling.plus.com> - 2021-12-17 17:39 +0000
                  Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-18 09:05 -0800
                    Re: daily problem Jim Burns <james.g.burns@att.net> - 2021-12-18 15:00 -0500
                      Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-18 13:47 -0800
                        Re: daily problem Jim Burns <james.g.burns@att.net> - 2021-12-18 21:23 -0500
        Re: daily problem duncan smith <duncan@invalid.invalid> - 2021-12-16 19:49 +0000
          Re: daily problem Mike Terry <news.dead.person.stones@darjeeling.plus.com> - 2021-12-17 18:02 +0000
    Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-15 10:30 -0800
      Re: daily problem FromTheRafters <erratic@nomail.afraid.org> - 2021-12-15 14:30 -0500
        Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-15 11:41 -0800
          Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-18 13:57 -0800
            Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-18 14:03 -0800
            Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-18 14:06 -0800
              Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-18 16:27 -0800
                Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-18 18:45 -0800
                  Re: daily problem RichD <r_delaney2001@yahoo.com> - 2021-12-19 16:03 -0800
                    Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-19 16:15 -0800
        Re: daily problem RichD <r_delaney2001@yahoo.com> - 2021-12-15 17:54 -0800
          Re: daily problem Serg io <invalid@invalid.com> - 2021-12-18 23:11 -0600
            Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-18 21:29 -0800
    Re: daily problem Serg io <invalid@invalid.com> - 2021-12-15 13:52 -0600
      Re: daily problem Diego Garcia <dg@chaos.info> - 2021-12-18 18:21 +0000
        Re: daily problem James Waldby <j-waldby@no.no> - 2021-12-20 05:15 +0000
          Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-19 21:40 -0800
          Re: daily problem Diego Garcia <dg@chaos.info> - 2021-12-21 10:36 +0000
            Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-21 09:58 -0800
    Re: daily problem Alan Mackenzie <acm@muc.de> - 2021-12-15 21:16 +0000
      Re: daily problem Serg io <invalid@invalid.com> - 2021-12-15 15:31 -0600
      Re: daily problem Mike Terry <news.dead.person.stones@darjeeling.plus.com> - 2021-12-15 21:47 +0000
      Re: daily problem RichD <r_delaney2001@yahoo.com> - 2021-12-15 17:46 -0800
        Re: daily problem RichD <r_delaney2001@yahoo.com> - 2021-12-15 17:57 -0800
    Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-19 13:53 -0800
      Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-19 14:02 -0800

Page 1 of 3  [1] 2 3  Next page →


#548334 — daily problem

FromRichD <r_delaney2001@yahoo.com>
Date2021-12-14 19:52 -0800
Subjectdaily problem
Message-ID<2e959655-3fd4-4261-ba4c-064478b186b6n@googlegroups.com>
A one meter glass rod falls and breaks in two, at 
a random point.  What's the expected ratio of the longer 
to shorter piece?

This is a schoolboy homework problem, nothing deep.  
But it's also a trick question, which makes it mildly amusing -

--
Rich

[toc] | [next] | [standalone]


#548381

FromMike Terry <news.dead.person.stones@darjeeling.plus.com>
Date2021-12-15 18:19 +0000
Message-ID<f4udnXt1wIQKrCf8nZ2dnUU78R3NnZ2d@brightview.co.uk>
In reply to#548334
On 15/12/2021 03:52, RichD wrote:
> A one meter glass rod falls and breaks in two, at
> a random point.  What's the expected ratio of the longer
> to shorter piece?
> 
> This is a schoolboy homework problem, nothing deep.
> But it's also a trick question, which makes it mildly amusing -
> 

Nobody's answered, so here's my thinking:

When you divide by a length that can be arbitrarily small (as we must do 
here) there's no upper bound on the result so there is the possibility 
that the expectation may not exist (or put another way, it might be 
infinite).  Or it might still be finite, depending on the exact integral 
for the expectation.  (I just said all that as a pre-warning.)

In your case, let the breakage point be distance x from one end - so the 
ratio of longer to shorter is going to be greater than (C/x) for a 
suitable constant C, and we will have an integral of (C/x) for an 
interval [0, something > 0].  This integral is infinite, as the 
indefinite integral is C log(x) which goes to -oo as x goes to zero.

So the expectation is going to be infinite for your problem.  I may have 
been tricked by the "trick question" aspect though?

Mike.

[toc] | [prev] | [next] | [standalone]


#548422

FromRichD <r_delaney2001@yahoo.com>
Date2021-12-15 17:38 -0800
Message-ID<13af6661-e0dd-4e53-bdce-2485c14b9f38n@googlegroups.com>
In reply to#548381
On December 15, Mike Terry wrote:
>> A one meter glass rod falls and breaks in two, at 
>> a random point. What's the expected ratio of the longer 
>> to shorter piece? 
>> This is a schoolboy homework problem, nothing deep. 
>> But it's also a trick question, which makes it mildly amusing - 
> 
> When you divide by a length that can be arbitrarily small (as we must do 
> here) there's no upper bound on the result so there is the possibility 
> that the expectation may not exist (or put another way, it might be 
> infinite). 
> In your case, let the breakage point be distance x from one end - so the 
> ratio of longer to shorter is going to be greater than (C/x) for a 
> suitable constant C  
> This integral is infinite, as the indefinite integral is C log(x) 
 
hmmm... my first reaction is, no problem, the integral is weighted by the 
distribution.  But that's uniform, which doesn't ameliorate the problem.

Surprising, isn't it?  The ratio of short piece to long is well defined, but the 
converse blows up.  I tricked myself!  Good catch.
 
Re-formulate:  What's the expected ratio of the shorter to longer piece? 

It appears you're well on the way to the solution.  A mere schoolboy task, 
as promised.

--
Rich

[toc] | [prev] | [next] | [standalone]


#548435

FromMike Terry <news.dead.person.stones@darjeeling.plus.com>
Date2021-12-16 02:47 +0000
Message-ID<spe9cp$1p3e$1@gioia.aioe.org>
In reply to#548422
On 16/12/2021 01:38, RichD wrote:
> On December 15, Mike Terry wrote:
>>> A one meter glass rod falls and breaks in two, at
>>> a random point. What's the expected ratio of the longer
>>> to shorter piece?
>>> This is a schoolboy homework problem, nothing deep.
>>> But it's also a trick question, which makes it mildly amusing -
>>
>> When you divide by a length that can be arbitrarily small (as we must do
>> here) there's no upper bound on the result so there is the possibility
>> that the expectation may not exist (or put another way, it might be
>> infinite).
>> In your case, let the breakage point be distance x from one end - so the
>> ratio of longer to shorter is going to be greater than (C/x) for a
>> suitable constant C
>> This integral is infinite, as the indefinite integral is C log(x)
>   
> hmmm... my first reaction is, no problem, the integral is weighted by the
> distribution.  But that's uniform, which doesn't ameliorate the problem.
> 
> Surprising, isn't it?  The ratio of short piece to long is well defined, but the
> converse blows up.  I tricked myself!  Good catch.
>   
> Re-formulate:  What's the expected ratio of the shorter to longer piece?

I'll take your rewording as asking for
    E( short length / long length)
which won't have any divergence issues as the random variable is bounded.

But I'll have to look at it tomorrow, and I'm out most of the day so 
probably someone else will have got the answer by then...

Quick note: the expectation can't be derived by dividing
     E(short length) / E(long length).
(even if they were independent, which they're not..)


Mike.

[toc] | [prev] | [next] | [standalone]


#548451

FromJulio Di Egidio <julio@diegidio.name>
Date2021-12-16 00:10 -0800
Message-ID<87959a4b-3de4-4545-adda-064814e456d4n@googlegroups.com>
In reply to#548435
On Thursday, 16 December 2021 at 03:48:05 UTC+1, Mike Terry wrote:
> On 16/12/2021 01:38, RichD wrote: 
> > On December 15, Mike Terry wrote: 
> >>> A one meter glass rod falls and breaks in two, at 
> >>> a random point. What's the expected ratio of the longer 
> >>> to shorter piece? 
> >>> This is a schoolboy homework problem, nothing deep. 
> >>> But it's also a trick question, which makes it mildly amusing - 
> >> 
> >> When you divide by a length that can be arbitrarily small (as we must do 
> >> here) there's no upper bound on the result so there is the possibility 
> >> that the expectation may not exist (or put another way, it might be 
> >> infinite). 
> >> In your case, let the breakage point be distance x from one end - so the 
> >> ratio of longer to shorter is going to be greater than (C/x) for a 
> >> suitable constant C 
> >> This integral is infinite, as the indefinite integral is C log(x) 
> > 
> > hmmm... my first reaction is, no problem, the integral is weighted by the 
> > distribution. But that's uniform, which doesn't ameliorate the problem. 
> > 
> > Surprising, isn't it? The ratio of short piece to long is well defined, but the 
> > converse blows up. I tricked myself! Good catch. 
> > 
> > Re-formulate: What's the expected ratio of the shorter to longer piece?

One problem is insoluble and the reciprocal is trivial?  Doesn't sound right.

> I'll take your rewording as asking for 
> E( short length / long length) 
> which won't have any divergence issues as the random variable is bounded. 
> 
> But I'll have to look at it tomorrow, and I'm out most of the day so 
> probably someone else will have got the answer by then... 
> 
> Quick note: the expectation can't be derived by dividing 
> E(short length) / E(long length). 
> (even if they were independent, which they're not..) 

The expectation of a quotient is not the quotient of the expectations.

But can't we write our problem as E(x/(L-x))?  Why is that two variables?

Julio

[toc] | [prev] | [next] | [standalone]


#548473

FromMike Terry <news.dead.person.stones@darjeeling.plus.com>
Date2021-12-16 14:22 +0000
Message-ID<spfi2m$1ulk$1@gioia.aioe.org>
In reply to#548451
On 16/12/2021 08:10, Julio Di Egidio wrote:
> On Thursday, 16 December 2021 at 03:48:05 UTC+1, Mike Terry wrote:
>> On 16/12/2021 01:38, RichD wrote:
>>> On December 15, Mike Terry wrote:
>>>>> A one meter glass rod falls and breaks in two, at
>>>>> a random point. What's the expected ratio of the longer
>>>>> to shorter piece?
>>>>> This is a schoolboy homework problem, nothing deep.
>>>>> But it's also a trick question, which makes it mildly amusing -
>>>>
>>>> When you divide by a length that can be arbitrarily small (as we must do
>>>> here) there's no upper bound on the result so there is the possibility
>>>> that the expectation may not exist (or put another way, it might be
>>>> infinite).
>>>> In your case, let the breakage point be distance x from one end - so the
>>>> ratio of longer to shorter is going to be greater than (C/x) for a
>>>> suitable constant C
>>>> This integral is infinite, as the indefinite integral is C log(x)
>>>
>>> hmmm... my first reaction is, no problem, the integral is weighted by the
>>> distribution. But that's uniform, which doesn't ameliorate the problem.
>>>
>>> Surprising, isn't it? The ratio of short piece to long is well defined, but the
>>> converse blows up. I tricked myself! Good catch.
>>>
>>> Re-formulate: What's the expected ratio of the shorter to longer piece?
> 
> One problem is insoluble and the reciprocal is trivial?  Doesn't sound right.
> 
>> I'll take your rewording as asking for
>> E( short length / long length)
>> which won't have any divergence issues as the random variable is bounded.
>>
>> But I'll have to look at it tomorrow, and I'm out most of the day so
>> probably someone else will have got the answer by then...
>>
>> Quick note: the expectation can't be derived by dividing
>> E(short length) / E(long length).
>> (even if they were independent, which they're not..)
> 
> The expectation of a quotient is not the quotient of the expectations.

Exactly!
> 
> But can't we write our problem as E(x/(L-x))?  Why is that two variables?

Yes, that's what we want.  We can calculate it as an integral.  Both x 
and (L-x) are (obviously dependent) "random variables", as is x/(L-x). 
That's a different usage of the word "variable" compared with familiar 
equations in algebra.

> 
> Julio
> 

[toc] | [prev] | [next] | [standalone]


#548509

FromRichD <r_delaney2001@yahoo.com>
Date2021-12-16 17:00 -0800
Message-ID<2f74bb42-9fab-4b21-bd25-06bbf2e96230n@googlegroups.com>
In reply to#548451
On December 16, ju...@diegidio.name wrote:
>> >>> A one meter glass rod falls and breaks in two, at 
>> >>> a random point. What's the expected ratio of the longer 
>> >>> to shorter piece? 
>>> Re-formulate: What's the expected ratio of the shorter to longer piece?
>
> But can't we write our problem as  E(x/(L-x))?  Why is that two variables? 

Informationally, they're equivalent.  So it looks like one unknown.

Let x be the length of the short piece, y is the long piece.
Draw a histogram for each.  The have different domains, hence 
distinct random variables.

We want E[x/y]
y = L - x
etc.


--
Rich

[toc] | [prev] | [next] | [standalone]


#548531

FromJulio Di Egidio <julio@diegidio.name>
Date2021-12-17 00:16 -0800
Message-ID<f51ee69a-951b-4309-a625-0cc4e28b9cc3n@googlegroups.com>
In reply to#548509
On Friday, 17 December 2021 at 02:00:31 UTC+1, RichD wrote:
> On December 16, ju...@diegidio.name wrote: 
> >> >>> A one meter glass rod falls and breaks in two, at 
> >> >>> a random point. What's the expected ratio of the longer 
> >> >>> to shorter piece?
> >>> Re-formulate: What's the expected ratio of the shorter to longer piece? 
> >
> > But can't we write our problem as E(x/(L-x))? Why is that two variables?
> Informationally, they're equivalent. So it looks like one unknown. 
> 
> Let x be the length of the short piece, y is the long piece. 
> Draw a histogram for each. The have different domains, hence 
> distinct random variables. 
> 
> We want E[x/y] 
> y = L - x 
> etc. 

I am not the expert here and if you guys keep not answering I'll have to go back reading definitions: indeed, you should show that it's two (or even more, according to Mike) random variables starting *from definitions*, not just by repeating yourself in different words and/or by restricting the problem, which changes nothing in that sense...

Julio

[toc] | [prev] | [next] | [standalone]


#548539

FromFromTheRafters <erratic@nomail.afraid.org>
Date2021-12-17 06:06 -0500
Message-ID<sphqvl$mf4$1@dont-email.me>
In reply to#548531
Julio Di Egidio was thinking very hard :
> On Friday, 17 December 2021 at 02:00:31 UTC+1, RichD wrote:
>> On December 16, ju...@diegidio.name wrote: 
>>>>>>> A one meter glass rod falls and breaks in two, at 
>>>>>>> a random point. What's the expected ratio of the longer 
>>>>>>> to shorter piece?
>>>>> Re-formulate: What's the expected ratio of the shorter to longer piece? 
>>> 
>>> But can't we write our problem as E(x/(L-x))? Why is that two variables?
>> Informationally, they're equivalent. So it looks like one unknown. 
>> 
>> Let x be the length of the short piece, y is the long piece. 
>> Draw a histogram for each. The have different domains, hence 
>> distinct random variables. 
>> 
>> We want E[x/y] 
>> y = L - x 
>> etc. 
>
> I am not the expert here and if you guys keep not answering I'll have to go 
> back reading definitions: indeed, you should show that it's two (or even 
> more, according to Mike) random variables starting *from definitions*, not 
> just by repeating yourself in different words and/or by restricting the 
> problem, which changes nothing in that sense...

That could be difficult when dealing with 'random' without any useable 
distribution. It seems to me that asserting the left-right to be long- 
short or short-long misses the fact that improper ratios are ratios 
too.

[toc] | [prev] | [next] | [standalone]


#548547

FromJulio Di Egidio <julio@diegidio.name>
Date2021-12-17 09:35 -0800
Message-ID<6556e035-7388-472d-9465-228a6904455en@googlegroups.com>
In reply to#548539
On Friday, 17 December 2021 at 12:06:41 UTC+1, FromTheRafters wrote:
> Julio Di Egidio was thinking very hard :
> > On Friday, 17 December 2021 at 02:00:31 UTC+1, RichD wrote: 
> >> On December 16, ju...@diegidio.name wrote: 
> >>>>>>> A one meter glass rod falls and breaks in two, at 
> >>>>>>> a random point. What's the expected ratio of the longer 
> >>>>>>> to shorter piece? 
> >>>>> Re-formulate: What's the expected ratio of the shorter to longer piece? 
> >>> 
> >>> But can't we write our problem as E(x/(L-x))? Why is that two variables? 
> >> Informationally, they're equivalent. So it looks like one unknown. 
> >> 
> >> Let x be the length of the short piece, y is the long piece. 
> >> Draw a histogram for each. The have different domains, hence 
> >> distinct random variables. 
> >> 
> >> We want E[x/y] 
> >> y = L - x 
> >> etc. 
> > 
> > I am not the expert here and if you guys keep not answering I'll have to go 
> > back reading definitions: indeed, you should show that it's two (or even 
> > more, according to Mike) random variables starting *from definitions*, not 
> > just by repeating yourself in different words and/or by restricting the 
> > problem, which changes nothing in that sense...
> 
> That could be difficult when dealing with 'random' without any useable 
> distribution.

Which specific distribution it is (and we should assume uniform here, since no specific information was given) is irrelevant to my question, which is a formal question.  That said, I think I have found the information I was looking for:

<https://en.wikipedia.org/wiki/Random_variable#Functions_of_random_variables>

Now all that is left is do the calculations...  ;)

> It seems to me that asserting the left-right to be long- 
> short or short-long misses the fact that improper ratios are ratios 
> too.

1/0 is simply undefined in standard mathematics, but I'd grant you that "divergent" is an answer...

Julio

[toc] | [prev] | [next] | [standalone]


#548548

FromMike Terry <news.dead.person.stones@darjeeling.plus.com>
Date2021-12-17 17:39 +0000
Message-ID<spii0j$137p$1@gioia.aioe.org>
In reply to#548531
On 17/12/2021 08:16, Julio Di Egidio wrote:
> On Friday, 17 December 2021 at 02:00:31 UTC+1, RichD wrote:
>> On December 16, ju...@diegidio.name wrote:
>>>>>>> A one meter glass rod falls and breaks in two, at
>>>>>>> a random point. What's the expected ratio of the longer
>>>>>>> to shorter piece?
>>>>> Re-formulate: What's the expected ratio of the shorter to longer piece?
>>>
>>> But can't we write our problem as E(x/(L-x))? Why is that two variables?
>> Informationally, they're equivalent. So it looks like one unknown.
>>
>> Let x be the length of the short piece, y is the long piece.
>> Draw a histogram for each. The have different domains, hence
>> distinct random variables.
>>
>> We want E[x/y]
>> y = L - x
>> etc.
> 
> I am not the expert here and if you guys keep not answering I'll have to go back reading definitions: indeed, you should show that it's two (or even more, according to Mike) random variables starting *from definitions*, not just by repeating yourself in different words and/or by restricting the problem, which changes nothing in that sense...
> 
> Julio
> 

I'll go back to definitions for you (I'll follow with a couple of 
examples which hopefully will make it clearer, as there's a fair bit to 
take in just by reading definitions):

First, we start with an underlying set which we can think of as 
containing the outcomes for a hypothetical experiment we might perform. 
(The experiment is not essential for theoretical development but guides 
our intuition.)  I forget what this is normally called - the outcome 
space? The underlying probability space?  Something with "space" in the 
name :)

Then we have a set of "events" whose probability we measure, and each 
event has it's own probability.  The events are just subsets of the 
outcome space.  There are rules for how the probabilities of different 
events must relate, e.g. if events A, B are disjoint, then P(A U B) = 
P(A) + P(B) etc..  [If you are familiar with measure theory I'd just say 
what we have here corresponds exactly to a measure space where the total 
measure of the space is 1.  The events are the measurable sets.]

Then we define "random variables" to be functions from the underlying 
outcome space to the real numbers.  [The function must be consistent 
with the probability measure, in the sense that it's required to be a 
"measurable" function.  If you don't know what that is you'll need to 
get a background in measure theory, or I suggest for now just forget 
about the requirement since it's likely all functions you might think up 
or be interested in are going to be measurable.  In particular, for a 
discrete space [see first example below] all subsets are typically 
measureable and all functions are measurable.]

Two examples:

-----------------------
1)  Modelling rolling of two fair dice:   [a "discreet" probability]

The outcome space X will have 36 elements which will be ordered pairs of
          (1st die outcome, 2nd die outcome)
i.e. X = {1,2,3,4,5,6} x {1,2,3,4,5,6}
        = {(1,1), (1,2), (1,6), (2,1),..... (6,6)}

Events are all the subsets of X, and the probability measure assigns 
1/36 to each singleton event, and for larger events we just add up the 
probabilities for all the individual outcomes that make up that event, 
in the natural way.  So let event
      E = "roll a double"
        = { (1,1), (2,2), (3,3), (4,4), (5,5), (6,6) }
and then we have
      P(E) = 1/6   [.. = P({(1,1)}) + ... + P({(6,6)}) ]

You can see that individual outcomes are not numbers (they're ordered 
pairs in our case) so it would not make sense to ask what is the 
"expected value" of rolling two dice, with this model we've adopted.

That's why we have an added layer of "random variables" which map 
outcomes to real numbers. We can talk about expected values of random 
variables.

So here's a selection of some random variables:
      D1 = "result of 1st die"
      D2 = "result of 2nd die"
      S  = "sum of both dice"
Remember D1,D2,S are FUNCTIONS X :--> R, e.g.
      D1( (2,6) ) = 2
      S ( (3,1) ) = 4   and so on.

We can add, subtract, multiply etc. RVs in the obvious way. E.g. we have 
S = D1 + D2.

We also can talk about probabilities of random variables doing things, 
like e.g. P( D1 = 6 ).  The D1=6 must be translated back to it's 
corresponding event in the underlying probability space.  I.e.
      P( D1 = 6 ) = P( {(6,1), (6,2), (6,3), (6,4), (6,5), (6,6)} )
                  = 1/6

And we can talk of expectations of random variables.  This corresponds 
to an integral over the underlying probability space, but since this is 
discreet in our case, it just ammounts to the corresponding sum:
      E( S ) = 1.P(S=1) + 2.P(S=2) ... + 12.P(S=12)
             = 7
There is a general result (needs proof of course, but it's correct) that 
for any RVs A,B :  E(A+B) = E(A) + E(B).

Question:  S = D1 + D2, so with E(S) = E(D1+D2) = E(D1) + E(D2) do we 
have one or two random variables?

[answer: obviously S, D1, D2 are 3 separate RVs, but in asking what an 
expectation value is, the RV you're asking it of is 1 RV.  Knowing what 
RVs are, the question probably seems a bit misplaced...  If you think an 
RV is like an algebra question variable the question sounds sensible.]

-----------------------
2) A "continuous probability" example:  Modelling RichD's breaking rod.

This is more sophisticated, mathematically, because there are infinitely 
many outcomes forming a continuum.  But the overall procedure is the same:

Outcome space:  X = the interval [0,1], where an outcome x represents 
the rod breaking at distance x from left hand end.  [I've fixed the rod 
length as 1 here.]

Events:  subsets of X which are "measurable".  Without going into detail 
thats likely to be all subsets you would think up plus lots more :) 
E.g.  event "rod breaks in left half of rod" = [0, 1/2) etc.

Probabilities:  Remember these are defined for /events/ rather than for 
individual outcomes.  The probability measure is built up from the 
measure of intervals [a,b] which naturally are given measure (b-a), e.g.
      P("rod breaks in left side of rod") = P([0,1/2)) = 1/2

Hmm, ok I should say there are plenty of other measures that can be 
defined on [0,1].  The one here is the "uniform distribution" we've 
assumed for this problem, reflecting the idea that the rod is equally 
likely to break at any point.  Also when I said probability is defined 
for /events/ rather than /outcomes/, I should add that in this example 
singleton events like { x } /do/ have a probability, which is zero.  But 
that's less useful to us than in a discrete probability, because we 
can't use this to get the probability of events containing uncountably 
many outcomes like the event [0, 1/2).

Random variables:  they're the (measurable) functions on interval [0,1]. 
  Examples:
      K = length of left side of rod after breaking
        = x  [in this example, x is a real number, so this makes
              sense.  In the dice example, an outcome like (3,4)
              is not an RV]
      L = length of right side of rod after breaking
        = 1-x
        = 1 - K
      M =  length of shortest piece of rod after break
        =  minimum of x, 1-x
        =  minimum of K, L
      N =  length of longest piece of rod after break
        =  maximum of K,L
      R = ratio (M/N)

Those are all RVs.  RichD asks for

      E( R ) = E( M/N )
             = E( min(K,L) / max(K,L) )
             = E( min(K,L) / max(K,L) )

How many RVs are in there?  :)  Well obviously R is one RV in and of 
itself, so we could say 1.  [By definition, an expectation is always 
applied to one particular RV, in our case to R].  Also K, L, M and N are 
obviously RVs in their own right, and R can be expressed in terms of 
those RVs.  (Like in the dice example where S = D1 + D2, where S,D1,D2 
are all RVs.)

For this example, because the probability space is continuous the 
expectation needs an integral to evaluate it, unlike in the discreet case.

Hope that clarifies things, at least enough to satisfy your curiousity 
so you won't have to aquire a text book to learn everything thoroughly.

Regards,
Mike.

[toc] | [prev] | [next] | [standalone]


#548617

FromJulio Di Egidio <julio@diegidio.name>
Date2021-12-18 09:05 -0800
Message-ID<449766fc-a2a4-40a0-8e81-ad1d78672225n@googlegroups.com>
In reply to#548548
On Friday, 17 December 2021 at 18:39:42 UTC+1, Mike Terry wrote:
> On 17/12/2021 08:16, Julio Di Egidio wrote: 
> > On Friday, 17 December 2021 at 02:00:31 UTC+1, RichD wrote: 
> >> On December 16, ju...@diegidio.name wrote: 
> >>>>>>> A one meter glass rod falls and breaks in two, at 
> >>>>>>> a random point. What's the expected ratio of the longer 
> >>>>>>> to shorter piece? 
> >>>>> Re-formulate: What's the expected ratio of the shorter to longer piece? 
> >>> 
> >>> But can't we write our problem as E(x/(L-x))? Why is that two variables? 
> >> Informationally, they're equivalent. So it looks like one unknown. 
> >> 
> >> Let x be the length of the short piece, y is the long piece. 
> >> Draw a histogram for each. The have different domains, hence 
> >> distinct random variables. 
> >> 
> >> We want E[x/y] 
> >> y = L - x 
> >> etc. 
> > 
> > I am not the expert here and if you guys keep not answering I'll have to go back reading definitions: indeed, you should show that it's two (or even more, according to Mike) random variables starting *from definitions*, not just by repeating yourself in different words and/or by restricting the problem, which changes nothing in that sense... 
> 
> I'll go back to definitions for you (I'll follow with a couple of 
> examples which hopefully will make it clearer, as there's a fair bit to 
> take in just by reading definitions): 
<snipped pink elephants>

That was quite uncalled for, as usual with you: instead of a straight answering of what you said, you transform it in a pre-pre-amateurish lesson... great stuff indeed.  Next time, either don't bother and stick to it, or quoting the relevant mathematical definitions is enough (see my previous post for a link), no need to restart from Adam and Eve and even less if you make it up approximately, as if an actual and straight mathematical answer is not even possible...

Julio

[toc] | [prev] | [next] | [standalone]


#548633

FromJim Burns <james.g.burns@att.net>
Date2021-12-18 15:00 -0500
Message-ID<8435ee4d-1fc2-23c7-7cd4-3f0bdc053a37@att.net>
In reply to#548617
On 12/18/2021 12:05 PM, Julio Di Egidio wrote:
> On Friday, 17 December 2021 at 18:39:42 UTC+1,
> Mike Terry wrote:
>> On 17/12/2021 08:16, Julio Di Egidio wrote:

> That was quite uncalled for, as usual with you:

You -- or someone using your account -- called for it here:

>>> I am not the expert here and if you guys keep
>>> not answering I'll have to go back reading definitions:

[toc] | [prev] | [next] | [standalone]


#548644

FromJulio Di Egidio <julio@diegidio.name>
Date2021-12-18 13:47 -0800
Message-ID<bec0e560-717d-4240-b71a-aca780dd432an@googlegroups.com>
In reply to#548633
On Saturday, 18 December 2021 at 21:00:25 UTC+1, Jim Burns wrote:
> On 12/18/2021 12:05 PM, Julio Di Egidio wrote: 
> > On Friday, 17 December 2021 at 18:39:42 UTC+1, 
> > Mike Terry wrote: 
> >> On 17/12/2021 08:16, Julio Di Egidio wrote: 
> 
> > That was quite uncalled for, as usual with you:
> You -- or someone using your account -- called for it here:
> >>> I am not the expert here and if you guys keep 
> >>> not answering I'll have to go back reading definitions:

*That* was uncalled for, but of course you just rewrite history,
you other resident retarded systematic lying piece of shit...

*Lying Cunt Alert*

Julio

[toc] | [prev] | [next] | [standalone]


#548660

FromJim Burns <james.g.burns@att.net>
Date2021-12-18 21:23 -0500
Message-ID<6702ca1c-2fd4-1e87-e7e0-669471be37af@att.net>
In reply to#548644
On 12/18/2021 4:47 PM, Julio Di Egidio wrote:
> On Saturday, 18 December 2021 at 21:00:25 UTC+1,
> Jim Burns wrote:
>> On 12/18/2021 12:05 PM, Julio Di Egidio wrote:
>>> On Friday, 17 December 2021 at 18:39:42 UTC+1,
>>> Mike Terry wrote:
>>>> On 17/12/2021 08:16, Julio Di Egidio wrote:

>>> That was quite uncalled for, as usual with you:
>>
>> You -- or someone using your account --
>> called for it here:
>>
>>>>> I am not the expert here and if you guys keep
>>>>> not answering I'll have to go back reading definitions:
> 
> *That* was uncalled for, but of course you just rewrite
> history, you other resident retarded systematic
> lying piece of shit...
> 
> *Lying Cunt Alert*
> 
> Julio

Rewriting history?  Or is it... AN ALTERNATE TIMELINE

https://youtu.be/I9xN0Ol5vZQ?t=104

My theory is that Julio is wearing a goatee now.

[toc] | [prev] | [next] | [standalone]


#548491

Fromduncan smith <duncan@invalid.invalid>
Date2021-12-16 19:49 +0000
Message-ID<6LMuJ.81177$IB7.60537@fx02.iad>
In reply to#548422
On 16/12/2021 01:38, RichD wrote:
> On December 15, Mike Terry wrote:
>>> A one meter glass rod falls and breaks in two, at 
>>> a random point. What's the expected ratio of the longer 
>>> to shorter piece? 
>>> This is a schoolboy homework problem, nothing deep. 
>>> But it's also a trick question, which makes it mildly amusing - 
>>
>> When you divide by a length that can be arbitrarily small (as we must do 
>> here) there's no upper bound on the result so there is the possibility 
>> that the expectation may not exist (or put another way, it might be 
>> infinite). 
>> In your case, let the breakage point be distance x from one end - so the 
>> ratio of longer to shorter is going to be greater than (C/x) for a 
>> suitable constant C  
>> This integral is infinite, as the indefinite integral is C log(x) 
>  
> hmmm... my first reaction is, no problem, the integral is weighted by the 
> distribution.  But that's uniform, which doesn't ameliorate the problem.
> 
> Surprising, isn't it?  The ratio of short piece to long is well defined, but the 
> converse blows up.  I tricked myself!  Good catch.
>  
> Re-formulate:  What's the expected ratio of the shorter to longer piece? 
> 
> It appears you're well on the way to the solution.  A mere schoolboy task, 
> as promised.
> 
> --
> Rich
> 


I get 2*ln(2)-1, but I think I'm missing the trick.

Duncan

[toc] | [prev] | [next] | [standalone]


#548549

FromMike Terry <news.dead.person.stones@darjeeling.plus.com>
Date2021-12-17 18:02 +0000
Message-ID<spijbp$1prs$1@gioia.aioe.org>
In reply to#548491
On 16/12/2021 19:49, duncan smith wrote:
> On 16/12/2021 01:38, RichD wrote:
>> On December 15, Mike Terry wrote:
>>>> A one meter glass rod falls and breaks in two, at
>>>> a random point. What's the expected ratio of the longer
>>>> to shorter piece?
>>>> This is a schoolboy homework problem, nothing deep.
>>>> But it's also a trick question, which makes it mildly amusing -
>>>
>>> When you divide by a length that can be arbitrarily small (as we must do
>>> here) there's no upper bound on the result so there is the possibility
>>> that the expectation may not exist (or put another way, it might be
>>> infinite).
>>> In your case, let the breakage point be distance x from one end - so the
>>> ratio of longer to shorter is going to be greater than (C/x) for a
>>> suitable constant C
>>> This integral is infinite, as the indefinite integral is C log(x)
>>   
>> hmmm... my first reaction is, no problem, the integral is weighted by the
>> distribution.  But that's uniform, which doesn't ameliorate the problem.
>>
>> Surprising, isn't it?  The ratio of short piece to long is well defined, but the
>> converse blows up.  I tricked myself!  Good catch.
>>   
>> Re-formulate:  What's the expected ratio of the shorter to longer piece?
>>
>> It appears you're well on the way to the solution.  A mere schoolboy task,
>> as promised.
>>
>> --
>> Rich
>>
> 
> 
> I get 2*ln(2)-1, but I think I'm missing the trick.
> 
> Duncan
> 

I get the same.
Mike.

[toc] | [prev] | [next] | [standalone]


#548383

FromJulio Di Egidio <julio@diegidio.name>
Date2021-12-15 10:30 -0800
Message-ID<f5522e1f-d6b2-4e92-a4d3-c0f794d95d77n@googlegroups.com>
In reply to#548334
On Wednesday, 15 December 2021 at 04:53:00 UTC+1, RichD wrote:
> A one meter glass rod falls and breaks in two, at 
> a random point. What's the expected ratio of the longer 
> to shorter piece? 
> 
> This is a schoolboy homework problem, nothing deep. 
> But it's also a trick question, which makes it mildly amusing - 

The expected value of that ration is 1/2.

I disagree with Mike's approach, to begin with because if things blow up then it's not a probability distribution to begin with.  Here I'd simply start from the expected value of the break point position, which I see no reason to think should be other than the midpoint, then the expected ratio you are asking about is simply 1/2.

Julio

[toc] | [prev] | [next] | [standalone]


#548392

FromFromTheRafters <erratic@nomail.afraid.org>
Date2021-12-15 14:30 -0500
Message-ID<spdfpr$507$1@dont-email.me>
In reply to#548383
Julio Di Egidio used his keyboard to write :
> On Wednesday, 15 December 2021 at 04:53:00 UTC+1, RichD wrote:
>> A one meter glass rod falls and breaks in two, at 
>> a random point. What's the expected ratio of the longer 
>> to shorter piece? 
>> 
>> This is a schoolboy homework problem, nothing deep. 
>> But it's also a trick question, which makes it mildly amusing - 
>
> The expected value of that ration is 1/2.
>
> I disagree with Mike's approach, to begin with because if things blow up then 
> it's not a probability distribution to begin with.  Here I'd simply start 
> from the expected value of the break point position, which I see no reason to 
> think should be other than the midpoint, then the expected ratio you are 
> asking about is simply 1/2.

I would say that the piece on average breaks in half yielding a one to 
one ratio with no 'longer' or 'shorter' piece to actually compare. An 
expected value is not always a possible value.

[toc] | [prev] | [next] | [standalone]


#548394

FromJulio Di Egidio <julio@diegidio.name>
Date2021-12-15 11:41 -0800
Message-ID<4be29cda-adde-4967-9a77-fec4ee055f25n@googlegroups.com>
In reply to#548392
On Wednesday, 15 December 2021 at 20:31:18 UTC+1, FromTheRafters wrote:
> Julio Di Egidio used his keyboard to write :
> > On Wednesday, 15 December 2021 at 04:53:00 UTC+1, RichD wrote: 
> >> A one meter glass rod falls and breaks in two, at 
> >> a random point. What's the expected ratio of the longer 
> >> to shorter piece? 
> >> 
> >> This is a schoolboy homework problem, nothing deep. 
> >> But it's also a trick question, which makes it mildly amusing - 
> > 
> > The expected value of that ration is 1/2. 
> > 
> > I disagree with Mike's approach, to begin with because if things blow up then 
> > it's not a probability distribution to begin with. Here I'd simply start 
> > from the expected value of the break point position, which I see no reason to 
> > think should be other than the midpoint, then the expected ratio you are 
> > asking about is simply 1/2.
> I would say that the piece on average breaks in half yielding a one to 
> one ratio with no 'longer' or 'shorter' piece to actually compare.

Yep, sorry of course I did mean a ratio of 1/1 in that case...

> An expected value is not always a possible value.

That's another story.

Julio

[toc] | [prev] | [next] | [standalone]


Page 1 of 3  [1] 2 3  Next page →

Back to top | Article view | sci.math


csiph-web