Course Overview

Mathematics and coding are powerful when combined—and Python, with its simple syntax and rich ecosystem, makes it easier than ever to bring abstract math concepts to life. This course empowers learners to understand mathematics at a deeper level by visualizing and solving problems through Python code. Whether you’re a math enthusiast, educator, or aspiring programmer, learning to master math by coding not only enhances comprehension but also builds real-world problem-solving skills vital for data science, engineering, and beyond.

This course begins with getting students comfortable with Python and Jupyter Notebooks, and quickly progresses to arithmetic fundamentals such as operators, exponents, and logical conditions. It explores symbolic math with Sympy and LaTeX, dives into Python data types, and then enters into deeper algebra topics including polynomials, inequalities, matrices, and dictionaries. Learners gain hands-on experience graphing everything from lines to conic sections and visualizing mathematical patterns. The course continues through advanced subjects like algebra 2, trigonometry, calculus, linear algebra, probability, and number theory, using interactive exercises, graphics, and bug-hunt challenges to reinforce concepts.

This chapter-rich course builds fluency in both math and Python, helping learners code, visualize, and apply complex mathematical ideas with confidence and clarity.

What You Will Learn

  • Most important: Confidence in learning math!
  • Learn Algebra (1, 2)
  • Learn Trigonometry
  • Learn Linear algebra
  • Formatting beautiful equations in LaTeX
  • Integrating Python, Markdown, and LaTeX
  • Learn Arithmetic, Graphing, and Calculus

Program Curriculum

  • How to Get the Most Out of This Course?
  • Using Python through Jupyter (Installing Anaconda)
  • Using Python Online (No Installation!)
  • Create a Beautiful Harmonograph!
  • Getting Help in Python
  • $7 Million Cybersecurity Scholarship by EC-Council
  • Chapter 1 Quiz

  • Addition, Subtraction, Multiplication, and Division
  • Using Variables in Place of Numbers
  • Printing Out Equations in Jupyter Notebook
  • Writing Comments in Python
  • Exponents (Powers)
  • Using For-loops to Compute Powers
  • Testing Inequalities and Boolean Data Type
  • Using If-statements and Logical Operators
  • Absolute Value
  • Remainder After Division (Modulus)
  • Create Interactive Math Functions Part 1
  • Create Interactive Math Functions Part 2
  • Create Interactive Math Functions Part 3
  • Arithmetic Bug Hunt!
  • Chapter 2 Quiz

  • Intro to Sympy Part 1
  • Intro to LaTeX
  • Intro to Sympy Part 2
  • Printing with f-strings
  • Example: Use Sympy to Understand the Law of Exponents
  • Sympy/LaTeX Bug Hunt!
  • Chapter 3 Quiz

  • Numbers and Strings
  • Lists and Numpy Arrays
  • Chapter 4 Quiz

  • Solving for x
  • Solving for x: Exercises
  • Expanding Terms
  • Creating and Accessing Matrices with Numpy
  • Exercise: Create a Multiplication Table
  • Associative, Commutative, and Distributive Properties
  • Creating and Working with Python Lists
  • More on "slicing" in Python
  • Greatest Common Denominator
  • Greatest Common Denominator: Exercises
  • Introduction to Python Dictionaries
  • Prime Factorization
  • Solving Inequalities
  • Adding Polynomials
  • Multiplying Polynomials
  • Dividing by Polynomials
  • Factoring Polynomials
  • Algebra 1 Bug Hunt!
  • Chapter 5 Quiz

  • Plotting Coordinates on a Plane
  • Plotting Coordinates on a Plane: Exercise
  • Graphing Lines Part 1: Start/End Notation
  • Graphing Lines Part 2: slope-intercept Form
  • Graphing Rational Functions
  • Plotting with Sympy
  • Plotting with Sympy: Exercises
  • Making Images from Matrices
  • Images from Matrices: Exercise
  • Drawing Patches with Polygons
  • Exporting Graphics as Pictures
  • Graphing Bug Hunt!
  • Chapter 6 Quiz

  • Summation and Products
  • Differences (Discrete Derivative)
  • Roots of Polynomials
  • Roots of Polynomials: Exercise
  • The Quadratic Equation
  • Complex Numbers: Addition and Subtraction
  • Complex Numbers: Conjugate and Multiplication
  • Complex Numbers: Division
  • Graphing Complex Numbers
  • Revisiting the Quadratic Equation with Complex Numbers
  • The Unit Circle
  • Natural Exponent and Logarithm
  • Find a Specific Point on a Gaussian
  • Exercise: A Family of Gaussians
  • Graphing the Complex Roots of Unity
  • Log-spaced and Linearly Spaced Numbers
  • Logarithm Properties: Multiplication and Division
  • Arithmetic and Geometric Sequences
  • Orders of Magnitude and Scientific Notation
  • Maxima and Minima of Functions
  • Even and Odd Functions
  • Algebra 2 Bug Hunt!
  • Chapter 7 Quiz

  • Graphing Parabolas
  • Creating Contours from Meshes in Python
  • Graphing Circles
  • Graphing Ellipses
  • Graphing Hyperbolas
  • Conic Bug Hunt!
  • Chapter 8 Quiz

  • Introduction to Random Numbers
  • Introduction to Random Numbers: Exercise
  • Exercise: Plotting Random Phase Angles
  • Converting Between Radians and Degrees
  • Converting Angles: Exercise
  • The Pythagorean Theorem
  • Graphing Resolution for sine, cosine, and tangent
  • Graphing and Resolution: Exercise
  • Euler's Formula
  • Euler's Formula: Exercise
  • Exercise: Random Exploding Euler
  • Exercise: Random Snakes with cosine and sine
  • Trigonometry Bug Hunt!
  • Chapter 9 Quiz

  • Astroid Radial Curve
  • Rose Curves
  • Squircle
  • Logarithmic Spiral
  • Logistic Map
  • Chapter 10 Quiz

  • Mathematical Proofs vs. Intuition with Examples
  • Computing Limits of a Function
  • Computing Limits: Exercise
  • Piecewise Functions
  • Derivatives of Polynomials
  • Derivatives of Polynomials: Exercise
  • Derivatives of trig Functions
  • Derivatives of trig Functions: Exercise
  • Graphing a Function Tangent Line
  • Graphing Tangent Lines: Exercise
  • Finding Critical Points
  • Finding Critical Points: Exercise
  • Partial Derivatives
  • Indefinite and Definite Integrals
  • Exercise: The Fundamental Theorem of Calculus
  • Area Between Two Curves
  • Area Between Two Curves: Exercise
  • Calculus Bug Hunt!
  • Chapter 11 Quiz

  • Row and Column Vectors
  • Adding and Scalar-multiplying Vectors
  • The Dot Product
  • Dot Product Application: Correlation Coefficient
  • The Outer Product
  • Matrix Multiplication
  • Transposing Vectors and Matrices
  • Various Special Matrices
  • Matrix Inverse
  • Matrix Pseudoinverse: Exercise
  • Solving a System of Equations
  • Visualizing Matrix-vector Multiplication
  • Eigenvalues and Eigenvectors
  • Eigendecomposition: Exercise
  • Singular Value Decomposition
  • SVD of Einstein: Exercise
  • Linear Algebra BUG HUNT!
  • Chapter 12 Quiz

  • Histograms and Probability Densities
  • Probability Exercise: Math Functions
  • Virtual Coin Tosses
  • Exercise: Virtual Weighted Dice
  • Building Distributions from Random Numbers
  • Exercise: Normalize Any Distribution to Gaussian
  • The Central Limit Theorem
  • Exercise: The Central Limit Theorem
  • Joint Probability Distributions
  • Probability Bug Hunt!
  • Chapter 13 Quiz

  • Counting Perfect Numbers
  • Euclid's Pythagorean Triplets
  • Fermat's Theorem
  • Plotting Number Sequences
  • Exercise: Con/Divergent Sequences
  • Heron's Method of Square Roots
  • Exercise: Heron's Mosquito Spaceship #13
  • Smooth Numbers
  • Exercise: Smooth Numbers
  • Number Theory Bug Hunt!
  • Chapter 14 Quiz
