What is a Function?

A function is defined as a relation between a set of inputs having one output each. In simple words, a function is a relationship between inputs where each input is related to exactly one output. A function is generally represented as f(x) where x is the input.

What is a Function in Maths?

A function in maths is a special relationship among the inputs (i.e. the domain) and their outputs (known as the codomain) where each input has exactly one output and the output can be traced back to its input.

Examples and Types of Functions

An example of a simple function is f(x) = x2. In this function, the function f(x) takes the value of “x” and then squares it. For instance, if x = 3, then f(3) = 9. A few more examples of a functions are: f(x) = sin x, f(x) = x2 + 3, f(x) = 1/x, f(x) = 2x + 3, etc.

There are several types of functions in maths. Some of the important types are:

These were a few examples of functions. It should be noted that there are various other functions like into function, algebraic functions, etc. Check out the details of all types of functions here.

Frequently Asked Questions on Function

What is the definition of a function?

A function can be defined as a relation between a set of inputs where each input has exactly one output.

How are functions represented?

A function is generally represented as f(x).

What is the domain and codomain of a function?

A domain of a function is the set of inputs for which the function is defined. A codomain of a function is the set of possible output values.