Consider the line element: [tex] ds^2=-f(x)dt^2+g(x)dx^2 [/tex] in a coordinate system (t,x) where f(x) and g(x) are two functions to be determined by solving Einstein equation. But I can always make a transformation [tex] g(x)dx^2=dy^2 [/tex] and then calculate everything in the (t,y) coordinate system. My doubt is whether the results obtained will be physically same in the two coordinate systems. In my opinion the results will be same, and the second approach is easier than the first one. But I notice in some of the papers the authors use the first approach. I do not understand why they do so. However they work in higher dimensions and I have formulated my problem in 1+1 dimension for simplicity. Can anybody explain if there is anything wrong in the second approach which I prefer?