I have read in multiple articles that R-square always increases with the number of features, even though a feature may not be of any significance.
The formula for R-square is
$$1 - \frac{\sum(y-\hat{y})^2}{\sum(y-\bar{y}^2)}$$
If the denominator is constant that means R-square is dependent upon only numerator, so basically on $\hat{y}$.
$$\hat{y} = a +b_1x_1 +b_2x_2 \ldots$$
Now if I have a new feature which is really not important shouldn't the beta coefficient of that feature be zero? And if it is really zero how will it really impact R-square?