2 unmarried people living together all year with a qualifying son. Can the lower income earner file single and claim the son for earned income credit if i have claimed my son as dependent and head of household as I pay over half the expenses of the house

what questions would need to be answered  in Turbo Tax by each to do this and what does it mean " by agreement" does it have to be written?