ArticleslgStudy

mathematics

Domain of a function

Domain of a function is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Domain of a function rather than just read about it. In short: In mathematics, the domain of a function is the set of inputs accepted by the function. It is sometimes denoted by dom⁡(f) or dom⁡f, where f is the function.

Domain of a function — main illustration
Domain of a function — illustration

Key takeaways

  • Domain of a function belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Domain of a function to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Domain of a function from memory before moving on to harder problems.

Reference excerpt

In mathematics, the domain of a function is the set of inputs accepted by the function. It is sometimes denoted by dom⁡(f) or dom⁡f, where f is the function. In layman's terms, the domain of a function can generally be thought of as "what x can be". More precisely, given a function f:X→Y, the domain of f is X. In modern mathematical language, the domain is part of the definition of a function rather than a property of it. In the special case that X and Y are both sets of real numbers, the function f can be graphed in the Cartesian coordinate system. In this case, the domain is represented on the x-axis of the graph, as the projection of the graph of the function onto the x-axis. For a function f:X→Y, the set Y is called the codomain: the set to which all outputs must belong. The set of specific outputs the function assigns to elements of X is called its range or image. The image of f is a subset of Y, shown as the yellow oval in the accompanying diagram. Any function can be restricted to a subset of its domain. The restriction of f:X→Y to A, where A⊆X, is written as f|A:A→Y.

Natural domain If a real function f is given by a formula, it may be not defined for some values of the variable. In this case, it is a partial function, and the set of real numbers on which the formula can be evaluated to a real number is called the natural domain or domain of definition of f. In many contexts, a partial function is called simply a function, and its natural domain is called simply its domain.

Examples The function f defined by f(x)=1x cannot be evaluated at 0. Therefore, the natural domain of f is the set of real numbers excluding 0, which can be denoted by ℝ∖{0} or {x∈ℝ:x≠0}. The piecewise function f defined by f(x)={1/xx≠00x=0, has as its natural domain the set ℝ of real numbers. The square root function f(x)=x has as its natural domain the set of non-negative real numbers, which can be denoted by ℝ≥0, the interval [0,∞), or {x∈ℝ:x≥0}. The tangent function, denoted tan, has as its natural domain the set of all real numbers which are not of the form π2+kπ for some integer k, which can be written as ℝ∖{π2+kπ:k∈ℤ}.

Other uses The term domain is also commonly used in a different sense in mathematical analysis: a domain is a non-empty connected open set in a topological space. In particular, in real and complex analysis, a domain is a non-empty connected open subset of the real coordinate space ℝn or the complex coordinate space ℂn. Sometimes such a domain is used as the domain of a function, although functions may be defined on more general sets. The two concepts are sometimes conflated as in, for example, the study of partial differential equations: in that case, a domain is the open connected subset of ℝn where a problem is posed, making it both an analysis-style domain and also the domain of the unknown function(s) sought.

Set theoretical notions For example, it is sometimes convenient in set theory to permit the domain of a function to be a proper class X, in which case there is formally no such thing as a triple (X, Y, G). With such a definition, functions do not have a domain, although some authors still use it informally after introducing a function in the form f: X → Y.

See also Argument of a function Attribute domain Bijection, injection and surjection Codomain Domain decomposition Effective domain Endofunction Image (mathematics) Lipschitz domain Naive set theory Range of a function Support (mathematics)

Notes

References Bourbaki, Nicolas (1970). Théorie des ensembles. Éléments de mathématique. Springer. ISBN 9783540340348. Eccles, Peter J. (11 December 1997). An Introduction to Mathematical Reasoning: Numbers, Sets and Functions. Cambridge University Press. ISBN 978-0-521-59718-0. Mac Lane, Saunders (25 September 1998). Categories for the Working Mathematician. Springer Science & Business Media. ISBN 978-0-387-98403-2. Scott, Dana S.; Jech, Thomas J. (31 December 1971). Axiomatic Set Theory, Part 1. American Mathematical Soc. ISBN 978-0-8218-0245-8. Sharma, A. K. (2010). Introduction To Set Theory. Discovery Publishing House. ISBN 978-81-7141-877-0. Stewart, Ian; Tall, David (1977). The Foundations of Mathematics. Oxford University Press. ISBN 978-0-19-853165-4.

Illustrations

Domain of a function: A function .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}f from X to Y. The set of points in the red oval X is the domain of f. The set of points in the blue oval Y is the codomain of f. The set of points in the yellow oval is the range of f.
A function .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}f from X to Y. The set of points in the red oval X is the domain of f. The set of points in the blue oval Y is the codomain of f. The set of points in the yellow oval is the range of f.
Domain of a function: Graph of the arcsine and arccosine functions, f(x) = arcsin(x) and f(x) = arccos(x), each of whose domain consists of the set of real numbers [–1,1] inclusively
Graph of the arcsine and arccosine functions, f(x) = arcsin(x) and f(x) = arccos(x), each of whose domain consists of the set of real numbers [–1,1] inclusively

Worked examples

Example 1 — a first encounter with Domain of a function

Start with the simplest possible case. Write down what Domain of a function claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Domain of a function before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Domain of a function ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Domain of a function

In research
Domain of a function appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Domain of a function in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Domain of a function is common in secondary-school and first-year university syllabi. It links to neighbouring topics Basic concepts in set theory, Functions and mappings, so understanding it makes those chapters shorter.
In everyday life
Look for Domain of a function outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Domain of a function” →

How to study Domain of a function in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Domain of a function means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Domain of a function out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Domain of a function in simple terms?

In mathematics, the domain of a function is the set of inputs accepted by the function. It is sometimes denoted by dom⁡(f) or dom⁡f, where f is the function.

Why does Domain of a function matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Domain of a function?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Domain of a function.

Tags

  • Basic concepts in set theory
  • Functions and mappings

Keep exploring