wǒ / dà / xué / shí / xuǎn / xiū / le / xiàn / xìng / dài / shù我大学时选修了线性代数。I took linear algebra as an elective in college.