We use the method of integral manifolds to reduce optimal control and filtering problems in application to mechanical systems with low friction.