In the article, an integral inequality for the ratios of the arithmetic means of functions with a positive parameter are obtained, and an open problem, posed by B.-N. Guo and F. Qi in “An algebraic inequality, II, RGMIA Research Report Collection 4 (2001), no. 1, Article 8”, is resolved partially.