Code Monkey home page Code Monkey logo

diffeq's Introduction

diffeq

I'm learning about differential equations. I'm starting off with the MIT OCW course, but I'm going to incorporate other sources as well.

Notes

Here are some high-level notes that I'll jot down as I go through my self-made curriculum.

MIT OCW

Here's some of the high-level stuff that I learned from the MIT course:

  • Lecture 1: The Geometrical View
    • Solutions are functions, not numbers. Reminds me of ML.
    • Solutions can be found by integrating over the direction field. This is Euler's method.
  • Lecture 2: Numerical Methods
    • Euler's method has O(h) error.
    • RK2 has O(h^2) error.
    • RKn has O(h^n) error.
  • Lecture 3: First-order Linear ODEs
    • Always admit a solution (involves an integral, though).
    • "Integrating factors" are the general way to solve these problems.

My own work

Here's some of the high-level stuff that I learned via my own derivations or thinking:

  • Numerical methods
    • Error analysis can be performed via Taylor series.
      • The error on one step of Euler's method is O(h^2). That's why k/h steps is O(h).
      • The error on one step of RK2 is O(h^3).
    • New methods can be derived using Taylor series and solving a system to knock out the low-order terms:
      • I derived a third-order method, which I believe is a variant of RK3.
      • I derived a fourth-order method that requires 6 function evals. See derivations/fourth_order_*.jpg.

diffeq's People

Contributors

unixpickle avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.