# equation*

Used for a single displayed equation without an equation number in AMS math documents.

https://texform.dev/latex/environments/equation-star

## Metadata

| Field | Value |
| --- | --- |
| Topic | [Alignment](https://texform.dev/latex/topics/alignment) |
| Packages | ams |
| Allowed mode | math |
| Tags |  |
| Commonality | high |
| Body mode | math |

## Syntax

### ams

Argument specification: ``

Used for a single displayed equation without an equation number in AMS math documents.

## Common tasks

### How to write a single unnumbered equation

```latex
\begin{equation*} E=mc^2 \end{equation*}
```

[Open in Playground](https://play.texform.dev/?input=%5Cbegin%7Bequation*%7D+E%3Dmc%5E2+%5Cend%7Bequation*%7D)

### How to display a formula without a tag

Equivalent to \[ ... \] in most documents.

```latex
\begin{equation*} \int_{-\infty}^{\infty} e^{-x^2}\,dx=\sqrt{\pi} \end{equation*}
```

[Open in Playground](https://play.texform.dev/?input=%5Cbegin%7Bequation*%7D+%5Cint_%7B-%5Cinfty%7D%5E%7B%5Cinfty%7D+e%5E%7B-x%5E2%7D%5C%2Cdx%3D%5Csqrt%7B%5Cpi%7D+%5Cend%7Bequation*%7D)

## Examples

```latex
\begin{equation*}
  x = y
\end{equation*}
```

[Open in Playground](https://play.texform.dev/?input=%5Cbegin%7Bequation*%7D%0A++x+%3D+y%0A%5Cend%7Bequation*%7D)

## Renderer support

| Package | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- |
| ams | full | none | full |

## Usage frequency

5.60% of formulas in the measured corpus contain this entry, rank 5 of 31 entries with frequency data.

## In TeXForm

TeXForm reads the environment body in math mode.

## See also

- [displaymath](https://texform.dev/latex/environments/displaymath)
- [equation](https://texform.dev/latex/environments/equation)
- [math](https://texform.dev/latex/environments/math)

## Test cases

### ams

| Input | Case | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- | --- |
| \begin{equation*} a \end{equation*} | Positive: baseline | Pass | Fail | Pass |
