**Types of Functions: Contents**:

## What is a Function?

A *function *is a type of equation or formula that has exactly one output (y) for every input (x). If you put a “2” into the equation x^{2}, there’s only one output: 4. Some formulas, like x = y^{2}, are not types of functions, because there are two possibilities for output (one positive and one negative).

**Note to Excel and TI graphing calculator users:** A “function” is a predefined formula. All Excel built-in functions are also functions in the traditional sense (i.e. you’ll get one output for every input).

More on the difference between formulas and functions.

## Function Notation

**Function notation** tells you that the equation you’re working with meets the definition of a function.

The most common function notation you’ll see is f(x), which is read aloud as “f of x”.

The “f(x)” is used

in place of the “y”in a formula; They mean the exact same thing. For example, instead of the more familiar y = 2x, you’ll see f(x) = 2x. There’s no difference between the two formulas, other than the different notation.

**Any letter **can be used instead of f (see function names below). For example:

- g(x)
- h(x)
- z(x)

## Examples

- y = 2x + 4; solve for y when x = 2.
- f(x) = 2x + 4; solve for f(x) when x = 2.

The two formulas above are telling you the same thing, they are solved in the same way (plug in your x-value and solve), and they give you the exact same solution:

- y = 2x + 4 = 2(2) + 4 = 4 + 4 = 8
- f(x) = 2x + 4 = 2(2) + 4 = 4 + 4 = 8

**You might also see questions written like this:**

f(x) = 2x + 4; solve for f(2)

This means the same thing as:

f(x) = 2x + 4; solve for f(x) when x = 2.

**More examples:** Evaluating a Function.

## Why Use Function Notation?

So, if y and f(x) mean the same thing, why use function notation at all? It might seem arbitrary to use f(x) or g(x) instead of y, but it can help you separate different parts of a formula and work with them more easily. Function notation gives you more information, and more flexibility.

For example, the chain rule uses the function notation F′(x), f′(x), g(x) and g′(x). It tells you that those four parts need to be dealt with separately:

Let’s take out all the different notations and replace them with the more familiar “y”:

It certainly

*looks*simpler, but good luck with trying to solve it!

## Types of Functions: Names and Arguments

The function name is the letter that represents the function:

- g(x): The function name is “g”
- h(x): The function name is “h”
- z(x): The function name is “z”

The argument is the letter in parentheses. In all three of the above examples, the letter is “x”. You might also see “t” or any other letter:

- g(x): The argument is “x”
- h(t): The argument is “t”
- z(s): The argument is “s”

## Types of Functions: How To Know if It’s a Function

The vertical line test is a simple way to figure out if you have a function.

You could also use to “many to one” rule:

**Is a function**: “*many to one*“. This is saying if you have multiple x-values that map to one y-value — say, (2,9), (3,9) and (6,9) — then that still qualifies as a function. Put more simply, it’s okay for a function to have multiple coordinate points in a straight line from left to right.**Not a function**: “*one to many*“. In other words, let’s say you had one x-value that maps to many y-values. For example, — in coordinate notation — (2,1) and (2,10). If the first number (the x-value) repeats, then you do not have a function. To put that another way, if you have multiple coordinate points in a straight line up and down, then that’s not a function.

As a practical example of one to many, one person can have several children. However, one child can only have one biological mother (an example of a one to one relationship). To put this into a more mathematical context: Let’s suppose a set*S*of ordered pairs (x, y) represents the statement “x is the mother of y”. The set S is a one to many relationship, because multiple ordered pairs can have the same value for x (i.e. one mother x can have multiple children, y).

**See also:**

## Issues with One to Many and Many to One

Although the above guidelines are found in many textbooks, they are** deceptively complicated** to use, because some graphs that have the “many to one” situation aren’t necessarily going to be functions; There may be other places (i.e. a couple of other coordinate points) that connect vertically, therefore disqualifying it as a function. These “rules” can also be** difficult to remember** (is it the first number that can repeat? Or the second?). Sometimes, it’s practically impossible to figure it out without some heavy algebra or the use of a computer. That’s because even if you have a few coordinates—or even an equation—you might be missing just a single point (perhaps with a very large x-value) that makes your graph not a function.

## Why is this important?

