The mean of the series x1,x2,…,xn is x¯. If x2 is replaced by λ, then the new mean is
x¯−x2+λ
x¯−x2−λn
(n−1)x¯+λn
nx¯−x2+λn
We have, x¯=x1+x2+…+xn−1+xnn⇒ nx¯=x1+x2…+xn−1+xn
Let y→ be the new mean when x2 is replaced by λ Then,
⇒y¯=x1+x2+…+xn−x2+λn∴ y¯=nx¯−x2+λn