tracking error formula?

âp = portfolio beta âm = market beta óm = market standard deviation órp = portfolio residual standard deviation are we responsible for formula that uses these inputs