# Solving Linear Equations

## Row Echelon Form

* All nonzero rows are above any rows of all zeros.&#x20;
* Each leading entry (i.e. left most nonzero entry) of a row is in a column to the right of the leading entry of the row above it.&#x20;
* All entries in a column below a leading entry are zero.

<figure><img src="/files/MO9v7SGwKSgI1hsBErUQ" alt=""><figcaption></figcaption></figure>

## Reduced Row Echelon Form

Add the following conditions to conditions 1, 2, and 3 above:

* The leading entry in each nonzero row is 1.&#x20;
* Each leading 1 is the only nonzero entry in its column


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kgk.gitbook.io/machine-learning/linear-algebra/solving-linear-equations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
