Free to use, no account

Kalkulator for Taylor-rekker

Velg en elementærfunksjon, utvidelsessentrum, grad og evalueringspunkt. Undersøk hver koeffisient, polynomanslaget og punktvis feil.

Funksjonene eˣ, sin(x), cos(x), ln(x), 1/x og √x støttes. Orden 0–30; inndata må være innenfor ±50. Trigonometriske inndata tolkes i radianer.

Hva viser en Taylor-rekkekalkulator?

Den bygger et endelig Taylor-polynom fra deriverte i et valgt sentrum. Den rapporterte feilen er den absolutte forskjellen ved det valgte punktet, ikke en garantert feilgrense over et intervall.

Veiledning

Slik bruker du taylor-series-calculator

The Taylor Series Calculator builds a Taylor polynomial for one of six functions: e to the x, sine, cosine, natural log, one over x and square root. You choose a centre, a degree and a point, and it lists the coefficients, the estimate, the true value and the gap between them at that point.

Slik gjør du

  1. Pick a function, then enter the expansion centre a and the point x where you want a value. Both must be between -50 and 50.
  2. Set the polynomial order from 0 to 30. Sine and cosine take radians.
  3. Press Calculate polynomial and read the coefficient table, the estimate, the exact value and the difference. Use Copy results to keep them.

Eksempler

Estimating e with a short polynomial

Du skriver inn
Funksjon
exp
Sentrum
0
Punkt x
1
Orden
2
Du får
Koeffisienter
1; 1; 0.5
Tilnærming
2.5
Faktisk verdi
2.7182818285
Absolutt feil
0.2182818285

Around zero, e to the x starts 1 + x + x squared over 2. At x = 1 this gives 2.5, which is about 0.22 below e.

Kjørt med verktøyets egen kode.

Sine with order 5

Du skriver inn
Funksjon
sin
Sentrum
0
Punkt x
1
Orden
5
Du får
Tilnærming
0.8416666667
Faktisk verdi
0.8414709848
Absolutt feil
0.0001956819

The polynomial is x - x cubed over 6 + x to the fifth over 120. At x = 1 it is already within about 0.0002 of sin(1), measured in radians.

Kjørt med verktøyets egen kode.

Natural log far from its centre

Du skriver inn
Funksjon
ln
Sentrum
1
Punkt x
3
Orden
4
Du får
Tilnærming
-1.3333333333
Faktisk verdi
1.0986122887
Absolutt feil
2.431945622
Utenfor konvergensradius
ja

Around 1, ln(x) only matches its series within a distance of 1 from the centre. The point x = 3 is 2 away, so the polynomial is poor here and the tool shows a warning.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Check a homework answer for a Taylor or Maclaurin polynomial.
  • See how each extra term brings the estimate closer to the true value.
  • Show why a series works near its centre and fails far away.

Begrensninger

  • Only six functions are supported, the centre and point must lie within plus or minus 50, and the order is a whole number from 0 to 30.
  • The error shown is the gap at your single point. It is not a bound on the error across an interval, and a formal remainder bound needs extra derivative information.
  • For ln, square root and 1 over x the centre must be allowed by the function: positive for ln and square root, and not zero for 1 over x. The point must also be inside the function's real domain.

Tips

  • Raise the order one step at a time and watch the difference column shrink.
  • Keep x close to the centre, because accuracy usually drops as the distance grows.
  • Choose the centre where the derivatives are easy, such as 0 for sine, cosine and e to the x.

Vanlige spørsmål

What is a Taylor polynomial?

It is a finite sum built from a function's derivatives at a centre point. Each term adds a power of x minus the centre, scaled by a coefficient, so the sum copies the function near that point.

What is a Maclaurin polynomial?

It is a Taylor polynomial whose centre is zero. In this calculator you can set the centre to 0 for a Maclaurin polynomial or to another valid number for a general Taylor polynomial.

Why is my estimate poor?

The point may lie outside the convergence radius of the series. For ln, square root and 1 over x the radius equals the distance from the centre to the trouble spot at zero, and the tool warns when you cross it.

Do sine and cosine use degrees?

No. They use radians. If your angle is in degrees, convert it first by multiplying by pi and dividing by 180, otherwise the estimate and the exact value will not match what you expect.

Does the difference prove accuracy over a whole interval?

No. It is the absolute gap at one chosen point. A bound across an interval needs more information about the derivatives, which this tool does not compute.

Are my values uploaded?

No. The polynomial and the comparison are worked out inside your browser, and the page says the values are not uploaded or saved.

Kilder

Ofte stilte spørsmål

Hva viser en Taylor-rekkekalkulator?

Den bygger et endelig Taylor-polynom fra deriverte i et valgt sentrum. Den rapporterte feilen er den absolutte forskjellen ved det valgte punktet, ikke en garantert feilgrense over et intervall.

Lastes verdiene mine opp?

Nei. Polynomet og sammenligningen beregnes i denne nettleseren; verdiene dine lastes ikke opp eller lagres.

Hva er et Maclaurin-polynom?

Det er et Taylor-polynom sentrert rundt null. Denne kalkulatoren lar deg velge null eller et annet gyldig sentrum.

Garanterer den viste forskjellen nøyaktighet gjennom et helt intervall?

Nei. Det er den absolutte forskjellen ved det ene evalueringspunktet ditt. En restgrense over et intervall krever flere grenser for deriverte og vilkår.

Hvorfor kan polynomet være dårlig utenfor en konvergensradius?

Det endelige polynomet kan evalueres der, men den uendelige Taylor-rekken for logaritme-, kvadratrot- og resiprokfunksjoner konvergerer bare innenfor radiusen rundt sentrumspunktet.