# Unit Vectors / Basis Vectors

In the $$xy$$-coordinate system, there are two special vectors.&#x20;

* The one pointing to the right with length $$1$$, commonly called “i hat” $$\hat{i}$$ or “the unit vector in the x-direction”.&#x20;
* The other one is pointing straight up with length $$1$$, commonly called “j hat” $$\hat{j}$$ or “the unit vector in the y-direction”.

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

### Choosing different basis vectors

Consider a random pair of vectors, $$\vec{v}$$ and $$\vec{w}$$.&#x20;

$$a\vec{v} + b\vec{w}$$

The linear combination of two vectors can be used to describe ***every*** possible two-dimensional vector.&#x20;

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

So while we can use a random pair of vectors as basis vectors, forming a new coordinate system, the association would be different from the version using the standard basis of $$\hat{i},\hat{j}$$&#x20;

<figure><img src="/files/2BBXBODcHr0HRQx3qnfp" alt=""><figcaption></figcaption></figure>


---

# 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://calnix.gitbook.io/zk-notes/abstract-math/linear-algebra/unit-vectors-basis-vectors.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.
