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
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.