You can’t do much with an equation in calculus if it isn’t a function. You could cut up a challenging function into smaller, function-like pieces (called piecewise functions), but in essence, **calculus only works properly with functions**. If you don’t perform a vertical line test before doing some calculus, then your solutions can be misleading or just plain wrong.

## What is a Functional?

In general, a **functional** is a *function of functions*: a function that depends on other functions.

There are a few modifications on the basic definition. Which one you use depends on what field you’re working in.

## Functionals: Different Definitions

**1. Calculus of Variations**

Functions, the building blocks of differential calculus, take scalars as inputs and produce scalars as outputs. Functionals are the building blocks for calculus of variations, taking a function as an input, returning a scalar output.

While there are different types of functionals, calculus of variations is mostly concerned with one in particular: where a definite integral’s integrand contains a (yet to be determined) function. The goal of calculus of variations is to study the changes in these functional while moving from one function to the next.

In notation, a functional is written as I[u(x)], where I is a unique scalar value for each function u(x). For example: [1].

**2. General Mathematics**

In general mathematics, a functional may refer to a function specifically produced from a set of real-valued functions. For example, a functional could be the maximum of a set of functions on the closed interval [0, 1]. A *binary functional* takes two sets of functions to create one function. For example, the maximum of two sets of functions on the interval [0, 1]. The complement of a functional is a *closure* [2].

**3. CompSci**

Functionals in computer science (particularly machine learning) are defined slightly differently, as taking functions as arguments or yielding functions as results. Functionals can map functions to real numbers and real numbers to functions. In this context, they are often called **higher-order functions**. Higher-order functions include the differential operator and the definite integral. [3].

## References

[1] Cassel, K. (2013). Variational Methods with Applications in Science and Engineering. Cambridge University Press.

[2] Watkins, The Calculus of Variations

in Functionals. Retrieved April 6, 2021 from: https://www.sjsu.edu/faculty/watkins/calcfunctionals.htm

[3] Harper, R. Functionals0. Retrieved April 6, 2021 from: https://www.cs.cmu.edu/~rwh/introsml/core/functionals.htm

## Operations on Types of Functions

There are four **operations on functions**:

- Addition,
- Subtraction,
- Multiplication,
- Division.

For the purposes of the following examples, I’ll use functions f(x) and g(x).

You don’t *have *to use “f” and “g”. That notation is somewhat arbitrary. The functions could be represented by *any *letters; The choice depends largely on the preference of a particular author or professor. For example: j(t), s(t) or h(t). You might also see time(t) instead of “x”, especially in economics and physics applications.

## Examples of Operations on Types of Functions

## 1. Addition

With addition, you can add together two or more functions. The formula is:

**(f + g)(x) = f(x) + g(x)**

Suppose we wanted to add the following two functions:

- f(x) = x
^{2} - g(x) = 4x + 6

To get the solution, plug the functions into the formula:

(f + g)(x) = (x^{2}) + (4x + 6) = x^{2} + 4x + 6

Combine like terms when possible. To illustrate, assume you want to add the following two functions:

- f(x) = 10x + 1
- g(x) = 12x – 3
- (f + g)(x) = (10x + 1) + (12x – 3) = 22x – 2

## 2. Subtraction

Two or more functions can also be subtracted. The formula is:

(f – g)(x) = f(x) – g(x)

I will use the same values for functions f(x) and g(x) as in my first example above.

(f – g)(x) = x^{2} – 4x + 6

## 3. Multiplication

To multiply two functions, use the following formula:

(f · g)(x) = f(x) · g(x)

Using the same values for f(x) and g(x) as above results in the following solution:

(f · g)(x) = (x^{2}) · (4x + 6) = 4x^{3} + 6x^{2}

## 4. Division

Two functions can also be divided. The formula for the division is:

(f/g)(x) = f(x)/g(x)

Plugging the values from the running example, you get:

(f/g)(x) = x^{2}/4x + 6

When working with operations on functions, simply look at what the operation is telling you to do – whether that is an addition, subtraction, multiplication or division. Once you identify the operation solve by plugging the values of the functions into the above formulas.

You can find more example here: Combinations of Functions.

## 6. Types of Functions: A to Z

