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

Is the following expression a rational number ?

$$\frac{1-\dfrac{1}{3}+\dfrac{1}{5}-\dfrac{1}{7}+\cdots}{1+\dfrac{1}{4}+\dfrac{1}{9}+\dfrac{1}{16}+\cdots}$$

My thoughts: Sum and product of two rational numbers is a rational number.

Difference of two rational numbers is a rational number.

Division of two rational numbers should also be a rational number. (Denominator is not zero)

However, the answer key says that this is NOT a rational number.

Could anyone help me understand why this is not a rational number?

share|cite|improve this question
14  
The sum of a finite series of rational numbers is indeed rational. But, an infinite series of rational numbers may or may not be rational. – Doug M yesterday
4  
Neither the numerator nor the denominator are rational. The sum of two rational numbers is a rational, and induction shows that any finite sum of rational numbers is rational, but it's entirely possible for the infinite sum of rational numbers to be irrational. – Akiva Weinberger yesterday
    
Numerator is not exactly $\pi/4$. It converges to $\pi/4$. – absolute friend yesterday
10  
@absolutefriend: You just contradicted yourself. Infinite sums are defined to be the limit of their partial sums. – Deusovi yesterday
10  
@fleablood: that argument doesn't work. After all, $$1=\frac{1+1/4+1/9+\cdots}{1+1/4+1/9+\cdots}.$$ – Martin Argerami yesterday
up vote 36 down vote accepted

The numerator is the Leibniz/Gregory series, which sums to $\frac\pi4$. The denominator is the subject of the famous Basel problem, which Euler worked out as $\frac{\pi^2}6$. If we use these results in the fraction: $$F=\frac{\frac\pi4}{\frac{\pi^2}6}=\frac{3}{2\pi}$$ which is an irrational number because there remains a $\pi$ in it.

share|cite|improve this answer
15  
... and all of the factors other than $\pi$ are integers. – Hurkyl 22 hours ago
2  
@Hurkyl I do acknowledge that the other factors need to be integers. I just left it to the reduced form to say it implicitly. $\ddot\smile$ – Parcly Taxel 11 hours ago
1  
Proof that π itself is irrational is left as an exercise for the reader. – Dan 5 hours ago

The sum of a 2 rational numbers is rational

The sum of a finite number of rational numbers is rational.

But, an infinite series of rational numbers may or may not be rational.

Can't we just keep adding 2 at a time and keep going on like that?

No.

Here is another example, that perhaps will help you get your head around it.

I hope we can agree that $\pi$ is irrational. and that the first few digits of the decimal expansion of $\pi$ is $3.14159$ but $3.14159$ is rational. In fact, any finite expansion of $\pi$ is rational. We can add more digits.

$3.14159 + 0.0000026 = 3.1415926$

And adding digits is a summation of rational numbers.

But it is only when we accept that it is the infinite non-repeating decimal that we we have the irrational number that is $\pi$

If not, how do I test?

Let's look at the numerator.

$1-\frac 13 + \frac 15 - \frac 17+ \cdots$

Now, you might recognize this as the Taylor expansion of $\tan^{-1} 1$

But you might not.

If it is rational then there exists integer $p,q$ such that $\frac pq = \sum \frac {(-1)^n}{2n+1}.$

If this is going to sum up to a single fraction, what is the common denominator?

It is $lcm (3,5,7,9,11\cdots)$ Since we have every odd number, we have every prime number (other than 2), and the lcm is infinite.

There is no $p,q.$ such that $p/q = \frac {\pi}{4}$

The numerator is irrational.

So, we have an irrational number / irrational number. It is possible with only that information that the quotient is rational, but it is unlikely.

share|cite|improve this answer
    
Thanks. Your answer was the easiest to understand .. :) – user148849 yesterday
1  
Thanks, I didn't like the answers that were jumping to the place that you were supposed to recognize the series. It didn't answer your basic questions. – Doug M yesterday
17  
Your argument via LCMs is incorrect. Note that $\sum_{n=1}^\infty(\frac1n-\frac1{n+1})=1$ but the denominators of the rational numbers of the sum are $n(n+1)$, and the LCM of these over all $n$ contains every prime number and hence is infinite... yet the infinite sum is an integer. I don't know any easy proof that $\pi$ is irrational such as this one. – Mario Carneiro yesterday
4  
You should address the issue pointed out by Mario above. As written the second half of the answer is dead wrong. – Kibble 13 hours ago

If operations on TWO rational numbers yields a rational number, then those same operations on FINITELY MANY rational numbers yields a rational number. You can prove that by mathematical induction. But that doesn't apply to a sum of infinitely many numbers. (If it did, then you could prove by mathematical induction that every countably infinite set is finite.)