Load more modules

Instructor

Codestars

Codestars is a digital publishing company specialising in fun, practical and comprehensive online courses in the most in-demand coding, technology and business skills topics. Started by globally best-selling instructor Rob Percival, Codestars has taught over 1.5 million people around the world! From web development and programming languages to digital marketing, app creation and much more, Codestars courses are aimed at beginners and give students the opportunity to transform their skillset and revolutionise their professional abilities. We work with the very best instructors to create innovative and learner-focused courses that are practical and challenging. Put your skills to the test with real-world projects and master the skill you need to succeed. Happy coding!

Join over 1 Million professionals from the most renowned Companies in the world!

certificate

Empower Your Learning with Our Flexible Plans

Invest in your future with our flexible subscription plans. Whether you're just starting out or looking to enhance your expertise, there's a plan tailored to meet your needs. Gain access to in-demand skills and courses for your continuous learning needs.

Monthly Plans
Annual Plans
Save 20% with our annual plans!

Pro

Ideal for continuous learning, offering video-based learning with 840+ courses and diverse Learning Paths to enhance your skills.

$ 69.00
Billed monthly or $599.00 billed annually

What is included

  • 840+ Premium Short Courses
  • 70+ Structured Learning Paths
  • Validation of Completion with all courses and learning paths
  • New Courses added every month
Early Access Offer

Pro +

Experience immersive learning with Practice Labs and CTF Challenges for comprehensive skill-building.

$ 79.00
Billed monthly or $699.00 billed annually

Everything in Pro and

  • 1400+ Practice Lab exercises with guided instructions
  • 150+ CTF Challenges with detailed walkthroughs
  • New Practice Labs and Challenges added every month

Related Courses

1 of 49