In polar coordinates, when a point is represented as , r isalwaysthe distance from the origin to that point. Here, integrating in polar coordinates, as goes from 0 to , the corresponding r integral is from the origin to the point where the ray at angle crosses the boundary.