Is $(-1)^x=1$ an identity or a conditional equation?

I've heard that identities have infinitely many solutions, while conditional equations have only finitely many solutions. But what about $$(-1)^x=1 \:?$$

This certainly isn't an identity, is it? Is the problem with my definitions of conditional and identity?


I've heard that identities have infinitely many solutions, while conditional equations have only finitely many solutions.

Many conditional equations, e.g., $\sin x=1,$ do have infinitely many solutions.

And, strictly speaking, an identity needn't have infinitely many solutions, since the domain of discourse/interest may be a finite set.


An equation is a statement that connects two expressions with an $=$ sign and asserts their equality.

An identity is an equation that holds for every possible variable tuple:

  • $(x+y)^2\equiv x^2+y^2+2xy$

A conditional equation holds for some variable tuple(s):

  • $x^2+ky^2=1\quad$ ($k$ is a parameter, which is a variable that generates a family of equations but doesn't vary within each equation)

  • $2x^2+3x-5=0\quad$ (in the context of equation-solving, $x$ is an unknown)

  • in particular, in a formula (informally: function), each input tuple returns an output called the subject:

    $A=\pi r^2h$

An inconsistent equation holds for no variable tuple:

  • $|2x|=x-1$

$$(-1)^x=1$$

Since this equation's solution set is $2\mathbb Z,$ i.e., the even numbers, it would conventionally be described as a conditional equation with infinitely many solutions (like $\sin x=1$ above).

However, in the context of just the even numbers, this equation can be considered an identity. The point is, the distinction between an identity and a conditional equation can be as arbitrary as we choose.


An identity is an algebraic equality that holds true for any values of the unknowns.

An equation is an algebraic equality that holds true for some values of the unknowns. And those values are the solutions of the equation.

In your example, if $x$ is real, the solutions are all the even numbers.


The distinction between equation and identity is a bit blurred. Just avoid it and ask yourself

for what values of $x$ is $(-1)^x=1$ true?

Now realize that this is not so well defined: where is $x$ supposed to be chosen from? The integers? In this case the solution set is “the even integers”.

The reals? Oh, well, it's not possible to sensibly define $(-1)^x$ for an arbitrary real $x$. Some admit this is possible when $x=a/b$, for coprime integers $a$ and $b$, with $b$ odd. In this case the solutions are the fractions $a/b$ with $a$ even and $b$ odd.

There is another possibility: that we interpret this in the complex numbers, with the caveat that $(-1)^x$ can take on several values, possibly infinitely many. We might ask

for what complex numbers $x$ does a determination of $(-1)^x$ equal $1$?

How can we compute $(-1)^x$? It is $e^{x\log(-1)}$, where $\log(-1)$ is any determination of the logarithm. Since $-1=e^{i\pi}$, its logarithms have the form $(\pi+2k\pi)i$, for integer $k$. If $x=u+vi$, with real $u$ and $v$, $$ x(2k+1)\pi i=-(2k+1)\pi v+(2k+1)\pi u i $$ and so $$ e^{x(2k+1)\pi i}=e^{-(2k+1)\pi v}e^{(2k+1)\pi u i} $$ In order this to equal $1$, we need $v=0$. We also need $$ (2k+1)\pi u=2h\pi $$ for some integer $h$. This yields $$ x=u+vi=u=\frac{2h}{2k+1} $$ which is the same solutions we found above.