# The Move Command

The primary purpose of the **Move** command is to provide a way to move terms in
algebraic expressions back and forth across top level expressions that are either equalities and
inequalities. This command normally modifies one of the parent terms of the highlight. The
keystroke for the **Move** command is the "*m*" key.

## Basic usage of the Move command

The simplest examples involve using the **Move** command to move terms in basic
algebraic expressions. For example, in the expression:

x + h = y

with the "h" term highlighted, the **Move** command produces this expression:

x = y - h

With the "h" still highlighted, applying the Move command again returns the expression to
its original form. More generally, the **Move** command looks up the expression tree
until it finds a parent term that is either an equality or inequality object. If such a term
is found, then the **Move** command will move the highlighted term to the other side of
that object provided that that it's possible to create a valid equivalent expression with
the highlighted term on the other side.

Multiplied terms behave similarly to added and subtracted terms. For example, in the expression:

x * h = y

with "h" highlighted, the **Move** command produces the expression:

x = y/h

With the "h" still highlighted, applying the **Move** command again returns the
expression to its original form.