Obviously, this is a **very long list.** Either scroll down to find the type of function you want to learn more about, click a letter in the A-Z list below, or press Ctrl + F on your keyboard to search for specific types of functions. As an alternative, you can use the Google search box that’s embedded on the site (at the top right of the page). If you don’t see the function you need listed here, post a comment and I’ll add it!

## Types of Functions from A to Z (Click on the function name for more information about the specific function):

Click to skip to that letter: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

**Click on the function name for more information about the specific function):**

## Types of Functions: A to O

- Abelian Functions
- Absolute Value Function
- Absolutely Continuous
- Absolutely Integrable Function (Summable Function)
- Accumulation Function
- Arcsin function
- Additive Function
- Affine Function
- Airy Function
- Almost Periodic Function, Quasiperiodic
- Aperiodic Function (Non Periodic)
- Area Function
- Arithmetic Functions
- Auxiliary Function

- Basis Functions
- Barnes G-Function
- Blancmange Function (Tagaki Curve)
- Barnes G-Function
- Bessel Function
- Beta Function / Incomplete Beta Function
- Bijective Function
- Bilinear Function
- Binomial Function
- Bounded Function
- Bounded Variation
- Boxcar Function

- C0, C1, C2 Functions
- Ceiling Function
- Center Function (Triangle)
- Chi Function (Legendre’s Chi Function)
- Choice Function & The Axiom of Choice
- Clausen Function (Integral)
- Closed Function
- Cofunction
- Complementary Function
- Complex Function
- Composite Function
- Conjugate Function
- Constant Function
- Continuous Function
- Continuously-differentiable function
- Concave Function
- Convex Function
- Correlation Function
- Cosecant Function
- Cost Function
- Cotangent Function
- Covercosine Function (Coversed Cosine)
- Cubic Function
- Cumulative Distribution Function CDF

- Debye Function
- Decreasing Function
- Dedekind Eta Function
- Deterministic Function & Nondeterministic Function
- Digamma Function
- Dilogarithm Function
- Dirac’s Delta Function
- Dirichlet Function & Dirichlet Eta Function (Alternating Zeta Function)
- Discontinuous Function
- Displacement Function.
- Distance Function / Formula
- Divisor Function

- Elementary Functions
- Elliptic Function
- Empty Function
- Entire Function (Integral Function)
- Error Function
- Euler’s Totient Function / Phi Function
- Excosecant Function
- Explicit Function
- Exponential Function
- Exponential Integral Function
- Exsecant Functions

- Factorial Function
- Flat Function, Maximally Flat
- Floor Function
- Function of One Variable / Two Variables

- Gamma Function, Multivariate Gamma Function
- Gauge Function
- Generalized Function
- Gaussian Function
- Gauss Hypergeometric Function
- Gudermannian Function (Gudermann)

- H Function (Fox’s H-Function)
- Hankel Function.
- Harmonic Function
- Haversine Function
- Heaviside Function
- Holomorphic Function (Analytic Function)
- Homogeneous Function
- Hurwitz Zeta Function
- Hyperbolic Functions

- Identical Function (Equal Function)[email protected]!
- Identity Function
- Increasing Function
- Indicator Function
- Injective Function
- Inner Function
- Integrable Function
- Integrand Function
- Interpolation Function
- Interval Function (Interval-Valued Functions)
- Iterated Logarithm Function
- Inverse Cosecant Function
- Inverse Secant Function
- Inverse Cosine Function
- Inverse Functions
- Inverse Trigonometric Functions

- Lambert W function (Omega Function)
- Left-Continuous Function
- Legendre Function
- Lerch’s Transcendent
- Linear Functions
- Linear Parent Function
- Lipschitz Function
- Locally Integrable Function
- Logarithm function
- Logarithmic Integral Function
- Log Gamma Function

- Mapping Function
- Metric Function
- Möbius Function
- Modulo Function
- Meromorphic Function
- Meijer G-function
- Modular Function
- Moment Generating Function MGF
- Monotonic Functions
- Multilinear Function
- Multivalued Function
- Many to One
- Monomial Function

- Named Function.
- Nearest Integer Function
- Non-Decreasing Function
- Non-Increasing Function
- Nonlinear Function
- Normalized Function
- Nowhere Continuous Function
- Nowhere Differentiable Function
- nth Root Function

## Types of Functions (O to Z)

## Types of Functions: P to Z

- Parabolic Function
- Parametric Function
- Parent Function
- Partial Function
- Partition Function P, Q
- Pentation Function
- Periodic Function
- Piecewise Function
- Polar Function
- Polygamma Function
- Polynomial Functions
- Polylogarithm Function
- Power Functions
- Position Function
- Popcorn Function (Thomae’s function)
- Prediction Function
- Probability Density Function
- Production Function
- Prime Counting Function
- Probability Mass Function (PMF)
- Profit Function
- Point Function
- Pulse Function

- Ramp Function
- Rational Function
- Real Analytic Function
- Real Valued Function
- Reciprocal Function
- Rectangular Function
- Right Continuous Function
- Riemann Xi Function
- Riemann Zeta Function
- Revenue Function

- Sawtooth Function (Wave)
- Scalar Function
- Secant Function
- Septic Function (7th Degree Polynomial)
- Set Function
- Set-Valued Function
- Sextic Function
- Sigma Function
- Sign Function
- Sinc Function
- Sine Function
- Singularity Functions
- Sinusoidal Function
- Smooth Function
- Special Functions
- Square Function
- Square Integrable Function (Quadratically Integrable)
- Square Wave Function (Pulse Wave)
- Step Function
- Struve Function
- Superadditive Function & Subadditive Function
- Surjective Function

- Tangent Function
- Target Function
- Tetration Function
- Total Function
- Transcendental Functions
- Triangle Wave Function
- Trigonometric Function
- Trinomial Function

- Unary Function
- Uniformly Continuous Function
- Univalent Functions
- Unit Ramp Function
- Univariate Function
- Universal Function

- Weakly Increasing Function
- Weierstrass Function
- Weight Function
- Weierstrass Functions
- Whittaker Function

## types of Functions: Arithmetic Function

**Contents:**

## What Are Arithmetic Functions?

An **arithmetic function** is any function from the set of natural numbers (whole, non-negative numbers that we use to count) to the set of complex numbers. In other words, it’s a complex-valued function that is defined on the set of natural numbers. In notation, that’s:

**f: ℕ → ℂ**

Arithmetic functions are mostly theoretical, used to investigate properties of natural numbers. As a general idea, you can think of an arithmetic function as **a sequence of real numbers or complex numbers **(although, as A.J. Hildebrand points out, looking at the functions in this way isn’t very useful).

## Types of Functions: Examples of Arithmetic Functions

Arithmetic functions are primarily used in **number theory**, where they are sometimes called *number-theoretic functions.* Their behavior can be strange and difficult to predict, but some of the simpler and well known functions are very useful in number theory.

Two of the most important arithmetic functions are Euler’s totient function and the Möbius function. However, the functions don’t have to have proper names. For example, the following are all arithmetic functions (Wong, n.d.):

- The number of divisors of a certain number n,
- The number of primes less than n,
- The number of ways n can be represented as a sum of two squares.

## Normal Order of an Arithmetic Function

Roughly speaking, an arithmetic function has the normal order *F*(*n*) if *f*(*n*) is approximately equal to *F*(*n*) for almost all values of *n*.

More precisely ((Hardy & Wright, 1979), the normal order of *F*(*n*) is *f*(*n*) if, for every positive ε and almost all values of *n*

Another way to put this (Porubský, 2020): a function *f* has normal order *F* if a set of positive integers S exists of asymptotic density 1 such that

## History of Normal Order

The concept was first introduced by Hardy and Ramunujan (1917, as cited in Indlekofer, 2001), where they proved that two arithmetical functions ω and Ω have the normal order “log log n”, where:

- ω(n) = the number of different prime divisors,
- Ω(n) = all prime divisors (counted with multiplicity).

## Arithmetic Function: References

Hardy, G. and Ramanujan, S. The normal number of prime factors of a number n, Quart. Journ. Math.Oxford 40, 76-92 ( 1917).

Hardy, G. H. and Wright, E. M. An Introduction to the Theory of Numbers, 5th ed. Oxford, England: Oxford University Press, p. 356, 1979.

Hildebrand, A. (2005). Introduction to Analytic Number Theory. Math 531 Lecture Notes, Fall 2005. Retrieved December 11, 2019 from:

https://faculty.math.illinois.edu/~hildebr/ant/main1.pdf

Indlekofer, K. Number Theory -Probabilistic, Heuristic, and Computational Approaches.Computers and Mathematics with Applications 43 (2002) 1035-1061.

Iwaniec, H. (2014). Lectures on the Riemann Zeta Function. American Mathematical Society.

Miller, S. & Takloo-Bigash. (2006). An Invitation to Modern Number Theory. Princeton University Press.

Porubský, S. Normal Order. Retrieved 2020/6/3 from Interactive Information Portal for Algorithmic Mathematics, Institute of Computer Science of the Czech Academy of Sciences, Prague, Czech Republic, web-page https://www.cs.cas.cz/portal/AlgoMath/NumberTheory/ArithmeticFunctions/NormalOrder.htm

Schachner, M. Algebraic and Analytic Properties of Arithmetic Functions. Retrieved December 11, 2019 from: http://math.uchicago.edu/~may/REU2018/REUPapers/Schachner.pdf

Wong, R. Average Values of Arithmetic Functions. Retrieved December 11, 2019 from: https://ocw.mit.edu/courses/mathematics/18-104-seminar-in-analysis-applications-to-number-theory-fall-2006/projects/wong.pdf

## What is a Center Function?

A center function (also called a *triangle center function*, *symmetric triangle center function* or simply a *center*) gives the trilinear coordinates of a triangle’s center. The function’s three variables {a, b, c} or {α, β γ} correspond to angles or sides.

## What is a Triangle Center?

A **triangle center** is a point defined in terms of a triangle’s side lengths and angles and for which a center function exists. A **major triangle center** is one where the function α = f(A, B, C) is only a function of angle A.

It sounds simple, but don’t be fooled into thinking there’s just one center to a triangle. A “center” can be defined in many ways. For example, the *centroid* is the intersection of the triangle medians, and the *circumcenter* is the center of the circle inscribing the triangle.

In fact, there are thousands of different triangle centers including the Fermat point, which has the center function α = csc(A + ⅓π) and the Far-Out point, with function α = a(b^{4} + c^{4} – a^{4} – b^{2}c^{2}).

## Properties of the Triangle Center Function

The triangle center function is a homogeneous function (i.e. with variables that increase by the same proportion). In notation, that’s:

**f ( t a, t b, t c) = t ^{n} f (a, b, c).**

Where

*n*is a constant.

The function is also **nonzero**, meaning that it can’t have values equal to zero. This makes sense, because a non-zero value of a triangle would result in a non-triangle shape: a line, a point, or no shape at all.

The triangle center function has bisymmetry (two planes of symmetry at right angles) in the second and third variables. In notation:

f(a, b, c) = f(a, c, b).

## Types of Functions: Divisor Function

In calculus, when an author uses the term “divisor function”, it usually refers to a function by which another function is divided. However, there are specific types of divisor functions used mainly in number theory, including the Dirichlet and summatory divisor functions.

## 1. Divisor Function as a Divisor

In general mathematics, a “divisor” is defined as “…another number by which another number is to be divided” (Oxford). For example:

**In 12 ÷ 4 = 3, 4 is the divisor. **

This can be extended to function division in calculus. For example:

**In f(g) ÷ f(h), f(h) is the divisor function. **

Dividing functions is something that crops up now and again in calculus, especially as it relates to defining functions.

You’ll also see this type of function in the quotient rule:

## Dirichlet and Summatory (Sigma) Divisor Function

In number theory, the **Dirichlet divisor function** is a count of how many positive divisors some number “n,” has, including n and 1.

For example:

- If n = 10, then d(10) = {1, 2, 5, 10} = 4.
- If n = 25, then d(25) = {1, 5, 25} = 3

The Dirichlet divisor function is sometimes denoted with (*d*(*n*)). However, this terminology may be confused with another function, which equals the *sum *of the positive divisors of n, including n and 1. This is sometimes referred to as the **sigma function **(not to be confused with the Weierstrass sigma function) or **summatory divisor function** to distinguish it from the Dirichlet. Note that the two divisors differ in that the Dirichlet version is a **count **of how many, while the summatory divisor function is a **sum **of all divisors.

While some authors specify that the function is Dirichlet or Summatory, others do not. Make sure you read the authors intent, rather than guessing the meaning.

## Restricted Divisor Function

The restricted divisor function is defined as the sum of the divisors of n, excluding n. It is usually denoted as s(n).

## Notation Notes

The divisor function can be denoted by d(n), ν(n), τ(n) or Ω(n).

## Lerch’s Transcendent

**Lerch’s transcendent**, named after Czech mathematician

Mathias Lerch (1860 – 1922) is defined by the power series [1]:

Where *a* ≠ 0, -1, -2, … on the domain |z| < 1 for any s ∈ ℂ or |z| ≤ 1 for ℝ > 1 [2].

## Where Lerch’s Transcendent is Used

Many sums of reciprocal powers can be expressed in terms of Lerch’s transcendent function; It makes many appearances in physical science problems. For example:

- Formulation of
**electrostatic problems**[3], - Representation of distributions in
**particle physics.**For example, in the Bose-Einstein Distribution (which describes the statistical behavior of bosons) [4]. - Production of
**urban noise maps**[5].

In **number theory**, Lerch’s transcendent provides a unified framework for the study of many special functions. It can be obtained from the closely related Lerch zeta function by a change of variable z = e^{2πia} [6]. Lerch’s functions are usually of interest because their analytic continuations include, as special cases, several important transcendental functions including the polylogarithm function and the Riemann zeta function [7]. Lerch’s transcendent generalizes the Hurwitz zeta function reducing to the Hurwitz zeta function when z = 1.

## Lerch’s Transcendent: References

[1] Erdélyi, W. Magnus, F. Oberhettinger, and F. G. Tricomi (1953a) Higher Transcendental Functions. Vol. I. McGraw-Hill Book Company, Inc., New York-Toronto-London.

[2] Cai, X. & Lopez, J. (2021). A note on the asymptotic expansion of the Lerch’s transcendent. Retrieved April 24, 2021 from: http://arxiv-export-lb.library.cornell.edu/pdf/1806.01122

[3] Ivchenko, V. (2020). On the interaction force between a point charge and an infinite dielectric plate of finite thickness. European Journal of Physics, Volume 41, Issue 1, id.015201.

[4] Awan, A. (2015). On the Theory of Zeta-functions and L-functions. Retrieved April 24, 2021 from: https://stars.library.ucf.edu/cgi/viewcontent.cgi?article=1052&context=etd

[5] Lagarias, J. & Li, W. The Lerch zeta function III. Polylogarithms and special values. Retrieved April 24, 2021 from: https://ui.adsabs.harvard.edu/abs/2015arXiv150606161L/abstract

[6] Navas, L. (2015). The Lerch transcendent from the point of view of Fourier analysis. Journal of Mathematical Analysis and Applications.

[7] Wei, W. et al. (2015). Simplified analytical model for sound level prediction at shielded urban locations involving multiple diffraction and reflections. J Acoust Soc Am Nov;138(5):2744-58. doi: 10.1121/1.4932585.

## Types of Functions: Metric Function

A **metric space** is a *set *taken together with a *metric *on that set. The “metric” is actually a function; one which defines the distance between any two members of the set. Often the members of metric space are called *points*; so we can say the metric defines the **distance between any two points. **

More formally, it is a set X, together with a metric function *d*, which assigns a real number (we can call this *d(x,y)*) to every pair x, y. There are some restrictions on what type of function we can call the ‘distance function’, so we’ll go through them below.

## Properties of the Metric Function

A metric (our function *d* above) has to satisfy a few important properties, but they are all fairly simple and intuitive.

- If, and only if, x = y, then d(x,y) = 0.
- d(x, y) = d(y, x) (always)
- d(x, y) + d(y, z) ≥ g(x, z) (this is called the triangle inequality)

What these axioms tell us is that:

- The distance from a point to itself is always 1,
- A distance from one point to another is always the same as from the second point back, and
- The third side of a triangle is always less than the sum of its two sides (or equal, in the case that all points are on a straight line).

## Examples of Metric Spaces

The metric space you may be most familiar with is the real numbers; there, the distance function is defined as d(x,y) = |y-x|.

Positive real numbers can also be defined as a metric space, with a distance function

**d(x,y) = |log(y/x)|.**

The set of all points on the floor in your room, with the distance between them defined as the measured distance in millimeters, is also a metric space.

## Metric Space Circle Example

The more familiar way to define a circle’s metric space is through a Euclidean formula. Where it becomes more interesting is where you add different geometries, like Taxicab geometry, which requires you to get from a to b along a grid (much like how a taxicab might get from a to b in New York City).

## Types of Function: Named Function

In calculus, a “**named function**” refers to one of the following:

- A function that is fully defined
- A function that is familiar (i.e. it has a given name, like the Gamma Function).
- A function that is defined in mathematical software.

## 1. Fully Defined Types of Function

A named function sometimes means a function that is** completely and fully defined**, sometimes using logic. For example, Dijkstra & Scholten (2002) introduce the following named function in their book *Predicate Calculus and Program Semantics*:

“[

f . Y≡Y]

with f, [according to an earlier definition], for any Z given by

[f . Y≡ ¬B∧P] ∨ (B∧wp. S . Z)]”

I’ve abbreviated the full definition here, because—because of previous definitions—the notation would take up half a post. But the point is, the authors left no stone unturned in fully defining the function.

**Logic notation notes:**

If you’re unfamiliar with logic symbols used above, here’s what they mean:

- ¬ is the negation symbol, which is sometimes written, equivalently, as ~.
- ∧ is the “logical and” symbol.
- ∨ is the “logical or” symbol.

## 2. Familiar Functions

The term **named function** is sometimes used simply to mean **a function that is familiar and recognizable.** Getting an “unfamiliar” function (one that doesn’t adhere to some kind of well-recognized format) into a “familiar” one (see: Types of functions for some examples) has many benefits. These include known derivatives, known integrals, and the ability to use software to manipulate the functions.

As an example, the following G-function appears on page 224 of *Fractional Calculus and Its Applications: Proceedings of the International Conference held at the University of New Haven*:

Although this is indeed labeled as a “G-Function”, it isn’t a “known” one. All that’s needed is to rewrite the expression in the brackets so that the function becomes a “named function.” This is similar to the idea of forcing expressions to be explicit functions, so that they can be manipulated algebraically.

## Types of Functions: Named Functions in Software

In programming, named types of functions are **defined by you,** and depend on the data you’ve input into the software.

For example, let’s say you’ve input a list of children and those children’s mothers.

