conditional moment generating function author transforms solution

309 Views Asked by At

At the last step of the provided solution to this problem the author transforms $$\frac{e^{t(n+1)}-1}{e^t-1}=(1+e^t+e^{2t}+...+e^{nt})$$ It is probably something simple, but I am having trouble figuring it out. I tried dividing the numerator by denominator :

$$ \frac{e^{t(n+1)}-1}{e^t-1}=e^{n+1}+e^{(n+1)/t}+e^{(n+1)t^2}+... $$

its not the same, can someone tell me what the author did?

Problem and answer

2

There are 2 best solutions below

1
On

It's just the formula for the geometric sum $$\sum_{k=0}^n x^k=\begin{cases}n+1&\text{if }x=1\\\frac{x^{n+1}-1}{x-1}&\text{if }x\ne 1\end{cases}$$ applied to $x=e^t$. The formula is typically proved by induction on $n\ge 0$ or like this.

Added: I can't quite tell what you've done exactly when you said "I've tried to divide the numerator by the denominator": it looks like fair amount of errors of algebra; it might thus be in your best interest to revise or hone that part of your knowledge.

0
On

$1+x+x^2+x^3+ . . . +x^{n-2}+x^{n-1}+ x^{n}=\frac{x^{n+1}-1}{x-1}$

$x= e^t$

$\frac{e^{t(n+1)}-1}{e^t-1}=1+e^t+e^{2t}+e^{3t}+e^{4t}+ . . .+e^{nt}$