Source: wikibot/unary-function
= Unary function
{wiki=Unary_function}
A unary function is a function that takes a single argument or input value. In mathematical notation, a unary function can be represented as \\( f(x) \\), where \\( f \\) is the function and \\( x \\) is the single input. The key characteristic of a unary function is that it operates on just one variable. For example, common unary functions include: 1. **Square function**: \\( f(x) = x^2 \\) 2.