✦ScienexySCIENCE KNOWLEDGE LIBRARY
reference · SCI-REF-006-020

Functions, Arguments and Functional Notation

Explains functions as mathematical mappings, the roles of arguments and variables, function names, domains, codomains, ranges, function evaluation, composition and common functional notation used in science.

Single-variable function: y = f(x). Two-variable function: z = g(x, y). Composition: (f ∘ g)(x) = f(g(x)). Derivative: f′(x) = df/dx, where the derivative exists.

Explanation

A function is a mathematical relationship that assigns exactly one output to each permitted input. Functions are central to mathematics and scientific modelling because they describe how one quantity depends on another. A function is commonly represented using a lowercase letter such as f, g or h. The notation f(x) means the value of function f at input x. The letter x is called the argument or input variable, while f(x) represents the corresponding output. The function name and its argument must be distinguished: f is the function, x is the input, and f(x) is the output value. A function can have one argument or several arguments. For example, f(x) = x² is a function of one real variable under a suitable domain, while g(x, y) = x² + y² is a function of two variables. A function is defined by its mapping rule together with its domain and codomain. The domain is the set of permitted inputs. The codomain is the declared set in which outputs are specified to lie. The range or image is the set of output values actually produced by inputs in the domain. These concepts are related but not identical. For example, f(x) = x² with domain and codomain both equal to the real numbers has range [0, ∞), not all real numbers. Function notation is widely used in physics. Position may be represented as x(t), indicating that position depends on time. Temperature may be represented as T(t), concentration as C(t), and force as F(x), depending on the model. In calculus, derivatives describe how a function changes with its argument. The derivative of f with respect to x may be written f′(x) or df/dx. Definite and indefinite integrals also operate on functions. Functions can be composed: (f ∘ g)(x) = f(g(x)), meaning that g is evaluated first and its output is then used as the input to f. An inverse function, when it exists, reverses the mapping of the original function over appropriate domains. It is commonly written f⁻¹, which must not be confused with the reciprocal 1/f. A function may also be represented by a formula, graph, table, algorithm or verbal rule. Not every relationship is a function: if one input is assigned more than one output, it is not a function under the standard single-valued definition. Some advanced areas use multivalued relations or set-valued mappings, but these require explicit definitions. Scientific writing should clearly specify the variables, domains, units and assumptions of a function, especially when the function models a physical system.

Variables

SymbolMeaningUnit

f

Name of a function

Not applicable

x

Input or argument of a function

Depends on context

f(x)

Output of function f for input x

Depends on output quantity

D

Domain of a function when designated by D

Set of permitted inputs

C

Codomain when designated by C

Set containing the declared outputs

Range

Set of outputs actually attained by the function

Set of output values

f⁻¹

Inverse function when it exists on the specified domain and range

Not applicable

∘

Function composition operator

Not applicable

Example or application

A worked example has not yet been added.

Definition

A function is a mapping that assigns exactly one output to each input in its domain. Functional notation identifies the function, its arguments and the output produced by applying the function to those arguments.

Function Components

ComponentDescriptionExample

Function name

The symbol identifying the mapping.

f

Argument

The input value or values supplied to the function.

x in f(x)

Output

The value produced by the function for a permitted input.

f(x)

Domain

The set of all permitted inputs.

x ∈ ℝ

Codomain

The declared target set of possible output values.

f: ℝ → ℝ

Range

The set of output values actually obtained.

[0, ∞) for f(x) = x² over ℝ

Functional Notation Types

TypeNotationDescriptionExample

Single-variable function

f(x)

A function with one argument.

f(x) = x² + 1

Multivariable function

g(x, y)

A function with two or more arguments.

g(x, y) = x² + y²

Function mapping notation

f: A → B

Specifies a function from domain A to codomain B.

f: ℝ → ℝ

Function composition

f ∘ g

Applies g first and then f.

(f ∘ g)(x) = f(g(x))

Inverse function

f⁻¹(x)

Returns the input associated with a specified output when the inverse mapping exists.

f(x) = 2x; f⁻¹(x) = x/2

Piecewise function

f(x) = { ... }

Defines different output rules over different parts of the domain.

