I'm currently taking a probability course, and in lecture, my professor went over an example which he called Laplace's method of succession. Basically, there are $n+1$ cards, $k$ of which are successes (the $k$ is uniformly distributed). A $k$ is chosen, and you see $n$ of the cards (after shuffling). The problem is to determine the probability the next trial turns up a success. Here's an account of how he explained the problem:
There are two possibilities, either there are $k$ successes in the $n+1$ trials or $k+1$ successes. The probability of each $k$ is uniformly distributed, so we will give $P(k \text{ successes})=P(k+1 \text{ successes})=\frac{1}{2}$. So, we can write the desired probability as $P(1\ |\ k \text{ successes in }n\text{ trials})$ (where $1$ is a success on the next draw and $0$ is failure). We use the definition of conditional probability to get that \begin{equation} P(1 \ | k \text{ successes in }n\text{ trials})=\frac{P(1 \text{ and }k\text{ successes in }n\text{ trials})}{P(k\text{ successes in }n\text{ trials})} \end{equation} Again, using the definition of conditional probabilities and Bayes' rule, that is equal to \begin{equation} \frac{P(1)P(k\text{ successes in }n\text{ trials}\,|\, 1)}{P(1)P(k\text{ successes in }n\text{ trials}\ |\ 1)+P(0)P(k\text{ successes in }n\text{ trials}\ | \ 0)} \end{equation}
Now, he said that this expression is: \begin{equation} \frac{\frac{1}{2}\frac{k+1}{n+1}}{\frac{1}{2}\frac{k+1}{n+1}+\frac{1}{2}\frac{n+1-k}{n+1}}=\frac{k+1}{n+2} \end{equation}
My question is how did he get $\frac{k+1}{n+1}$ and $\frac{n+1-k}{n+1}$ as the answers to the above conditional probabilities? They seem to only denote the chance of drawing success or failure from $n+1$ cards.
Furthermore, today in class, he proved that the function which takes the number of black balls (given one black and one white to start) drawn from Polya's urn (sampling with double replacement) is evenly distributed, and said it had a connection to this problem, but did not elaborate. How is that?