Identity Function — Definition, Domain, Range and Graph
On this page· 13 sections
Source & scope. Class 11 Mathematics, Chapter 2 Relations and Functions, Section 2.4.1 Some functions and their graphs, item (i) the Identity function. Builds on: Real Valued Function and Real Function. Next: Constant Function, the second named real function in this section.
Source & scope. Class 11 Mathematics, Chapter 2 Relations and Functions, Section 2.4.1 Some functions and their graphs, item (i) the Identity function. Builds on: Real Valued Function and Real Function. Next: Constant Function, the second named real function in this section.
The identity function is the real function f : R → R defined by y = f(x) = x for every x ∈ R — it sends every real number to itself. Both the domain and the range of the identity function are the whole of R, and its graph is a straight line through the origin, since every input equals its own output.
At a glance
- Defined by , for every x ∈ R.
- Domain of f = R and Range of f = R — both are the full set of real numbers.
- The graph is a straight line passing through the origin, since f(0) = 0.
- The line has slope 1: for every unit increase in x, f(x) increases by exactly one unit too.
- Every point on its graph has the form (a, a) for some real number a — the input and output coordinates are always equal.
Learning objectives
- State the definition and notation of the identity function, f : R → R, f(x) = x.
- Identify the domain and range of the identity function as both equal to R.
- Describe and sketch the graph of the identity function.
- Use the identity function's rule f(x) = x to solve simple fixed-point equations.
Prerequisite knowledge
The reader should already know Definition 6 (a real function has both domain and range in R) and be comfortable plotting points on the Cartesian plane.
Core explanation
Definition. Let R be the set of real numbers. The real valued function f : R → R defined by y = f(x) = x for each x ∈ R is called the identity function. Here, as with every real function, the domain and the range of f are both R: every real number is a valid input, and every real number (namely, the input itself) is also produced as an output.
Why it is called "identity." The word "identity" signals that the function makes no change to its input at all — whatever number goes in comes out completely unchanged. f(5) = 5, f(−2.3) = −2.3, f(0) = 0, and so on for every real number: the output is literally identical to the input.
The graph. Since f(x) = x, the graph of the identity function is the set of all points (x, x) for x ∈ R — every point whose two coordinates are equal. Plotting a few of these points, such as (−2, −2), (−1, −1), (0, 0), (1, 1), and (2, 2), and joining them shows that the graph is a straight line. Because (0, 0) satisfies y = x, this line passes through the origin, and since y increases by exactly 1 unit for every 1-unit increase in x, the line has slope 1.
Range equals domain exactly. Unlike many functions where the range can be a proper subset of the codomain (as seen with f(x) = 2x + 1 over N in the previous article), the identity function's range is exactly R — every real number b is achieved, simply by choosing the input a = b, since f(a) = a = b.
Key terms
- Identity function — the real function f : R → R defined by f(x) = x for every x ∈ R.
- Domain of the identity function — R (all real numbers).
- Range of the identity function — R (all real numbers), identical to its domain.
- Slope — the rate at which y changes per unit change in x; the identity function's graph has slope 1.
- Fixed point — an input a for which f(a) = a; for the identity function, every real number is a fixed point.
Diagram / figure guidance
Sketch standard x- and y-axes, and draw a single straight line passing through the origin at a 45° angle to both axes (since the rise equals the run everywhere along the line). Mark a few labelled points on the line, such as (−2, −2), (0, 0), and (2, 2), to emphasise that every point on this particular line has two equal coordinates — this is the one visual feature that uniquely identifies the identity function's graph among all straight lines through the origin.
Worked example
Find the value of x for which the identity function f satisfies f(x) = 3x − 8.
Setting up the equation. Since f is the identity function, f(x) = x for every real x. So the equation f(x) = 3x − 8 becomes:
Solving for x. Rearranging, x − 3x = −8, so −2x = −8, which gives x = 4.
Checking the answer. Substitute x = 4 back in: the left side is f(4) = 4 (by the identity rule), and the right side is 3(4) − 8 = 12 − 8 = 4. Both sides equal 4, confirming is correct.
Common misconceptions
- "The identity function is f(x) = 1." This is incorrect — f(x) = 1 is a constant function (always outputting 1), while the identity function is f(x) = x, whose output changes along with its input.
- "The graph of the identity function passes through only one special point." False — it passes through every point of the form (a, a), which is infinitely many points, not just one.
- "The domain and range of the identity function are different sets." False — for the identity function specifically, domain and range are both exactly R; they coincide completely.
- "The identity function has no effect, so it isn't really a 'function' worth naming." It is still a genuine function (every real number has exactly one image, namely itself) and is important precisely because it serves as the simplest possible real function and a natural reference point among the named functions in this section.
Exam application (JEE)
JEE problems typically use the identity function in two ways: first, as a graph-recognition item among a set of given lines or curves, where the line through the origin with slope exactly 1 must be picked out as the identity function (and distinguished from other lines through the origin with different slopes); second, embedded inside an equation of the form "the identity function f satisfies f(x) = (some expression in x)," which reduces to solving x = (that expression), as in the worked example above.
Frequently asked questions
- What is the identity function in Class 11 Maths? The identity function is the real function f : R → R defined by f(x) = x for every real number x — it maps every real number to itself.
- What are the domain and range of the identity function? Both the domain and the range of the identity function are R, the set of all real numbers, since every real number is a valid input and every real number is also produced as an output.
- What does the graph of the identity function look like? It is a straight line passing through the origin with slope 1, consisting of every point of the form (a, a) for a real number a.
- Why is f(x) = x called "identity"? Because the output is always identical to the input — the function changes nothing about the number it is given.
- Is the identity function the same as f(x) = 1? No — f(x) = 1 is a constant function that always outputs 1 regardless of input, which is a different named function covered next.
Practice questions (original practice questions)
- The identity function f : R → R is defined by:
- (a) f(x) = 1
- (b) f(x) = x
- (c) f(x) = 0
- (d) f(x) = −x
- Answer: (b) — This is exactly the definition of the identity function.
- The domain and range of the identity function are, respectively:
- (a) N and N
- (b) R and R
- (c) Z and R
- (d) R and N
- Answer: (b) — Both domain and range of the identity function equal R.
- The graph of the identity function passes through:
- (a) only the point (1, 1)
- (b) only the origin
- (c) the origin and every point of the form (a, a)
- (d) no fixed points at all
- Answer: (c) — Every point on its graph has equal coordinates, including the origin.
- If f is the identity function and f(x) = 5x − 12, the value of x is:
- (a) 2
- (b) 3
- (c) 4
- (d) 6
- Answer: (b) — Solving x = 5x − 12 gives 4x = 12, so x = 3.
- Which of the following is NOT true about the identity function?
- (a) its graph is a straight line
- (b) it passes through the origin
- (c) its slope is 1
- (d) its range is a proper subset of R
- Answer: (d) — The range of the identity function is exactly R, not a proper subset of R.
Quick revision
- Identity function: , for every x ∈ R.
- Domain = R, Range = R — they are exactly equal.
- Graph: a straight line through the origin, slope 1.
- Every point on the graph has the form (a, a).
- Equations of the form "f(x) = (expression)" for the identity function reduce to x = (expression).
Related articles
- Builds on: Real Valued Function and Real Function
- Next: Constant Function
- See also: Polynomial Function, Linear Function (other named real functions in this chapter)
- Related topics: Addition of Two Real Functions — (f + g)(x), Cartesian Product R × R and R × R × R — Coordinates of the Plane and Space, Cartesian Product of Three Sets — Ordered Triplets, Cartesian Product of Two Sets — Definition, Properties and Examples, Codomain of a Relation — Definition, and How It Differs from Range, Constant Function — Definition, Domain, Range and Graph