f(x) = x for x ≥ 0 and f(x) = −x for x < 0

Worked Examples

ExampleExpressionExplanation

Evaluating a function

f(x) = x² + 1; f(3) = 10

The input 3 is substituted for x: f(3) = 3² + 1 = 10.

Function of time

x(t) = 5t

The notation indicates that position x depends on time t. If t is measured in seconds and x in metres, the coefficient must have units m s⁻¹.

Two-variable function

g(x, y) = x² + y²; g(3, 4) = 25

The function takes two arguments. Substituting x = 3 and y = 4 gives 9 + 16 = 25.

Function composition

f(x) = x + 2; g(x) = 3x; (f ∘ g)(x) = 3x + 2

First evaluate g(x) = 3x, then use that output as the input of f.

Inverse function

f(x) = 2x; f⁻¹(x) = x/2

The inverse reverses the mapping. If f maps x to 2x, its inverse maps 2x back to x.

Domain and range

f(x) = x², x ∈ ℝ

The domain is all real numbers, but the range is [0, ∞), because a real square cannot be negative.

Notation Rules

  • Use parentheses to identify function arguments, such as f(x).

  • Distinguish f from f(x): the first names the function, while the second represents its output at x.

  • Specify the domain and codomain when they affect the function's definition.

  • Use commas to separate multiple arguments.

  • Use composition notation in the correct order: f ∘ g means apply g first, then f.

  • Distinguish an inverse function from a reciprocal expression.

  • Define physical units for input and output variables in scientific models.

  • Use upright type for standard function names such as sin, cos, exp, log, max and min in mathematical typesetting.

Applications

  • Describing physical quantities that change with time or position.

  • Modelling temperature, pressure, concentration and energy.

  • Representing mathematical relationships and transformations.

  • Calculus, optimization and differential equations.

  • Statistics, probability distributions and regression models.

  • Programming functions and computational models.

Limitations And Context

  • A function must assign a unique output to each permitted input under the standard definition.

  • The domain may need restrictions to make a formula mathematically meaningful.

  • The inverse function may not exist over the entire domain if the original function is not one-to-one.

  • The codomain and range are not necessarily the same.

  • A mathematical function may describe a model that is only approximately valid for a real physical system.

  • Function notation alone does not specify physical units or model assumptions.

Common Mistakes

MistakeCorrection

Confusing f with f(x).

f identifies the function; f(x) identifies its output for input x.

Assuming the range always equals the codomain.

The range contains only the values actually attained.

Reading f⁻¹ as 1/f in every context.

In function notation, f⁻¹ commonly denotes the inverse function.

Applying function composition in the wrong order.

In (f ∘ g)(x), evaluate g first and then f.

Ignoring domain restrictions.

Check where the formula is mathematically defined.

Treating every relation as a function.

Verify that each permitted input has exactly one output.

Practice Questions

QuestionAnswer

What does f(3) represent?

The output of function f when its input is 3.

What is the difference between domain and range?

The domain is the set of permitted inputs; the range is the set of outputs actually attained.

What does (f ∘ g)(x) mean?

Apply g to x first, then apply f to the resulting value.

Does f⁻¹ always mean 1/f?

No. It commonly represents the inverse function.

What is the range of f(x) = x² when x is real?

The interval [0, ∞).

Reference

TitleOrganizationUrlAuthorsPublisher

OpenStax Calculus Volume 1

OpenStax, Rice University

https://openstax.org/details/books/calculus-volume-1

Mathematical Methods for Physicists

  • George B. Arfken

  • Hans J. Weber

  • Frank E. Harris

Academic Press

NIST/SEMATECH e-Handbook of Statistical Methods

NIST

https://www.itl.nist.gov/div898/handbook/

Related Topic

  • SCI-REF-006-011

  • SCI-REF-006-014

  • SCI-REF-006-018

  • SCI-REF-006-019

  • SCI-REF-006-035

Sources and verification

Sources are shown as provided in the project data. Not every source has yet been independently verified. Please report errors or missing citations.

  • Source verification pending; check an authoritative textbook, university, standards body, or peer-reviewed source.

Suggest a correction or source · More in Scientific Symbols & Notation