Mathematics IUnit 510 min read
Functions – Domain, Range, Types & Real‑World Applications
Unit 5 of Mathematics I: this note explains functions, how to find domain and range, classifies injective, surjective and bijective mappings, works through detailed examples, and shows where these ideas appear in Nepali apps and everyday systems.
Key points
- A function assigns exactly one output to each input; its domain and range are found by algebraic restrictions and solving for y.
- Injective (one‑to‑one), surjective (onto) and bijective (both) are distinguished by set‑theoretic Venn diagrams and by algebraic tests.
- Composite and inverse functions are built by swapping input‑output roles; existence of an inverse requires bijectivity.
- Graphical sketches reveal domain (visible x‑interval) and range (visible y‑interval) instantly.
- Real‑world systems such as eSewa payments, Daraz order queues and Ncell signal mapping rely on the same function concepts.
1. What is a Function?
A function from a set (the domain) to a set (the codomain) is a rule that assigns to every a unique element .
- Notation: or .
- Image (range): .
Visual: Function as a Mapping Diagram
flowchart LR
subgraph "Domain A"
A1["-2"] -->|"f"| B1["5"]
A2["0"] -->|"f"| B2["1"]
A3["2"] -->|"f"| B3["9"]
end
subgraph "Codomain B"
B1
B2
B3
end2. Determining the Domain
The domain consists of all real numbers for which the expression defining is legal:
| Source of restriction | Typical condition |
|---|---|
| Denominator | |
| Even root (√) | radicand |
| Logarithm | argument |
| General exponent (even ) | base |
Example 1 – Domain of a Rational‑Root Function
Find the domain of
Steps
- Denominator cannot be zero: .
- No other restrictions.
3. Determining the Range
Two common strategies:
- Solve for in terms of and apply domain restrictions to the new expression.
- Complete the square (for quadratic radicands) or use calculus (derivative) to locate extrema.
Worked Example 2 – Range of a Quadratic‑Root Function
Find the domain and range of
Step 1 – Domain (radicand )
Factor: .
Sign chart gives .
Step 2 – Range
Let with . Square both sides:
Treat as quadratic in . Real solutions exist iff discriminant :
Thus
Visual: Graph of
Visual: Number‑line showing domain
4. Types of Functions
| Property | Definition | Test |
|---|---|---|
| Injective (One‑to‑One) | Show monotonicity or solve . | |
| Surjective (Onto) | with | Solve for arbitrary and check domain. |
| Bijective | Both injective and surjective. | Must satisfy both tests; then inverse exists. |
| Even | Symmetry about y‑axis. | |
| Odd | Symmetry about origin. | |
| Periodic | s.t. | Identify smallest positive period. |
Visual: Venn diagram of function types
5. Proving Bijectivity – A Sample Proof
Statement: Show that is bijective.
Injective proof:
Assume .
. Hence injective.
Surjective proof:
Take any . Solve for :
, which is a real number for any real . Hence every has a pre‑image; surjective.
Since both hold, is bijective and possesses an inverse
6. Composite and Inverse Functions
Given and , the composition is defined by .
If is bijective, the inverse satisfies
and .
Worked Example 3 – Composite & Inverse
Let and .
Find .
Determine if has an inverse and write it.
is linear with slope 2 > 0 ⇒ injective and surjective on .
.
7. Graphical Interpretation of Domain & Range
A function’s graph visually displays the admissible -values (where the curve exists) and the corresponding -values (vertical spread).
Visual: Graph of a rational‑root function
The vertical line is a domain restriction (hole). The curve approaches it but never touches, confirming the domain . The range is all real numbers except the value that would make the numerator zero when denominator is zero – here the range is (students can verify by solving for and checking the forbidden ).
8. Comparison Table – Quick Reference
| Property | Test (Algebraic) | Graphical clue |
|----------|------------------|----------------|
| Injective | \(f(x_1)=f(x_2)\Rightarrow x_1=x_2\) | Passes Horizontal Line Test |
| Surjective | Solve \(y=f(x)\) for arbitrary \(y\) | Curve covers entire codomain vertically |
| Bijective | Both of the above | Passes Horizontal Test **and** covers codomain |
| Even | \(f(-x)=f(x)\) | Symmetric about y‑axis |
| Odd | \(f(-x)=-f(x)\) | Rotational symmetry 180° about origin |
| Periodic | Find smallest \(p>0\) with \(f(x+p)=f(x)\) | Repeating pattern on graph |
9. Applications in Everyday Technology
9.1 eSewa Payment Mapping
Product: eSewa mobile wallet.
Function idea used: Injective mapping from transaction ID → unique payment record. Each ID maps to exactly one record, preventing duplicate payments.
9.2 Daraz Order Queue
Product: Daraz e‑commerce order processing.
Function idea used: Surjective mapping from order status (Pending, Packed, Shipped, Delivered) → customer notifications. Every possible status appears in at least one notification, ensuring customers are always informed.
9.3 Ncell Signal Strength
Product: Ncell mobile network.
Function idea used: Bijective mapping between cell‑tower coordinates and signal‑strength values for a given user location (within a small cell). The inverse function lets the app compute the nearest tower from a measured signal strength.
10. In the real world
- eSewa uses an injective function . If two different transaction IDs produced the same record, fraud could occur. The system guarantees is one‑to‑one by attaching a cryptographic hash to each ID.
- Daraz maintains a surjective function . Every status (e.g., “Shipped”) has at least one corresponding message (“Your order has been shipped”). The platform checks that no status is left without a notification, ensuring full coverage.
- Ncell implements a bijective mapping within a micro‑cell. Because the mapping is bijective, the app can invert it: given a measured signal level, it can uniquely locate the serving tower, which is essential for hand‑over decisions.
Worked Real‑World Example
A Nepali bank offers a personal loan where the interest payable depends on the loan amount via
This is a linear function .
- Domain: All permissible loan amounts, e.g., Rs.
- Range: Corresponding interest values, computed by plugging domain endpoints:
- The function is bijective on this interval, so the bank can invert it to find the loan amount from a desired interest payment:
This mirrors the textbook bijectivity proof for .
11. Common Pitfalls
| Pitfall | Why it happens | How to avoid |
|---|---|---|
| Forgetting to check even‑root radicand ≥ 0 | Focus only on denominator | Write inequality, factor, use sign chart |
| Assuming horizontal line test works for piecewise functions without checking each piece | Over‑generalising | Test each interval separately |
| Mixing codomain with range | Codomain is given, range must be derived | Explicitly state codomain, then compute image |
| Ignoring domain restrictions when finding inverses | Inverse may produce values outside original domain | After solving for , intersect with original domain |
12. Practice Problems (with brief solutions)
Domain & Range: .
- Domain: .
- Range: .
Injectivity Test: . Show it is not injective by finding two distinct with same output (e.g., and give and respectively).
Surjectivity on : . Not surjective because negative numbers are never attained.
Inverse Function: Find for .
- Solve .
- Hence with domain .
13. Exam tip
- Read the question carefully: “Find domain” → list all algebraic restrictions; “Find range” → either solve for in terms of or complete the square.
- Show every step: write the inequality, factor, draw a quick sign chart, then state the interval. Marks are awarded for the reasoning, not just the final interval.
- For bijectivity, provide both an injective proof (usually by assuming ) and a surjective proof (solve for arbitrary ).
- Graph sketches earn extra points: a neat curve with clearly marked domain endpoints and range extremes demonstrates understanding.
- Watch out for hidden restrictions in composite functions—ensure the inner function’s range lies inside the outer function’s domain.
Based on the TU BCA syllabus for Mathematics I (CAMT104), unit 5.
Discussion
Loading…