Free to use, no account

RREF-kalkulator

Skriv inn en rektangulær matrise for å beregne redusert trappeform (RREF), rang, pivotkolonner og elementære radoperasjoner trinn for trinn.

Skriv inn én rad per linje. Skill kolonner med mellomrom, tabulatorer eller semikolon. Bruk endelige desimaltall; brøker som 1/2 godtas ikke.

Verdier som er lik eller mindre enn denne absolutte størrelsen, behandles som null. Stramme toleranser kan forsterke avrundingsfeil.

Numerisk resultat, ikke eksakt symbolsk aritmetikk. Opptil 12 rader og kolonner; elementene må være endelige og ha absoluttverdi på høyst 10⁹. Kontroller toleransen for dårlig kondisjonerte matriser.

Hvordan finner man redusert trappeform?

Bruk Gauss-eliminasjon til å lage en ledende 1 i hver pivotkolonne og eliminere alle andre verdier i kolonnen. Denne kalkulatoren bruker avgrenset numerisk aritmetikk og viser hvert radbytte, hver skalering og hvert eliminasjonstrinn.

Veiledning

Slik bruker du rref-calculator

The RREF Calculator reduces a matrix of up to 12 rows and 12 columns to reduced row echelon form. Beside the result it gives the rank, the pivot columns and every row operation it used. It works in floating point with decimal numbers, so it is a numerical tool and not an exact fraction calculator.

Slik gjør du

  1. Type the matrix with one row per line and the entries of a row separated by spaces, tabs or semicolons. Use decimals, because fractions such as 1/2 are not accepted.
  2. Pick a zero tolerance. Values at or below it are treated as zero. The page starts at 10 to the power of minus 10, and you can also choose minus 6, minus 8 or minus 12.
  3. Press Reduce matrix. Read the reduced matrix, the rank, the pivot columns and the numbered row operations, or press Copy results to take them away.

Eksempler

The built-in example

Du skriver inn
matrise
0 2 4 1 1 3
toleranse
1e-10
Du får
redusert trappeform
1; 0; 1; 0; 1; 2
rang
2
pivotkolonner
1; 2
operasjoner
Swap rows 1 and 2; Multiply row 2 by 0.5; Add -1 times row 2 to row 1

The first column has a zero on top, so the rows swap. The second row is halved to make a leading 1, and then it is subtracted from the first row to clear the entry above it.

Kjørt med verktøyets egen kode.

A system of three equations

Du skriver inn
matrise
2 1 -1 8 -3 -1 2 -11 -2 1 2 -3
toleranse
1e-10
Du får
redusert trappeform
1; 0; 0; 2; 0; 1; 0; 3; 0; 0; 1; -1
rang
3
pivotkolonner
1; 2; 3
antall operasjoner
11

The last column holds the constants, and the left block turns into the identity, so the answer reads x = 2, y = 3 and z = -1. Inside, the first answer is 1.9999999999999998 and the page shows it as 2.

Kjørt med verktøyets egen kode.

Rows that depend on each other

Du skriver inn
matrise
1 2 2 4
toleranse
1e-10
Du får
redusert trappeform
1; 2; 0; 0
rang
1
pivotkolonner
1
operasjoner
Swap rows 1 and 2; Multiply row 1 by 0.5; Add -1 times row 1 to row 2

The second row is twice the first, so one row becomes all zeros and the rank is 1. The tool starts with a swap because it takes the largest entry in the column as the pivot.

Kjørt med verktøyets egen kode.

A matrix with uneven rows

Du skriver inn
matrise
1 2 3
toleranse
1e-10
Du får
melding
Check the matrix shape, entries and tolerance.

Every row must have the same number of entries. The second row has one entry and the first has two, so no result is shown.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Check homework on solving linear systems by row reduction and compare your own steps with the numbered operations.
  • Find the rank of a small matrix and see which columns hold the pivots.
  • Solve a small system with decimal coefficients by entering its augmented matrix and reading the last column.

Begrensninger

  • At most 12 rows and 12 columns, and each entry must be a finite number no larger than 1,000,000,000 in size. Every row needs the same number of entries, and fractions are not read.
  • The work is floating point, not exact. Small rounding differences can appear, and a loose or very tight tolerance can change the rank of an awkward matrix. Check near-singular matrices with a symbolic tool.
  • The tool picks the largest entry in a column as the pivot, so its row swaps and steps can differ from a textbook solution, although the final matrix is the same. The step list is cut off after 256 operations.

Tips

  • To solve a system, enter the augmented matrix with the constants as the last column. If the left block becomes the identity, the last column is the solution.
  • Leave the tolerance at its starting value unless you have a reason to change it, because the page warns that very tight values can increase rounding error.
  • Type decimals with a point. In the English page, 1,5 is read as 1.5, but 1,234 is read as one thousand two hundred thirty-four.

Vanlige spørsmål

What is reduced row echelon form?

A matrix is in this form when each nonzero row starts with a leading 1, each leading 1 is the only nonzero entry in its column, and the leading 1s move right as you go down. All-zero rows sit at the bottom.

How do I read the rank and the pivot columns?

The rank is the number of pivot columns, which also equals the number of nonzero rows in the result. The pivot columns, counted from 1, are the columns that hold a leading 1.

Why is there a row swap when the first row looks fine?

The tool chooses the entry with the largest absolute value in the column as the pivot. For the matrix 1 2 over 2 4, that means a swap. The final matrix is unchanged, because a matrix has only one reduced form.

Are the results exact?

No. The tool uses floating-point numbers and your chosen tolerance. Whole-number problems usually come out clean, but long decimals can show tiny errors, so use a symbolic tool when you need exact fractions.

Can I enter fractions or a matrix larger than 12 by 12?

No. Enter decimals only and keep the matrix within 12 rows and 12 columns. Anything else shows the message to check the matrix shape, entries and tolerance, and no result.

Is the matrix I type uploaded?

The page says the matrix is processed in your browser and is not uploaded or saved by this tool. Copy results only uses your own clipboard if the browser allows it.

Kilder

Ofte stilte spørsmål

Hvordan finner man redusert trappeform?

Bruk Gauss-eliminasjon til å lage en ledende 1 i hver pivotkolonne og eliminere alle andre verdier i kolonnen. Denne kalkulatoren bruker avgrenset numerisk aritmetikk og viser hvert radbytte, hver skalering og hvert eliminasjonstrinn.

Lastes matriseverdiene mine opp?

Nei. Matrisen behandles i denne nettleseren og lastes ikke opp eller lagres av verktøyet.

Hva betyr RREF?

Redusert trappeform har en ledende 1 i hver rad som ikke er null. Hvert pivotpunkt er den eneste verdien som ikke er null i kolonnen sin, og pivotposisjonene flyttes mot høyre i de nedre radene.

Hvordan leser jeg pivotkolonner og rang?

De oppførte pivotkolonnene inneholder ledende 1-ere. Rangen er antallet pivotkolonner, eller tilsvarende antallet rader som ikke er null i RREF-matrisen.

Er resultatet eksakt?

Nei. Verktøyet bruker flyttallsaritmetikk og en valgt nulltoleranse. Ved eksakte brøkberegninger eller dårlig kondisjonerte matriser bør du kontrollere resultatet med et egnet symbolsk verktøy.