The Mathematics of AI Agents

Chapter 5: separate solutions

Question 1

Compute the default first kernel row.

[0.8*0.9+0.2*0.2,0.8*0.1+0.2*0.8]=[0.76,0.24].

Question 2

Why can an independent-step model and a shared good-or-bad-condition model both have step marginals p?

A marginal fixes only each step's own success rate, not how steps depend on each other. In the independent model each step succeeds with probability p on its own. In the shared model one condition is good with probability p and every step succeeds exactly when it is good, so each single step still succeeds with probability p. Same marginals, different joint laws: p^n versus p for all n steps.

Question 3

Compute the transfer conditional product.

0.9*0.8*0.7=0.504.