A real-valued function f:X→Y associates each input x∈X with a unique output y∈Y, geometrically verified by the Vertical Line Test where every vertical line intersects the curve at most once.
Functions are broadly classified into algebraic (polynomial, rational, radical) and transcendental families (trigonometric, inverse trigonometric, exponential ax,ex, logarithmic logax,lnx, and hyperbolic sinhx,coshx,tanhx).
Hyperbolic functions satisfy fundamental identities analogous to circular trigonometry, notably cosh2x−sinh2x=1, 1−tanh2x=sech2x, and cosh(2x)=cosh2x+sinh2x=1+2sinh2x.
Function parity classifies functions into even (f(−x)=f(x), symmetric across the y-axis) and odd (f(−x)=−f(x), symmetric about the origin); any arbitrary function can be uniquely decomposed into f(x)=2f(x)+f(−x)+2f(x)−f(−x).
An inverse function f−1(x) exists if and only if f is bijective (both one-to-one and onto), satisfying Dom(f−1)=Range(f) and Range(f−1)=Dom(f).
Last updated: October 2026
Real-Valued Functions, Types, Domains & Ranges
In the Intermediate Mathematics Part II syllabus and the UET Combined Entry Test (ECAT), the theory of functions forms the conceptual gateway to differential and integral calculus. A solid grasp of function mapping, domain and range constraints, geometric symmetries, and transcendental identities is essential for answering high-speed multiple-choice questions without lengthy algebraic scratchwork.
1. Definition of a Function and Geometric Validation
The Mathematical Mapping
Let X and Y be non-empty subsets of real numbers R. A real-valued functionf from X to Y, denoted as f:X→Y, is a mathematical rule or relation that assigns to each element x∈Xexactly one element y∈Y.
The set X is termed the domain of the function, denoted Dom(f).
The set Y is the codomain.
The set of all actual outputs, f(X)={f(x)∈Y∣x∈X}, is the range of f, denoted Range(f). Note that Range(f)⊆Y.
The Vertical Line Test
In the Cartesian coordinate plane, a curve represents a function y=f(x) if and only if no vertical line intersects the curve at more than one point. If a vertical line x=c intersects a graph at two or more distinct points (c,y1) and (c,y2), then a single input c produces multiple outputs, violating the uniqueness requirement of a function.
Relation Example: The circle x2+y2=r2 is not a function of x because vertical lines with −r<x<r intersect the circle at two points: y=±r2−x2.
Function Example: The upper semicircle y=+r2−x2 satisfies the vertical line test and is a valid real function with domain [−r,r] and range [0,r].
2. Comprehensive Taxonomy of Real Functions
Functions are partitioned broadly into two grand families: algebraic functions and transcendental functions.
Algebraic Functions
An algebraic function is a function constructed using a finite number of algebraic operations (addition, subtraction, multiplication, division, and root extraction) on polynomials.
The natural domain of every polynomial is the entire real line R=(−∞,∞).
Degree n=0: Constant function f(x)=c; range is {c}.
Degree n=1: Linear function f(x)=ax+b (a=0); domain R, range R.
Degree n=2: Quadratic function f(x)=ax2+bx+c; domain R, range depends on vertex coordinates.
Rational Functions:R(x)=Q(x)P(x)
where P(x) and Q(x) are polynomials. The natural domain consists of all real numbers except the real roots of Q(x):
Dom(R)={x∈R∣Q(x)=0}
Radical (Irrational) Functions:
Functions containing fractional exponents, such as f(x)=ng(x). For even index n (n=2,4,6,…), real outputs require g(x)≥0.
Explicit vs. Implicit Functions:
Explicit:y is isolated as the dependent variable on one side: y=f(x), e.g., y=x2−3x+2.
Implicit:x and y are mixed together in an equation: F(x,y)=0, e.g., x3+y3−3axy=0.
Transcendental Functions
Functions that cannot be expressed as finite algebraic combinations of polynomials are termed transcendental.
Trigonometric Functions:
sinx and cosx: Domain R, Range [−1,1], fundamental period 2π.
tanx: Domain R∖{(2k+1)2π∣k∈Z}, Range R, fundamental period π.
cotx: Domain R∖{kπ∣k∈Z}, Range R, fundamental period π.
secx: Domain R∖{(2k+1)2π}, Range (−∞,−1]∪[1,∞), period 2π.
cscx: Domain R∖{kπ}, Range (−∞,−1]∪[1,∞), period 2π.
Inverse Trigonometric Functions:
To define inverses, trigonometric domains are restricted to principal branches:
y=arcsinx (or sin−1x): Domain [−1,1], Range [−2π,2π].
y=arccosx (or cos−1x): Domain [−1,1], Range [0,π].
y=arctanx (or tan−1x): Domain R, Range (−2π,2π).
y=arccot x: Domain R, Range (0,π).
y=arcsec x: Domain (−∞,−1]∪[1,∞), Range [0,π]∖{2π}.
y=arccsc x: Domain (−∞,−1]∪[1,∞), Range [−2π,2π]∖{0}.
Exponential Functions:f(x)=ax(a>0,a=1)
Domain: (−∞,∞). Range: (0,∞).
If a=e≈2.71828, f(x)=ex is the natural exponential function.
Key behavior: a0=1, ax>0 for all x∈R. If a>1, f(x) is strictly increasing; if 0<a<1, f(x) is strictly decreasing.
Logarithmic Functions:f(x)=logax(a>0,a=1,x>0)
The logarithmic function is the inverse of the exponential function: y=logax⟺ay=x.
Domain: (0,∞). Range: (−∞,∞).
If a=e, we obtain the natural logarithm: lnx=logex.
ECAT Connection: In circular trigonometry, cos2x+sin2x=1, whereas in hyperbolic trigonometry, cosh2x−sinh2x=1. Remembering this minus sign prevents frequent calculation errors on the exam.
3. Even, Odd, and Periodic Symmetries
Even Functions
A function f is even if for all x∈Dom(f):
f(−x)=f(x)
Geometrically, the graph of an even function is symmetric with respect to the y-axis. If (x,y) is on the graph, then (−x,y) is also on the graph.
Examples: x2,x4,∣x∣,cosx,coshx,secx.
Odd Functions
A function f is odd if for all x∈Dom(f):
f(−x)=−f(x)
Geometrically, the graph of an odd function exhibits rotational symmetry of 180∘ about the origin (0,0). If (x,y) is on the graph, then (−x,−y) is also on the graph.
Examples: x,x3,x1,sinx,tanx,sinhx,cscx.
Neither Even Nor Odd
Most functions are neither even nor odd, such as f(x)=x2+2x−3 or f(x)=ex.
Universal Parity Decomposition Theorem
Any real-valued function f(x) whose domain is symmetric about the origin can be uniquely decomposed into the sum of an even component fe(x) and an odd component fo(x):
Applying this to the natural exponential ex directly yields the hyperbolic definitions:
ex=2ex+e−x+2ex−e−x=coshx+sinhx
where coshx is the even component and sinhx is the odd component.
4. Function Algebra, Composition & Inverses
Composition of Functions
Given two functions f and g, the composite function (f∘g)(x) is defined by:
(f∘g)(x)=f(g(x))
The natural domain of f∘g consists of all x in the domain of g for which g(x) belongs to the domain of f:
Dom(f∘g)={x∈Dom(g)∣g(x)∈Dom(f)}
Important: Composition is non-commutative in general: (f∘g)(x)=(g∘f)(x). However, composition is associative: f∘(g∘h)=(f∘g)∘h.
Injectivity, Surjectivity, and Bijectivity
One-to-One (Injective): A function f is injective if distinct inputs yield distinct outputs:
f(x1)=f(x2)⟹x1=x2Horizontal Line Test: A function is one-to-one if and only if no horizontal line intersects its graph at more than one point.
Onto (Surjective): A function f:X→Y is surjective if every element in the codomain Y is the image of at least one element in the domain X, meaning Range(f)=Y.
Bijective (Invertible): A function that is both injective and surjective is bijective. A function possesses an inverse f−1if and only if it is bijective.
Properties of the Inverse Function f−1
If f is a bijection, its inverse f−1 satisfies:
(f∘f−1)(y)=yand(f−1∘f)(x)=x
Dom(f−1)=Range(f)
Range(f−1)=Dom(f)
Geometrically, the graph of y=f−1(x) is the reflection of the graph of y=f(x) across the line of symmetry y=x.
5. Systematic Determination of Natural Domains and Ranges
The natural domain is the largest subset of real numbers R for which the function formula yields real, finite outputs.
Core Rules for Natural Domain
Function Structure
Mathematical Restriction
Natural Domain Condition
Fraction Q(x)P(x)
Denominator cannot be zero
Q(x)=0
Even Radical 2ku(x)
Radicand must be non-negative
u(x)≥0
Radical Denominator 2ku(x)1
Radicand must be strictly positive
u(x)>0
Logarithm ln(w(x)) or logb(w(x))
Argument must be strictly positive
w(x)>0 (and base b>0,b=1)
Inverse Sine / Cosine sin−1(u(x))
Argument must lie in [−1,1]
−1≤u(x)≤1
Combined / Composite
All simultaneous conditions must hold
Intersect domains: ⋂Domi
Systematic Determination of Range
To find the range of y=f(x):
Inversion Method: Solve the equation y=f(x) explicitly for x in terms of y: x=g(y). Then determine all values of y for which g(y) produces valid real values within the original domain of f.
Quadratic Extrema Method: For f(x)=ax2+bx+c, the parabola vertex is at x=−2ab with extremum yv=4a4ac−b2.
If a>0, Range=[yv,∞).
If a<0, Range=(−∞,yv].
Square Root Semicircle: For f(x)=a2−x2, the domain is [−a,a] and the range is [0,a].
Linear Fractional Function: For f(x)=cx+dax+b with ad−bc=0 and c=0:
Natural Domain: R∖{−cd}.
Natural Range: R∖{ca}.
6. Domain and Range Reference Table for Common Functions
Function f(x)
Natural Domain
Natural Range
Symmetry Parity
x2
(−∞,∞)
[0,∞)
Even
x3
(−∞,∞)
(−∞,∞)
Odd
∣x∣
(−∞,∞)
[0,∞)
Even
x1
R∖{0}
R∖{0}
Odd
x
[0,∞)
[0,∞)
Neither
a2−x2
[−a,a]
[0,a]
Even
x2−a2
(−∞,−a]∪[a,∞)
[0,∞)
Even
a2−x21
(−a,a)
[a1,∞)
Even
ex
(−∞,∞)
(0,∞)
Neither
lnx
(0,∞)
(−∞,∞)
Neither
sinx
(−∞,∞)
[−1,1]
Odd
cosx
(−∞,∞)
[−1,1]
Even
tanx
R∖{(2k+1)2π}
(−∞,∞)
Odd
sin−1x
[−1,1]
[−2π,2π]
Odd
cos−1x
[−1,1]
[0,π]
Neither
tan−1x
(−∞,∞)
(−2π,2π)
Odd
sinhx
(−∞,∞)
(−∞,∞)
Odd
coshx
(−∞,∞)
[1,∞)
Even
tanhx
(−∞,∞)
(−1,1)
Odd
7. High-Speed ECAT Algebraic Shortcuts
Shortcut 1: The Self-Inverse Linear Fractional Function
For the general linear fractional function:
f(x)=cx+dax+b
Its inverse is computed by solving y=cx+dax+b⟹cxy+dy=ax+b⟹x(cy−a)=−dy+b⟹x=cy−a−dy+b. Swapping variables:
f−1(x)=cx−a−dx+b
ECAT Instant Rule: If a+d=0 (meaning d=−a), then:
f−1(x)=cx−a−(−a)x+b=cx+dax+b=f(x)
The function is self-inverse! For example, f(x)=2x−33x+4 has a=3,d=−3, so a+d=0. Thus, f−1(x)=f(x) instantly.
Shortcut 2: Rational Inequalities for Radicals (The Wavy Curve Method)
When solving x−bx−a≥0:
Find critical roots x=a and x=b.
Plot on the real line: the radical requires the fraction to be non-negative ≥0 and x=b.
If a<b, the solution set is (−∞,a]∪(b,∞). Note that the open parenthesis at b prevents division by zero.
Loading diagram...
Systematic Algorithm for Determining Function Domain and Range
Test Your Knowledge
What is the inverse function f−1(x) of the real-valued function f(x)=2x−33x+4 for x=23?
A
f−1(x)=2x−33x+4
B
f−1(x)=3x+42x−3
C
f−1(x)=2x+3−3x+4
D
f−1(x)=2x+33x−4
Test Your Knowledge
What is the natural domain of the real-valued function f(x)=5−xx−2+ln(x2−1)?
A
(1,5)
B
[2,5)
C
[2,5]
D
(−∞,−1)∪[2,5)
Test Your Knowledge
If sinhx=43, what is the exact numerical value of cosh(2x)?
A
87
B
1625
C
817
D
89
Sections you finish are checked off in the contents.