AnsRioSmart tools. Clear answers.
Home / Math & statistics / Solve a linear equation system
Math & statistics

Solve a linear equation system

Solve a linear equation system: Apply Gaussian elimination with partial pivoting to an n×(n+1) augmented matrix.

Enter your values ⌁ Runs on your device

Your inputs stay in this browser and are not saved to an account.

YOUR RESULT
Ready when you are.

Enter your values, then select Calculate.

QUICK ANSWER

2 variables solved

Use the inputs above for your own values. The result follows the method and assumptions shown below.

How it works

Apply Gaussian elimination with partial pivoting to an n×(n+1) augmented matrix. Normalize each pivot and eliminate its column from other rows.

Input definitions

Augmented matrix: coefficients then right-hand side, no header
Plain text; maximum 200,000 characters.

A worked example

Augmented matrix: coefficients then right-hand side, no header
2,1,5 1,-1,1
2 variables solved

Assumptions & limits

Square systems with a unique numerically stable solution, up to 10 variables. Coefficients within ±10¹²; no symbolic or least-squares solution.

Sources & review

Maintained by AnsRio. Methods and examples are reviewed against the stated formula; this is not professional certification.

Method updated 2026-10-17. Reviewed against the stated method and example. Our verification approach.

Report an issue with this tool or suggest an improvement ↗

Common questions

Why does the solver reject a system instead of returning numbers?

A singular system may have no unique solution. Very small pivots relative to the coefficient scale indicate numerical instability, so the tool rejects the case rather than presenting a misleading unique answer.

How does Solve a linear equation system work?

Apply Gaussian elimination with partial pivoting to an n×(n+1) augmented matrix. Normalize each pivot and eliminate its column from other rows.

What are the limits of Solve a linear equation system?

Square systems with a unique numerically stable solution, up to 10 variables. Coefficients within ±10¹²; no symbolic or least-squares solution.

↗
Private tools for everyday decisions.

No sign-up. Tool inputs stay on your device.

How we work