He studied mathematics under Karl Weierstrass and Leo Königsberger , and philosophy under Franz Brentano and Carl Stumpf .
Husserl studied mathematics under Karl Weierstrass , completing a Ph.D. under Leo Königsberger , and studied philosophy under Franz Brentano and Carl Stumpf .