Working as a lecturer from 1814, in 1816 Hansteen was promoted to professor of astronomy and applied mathematics.
From 1835 to 1838 he published textbooks on geometry and mechanics,[REF] largely a reaction to his former research assistant Bernt Michael Holmboe's textbooks.