Euler’s Method Calculator & TI-84 Guide


Euler’s Method Calculator & TI-84 Guide

Approximate solutions to differential equations with our calculator and learn how to perform these calculations on a TI-84 graphing calculator.

Interactive Euler’s Method Calculator



Enter a JavaScript valid expression. Use ‘x’ and ‘y’. Example: x*x + Math.sin(y)


The starting point of your approximation.


The value of the function at x₀.


The increment for each step. Smaller values increase accuracy but require more steps.


The value of x where you want to approximate y.


What is Euler’s Method?

Euler’s method is a fundamental numerical procedure for solving ordinary differential equations (ODEs) with a given initial value. It is the most straightforward explicit method for numerical integration of ODEs and serves as the foundation for more complex methods. The core idea is to approximate a solution curve by taking a series of small linear steps. Starting from an initial point, you calculate the slope of the tangent line using the differential equation and then proceed a small distance (the “step size”) along that tangent to find the next point. This process is repeated, creating a sequence of line segments that approximates the actual solution curve.

The Euler’s Method Formula and Explanation

The iterative formula for Euler’s method is beautifully simple. Given an initial point (x₀, y₀) and a step size ‘h’, the next point (x₁, y₁) is calculated as follows:

y₁ = y₀ + h * f(x₀, y₀)

Where f(x, y) is the differential equation dy/dx. In general, for any step ‘n’:

yn+1 = yn + h * f(xn, yn)
xn+1 = xn + h

This formula essentially takes the current y-value, calculates the slope at that point, multiplies it by the step size to find the “rise” (Δy), and adds this rise to the current y-value to get the next y-value.

Variables Table

Variable Meaning Unit Typical Range
yn+1 The approximated value of y at the next step. Unitless (Depends on context) -∞ to +∞
yn The approximated value of y at the current step. Unitless (Depends on context) -∞ to +∞
h The step size. Unitless (Depends on context) Small positive number (e.g., 0.001 to 0.5)
f(xn, yn) The value of the derivative (slope) at point (xn, yn). Unitless (Depends on context) -∞ to +∞

How to Use Euler’s Method on a Calculator TI-84

While our online calculator is powerful, you might need to use Euler’s method on a standard graphing calculator like the TI-84. There are two primary ways to do this: using the home screen for simple iterations or writing a small program for more complex problems.

Method 1: Using Sequence Mode (Recommended)

This is the most efficient method for the TI-84.

  1. Set to Sequence Mode: Press the `[MODE]` button, navigate down to the line that says `FUNCTION`, and change it to `SEQ`. Press `[ENTER]`.
  2. Enter the Formulas: Press `[Y=]`. You’ll see a new interface for sequences.
    • Set `nMin = 0` (or your starting step number).
    • For `u(n)`, which represents your x-values, enter: `u(n-1) + H` (where H is your step size).
    • For `u(nMin)`, enter your initial x-value, `x₀`.
    • For `v(n)`, which represents your y-values, enter the Euler’s method formula: `v(n-1) + H * f(u(n-1), v(n-1))`. You must replace `f(x,y)` with your actual differential equation, using `u(n-1)` for `x` and `v(n-1)` for `y`. For example, if dy/dx = x+y, you would enter `v(n-1) + H * (u(n-1) + v(n-1))`.
    • For `v(nMin)`, enter your initial y-value, `y₀`.
  3. Store Step Size: On the home screen, store your step size value in the variable H. For example: `0.1 → [STO▶] [ALPHA] [H]`.
  4. View Results: Press `[2nd]` `[GRAPH]` to view the table of values. You can scroll down to see the approximated y-values (`v(n)`) for each corresponding x-value (`u(n)`).

Method 2: Programming Euler’s Method

For repetitive tasks, a program is very helpful.

  1. Go to `[PRGM]`, select `NEW`, and give your program a name like `EULER`.
  2. Enter your differential equation in the `Y=` menu as `Y₁`. For example, `Y₁ = X + Y`.
  3. In the program editor, use the `Input` command to ask the user for initial X, initial Y, step size H, and the number of steps N.
  4. Use a `For` loop that runs from 1 to N.
  5. Inside the loop, perform the calculation: `Y + H * Y₁(X) → Y` and `X + H → X`.
  6. Use the `Disp` command to show the new X and Y values in each iteration.

Practical Examples

Example 1: Simple Growth

