I am just learning how to find lengths of curves using calculus. √((dx)2+(dy)2)→∫√(1+(dy)2)dx. My question is how are you able to bring out the dx. Is this some sort of algebraic trick I've never heard of. Can someone please explain this to me?