We investigate the random dynamics of rational maps and the dynamics of semigroups of rational maps on the Riemann sphere Cˆ. We show that regarding random complex dynamics of polynomials, generically, the chaos of the averaged system disappears at any point in Cˆ, due to the automatic cooperation of the generators. We investigate the iteration and spectral properties of transition operators acting on the space of (Hölder) continuous functions on Cˆ. We also investigate the stability and bifurcation of random complex dynamics. We show that the set of stable systems is open and dense in the space of random dynamical systems of polynomials. Moreover, we prove that for a stable system, there exist only finitely many minimal sets, each minimal set is attracting, and the orbit of a Hölder continuous function on Cˆ under the transition operator tends exponentially fast to the finite-dimensional space U of finite linear combinations of unitary eigenvectors of the transition operator. Combining this with the perturbation theory for linear operators, we obtain that for a stable system constructed by a finite family of rational maps, the projection to the space U depends real-analytically on the probability parameters. By taking a partial derivative of the function of probability of tending to a minimal set with respect to a probability parameter, we introduce a complex analogue of the Takagi function, which is a new concept.