---
title: "Local Error | Linear Algebra and Differential Equations"
description: "Local error is the error made in one step of a numerical differential equation method, like Euler's Method, and it shows how each step affects accuracy."
canonical: "https://fiveable.me/linear-algebra-and-differential-equations/key-terms/local-error"
type: "key-term"
subject: "Linear Algebra and Differential Equations"
unit: "Unit 12"
---

# Local Error | Linear Algebra and Differential Equations

## Definition

Local error is the error introduced by one step of a numerical method for a differential equation. In Linear Algebra and Differential Equations, it measures how far a single Euler or Improved Euler step is from the exact solution.

## What It Is

Local error is the error from one step of a numerical approximation to a differential equation. In this course, you usually see it when you take a method like Euler's Method, move from one point to the next, and compare that one-step estimate to the exact solution value at the same new x-value.

Think of it as the mistake made by a single jump. If you start at a known point and use the slope to predict the next y-value, local error measures how good that one prediction is. It does not describe the whole solution curve yet, just the accuracy of that one step.

For Euler's Method, the local error is tied to the fact that the method uses a tangent line instead of the true curved solution. Since real solutions usually bend, the straight-line step misses a little. Smaller step sizes usually shrink that miss, which is why a smaller h gives a better approximation.

Improved Euler's Method lowers local error by using two slope estimates and averaging them. That extra slope check makes the next point closer to the true curve than basic Euler's Method usually gets. The idea is still step-by-step approximation, but with a better estimate of the slope over the interval.

A useful way to separate the ideas is this: local error is what happens in one step, while the overall error after many steps can build up from lots of local errors. In class, Taylor series often show why the error behaves the way it does, because the method is really trying to imitate the exact solution's expansion but stops short of the full curve.

## Why It Matters

Local error shows you how trustworthy a numerical method is before the errors start stacking up across many steps. In Differential Equations, you often cannot solve an initial value problem exactly, so you rely on step-by-step methods and need a way to judge whether the approximation is actually close.

It also explains why step size matters so much. If you halve the step size in Euler's Method, each step usually gets more accurate, and the local error drops fast enough that the whole graph can look much closer to the true solution. That gives you a concrete reason to choose a smaller h instead of just saying it is "more accurate."

This term also sets up the comparison between Euler's Method and Improved Euler's Method. If two methods start at the same initial condition, the one with smaller local error usually tracks the solution better over time. So when you compare outputs from a homework table or calculator run, local error is part of the logic behind why one method wins.

In linear algebra topics that involve systems of differential equations, the same idea still shows up. Even when you are approximating vector-valued solutions, each step can be checked against the exact behavior of the system, and local error tells you how much the method drifted in that one move.

## Connections

### Step Size

Step size is the distance you move forward on the x-axis with each numerical step. Smaller step sizes usually reduce local error because the method is trying to follow the curve over a shorter interval. In homework, this is the first thing to adjust when an approximation looks too rough.

### [Global Error](/linear-algebra-and-differential-equations/key-terms/global-error)

Global error is the total error after many steps, not just one. Local error feeds into global error, but they are not the same thing, and a method with small local error can still drift if you take many steps. This distinction shows up when you compare a table of values to the exact solution.

### [Convergence](/linear-algebra-and-differential-equations/key-terms/convergence)

Convergence describes whether a numerical method gets closer to the true solution as the step size gets smaller. Local error is one reason convergence happens, because each step becomes a better approximation. If a method converges well, you should see the output improve as h decreases.

### [truncation error](/linear-algebra-and-differential-equations/key-terms/truncation-error)

Truncation error is the error made when a method stops a calculation early, such as cutting off a Taylor series after a few terms. Local error is often treated as a type of truncation error for one step of an ODE method. That is why Taylor series language comes up when the class explains it.

## On the AP Exam

A quiz or problem set usually asks you to compare Euler's Method and Improved Euler's Method, change the step size, or explain why one approximation is closer to the exact solution. You may need to identify the error from a single step, not the whole table, so read the prompt carefully. If the problem gives you a differential equation and an initial condition, the move is often to compute a step, then reason about how the local error would change if h got smaller. When a teacher asks for a written explanation, use the language of one-step approximation, slope estimate, and exact solution value at the next x-value. That keeps you focused on the actual source of the error instead of just saying the answer is "more accurate."

## local error vs Global Error

Local error is the mistake from one step of the method. Global error is the total accumulated difference after many steps. A student often mixes them up because both are about accuracy, but the first is step-by-step while the second is the final drift of the full numerical solution.

## Key Takeaways

- Local error is the error made in one step of a numerical method for a differential equation.
- In Euler's Method, local error comes from using a straight-line tangent step instead of the true curve.
- Smaller step sizes usually reduce local error, which makes the numerical approximation closer to the exact solution.
- Improved Euler's Method lowers local error by averaging slope information instead of using only one slope.
- Local error is different from global error, which is the total error after many steps.

## FAQs

### What is local error in Linear Algebra and Differential Equations?

