In general relativity, the Newtonian gauge is a perturbed form of the Friedmann–Lemaître–Robertson–Walker line element. The gauge freedom of general relativity is used to eliminate two scalar degrees of freedom of the metric, so that it can be written as: