In mathematics, a square root function is defined as a one-to-one function that takes a positive number as an input and returns the square root of the given input number.