You might have a named function **mother(x).**

**mother TINA** results in **JILL**.

As another example, the following named function (sum-of-squares) takes two numbers as arguments and outputs the sum of their squares (Wailing, 2019):

(define sum-of-squares

(lambda (x y)

(+ (square x) (square y)))).

## Types of Functions: The Square Function

**Contents **(Click to skip to that section):

## 1. Definition of Square Types of Functions

The square function **squares all inputs**. The formula is

f(x) = x^{2}.

The graph (sometimes called a *square map*) is a parabola. The parabola is concave up (i.e. it looks like a cup). If you place a negative sign in front of the “x^{2}” (not just the x-value), you’ll get an upside down parabola (i.e. one that is concave down).

The square function only has one intercept: at the origin (i.e. x = 0).

The square function is the inverse of the square root function.

## 2. Domain and Range

The domain of the square function is the set of all real numbers. The range is the set of all non-negative reals, because squaring a number will always give a positive result.

The square function can also be **defined in terms of its domain and range**. It takes every real number in the domain, squares that number, and assigns it to the result in the range. The function gets its name because numbers are squared. For example if x = 4, then 4^{2} = 16.

A few more examples of function values:

- f(0) = 0 * 0 = 0,
- f(2) = 2 * 2 = 0,
- f(-3) = -3 * -3 = 9,
- f(p) = p * p,
- f(height) = height * height.

## 3. Square Function Derivative

The square function derivative is 2x.

This uses the power rule to differentiate exponents. The steps for finding the derivative (shown in the above image) are:

- Copy the number of the exponent, and place it in front, so f(x) = x
^{2}becomes f(x) = 2x^{2} - Subtract 1 from the exponent in the new equation from Step 1: f(x) = 2x
^{2 – 1}= f(x) = 2x^{1}= 2x

