Proving that a recurrence holds for all n

  • Thread starter Thread starter Mr Davis 97
  • Start date Start date
  • Tags Tags
    Recurrence
Click For Summary

Homework Help Overview

The problem involves finding a recurrence relation for the sum of the reciprocals of the products of subsets of the set H, defined as H = {2, 3, 4, ..., n}. The original poster attempts to establish a recurrence relation for the sum S_n, which is defined as the sum over all non-empty subsets G of H.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss various interpretations of the problem, including the definition of subsets G and the implications of the product notation. Some suggest specific values for small cases of H and propose a recurrence relation based on observed patterns.

Discussion Status

There is ongoing exploration of the recurrence relation proposed by the original poster, with some participants questioning the validity of their assumptions and the notation used. A few participants suggest that a formal proof may not be necessary, while others emphasize the importance of rigor in establishing the recurrence.

Contextual Notes

Some participants note potential typos in the problem statement regarding the product notation, which may affect the interpretation of the recurrence relation. Additionally, there is a discussion about the need for clarity in defining the subsets and their contributions to the sum.

Mr Davis 97
Messages
1,461
Reaction score
44

Homework Statement


Let ##H=\{2,3,4, \dots , n\}##. Find a recurrence relation that involves the following number: ##\displaystyle \sum_{G\subseteq H}\frac{1}{\prod_{x\in G}}##, where ##G\not = \{\}##

Homework Equations

The Attempt at a Solution


If ##H=\{2\}##, let ##S_2## be the sum. If ##H=\{2,3\}## let ##S_3## be the sum, and so on.

Now, I'm trying to find a recurrence relation, and from looking at small cases it's pretty obviously ##S_n = S_{n-1} + \frac{1}{n}(1 + S_{n-1})##. But how exactly do I prove that this is a valid recurrence relation for all ##n##?
 
Physics news on Phys.org
I do not understand the question. I would take ##G:=\{\,2\,\}## and ##S_n:=\sum_{G\subseteq H}\dfrac{1}{\prod_{x\in G}x} \equiv \dfrac{1}{2}## does the job. Without the ##x## in the product, the entire sum is identical ##1##. In either case ##S_n=S_{n-1}## is a valid recursion.
 
fresh_42 said:
I do not understand the question. I would take ##G:=\{\,2\,\}## and ##S_n:=\sum_{G\subseteq H}\dfrac{1}{\prod_{x\in G}x} \equiv \dfrac{1}{2}## does the job. Without the ##x## in the product, the entire sum is identical ##1##. In either case ##S_n=S_{n-1}## is a valid recursion.
I don't think you can choose what ##G## is. The notation is to indicate that you are iterating over subsets of ##H##
 
Mr Davis 97 said:
I don't think you can choose what ##G## is. The notation is to indicate that you are iterating over subsets of ##H##
Even then. Without an expression in the product, the product is empty, and thus the entire expression in equal to ##|G|##.
 
Here is what I see.

If ##H=\{2\}## then ##S_2 = \displaystyle \sum_{G\subseteq H}\frac{1}{\prod_{x\in G}x} = \frac{1}{2}##.

If ##H = \{2,3\}##, then ##S_3 = \displaystyle \sum_{G\subseteq H}\frac{1}{\prod_{x\in G}x} = \frac{1}{2} + \frac{1}{3} + \frac{1}{2\cdot 3} = 1##.

If ##H = \{2,3,4\}##, then ##S_4 = \displaystyle \sum_{G\subseteq H}\frac{1}{\prod_{x\in G}x} = \frac{1}{2} + \frac{1}{3} + \frac{1}{4} + \frac{1}{2\cdot 3} + \frac{1}{2\cdot 4} + \frac{1}{3\cdot 4} + \frac{1}{2\cdot 3 \cdot 4} = \frac{3}{2}##

Do you see? From here it's pretty clear that ##S_n = S_{n-1} + \frac{1}{n}(1 + S_{n-1})##, but I don't know how to prove that this relation holds for all ##n##, although it clearly does.
 
Last edited:
fresh_42 said:
Even then. Without an expression in the product, the product is empty, and thus the entire expression in equal to ##|G|##.
I suspect a typo: he probably means ##\prod_{x \in G} x##, not ##\prod_{x \in G}## .
 
  • Like
Likes   Reactions: Mr Davis 97
Ray Vickson said:
I suspect a typo: he probably means ##\prod_{x \in G} x##, not ##\prod_{x \in G}## .
Yes, I misread the problem. Sum over all ##G## and product over all ##x\in G##. I first thought it was a certain ##G## and sum and product over it's elements. But what's under the product (and missing) is quite essential. Maybe it's free to choose and one can find any recurrence depending on it.
 
  • Like
Likes   Reactions: Mr Davis 97
Ray Vickson said:
I suspect a typo: he probably means ##\prod_{x \in G} x##, not ##\prod_{x \in G}## .
Sorry! Yes, I made a typo and what you wrote is correct.
 
fresh_42 said:
Yes, I misread the problem. Sum over all ##G## and product over all ##x\in G##. I first thought it was a certain ##G## and sum and product over it's elements. But what's under the product (and missing) is quite essential. Maybe it's free to choose and one can find any recurrence depending on it.
So assuming that the recurrence relation is correct, how do I actually prove that it works for all ##n##?
 
  • #10
Mr Davis 97 said:
So assuming that the recurrence relation is correct, how do I actually prove that it works for all ##n##?
Recursion and induction are a natural pairing. Observe which additional sets ##G## and with them summands have to be added in the step ##n \to n+1##.

Edit: You will not need a formal induction unless you solve the recursion, but the process in the recursion is the same, from ##n \to n+1##. In this case you get the formula straight away.
 
Last edited:
  • #11
fresh_42 said:
Recursion and induction are a natural pairing. Observe which additional sets ##G## and with them summands have to be added in the step ##n \to n+1##.

Edit: You will not need a formal induction unless you solve the recursion, but the process in the recursion is the same, from ##n \to n+1##. In this case you get the formula straight away.
Is an argument such as this sufficient? Am I being rigorous enough?

We find a recurrence relation for ##S_n##. Observe that ##S_{n+1}## equals ##S_n##, but we must also take into account the additional element ##n+1##, meaning that after accounting for ##S_n## we then sum over the reciprocal products again but with a ##n+1## always in the denominator. So then we can factor out the ##\frac{1}{n+1}## to get the quantity ##\frac{1}{n+1}(1+S_{n})##. So we have that

$$S_{n+1} = S_n + \frac{1}{n+1}(1+S_{n}) = S_n(1 + \frac{1}{n+1}) + \frac{1}{n+1}.$$
 
  • #12
Not quite sure. It looks a bit as if you only described what the formula says anyway. I would proceed more formally. First name ##G=:G_n \subseteq H_n =\{\,1,\ldots ,n\,\}##. Dependencies should always be noted, otherwise they are a source for confusion and in more complicated situations, a possibility to cheat.

Now we have ##\{G_{n+1}\} = \{G_n\} \cup \left( \{G_n \cup \{n+1\} \}\right) \cup \{n+1\}##. So ##\sum_{G_{n+1}}=\sum_{G_n}+\sum_{G_n\cup \{n+1\}} + \sum_{\{n+1\}}## where I omitted the products out of laziness. But it yields $$S_{n+1}= S_n + \sum_{G_n} \dfrac{1}{\left(\prod_{x\in G_n}x\right) \cdot (n+1)} + \dfrac{1}{n+1} = \ldots $$
 
Last edited:
  • Like
Likes   Reactions: Mr Davis 97

Similar threads

Replies
20
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
8
Views
3K
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K