### Exercise 2.9

Demonstration that the soft-max distribution is equal to the logistic and sigmoid distribution for the case of two actions.

First we show that the soft-max is a logistic function. %

Secondly, a sigmoid function refers to the special case of the logistic function. From the following relation

it is clear that the logistic function is also a sigmoid function.

### Exercise 2.10

case $q(a_1)$ $q(a_2)$ $P(X)$
A 0.1 0.2 $P(A) = 0.5$
B 0.9 0.8 $P(B) = 0.5$

If you are not able to tell which case you face at any step, what is the best expectation of success you can achieve and how should you behave to achieve it.

Allways choose action

a1

a2

Either choosing $a_1$ or $a_1$ leads to the same expected value.