
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
Given a positive integer $n > 1$. Let $a_{1}, a_{2}, \cdots, a_{n}$ be a permutation of $1,2, \cdots, n$. If $i < j$ and $a_{i} < a_{j}$, then the pair $\left(a_{i}, a_{j}\right)$ is called an ordered pair. Define $X$ as the number of ordered pairs in $a_{1}, a_{2}, \cdots, a_{n}$. Determine $E(X)$.

Present the answer in LaTex format: \boxed{Your answer}
user