IP is basically votes in the UP. It's the total influence points your empire is generating, summed after each turn until the vote comes up. Theoretically, one could buy enough points in influence the UP vote, but the shear number of votes makes it impractical. The difference in value is due to the trading formulas, where at equal diplo levels the AI values it's own stuff much more than it does yours (you selling them the Trade tech would be 7-8 times fewer bc than you buying it from them).
Bottom line, it's not worth trying to buy, and certainly not worth trying to sell.