Equality of Functions
## Definition / Concept
Two functions are equal only when they have the same domain, the same codomain and the same output for every corresponding input.
## Formula
$$f=g\Leftrightarrow\text{Domain}(f)=\text{Domain}(g),\ \text{Codomain}(f)=\text{Codomain}(g),\ f(x)=g(x)\ \forall x$$
## Conditions / Special Cases
Having the same algebraic expression alone does not guarantee equality if the domains or codomains differ.
## Usage
- Used to determine whether two given mappings represent the same function.