## Types of Functions: Unary Function

A **unary function** has one input and one output. For example, the simple function *f(x)*is a unary function. This class of functions is the one most commonly studied in general math and calculus, so most of the types of functions you deal with in beginning calculus are unary.

The term *unary *is usually implied; when you hear reference to “a function,” it usually means a unary function. Other functions are referred to by their specific name to distinguish them from ordinary (unary) functions. For example, binary function or empty function.

**Unary real functions** take one argument and have a domain of real numbers. The ramp function is an example.

## Unary Function in Set Theory and CS

In **set theory**, you can think of a unary function *f* as one which, when applied to an argument x, results in a juxtaposition of the two, as in *f*(*x*) (Tarksy & Givant, 1987). A unary function can also be thought in more simple terms as just a function that **maps element of A to elements of A**. A related term is a *unary operation*, which is defined on set * A* as

*→*

**A***.*

**A**In **computer science**, unary functions act in the same way, except they are defined as **function objects called with a single argument**. In functional programming, these functions are also called *monadic functions*.

## Use in Lambda Calculus

In **lambda calculus**, a purely theoretical form of calculus, every value is a unary function. Lambda calculus is a simple way of applying types of functions to arguments.

## Types of Functions: References

Desmos Graphing Calculator.

Albert, John. Course Notes on Additivity. Retrieved from http://math.ou.edu/~jalbert/courses/additive_functions_2.pdf on June 14, 2019.Buchman, A. & Zimmerman, R. (1970). Eleventh Year Mathematics. Retrieved September 24, 2017 from: http://files.eric.ed.gov/fulltext/ED046731.pdf

Clarke, E. Lecture 5: Predicate Calculus. Retrieved April 7, 2020 from: http://www.cs.cmu.edu/~emc/15-398/lectures/lecture5.pdf

Tarsky, A. & Givant, S. (1987). A Formalization of Set Theory Without Variables, Volume 41. American Mathematical Association.

Edsger W. Dijkstra, Carel S. Scholten. (2012). Predicate Calculus and Program Semantics. Springer Science & Business Media.

Oxford Lexico, Retrieved November 30, 2019 from: https://www.lexico.com/en/definition/divisor

Kimblerling, C. (2020). Encyclopedia of Triangle Centers. Retrieved September 4, 2020 from: https://faculty.evansville.edu/ck6/encyclopedia/ETC.html

Reinhart, C. et al. Triangle Centers. Retrieved September4, 2020 from: https://brightspace.uakron.edu/d2l/common/viewFile.d2lfile/Database/MTQzMzU4MQ/Presentation_Group6_Reinhart_Kuzas_Burke.pptx?ou=6605&contextId=14871,13579

Ross, B. (Ed.). (2006). Fractional Calculus and Its Applications: Proceedings of the International Conference held at the University of New Haven. Springer.

Shapiro, Harold N. Introduction to the Theory of Numbers. Page 70. Retrieved from https://books.google.mn/books?id=4aX9WH8Kw_MC on June 3, 2019.

Shirali, S. First Steps in Number Theory: A Primer on Divisibility

Thompson, S. & Gardner, M. (1914). Calculus Made Easy, 2nd Edition. The Macmillan Company.

Young, C. (2018). Precalculus, 3rd edition. Wiley.

Wailing, F. (2019) Session 5: Racket Functions. Retrieved December 3, 2019 from: https://www.cs.uni.edu/~wallingf/teaching/cs3540/sessions/session05.html

Calculus of a Single Variable

Wenpang, Z. (2009). Proceedings of the Fifth International Conference on Number Theory and Smarandache Notions (Shangluo University, China). Infinite Study.

Zhang, W. (2005). Research on Smarandache Problems in Number Theory (collected …, Volume 2.

**CITE THIS AS:**

**Stephanie Glen**. "Types of Functions: Simple Definitions & Examples" From

**CalculusHowTo.com**: Calculus for the rest of us! https://www.calculushowto.com/types-of-functions/

**Need help with a homework or test question? **With Chegg Study, you can get step-by-step solutions to your questions from an expert in the field. Your first 30 minutes with a Chegg tutor is free!