$$ \frac d {dx} \left( x - \frac {x^3} 3 + \frac{x^5} 5 - \frac {x^7} 7 + \cdots\right) = 1 - x^2 + x^4 - x^6 + \cdots = \frac 1 {1+x^2} $$ (since you're summing a geometric series), and therefore $$ x - \frac {x^3} 3 + \frac{x^5} 5 - \frac {x^7} 7 + \cdots = \arctan x, $$ so if $x=1$ you get the series in your numerator, which is therefore $(\arctan 1) = \dfrac\pi4.$

The series in the denominator is much harder to sum, but it should come to $\dfrac{\pi^2} 6.$

I've elided some details: in particular, the derivative of a sum of TWO functions is the sum of the derivatives, and therefore the same is true of the sum of FINITELY many, but what about infinitely many? Sometimes it doesn't work there, so there's some theory of power series to deal with.

share|cite|improve this answer
1  
I don't like the proof of Leibniz' formula via $\arctan 1$, because the series does not (necessarily) converge at $1$ (which is the radius of convergence of the series). I think there is a more involved proof that this point is convergent to the power series using Abel's theorem, but it is not at all as simple as most books make it out to be. – Mario Carneiro yesterday
    
@MarioCarneiro : Yes, Abel's theorem is another "elided complication". $\qquad$ – Michael Hardy yesterday

I am going to keep this part that I had initially put forward as a hint.

$$1-\dfrac{1}{3}+\dfrac{1}{5}-\dfrac{1}{7}+\ldots=\sum_{n=1}^\infty (-1)^n\frac{1}{2n+1}=\frac{\pi}{4}$$ $$1+\dfrac{1}{4}+\dfrac{1}{9}+\dfrac{1}{16}+\ldots=\sum_{n=1}^\infty \frac{1}{n^2}=\frac{\pi^2}{6}$$

To add more to this answer, I would like to state that these are well known sequences, as already mentioned by Parcly Taxel. I would only make one point clear, sum of an infinite series of rational numbers does not always put up a rational number as the sum. The first series is just the Taylor expansion of $\arctan x$ about $x=0$ and the second one, well I remember deriving the result from the Fourier series representation of $x^2$. It can also be derived as per Euler. Always keep in mind that having an irrational number in your mathematical expression neither confirms nor nullifies the chance of your expression summing down to an irrational or rational number. It solely and only depends on the sum.

share|cite|improve this answer

My thoughts: Sum and product of two rational numbers is a rational number.

Difference of two rational numbers is a rational number.

Division of two rational numbers should also be a rational number. (Denominator is not zero)

These only apply to finite number of operands.

It is easy to see that they don't apply in the infinite case. Consider for example any $x \in [0, 1)$. Then

$$ x = \sum_{k = 1}^{\infty} \frac{n_k}{10^k} $$

where $n_k$ is the $k^{th}$ decimal digit of $x$. So any $x \in [0,1)$ can be expressed as a (possibly infinite) sum of rationals, but of course not every $x \in [0,1)$ is a rational.

share|cite|improve this answer

$$=\frac{\tan^{-1} 1}{\zeta (2)}=\frac{\pi/4}{\pi^2/6}$$

share|cite|improve this answer

If it is rational, you will be able to find a common denominator. The common denominator has to be the least common multiple of every single natural number. This is impossible.

So it is irrational.

The "catch" that the sum and difference of rational numbers is rational is that it is the sum and difference of a FINITE number of rational numbers that is rational; this is the sum and difference of an infinite number of rational numbers. That doesn't have to be rational.

An intuitive example of how it's possible for an infinite sum of rational numbers can have a result that is not rational is to consider any irrational number in it's decimal expansion.

e.g. $\pi = 3.1415926...$

This is $3 + .1 + .04 + .001 + .... $ etc. This is an infinite sum of rational numbers resulting in an irrational result.

Of course this answer simply begs the real question. We have to define how irrational numbers can actually exist and why we think decimal expansions are valid and what are real numbers. But I'll leave that to your analysis professor...

Oh, all right. One thing... An irrational number can not be express as a rational number. Be it "is infinitely close to rational numbers". What does that mean? It means if we find a rational number close to it we can add or subtract another rational number to get even closer to it. And that means the irrational number is itself an infinite sum of rational numbers. All irrational numbers are.

So there is no reason to assume your expression is rational.

Showing that your expression is related to $\pi$ is a neat trick but very hard to prove.

share|cite|improve this answer
5  
The first paragraph is incorrect, for the same reason as I said on @DougM's answer. There is no shortcut method for determining if this is rational short of actually evaluating Leibniz' series and the Basel series, although the rest of the answer regarding why the naive method won't work is spot on. – Mario Carneiro yesterday
    
For example consider $1 + \frac{1}{2} + \cdots + \frac{1}{2^n} + \cdots$. The common denominator would have to be the least common multiple of all powers of two. This is impossible. Do we conclude that the limit of the series is irrational? I hope not, since it's $2$. – Steve Jessop 10 hours ago
    
I can't immediately think of a series with rational limit where every integer appears in the denominator of the partial sums (in the sense that for every integer $n$ there exists $M$ such that all partial sums with more than $M$ terms have $n$ in the denominator of the their most reduced form). All that proves is I'm ignorant though, not that there aren't any ;-) – Steve Jessop 10 hours ago

Your Answer

 
discard

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.