Gratis å bruke, uten konto

Kalkulator for tredje- og fjerdegradsligninger

Oppgi polynomkoeffisientene for å anslå de reelle røttene, multiplisitetene og residualene i nettleseren.

Eksempel: x³ − 1 = 0 har den reelle roten x = 1.

Bare reelle røtter; komplekse røtter og symbolske faktorer beregnes ikke. Koeffisientene er begrenset til ±1 000 000. Svært små ledende koeffisienter avvises. Resultatene er numeriske estimater; residualen er |P(root)|.

Hvordan bruker jeg kalkulatoren for polynomrøtter?

Velg en tredje- eller fjerdegradsligning, oppgi koeffisientene fra høyeste potens til konstantleddet, og beregn. Røttene er numeriske estimater og vises i rekkefølge.

Veiledning

Slik bruker du Kalkulator for tredje- og fjerdegradsligninger

The Cubic and Quartic Equation Calculator finds the real roots of a degree 3 or degree 4 polynomial. You enter the coefficients from the highest power down to the constant, and it lists each real root with its multiplicity and a residual. The roots are numerical estimates. It does not show complex roots, steps or exact symbolic answers.

Slik gjør du

  1. Choose Cubic (degree 3) or Quartic (degree 4). The x⁴ box appears only for quartics.
  2. Type every coefficient from the highest power to the constant term. Use 0 for a missing term. For x³ - 1, enter 1, 0, 0 and -1.
  3. Press Calculate roots. Each real root is listed with its multiplicity and its residual, the size of P(root).
  4. Use Load example to fill in x³ - 1 = 0, or Clear to reset the form.

Eksempler

One real root

Du skriver inn
Grad
3
A3
1
A2
0
A1
0
A0
-1
Du får
Røtter
X: 1; Multiplisitet: 1; Restverdi: 0
Merknad
Some roots are non-real and are not shown.

x³ - 1 = 0 has the real root x = 1. The other two roots are complex, so the tool adds a note that non-real roots exist.

Kjørt med verktøyets egen kode.

Three distinct roots

Du skriver inn
Grad
3
A3
1
A2
-6
A1
11
A0
-6
Du får
Røtter
1; 2; 3
Multiplisitet
1; 1; 1

x³ - 6x² + 11x - 6 factors as (x - 1)(x - 2)(x - 3). The tool finds roots of 1, 2 and 3 with tiny residuals around 1e-13 (shown in scientific form).

Kjørt med verktøyets egen kode.

A triple root

Du skriver inn
Grad
3
A3
1
A2
-3
A1
3
A0
-1
Du får
Røtter
X: 1; Multiplisitet: 3; Restverdi: 0

x³ - 3x² + 3x - 1 equals (x - 1)³. The one root appears once, with multiplicity 3.

Kjørt med verktøyets egen kode.

A quartic with four real roots

Du skriver inn
Grad
4
A4
1
A3
0
A2
-5
A1
0
A0
4
Du får
Røtter
-2; -1; 1; 2

x⁴ - 5x² + 4 = (x² - 1)(x² - 4). The roots come out as -2, -1, 1 and 2, in order from smallest to largest.

Kjørt med verktøyets egen kode.

A quartic with no real roots

Du skriver inn
Grad
4
A4
1
A3
0
A2
0
A1
0
A0
1
Du får
Melding
No real roots found for these coefficients.

x⁴ + 1 is always positive, so it never crosses zero. The tool says there are no real roots and does not list the complex ones.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Check where a cubic or quartic curve crosses the x-axis in a maths class.
  • Verify the roots you found by factoring.
  • Solve a polynomial equation from physics or geometry that has no neat factorisation.
  • See how many roots repeat, using the multiplicity value.

Begrensninger

  • Only real roots are listed. Complex roots, factorisations and exact symbolic forms are not computed.
  • Each coefficient must be a number from -1,000,000 to 1,000,000, every coefficient must be filled in, and the leading one cannot be zero.
  • A leading coefficient that is tiny next to the others (about one part in 10^12) is rejected as too unreliable.
  • Results are numerical estimates. Close roots may merge, and a repeated root can show a small residual rather than exactly zero.

Tips

  • Check the residual column: a value like 1e-13 means the number is very close to a true root; a larger one means treat it with care.
  • Add the multiplicities. If the total is less than the degree, the rest of the roots are complex.
  • For tough cases, scale your coefficients so none is huge next to the others, then re-run.

Vanlige spørsmål

How do I use the polynomial root calculator?

Pick a cubic or quartic, enter the coefficients from the highest power to the constant, using 0 for any missing term, then press Calculate roots. The roots are listed from smallest to largest.

Does it show complex roots?

No. It estimates real roots only. When some roots are complex, you see a note, and the multiplicities of the listed roots add up to less than the degree.

Are the roots exact?

No, they are numerical estimates. The residual, the absolute value of the polynomial at that root, tells you how close the estimate is to zero. Roots such as 1 may display as 1 even when the stored value differs slightly.

What does multiplicity mean?

It counts how many times a root repeats. In (x - 1)³ the root 1 has multiplicity 3. A repeated root is where the curve touches or flattens on the axis instead of simply crossing it.

Why do I get an error about the leading coefficient?

The highest-power coefficient cannot be zero, or the polynomial would be a lower degree. It also cannot be extremely small compared with the other coefficients, because the estimate would be unreliable.

Can I enter fractions or decimals?

Decimals work, for example 0.5. Fractions such as 1/2 are not understood. Type the decimal, or multiply every coefficient by the same number to clear the fractions.

Are my coefficients uploaded?

No. The calculation runs in your browser, and your coefficients are not sent to a server.

Hvordan bruker jeg kalkulatoren for polynomrøtter?

Velg en tredje- eller fjerdegradsligning, oppgi koeffisientene fra høyeste potens til konstantleddet, og beregn. Røttene er numeriske estimater og vises i rekkefølge.

Lastes koeffisientene i ligningen opp?

Nei. Beregningen kjøres lokalt i nettleseren; koeffisientene sendes ikke til en server.

Viser denne kalkulatoren komplekse røtter?

Nei. Den anslår bare reelle røtter. Den beregner ikke komplekse røtter, symbolske faktorer eller en generell løsning med et algebraisk system.

Er røttene eksakte?

Nei. Røttene er numeriske anslag. Restleddet |P(root)| viser hvor nær null det viste anslaget er når det settes inn i polynomet.