Euler’s Method Lesson 2.1 Objective • Apply Euler’s method to approximate differential equations Definitions Euler’s Method – A way to approximate differential equations using successive linear approximations. Euler’s Method The method is based on the idea of linear approximation. π π₯ ≈ π′ π π₯ − π + π π Or π¦ = π π₯ − π₯1 + π¦1 However, with Euler’s method we don’t stay on the same line. We reformulate the tangent line as we take steps ππ₯ . Euler’s Method To help apply Euler’s method we will use the following table: 1) Applying Euler’s Method ππ¦ Consider the differential equation = π₯ + π₯π¦. Let π¦ = π(π₯) be the ππ₯ function that satisfies the given differential equation with the initial condition π(1) = 2. Use Euler’s method, starting at π₯ = 1 with a step size of 0.5, to approximate π(2). π π π= π π π π ππ¦ = π β ππ₯ π¦πππ€ = π¦ + ππ¦ 2) Applying Euler’s Method ππ¦ Consider the differential equation = π¦ + π₯ 2 . Let π¦ = π(π₯) be the ππ₯ function that satisfies the given differential equation with the initial condition π(0) = 1. Use Euler’s method, starting at π₯ = 0 and using 2 steps, to approximate π(2). π π π= π π π π ππ¦ = π β ππ₯ π¦πππ€ = π¦ + ππ¦ 3) Applying Euler’s Method ππ¦ Consider the differential equation = π₯ 2 + π₯ − 1. Let π¦ = π(π₯) be the ππ₯ function that satisfies the given differential equation with the initial condition π(0) = 1. Use Euler’s method, starting at π₯ = 0 with a step size of 0.5, to approximate π(1). π π π π ππ¦ = π β ππ₯ π¦πππ€ = π¦ + ππ¦ π= π π 4) Applying Euler’s Method The rate at which the flu spreads through a community is modeled by the ππ logistic differential equation = 0.001π 3000 − π , where π‘ is measured ππ‘ in days and π‘ ≥ 0. Using Euler’s method with 3 steps, approximate the population infected after 3 days if the initial population infected is 50. π π π= π π π π ππ¦ = π β ππ₯ π¦πππ€ = π¦ + ππ¦ 5) Applying Euler’s Method 5) Applying Euler’s Method