A partial differential equation, the local Möbius equation, is introduced in Riemannian geometry which completely characterizes the local twisted product structure of a Riemannian manifold. Also the characterizations of warped product and product structures of Riemannian manifolds are made by the local Möbius equation and an additional partial differential equation.