Từ \(\frac{2a+b+c+d}{a}=\frac{a+2b+c+d}{b}=\frac{a+b+2c+d}{c}=\frac{a+b+c+2d}{d}\)
=> \(2+\frac{b+c+d}{a}=2+\frac{a+c+d}{b}=2+\frac{a+b+d}{c}=2+\frac{a+b+c}{d}\)
=> \(\frac{b+c+d}{a}=\frac{a+c+d}{b}=\frac{a+b+d}{c}=\frac{a+b+c}{d}=\frac{\left(b+c+d\right)+\left(a+c+d\right)+\left(a+b+d\right)+\left(a+b+c\right)}{a+b+c+d}=\frac{3\left(a+b+c+d\right)}{a+b+c+d}=3\)
Từ \(3=\frac{b+c+d}{a}=\frac{a+c+d}{b}=\frac{\left(a+b\right)+2\left(c+d\right)}{a+b}=1+2.\frac{c+d}{a+b}\)=> \(\frac{c+d}{a+b}=\frac{3-1}{2}=1\)
Từ \(3=\frac{a+b+d}{c}=\frac{a+b+c}{d}=\frac{2.\left(a+b\right)+\left(c+d\right)}{c+d}=1+2.\frac{a+b}{c+d}\) => \(\frac{a+b}{c+d}=1\)
Từ \(3=\frac{a+b+c}{d}=\frac{b+c+d}{a}=\frac{\left(a+b+c\right)+\left(b+c+d\right)}{d+a}=2.\frac{b+c}{d+a}+1\)=> \(\frac{b+c}{d+a}=1\)
Từ \(3=\frac{a+c+d}{b}=\frac{a+b+d}{c}=\frac{2\left(a+d\right)+\left(b+c\right)}{b+c}=2.\frac{d+a}{b+c}+1\)=> \(\frac{d+a}{b+c}=1\)
Vậy M = 1 + 1+ 1+ 1 = 4