Nepedia
Back to Discover
Fluent Reader
🔢

Approximation theory

math Maturity 11-13 Next article →

Sometimes math is too hard for a computer to do quickly. Computers are great at adding and multiplying. They struggle with more complex math rules. Scientists use a way called approximation theory to help.

Impossibleerror
Impossibleerror

This means they use simple math to get close to a hard answer. We often use polynomials to do this. A polynomial is a simple math expression. We want the error to be very small. An error is the gap between the real answer and our guess.

Approximation theory helps us find simpler functions to act like hard ones. We want to know how much error our simple guess adds. A computer library might use polynomials or ratios of polynomials to do this. The goal is to stay as close to the real answer as possible. We can do this by using a high-degree polynomial. Another way is to make the area we are looking at smaller. Modern libraries often break a big area into many tiny segments. They use a low-degree polynomial for every single segment. This helps the computer stay very accurate.

To find the best guess, mathematicians look for an optimal polynomial. This polynomial tries to make the worst error as small as it can be. We want to minimize the maximum value of the error. For many functions, the error will swing back and forth. It will oscillate between a positive and negative value. The equioscillation theorem says this is the best way to do it. For a polynomial of degree N, the error swings N+2 times. This means the error stays level at its highest and lowest points.

. Vertical divisions are 10−4. Maximum error for the optimal polynomial is 5.47 × 10−4.]

One way to get a near-perfect guess is using Chebyshev polynomials. These are special tools that oscillate between +1 and -1. Using them is a bit like using Fourier analysis. We can expand a function and then cut off the series. If we cut it after a certain term, the error is small. The error will look like a level function with many swings. This method is the basis for Clenshaw–Curtis quadrature. This is a way to do numerical integration. It is very helpful for functions that change quickly.

There is also a special way to find the best polynomial called the Remez algorithm. This is an iterative process, which means it repeats steps to get better. It works by choosing test points to find level error values. The algorithm uses Newton's method to move these points around. It moves them to where the error is at its highest or lowest. This process happens very fast for well-behaved functions. It is called quadratic convergence because it gets much better each time. Scientists often start with Chebyshev points to help the algorithm work.

. Vertical divisions are 10−4.]

477 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (1)
File:Impossibleerror.png
Impossibleerror.png
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.