Let’s solve `dy/dx = y` with an initial value of `y(0) = 1` and a step size of `h = 0.2`, aiming to find `y(0.4)`.

  • Step 1 (n=0):
    • x₀ = 0, y₀ = 1
    • Slope = f(0, 1) = 1
    • y₁ = 1 + 0.2 * 1 = 1.2
    • x₁ = 0.2
  • Step 2 (n=1):
    • x₁ = 0.2, y₁ = 1.2
    • Slope = f(0.2, 1.2) = 1.2
    • y₂ = 1.2 + 0.2 * 1.2 = 1.44
    • x₂ = 0.4

The approximation for y(0.4) is 1.44. The exact solution is e^0.4 ≈ 1.4918, showing the method provides a reasonable estimate.

Example 2: Mixed Variables

Solve `dy/dx = x – y` with `y(0) = 2` and a step size of `h = 0.1`, aiming for `y(0.2)`.

  • Step 1 (n=0):
    • x₀ = 0, y₀ = 2
    • Slope = f(0, 2) = 0 – 2 = -2
    • y₁ = 2 + 0.1 * (-2) = 1.8
    • x₁ = 0.1
  • Step 2 (n=1):
    • x₁ = 0.1, y₁ = 1.8
    • Slope = f(0.1, 1.8) = 0.1 – 1.8 = -1.7
    • y₂ = 1.8 + 0.1 * (-1.7) = 1.63
    • x₂ = 0.2

The approximation for y(0.2) is 1.63.

Key Factors That Affect Euler’s Method Accuracy

  1. Step Size (h): This is the most critical factor. A smaller step size generally leads to a more accurate approximation because it follows the curve more closely. However, it also increases the number of calculations required.
  2. Curvature of the Solution: The method works best for functions that are relatively smooth and don’t have sharp curves or high-frequency oscillations. The error in each step is related to the second derivative of the function.
  3. Number of Steps: Directly related to the step size and the interval length. More steps (smaller h) mean better accuracy but more computation time.
  4. Round-off Error: While smaller steps reduce truncation error, performing a massive number of calculations can introduce computer round-off errors, which can accumulate and affect the final result.
  5. Stability of the Differential Equation: For some differential equations, the errors in Euler’s method can grow uncontrollably, leading to an unstable and useless approximation, even with a small step size.
  6. The Interval of Approximation: The total error tends to accumulate over the interval. Therefore, approximating a solution far from the initial point is likely to have a larger error than an approximation close to it.

Frequently Asked Questions (FAQ)

1. Why is it called a “first-order” method?
It’s called first-order because the global error (the total error at the end) is directly proportional to the step size (h). If you halve the step size, you can expect to halve the error.
2. Is Euler’s method accurate?
It can be, for simple problems and with a very small step size. However, it is generally not considered very accurate compared to higher-order methods like the Runge-Kutta methods, which are used in most practical applications.
3. How do I choose the right step size (h)?
It’s a trade-off. A smaller ‘h’ increases accuracy but also computation time. A good practice is to run the calculation with a certain ‘h’, then run it again with ‘h/2’ and see how much the result changes. If the change is small, your ‘h’ is likely sufficient for your needs.
4. What’s the difference between local error and global error?
Local error is the error introduced in a single step, which is proportional to h². Global error is the total, accumulated error at the end of the process, which is proportional to h.
5. Can I use Euler’s method for any differential equation?
It can be applied to any first-order ordinary differential equation with an initial value. For systems of equations or higher-order equations, you must first convert them into a system of first-order equations.
6. What does it mean for the method to be “unstable”?
For certain equations, the small errors made in each step of Euler’s method can get magnified in subsequent steps, causing the approximation to veer wildly away from the true solution. This is numerical instability.
7. How does the TI-84 program for Euler’s method work?
A program typically uses a loop. It prompts you for the starting conditions (`x0`, `y0`), step size (`h`), and the number of iterations. Inside the loop, it repeatedly applies the formula `Y_new = Y_old + h * f(X_old, Y_old)` and updates the values.
8. Why does the TI-84 sequence mode use `u(n-1)` and `v(n-1)`?
This is the calculator’s notation for a recursively defined sequence. `u(n-1)` refers to the previous term in the sequence (the last x-value), and `v(n-1)` is the previous y-value, which is exactly what Euler’s method requires for its next calculation step.

© 2026 euler-s-method-how-to-use-on-a-calculator-ti-84.com – All Rights Reserved.



Leave a Reply

Your email address will not be published. Required fields are marked *