It seems very simple question, I wish to get rid of the higher order by product of a*b. Any help is appreciated!
f = a^4 + 4 a^3 b + 6 a^2 b^2 + 4 a b^3 + b^4
f /. a b -> 0
(*output*)
a^4 + 4 a^3 b + 6 a^2 b^2 + 4 a b^3 + b^4
(*I want to have*)
a^4+b^4