ฟังก์ชันไม่ใช่แค่การจับคู่ธรรมดา แต่ยังมี รูปแบบและสมบัติเฉพาะตัว ที่ทำให้เราสามารถจำแนกฟังก์ชันออกเป็นประเภทต่างๆ ได้ เช่น การจับคู่แบบตัวต่อตัว การจับคู่ที่ครอบคลุมผลลัพธ์ทั้งหมด การนำฟังก์ชันมาซ้อนกัน และการย้อนกลับกระบวนการของฟังก์ชัน
Functions are more than just simple mappings. They have specific patterns and properties that allow us to classify them, such as one-to-one mapping, covering all possible outputs, combining functions together, and reversing the function's process.
ฟังก์ชันหนึ่งต่อหนึ่ง One-to-One Function (Injective)
ฟังก์ชัน $f$ จาก $A$ ไป $B$ เป็น ฟังก์ชันหนึ่งต่อหนึ่ง (1-1) ก็ต่อเมื่อ สมาชิกในโดเมน ($x$) ที่ต่างกัน จะต้องให้ผลลัพธ์ในเรนจ์ ($y$) ที่ต่างกันเสมอ ห้ามมี $y$ ซ้ำเด็ดขาด
A function $f$ from $A$ to $B$ is a One-to-One (Injective) function if different elements in the domain ($x$) always map to different elements in the range ($y$). No two $x$'s share the same $y$.
เป็นฟังก์ชัน 1-1 เพราะค่า $y$ (คือ $4, 5, 6$) ไม่มีการซ้ำกันเลย
Is 1-1 because the $y$-values ($4, 5, 6$) do not repeat.
ทุกเส้นลูกศรชี้ไปที่เป้าหมายในเซต B แบบไม่ซ้ำกันเลย
Every arrow points to a unique target in set B.
จงตรวจสอบว่า $f(x) = 2x + 3$ เป็นฟังก์ชัน 1-1 หรือไม่
สรุปได้ว่า $x_1 = x_2$ ดังนั้น เป็นฟังก์ชัน 1-1
Determine if $f(x) = 2x + 3$ is a 1-1 function.
Since it concludes with $x_1 = x_2$, it is 1-1.
ฟังก์ชันกำลังสอง $f(x) = x^2$ ไม่เป็นฟังก์ชัน 1-1 เพราะลากเส้นแนวนอนแล้วตัดกราฟมากกว่า 1 จุด
Quadratic function $f(x) = x^2$ is not 1-1 because a horizontal line intersects the graph at more than 1 point.
จงตรวจสอบ $f(x) = x^3$
เป็นฟังก์ชันหนึ่งต่อหนึ่ง
Check $f(x) = x^3$
Is a one-to-one function
ฟังก์ชันทั่วถึง Onto Function (Surjective)
ฟังก์ชันจาก $A$ ไปทั่วถึง $B$ (เขียนแทนด้วย $f: A \xrightarrow{\text{onto}} B$) คือฟังก์ชันที่ใช้สมาชิกในโคโดเมน (เซต $B$) ครบทุกตัว ไม่มีเหลือทิ้ง
A function from $A$ onto $B$ (denoted $f: A \xrightarrow{\text{onto}} B$) is a function where every element in the codomain (Set $B$) is mapped by at least one element from the domain.
สมาชิกใน B คือ {1, 2} ถูกโยงครบทุกตัว (แม้ a, b จะโยงไปที่ 1 ซ้ำกันก็ไม่เป็นไร)
All elements in B {1, 2} receive an arrow (it's fine that 'a' and 'b' both map to 1).
เรนจ์ $R_f = \{x, y\}$ ซึ่งไม่เท่ากับ $B$ เพราะขาด $z$
ดังนั้น
ไม่เป็นฟังก์ชันทั่วถึง
Range $R_f = \{x, y\}$ which does not equal $B$ (missing $z$).
Therefore, NOT onto.
ให้ $f: \mathbb{R} \to \mathbb{R}$ โดยที่ $f(x) = x - 5$
$y$ สามารถเป็นจำนวนจริงได้ทุกค่า ดังนั้น $R_f = \mathbb{R}$ (เท่ากับโคโดเมน) เป็นฟังก์ชันทั่วถึง
Let $f: \mathbb{R} \to \mathbb{R}$ where $f(x) = x - 5$
$y$ can be any real number. Thus $R_f = \mathbb{R}$ (equals codomain). It is onto.
ให้ $f: \mathbb{R} \to \mathbb{R}$ โดยที่ $f(x) = x^2$
แต่โคโดเมนกำหนดมาคือ $\mathbb{R}$ (จำนวนจริงทั้งหมด)
ดังนั้น
ไม่เป็นฟังก์ชันทั่วถึง เพราะ $y$ ติดลบไม่ได้
Let $f: \mathbb{R} \to \mathbb{R}$ where $f(x) = x^2$
But the defined codomain is $\mathbb{R}$.
Therefore, NOT
onto because $y$ cannot be negative.
จากข้อ 2.4 หากเราเปลี่ยนการระบุโคโดเมนใหม่ เป็น $f: \mathbb{R} \to [0, \infty)$ โดย $f(x) = x^2$
ตอนนี้เรนจ์คือ $[0, \infty)$ ซึ่ง เท่ากับ โคโดเมนที่กำหนดให้ใหม่แล้ว ดังนั้นในกรณีนี้ เป็นฟังก์ชันทั่วถึง
From Ex 2.4, if we redefine the codomain to $f: \mathbb{R} \to [0, \infty)$ where $f(x) = x^2$
Now the range $[0, \infty)$ equals the newly defined codomain. In this specific case, it is onto.
ฟังก์ชันหนึ่งต่อหนึ่งแบบทั่วถึง Bijective Function
ฟังก์ชันที่เป็น สมบูรณ์แบบที่สุด คือเป็นทั้ง 1-1 (ห้ามซ้ำ) และ ทั่วถึง (ห้ามเหลือ) ทำให้จำนวนสมาชิกของโดเมนและเรนจ์ต้องจับคู่กันแบบเป๊ะๆ ฟังก์ชันประเภทนี้จะสามารถหาฟังก์ชันผกผัน (Inverse) ได้เสมอ
The perfect matching function. It is both One-to-One (no sharing) and Onto (no leftovers). Every element pairs up exactly. These functions always have an Inverse.
(จับคู่แบบ 1 ต่อ 1 และไม่มีใครในเซต B ว่างเลย)
(1-1 pairing and no elements in Set B are left empty)
$f: \mathbb{R} \to \mathbb{R}$ โดยที่ $f(x) = 3x - 1$
- 1-1: $3x_1 - 1 = 3x_2 - 1 \implies x_1 = x_2$ (ผ่าน)
- Onto (ทั่วถึง): $x = \displaystyle \frac{y + 1}{3}$, ได้ค่า $y$ ทุกจำนวนจริง $\implies R_f = \mathbb{R}$ (ผ่าน)
เป็นฟังก์ชันหนึ่งต่อหนึ่งแบบทั่วถึง (Bijective)
$f: \mathbb{R} \to \mathbb{R}$ where $f(x) = 3x - 1$
- 1-1: $3x_1 - 1 = 3x_2 - 1 \implies x_1 = x_2$ (Passed)
- Onto: $x = \displaystyle \frac{y + 1}{3}$, can obtain any real $y \implies R_f = \mathbb{R}$ (Passed)
Is a bijective function (Bijective)
$f(x) = 2^x$ เป็น Bijective หรือไม่?
กราฟเอกซ์โพเนนเชียลเป็น 1-1 แน่นอน แต่เรนจ์คือ $(0, \infty)$
ดังนั้นจะเป็น Bijective
ก็ต่อเมื่อระบุโคโดเมนคือ $f: \mathbb{R} \to (0, \infty)$ เท่านั้น
Is $f(x) = 2^x$ Bijective?
Exponential graph is strictly 1-1, but its range is $(0, \infty)$.
It is Bijective ONLY IF
the codomain is specified as $f: \mathbb{R} \to (0, \infty)$.
$f: [0, \infty) \to [0, \infty)$ กำหนดโดย $f(x) = \sqrt{x}$
เป็น 1-1 (ค่าในรูทไม่ซ้ำ ได้ผลลัพธ์ไม่ซ้ำ)
และเป็นทั่วถึง (ได้ $y \ge 0$ ครบ)
เป็นฟังก์ชัน Bijective
$f: [0, \infty) \to [0, \infty)$ defined by $f(x) = \sqrt{x}$
Is 1-1 (unique input inside square root yields
unique output) and is onto (achieves all $y \ge 0$).
Is a Bijective
function
$f: \mathbb{R} \to \mathbb{R}$ โดยที่ $f(x) = \sin(x)$
- ไม่เป็น 1-1: เพราะกราฟเป็นคลื่นส่ายขึ้นลง $\sin(0) = \sin(\pi) = 0$
- ไม่เป็นทั่วถึง: เพราะเรนจ์มีแค่ $[-1, 1]$ ไม่ครอบคลุม $\mathbb{R}$
$f: \mathbb{R} \to \mathbb{R}$ where $f(x) = \sin(x)$
- Not 1-1: It's a wave. $\sin(0) = \sin(\pi) = 0$
- Not onto: The range is only $[-1, 1]$, not all of $\mathbb{R}$.
ฟังก์ชันประกอบ Composite Functions
ฟังก์ชันประกอบ หรือ Composite Function คือการนำผลลัพธ์ที่ได้จากฟังก์ชันหนึ่ง ไปเป็นโดเมน (ตัวตั้งต้น) ให้อีกฟังก์ชันหนึ่งกระทำต่อ เขียนแทนด้วย $(g \circ f)(x)$ อ่านว่า "จีโอเอฟเอกซ์"
ข้อควรระวัง: จะสร้างได้ก็ต่อเมื่อ เรนจ์ของตัวใน ต้องมีส่วนเกี่ยวซ้อน (Intersect) กับโดเมนของตัวนอก ($R_f \cap D_g \neq \emptyset$)
A Composite Function takes the output of one function and uses it as the input for another function. Denoted as $(g \circ f)(x)$, read as "g circle f of x".
Condition: It exists only if the Range of the inner function intersects with the Domain of the outer function ($R_f \cap D_g \neq \emptyset$).
จงหาค่าของ $(g \circ f)(5)$
Evaluate $(g \circ f)(5)$
จงหารูปแบบของ $(f \circ g)(x)$
Find the expression for $(f \circ g)(x)$
จากข้อ 4.2 จงหา $(g \circ f)(x)$ เพื่อเทียบกัน
สรุปได้ว่า $(f \circ g)(x) \neq (g \circ f)(x)$ เสมอไป
From Ex 4.2, find $(g \circ f)(x)$ to compare.
Therefore, $(f \circ g)(x) \neq (g \circ f)(x)$ in general.
ฟังก์ชันผกผัน Inverse Functions
ฟังก์ชันผกผัน หรือ อินเวอร์ส (เขียนแทนด้วย $f^{-1}$) คือการสลับที่ระหว่างตัวแปรต้น ($x$) และตัวแปรตาม ($y$) กระบวนการนี้จะเปลี่ยน โดเมนของ $f$ ให้กลายเป็นเรนจ์ของ $f^{-1}$ และกลับกัน
เงื่อนไขสำคัญ: ฟังก์ชัน $f$ จะมีอินเวอร์สที่เป็นฟังก์ชันได้ ก็ต่อเมื่อ $f$ ต้องเป็น ฟังก์ชัน 1-1 เท่านั้น
An Inverse Function (denoted $f^{-1}$) reverses the roles of the independent variable ($x$) and the dependent variable ($y$). The Domain of $f$ becomes the Range of $f^{-1}$, and vice versa.
Crucial Condition: A function $f$ has an inverse function ONLY IF $f$ is a One-to-One function.
เพียงแค่สลับตำแหน่งหน้า-หลังของแต่ละคู่อันดับ
Simply swap the x and y coordinates of each ordered pair.
วิธีทำ: 1) เปลี่ยน $f(x)$ เป็น $y$
2) สลับ $x$ และ $y$
3)
จัดรูปสมการในเทอม $y$ ใหม่
Steps: 1) Change $f(x)$ to $y$
2) Swap $x$ and $y$
3) Solve for $y$
กราฟของ $f^{-1}(x)$ จะสมมาตรกับกราฟของ $f(x)$ โดยสะท้อนผ่านเส้นตรง $y = x$ เสมอ
The graph of $f^{-1}(x)$ is always symmetrical to $f(x)$, reflected across the line $y = x$.
สมบัติสำคัญคือ $(f \circ f^{-1})(x) = x$ และ $(f^{-1} \circ f)(x) = x$
ทดสอบจากข้อ 5.2:
$f(x) = 3x - 4$ และ $f^{-1}(x) = \frac{x + 4}{3}$
กลับสู่ค่า x ตั้งต้นเสมอ!
Crucial property: $(f \circ f^{-1})(x) = x$ and $(f^{-1} \circ f)(x) = x$
Testing from Ex
5.2: $f(x) = 3x - 4$ and $f^{-1}(x) = \frac{x + 4}{3}$
Always returns to the initial value x!
ฟังก์ชันเพิ่มและฟังก์ชันลด Increasing & Decreasing Functions
การพิจารณาว่าฟังก์ชันเป็น ฟังก์ชันเพิ่ม (Increasing) หรือ ฟังก์ชันลด (Decreasing) บนช่วงใดช่วงหนึ่ง ทำได้โดยการตรวจสอบการเปลี่ยนแปลงของค่า $y$ เมื่อค่า $x$ เพิ่มขึ้น
- ฟังก์ชันเพิ่ม: ถ้า $x_1 < x_2$ แล้ว $f(x_1) < f(x_2)$
($x$ เพิ่ม $y$ ก็เพิ่มตาม กราฟพุ่งขึ้น) - ฟังก์ชันลด: ถ้า $x_1 < x_2$ แล้ว $f(x_1)> f(x_2)$
($x$ เพิ่ม แต่ $y$ กลับลดลง กราฟดิ่งลง)
Determining whether a function is Increasing or Decreasing on an interval involves checking how the $y$-value changes as the $x$-value increases.
- Increasing: If $x_1 < x_2$, then $f(x_1) < f(x_2)$
(As $x$ increases, $y$ increases. Graph goes up.) - Decreasing: If $x_1 < x_2$, then $f(x_1)> f(x_2)$
(As $x$ increases, $y$ decreases. Graph goes down.)
สรุป: เป็นฟังก์ชันเพิ่ม (Increasing Function)
Conclusion: It is an increasing function (Increasing Function)
สรุป: เป็นฟังก์ชันลด (Decreasing Function)
Conclusion: It is a decreasing function (Decreasing Function)
เราสามารถสังเกตความชันของกราฟจากซ้ายไปขวาได้
We can observe the slope of the graph from left to right.
ฟังก์ชันบางชนิดอาจเป็นทั้งฟังก์ชันเพิ่มและลดในช่วงที่ต่างกัน เช่น $f(x) = x^2$
- ช่วง $(-\infty, 0]$ : เป็น ฟังก์ชันลด (กราฟดิ่งลง)
- ช่วง $[0, \infty)$ : เป็น ฟังก์ชันเพิ่ม (กราฟพุ่งขึ้น)
Some functions can be both increasing and decreasing on different intervals, e.g., $f(x) = x^2$.
- Interval $(-\infty, 0]$ : It is a Decreasing function (Graph goes down)
- Interval $[0, \infty)$ : It is an Increasing function (Graph goes up)
พิจารณาฟังก์ชัน $f(x) = a^x$ (เอกซ์โพเนนเชียล)
(ฐานมากกว่า 1 ยิ่งยกกำลังเยอะยิ่งค่ามาก, ฐานน้อยกว่า 1 ยิ่งยกกำลังเยอะค่ายิ่งน้อย)
Consider the function $f(x) = a^x$ (Exponential).
(Base greater than 1: higher exponent yields larger value; Base less than 1: higher exponent yields smaller value)
คำศัพท์ที่น่าสนใจ Key Vocabulary
คำศัพท์คณิตศาสตร์ภาษาอังกฤษ พร้อมรากศัพท์
| คำศัพท์ | รากศัพท์ / Root | ความหมาย / Meaning |
|---|---|---|
| Injective | in- (into) + jacere (to throw) | ฟังก์ชันหนึ่งต่อหนึ่ง (One-to-One) · แต่ละ x ให้ y ที่ต่างกันเสมอ |
| Surjective | sur- (over/above) + jacere | ฟังก์ชันทั่วถึง (Onto) · สมาชิกในโคโดเมนถูกจับคู่ครบทุกตัว (เรนจ์ = โคโดเมน) |
| Bijective | bi- (two/both) | ฟังก์ชันหนึ่งต่อหนึ่งแบบทั่วถึง · มีสมบัติทั้ง Injective และ Surjective |
| Composite | com- (together) + ponere (put) | ฟังก์ชันประกอบ · การนำฟังก์ชันมาซ้อนกัน เกิดเป็นฟังก์ชันใหม่ |
| Inverse | in- (in/towards) + vertere (to turn) | ฟังก์ชันผกผัน · กระบวนการย้อนกลับของฟังก์ชัน สลับ x และ y |
| Codomain | co- (together/with) + domain | โคโดเมน (เซตเป้าหมาย) · เซตของผลลัพธ์ทั้งหมดที่เป็นไปได้ (อาจมีตัวที่ไม่ได้ใช้) |
| Increasing Function | in- (in/on) + crescere (to grow) | ฟังก์ชันเพิ่ม · ค่า $y$ เพิ่มขึ้นเมื่อค่า $x$ เพิ่มขึ้น (กราฟเฉียงขึ้น) |
| Decreasing Function | de- (down/away) + crescere (to grow) | ฟังก์ชันลด · ค่า $y$ ลดลงเมื่อค่า $x$ เพิ่มขึ้น (กราฟเฉียงลง) |
| Interval | inter- (between) + vallum (wall) | ช่วง · ขอบเขตของเซตจำนวนจริงที่ใช้พิจารณาคุณสมบัติของฟังก์ชัน |