Differentiable manifolds and quadratic forms