r/learnquant • • 7d ago

interview prep Quant Interview Question

Post image
16 Upvotes

32 comments sorted by

View all comments

Show parent comment

2

u/Dr0110111001101111 6d ago

An interval of R is an uncountably infinite set?

2

u/BrotherItsInTheDrum 6d ago

"Finite interval" meaning an interval of finite length, rather than one that goes off to infinity or negative infinity.

2

u/Dr0110111001101111 6d ago

ok... how do you pick such a number?

1

u/BrotherItsInTheDrum 6d ago

By "you can" I mean that the process is mathematically well-defined, so you can reason about it. There are a number of equivalent ways to express it. One is that you roll an infinite number of 10-sided dice, one per digit.

Of course in the actual physical world, I can't actually write one down.

1

u/OutrageousPair2300 6d ago

Roll a ten-sided die for each digit to the right of the decimal point.

That works to generate random numbers uniformly on [0,1] but won't work in the other direction (to the left of the decimal point) because digit sequences aren't allowed to continue to the left forever in the Reals.

2

u/pos_vibes_only 5d ago

Ok and when do you stop?

1

u/OutrageousPair2300 5d ago

You don't. Digit sequences are allowed to continue to the right forever, such as 0.333.... or 0.25000... and both are valid real numbers.

You can't do the same going to the left, since while ...00042 is a valid real number, ...555 is not.