Talks - Evan Kohilas: Python ate my Homework!

Learn how Python and SymPy can automate math homework while showing detailed work. See practical examples of symbolic math, equation solving, and LaTeX formatting.

Key takeaways
  • Python and SymPy can help automate tedious mathematical calculations while showing clear working steps

  • Using Jupyter notebooks allows presenting mathematical solutions with LaTeX formatting and step-by-step explanations

  • The approach helps prevent human errors in calculations while still demonstrating understanding through code implementation

  • SymPy features highlighted:

    • Symbolic mathematics manipulation
    • Equation solving
    • Derivative calculations
    • Plotting capabilities
    • Factor calculation
    • LaTeX output formatting
  • Benefits of this approach:

    • Easily update numbers/variables to solve similar problems
    • Verify work through automated checking
    • Export solutions in clean, readable formats
    • Show detailed working steps through code
  • Limitations to consider:

    • Teachers may not accept pure code solutions
    • Over-reliance could impact learning fundamentals
    • May not be allowed in exam settings
    • Converting handwritten work to code takes effort
  • Best used as a learning tool to understand concepts while automating repetitive calculations

  • Important to balance automated solutions with understanding the underlying mathematical principles

  • Can help bridge the gap between computer science and mathematics education

  • Useful for verifying manual calculations and catching potential errors