Local error is the difference between the exact solution and the numerical estimate after one step of a method like Euler's Method. It tells you how accurate that single move is, before any later errors have a chance to build up. In this course, it usually comes up when you are comparing approximation methods for differential equations.

### How is local error different from global error?

Local error is the error from one step, while global error is the total error after many steps. That means global error includes the accumulation of many local errors along the way. A method can have small local error but still show noticeable global error if you take enough steps.

### Why does smaller step size reduce local error?

A smaller step size makes each move cover less distance, so the straight-line estimate stays closer to the true curve. In Euler's Method, that means the tangent line has less chance to drift away from the exact solution during one jump. This is why decreasing h usually makes the graph look more accurate.

### How does Improved Euler's Method affect local error?

Improved Euler's Method uses two slope estimates and averages them, so it usually gives a better one-step approximation than basic Euler's Method. That lowers local error for the same step size. If a problem asks why the improved method is closer to the exact solution, local error is the reason to mention.

## Related Study Guides

- [12.1 Euler's Method and Improved Euler's Method](/linear-algebra-and-differential-equations/unit-12/eulers-method-improved-eulers-method/study-guide/At7E4RuGn8e2pRaY)

## About This Document

Canonical Fiveable pages are available as Markdown at the same path plus `.md`.

- [llms.txt](https://fiveable.me/llms.txt): index of Fiveable's sections and URL patterns
- [llms-full.txt](https://fiveable.me/llms-full.txt): complete subject and unit listing
- [MCP server](https://fiveable.me/mcp): call Fiveable as tools instead of fetching pages (`https://fiveable.me/api/mcp`)
- [MCP server for AP teachers](https://fiveable.me/mcp/teachers): a teacher's classes, assignments and AP-rubric grading (`https://fiveable.me/api/mcp/teacher`)

## Structured Data

```json
{"@context":"https://schema.org","@graph":[{"@type":"LearningResource","@id":"https://fiveable.me/linear-algebra-and-differential-equations/key-terms/local-error#resource","name":"Local Error | Linear Algebra and Differential Equations","url":"https://fiveable.me/linear-algebra-and-differential-equations/key-terms/local-error","learningResourceType":"Concept explainer","educationalLevel":"AP® / High School","about":{"@id":"https://fiveable.me/linear-algebra-and-differential-equations/key-terms/local-error#term"},"audience":{"@type":"EducationalAudience","educationalRole":"student"},"dateModified":"2026-07-03T02:23:26.893Z","isPartOf":{"@type":"Collection","name":"Linear Algebra and Differential Equations Key Terms","url":"https://fiveable.me/linear-algebra-and-differential-equations/key-terms"},"publisher":{"@type":"Organization","name":"Fiveable","url":"https://fiveable.me"}},{"@type":"DefinedTerm","@id":"https://fiveable.me/linear-algebra-and-differential-equations/key-terms/local-error#term","name":"local error","description":"Local error is the error introduced by one step of a numerical method for a differential equation. In Linear Algebra and Differential Equations, it measures how far a single Euler or Improved Euler step is from the exact solution.","url":"https://fiveable.me/linear-algebra-and-differential-equations/key-terms/local-error","inDefinedTermSet":{"@type":"DefinedTermSet","name":"Linear Algebra and Differential Equations Key Terms","url":"https://fiveable.me/linear-algebra-and-differential-equations/key-terms"}},{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is local error in Linear Algebra and Differential Equations?","acceptedAnswer":{"@type":"Answer","text":"Local error is the difference between the exact solution and the numerical estimate after one step of a method like Euler's Method. It tells you how accurate that single move is, before any later errors have a chance to build up. In this course, it usually comes up when you are comparing approximation methods for differential equations."}},{"@type":"Question","name":"How is local error different from global error?","acceptedAnswer":{"@type":"Answer","text":"Local error is the error from one step, while global error is the total error after many steps. That means global error includes the accumulation of many local errors along the way. A method can have small local error but still show noticeable global error if you take enough steps."}},{"@type":"Question","name":"Why does smaller step size reduce local error?","acceptedAnswer":{"@type":"Answer","text":"A smaller step size makes each move cover less distance, so the straight-line estimate stays closer to the true curve. In Euler's Method, that means the tangent line has less chance to drift away from the exact solution during one jump. This is why decreasing h usually makes the graph look more accurate."}},{"@type":"Question","name":"How does Improved Euler's Method affect local error?","acceptedAnswer":{"@type":"Answer","text":"Improved Euler's Method uses two slope estimates and averages them, so it usually gives a better one-step approximation than basic Euler's Method. That lowers local error for the same step size. If a problem asks why the improved method is closer to the exact solution, local error is the reason to mention."}}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Linear Algebra and Differential Equations","item":"https://fiveable.me/linear-algebra-and-differential-equations"},{"@type":"ListItem","position":2,"name":"Key Terms","item":"https://fiveable.me/linear-algebra-and-differential-equations/key-terms"},{"@type":"ListItem","position":3,"name":"Unit 12","item":"https://fiveable.me/linear-algebra-and-differential-equations/unit-12"},{"@type":"ListItem","position":4,"name":"local error"}]}]}
```
