Identity (Equation)
High school
Consider an equation with variables in it. The equation is an identity if it is true for every value of its variables.
Undergraduate
Consider expressions $f(x)$ and $g(x)$ in a variable $x$, or a tuple of variables $x = (x_1, \dots, x_n)$, and a set $D$ on which $f(x)$ and $g(x)$ are defined for every $x \in D$.
The equation $f(x) = g(x)$ is an identity on $D$ if
\[\forall x \in D,\ f(x) = g(x).\]An identity is often written $f(x) \equiv g(x)$.
Examples
Examples
-
$\sin^2 x + \cos^2 x = 1$ is an identity because it is true for every $x$.
-
$(x + 1)^2 = x^2 + 2x + 1$ is an identity, because expanding $(x + 1)^2 = (x + 1)(x + 1)$ with the distributive law gives $x^2 + 2x + 1$ for every number $x$.
Non-examplesThings that may be mistaken for examples of this term.
-
$3x + 2$ is not an identity, because it has no relation sign, so there is nothing to be true or false.
-
$3x + 2 = 8$ is not an identity, because it is true only for $x = 2$.
-
The equation $A = \pi r^2$ is not an identity because is not true for every choice of variables $A$ and $r$, such as for $A = 0$ and $r = 1$.
-
$x + 1 = x$ for real $x$ is not an identity, because $x + 1 = x$ is false for every real number $x$.
-
$x^2 = 4$ for real $x$ is not an identity, because $x^2 = 4$ is false for $x = 0$.
-
$p \land \neg q$ is not an identity, because $p \land \neg q$ is a propositional formula, not an equation.
-
$p \lor \neg p$ is not an identity, because $p \lor \neg p$ is a propositional formula, not an equation.
Properties
- An equation $f(x) = g(x)$ is an identity on $D$ if and only if the solution set of the equation is all of $D$.
- An equation $f(x) = g(x)$ is an identity on $D$ if and only if the functions $x \mapsto f(x)$ and $x \mapsto g(x)$, with domain $D$, are equal.
- Whether an equation is an identity depends on $D$. For example, $\sqrt{x^2} = x$ is an identity on $[0, \infty)$, but not on $\reals$, because $\sqrt{(-1)^2} = 1$.
Distinctions involving this term
- Identity (Equation) vs. Tautology: In algebra and in logic, some statements with variables are true for every value of their variables. An identity is an equation, such as $(x + 1)^2 = x^2 + 2x + 1$, that is true for every number substituted for its variables, because of the laws of arithmetic. A tautology is a propositional formula, such as $p \lor \neg p$, that is true for every choice of truth values for its variables, because of its logical form alone.
All definitions · All distinctions · All examples · Notation