The maximum power transfer theorem states that the DC voltage source will deliver maximum power to the variable-load resistor only when the load resistance is equal to the source resistance. Similarly, this theorem states that the AC voltage source will deliver maximum power to the variable complex load only when the load impedance is equal to the complex conjugate of the source impedance.
Hence when Ri = RL the transfer of power will be maximum.