METHOD OF COMPLEMENTARY FUNCTIONS