Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to find out the probability of ordered pairs of rational or irrational or transcendental number $(a,b)$ such that $1<a<50$, $1<b<50$, and $\log_b a$ is rational?

Uniformly distribution is assigned.

share|cite|improve this question
What sort of distribution are you assigning to $(a,b)$? Are you considering $(a,b)$ to have a uniform distribution on the rectangle $\{\{0,0\},\{50,50\}\}$? – Carl Morris Sep 24 '12 at 2:05
up vote 2 down vote accepted

This can only happen if $a$ and $b$ are both powers of the same number, so if both are taken from $2,4,8,16,32$, or if both are taken from $3,9,27$, or both from $5,25$, or both from $6,36$, or both from $7,49$. Can you work out the probability of that?

EDIT: I made the mistaken assumption that $a,b$ were to be integers. If they are real numbers, chosen independently and uniformly from $(1,50)$, then surely the probability that $\log_ba$ is rational is zero, simply because the rationals have measure zero in (any interval of) the reals.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.