I'm not sure I agree with your example. If these people are donating to the AMF, the trader is saving the lives of two more children. Is that outweighed by educating and inspiring a classroom of students over a year?
Well, let's say the difference in charity between the teacher and the bonds trader in my example is $5000. Each year, if the teacher teaches 5 classes with 20 students each, then he probably has 100 students. If 100 students have a significantly better education that year then they otherwise would, then I would think that would be worth more utility in the long run then $50 per student, wouldn't you?
A very interesting article on "earning to give", featuring LessWrong members Jeff Kaufman, Julia Wise, Holden Karnofsky, William MacAskill and Toby Ord. Some excerpts: