> For the complete documentation index, see [llms.txt](https://nkintc.gitbook.io/brainless/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nkintc.gitbook.io/brainless/steam/mathematics/untitled/miscellaneous.md).

# Miscellaneous

### Gaussian

From a generic form to a PDF whose CDF approaches 1

$$
f(x)=a e^{-\frac{(x-b)^{2}}{2 c^{2}}} \rightarrow g(x)=\frac{1}{\sigma \sqrt{2 \pi}} e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^{2}}
$$

### Quick Proof of Bayes Theorem

Partition the possibility space into four sections much like Punnet squares.&#x20;

$$
P(A\cap B) = P(A) P(B | A) = P(B) P(A| B)
$$

Solve for the conditional probability&#x20;

The null space is the set of vectors which makes the output homogenous. See [3B1B for more](https://www.youtube.com/watch?v=uQhTuRlWMxw).&#x20;

Multivariate calculus is the extension of of univariate calculus, which studies mappings $$f: \mathcal{R} \rightarrow \mathcal{R}$$ to more generic $$\boldsymbol{g}: \mathcal{R}^{n} \rightarrow \mathcal{R}^{m}$$; relating a vector, $$\boldsymbol{x}$$ of some length$$n$$ to some other vector $$\boldsymbol{y}$$of length $$m$$by multiplication with some some rectangular matrix of dimensions,  $$m \times n$$.&#x20;

* $$\boldsymbol{x}$$ ... initial configuration
* $$\boldsymbol{y}$$ ... deformed configuration
* $\boldsymbol{u} = \boldsymbol{y} - \boldsymbol{x}$... motion

For the generic example, the initial configuration is some smooth closed volume in  $$\mathcal{R}^{3}$$; represented as a collection of position vectors, $$\boldsymbol{r}$$. Equivalent representation is by summation of unit vectors in each of the cartesian directions:

$$
\boldsymbol{r}=\sum\_{i=1}^{3} x\_{i} \boldsymbol{e}*{i} = \overbrace{x*{1} \boldsymbol{e}*{1} + x*{2} \boldsymbol{e}*{2} + x*{3} \boldsymbol{e}*{3} = x*{i} \boldsymbol{e}\_{i} }^{\text{ in indicial notation}}.
$$

Then in the  $$\mathcal{R}^{3}$$ case, we see:

## $$\overbrace{\begin{bmatrix} y\_1\ y\_2\ y\_3 \end{bmatrix} = \begin{bmatrix} 1+ \frac{u\_1}{x\_1}&0&0\ 0& 1+ \frac{u\_2}{x\_2}&0\ 0&0& 1+ \frac{u\_3}{x\_3} \end{bmatrix}  \begin{bmatrix} x\_1\ x\_2\ x\_3 \end{bmatrix} =  \begin{bmatrix} x\_1+ u\_1\ x\_2+u\_2\ x\_3 +u\_3\end{bmatrix}}^{\text{solid mechanics example, see the identity matrix?}}.$$&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://nkintc.gitbook.io/brainless/steam/mathematics/untitled/miscellaneous.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
