Actually I proceeded in the calculation further on the paper, but I intentionally just wrote the dots \cdots and didn't write it all here, because I wasn't sure if it would be okey to write it now. But are you saying that you already know the formula for the length of the path defined with \theta = f(r)? A formula, which does not contain the functions x(r) and y(r), but only f(r) (actually its derivative)? If so, I can write more details about how it can be derived.
To write equations, write for example [ tex ] 1+1=2 [ /tex ], but don't put the spaces after and before characters "[" and "]". If you click an equation with the mouse button, you can see the code that has been used for it.