# Marginal contribution to Tracking error

I'm trying to calculate Marginal contribution to Tracking error. I would use the following formula:

MCTE(asset i)=TE(excess return asset i vs.benchmark)* Beta(excess return asset i vs. benchmark AND excess return Portfolio vs. benchmark).

Am I right?

$$Tracking Variance = \sum \sum w_i w_j \sigma_i \sigma_j \rho_{i,j} + \sigma^2_{bench} + 2\sum w_i (w_{bench} = -1)\sigma_i \sigma_{bench}\rho_{i,bench}$$
Taking the first derivative with respect to some $$w_*$$:
$$\Delta Tracking Variance = 2(w_*\sigma^2_*+ \sum_{i\not= *} w_i \sigma_i \sigma_* \rho_{i,*} - \sigma_* \sigma_{bench}\rho_{*,bench})$$