TH

ฟังก์ชันไม่ใช่แค่การจับคู่ธรรมดา แต่ยังมี รูปแบบและสมบัติเฉพาะตัว ที่ทำให้เราสามารถจำแนกฟังก์ชันออกเป็นประเภทต่างๆ ได้ เช่น การจับคู่แบบตัวต่อตัว การจับคู่ที่ครอบคลุมผลลัพธ์ทั้งหมด การนำฟังก์ชันมาซ้อนกัน และการย้อนกลับกระบวนการของฟังก์ชัน

EN

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.

1

ฟังก์ชันหนึ่งต่อหนึ่ง / One-to-One Function (Injective)

TH

ฟังก์ชัน $f$ จาก $A$ ไป $B$ เป็น ฟังก์ชันหนึ่งต่อหนึ่ง (1-1) ก็ต่อเมื่อ สมาชิกในโดเมน ($x$) ที่ต่างกัน จะต้องให้ผลลัพธ์ในเรนจ์ ($y$) ที่ต่างกันเสมอ ห้ามมี $y$ ซ้ำเด็ดขาด

$\text{นิยาม: ถ้า } f(x_1) = f(x_2) \text{ แล้ว } x_1 = x_2$
EN

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$.

$\text{Definition: If } f(x_1) = f(x_2) \text{ then } x_1 = x_2$
Example 1.1: Set of Pairs
$f = \{(1, 4), (2, 5), (3, 6)\}$

เป็นฟังก์ชัน 1-1 เพราะค่า $y$ (คือ $4, 5, 6$) ไม่มีการซ้ำกันเลย

Is 1-1 because the $y$-values ($4, 5, 6$) do not repeat.

Example 1.2: Mapping Diagram
A a b c B 1 2 3

ทุกเส้นลูกศรชี้ไปที่เป้าหมายในเซต B แบบไม่ซ้ำกันเลย

Every arrow points to a unique target in set B.

Example 1.3: Algebraic Proof (Linear)

จงตรวจสอบว่า $f(x) = 2x + 3$ เป็นฟังก์ชัน 1-1 หรือไม่

Determine if $f(x) = 2x + 3$ is a 1-1 function.

$$ \begin{aligned} \text{สมมติให้ } f(x_1) &= f(x_2) \\ 2x_1 + 3 &= 2x_2 + 3 \\ 2x_1 &= 2x_2 \\ x_1 &= x_2 \end{aligned} $$

สรุปได้ว่า $x_1 = x_2$ ดังนั้น เป็นฟังก์ชัน 1-1

Since it concludes with $x_1 = x_2$, it is 1-1.

Example 1.4: Horizontal Line Test

ฟังก์ชันกำลังสอง $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.

$\text{เช่น } f(2) = 4 \text{ และ } f(-2) = 4$
Example 1.5: Algebraic Proof (Cubic)

จงตรวจสอบ $f(x) = x^3$

Check $f(x) = x^3$

$$ \begin{aligned} f(x_1) &= f(x_2) \\ x_1^3 &= x_2^3 \\ \sqrt[3]{x_1^3} &= \sqrt[3]{x_2^3} \\ x_1 &= x_2 \end{aligned} $$

เป็นฟังก์ชัน 1-1 (Is 1-1)

2

ฟังก์ชันทั่วถึง / Onto Function (Surjective)

TH

ฟังก์ชันจาก $A$ ไปทั่วถึง $B$ (เขียนแทนด้วย $f: A \xrightarrow{\text{onto}} B$) คือฟังก์ชันที่ใช้สมาชิกในโคโดเมน (เซต $B$) ครบทุกตัว ไม่มีเหลือทิ้ง

$\text{นิยาม: เรนจ์เท่ากับโคโดเมน } (R_f = B)$
EN

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.

$\text{Definition: Range equals Codomain } (R_f = B)$
Example 2.1: Mapping Diagram
A a b c B 1 2

สมาชิกใน 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).

Example 2.2: Sets Comparison
$$ \begin{aligned} \text{กำหนด } A &= \{1, 2, 3\}, \quad B = \{x, y, z\} \\ f &= \{(1, x), (2, x), (3, y)\} \end{aligned} $$

เรนจ์ $R_f = \{x, y\}$ ซึ่งไม่เท่ากับ $B$ เพราะขาด $z$
ดังนั้น ไม่เป็นฟังก์ชันทั่วถึง

Range $R_f = \{x, y\}$ which does not equal $B$ (missing $z$).
Therefore, NOT onto.

Example 2.3: Linear Function on Reals

ให้ $f: \mathbb{R} \to \mathbb{R}$ โดยที่ $f(x) = x - 5$

Let $f: \mathbb{R} \to \mathbb{R}$ where $f(x) = x - 5$

$\text{หาเรนจ์: } y = x - 5 \implies x = y + 5$

$y$ สามารถเป็นจำนวนจริงได้ทุกค่า ดังนั้น $R_f = \mathbb{R}$ (เท่ากับโคโดเมน) เป็นฟังก์ชันทั่วถึง

$y$ can be any real number. Thus $R_f = \mathbb{R}$ (equals codomain). It is onto.

Example 2.4: Quadratic on Reals

ให้ $f: \mathbb{R} \to \mathbb{R}$ โดยที่ $f(x) = x^2$

Let $f: \mathbb{R} \to \mathbb{R}$ where $f(x) = x^2$

$\text{เรนจ์ของ } x^2 \text{ คือ } y \ge 0 \implies R_f = [0, \infty)$

แต่โคโดเมนกำหนดมาคือ $\mathbb{R}$ (จำนวนจริงทั้งหมด)
ดังนั้น ไม่เป็นฟังก์ชันทั่วถึง เพราะ $y$ ติดลบไม่ได้

But the defined codomain is $\mathbb{R}$.
Therefore, NOT onto because $y$ cannot be negative.

Example 2.5: Adjusting the Codomain

จากข้อ 2.4 หากเราเปลี่ยนการระบุโคโดเมนใหม่ เป็น $f: \mathbb{R} \to [0, \infty)$ โดย $f(x) = x^2$

From Ex 2.4, if we redefine the codomain to $f: \mathbb{R} \to [0, \infty)$ where $f(x) = x^2$

ตอนนี้เรนจ์คือ $[0, \infty)$ ซึ่ง เท่ากับ โคโดเมนที่กำหนดให้ใหม่แล้ว ดังนั้นในกรณีนี้ เป็นฟังก์ชันทั่วถึง

Now the range $[0, \infty)$ equals the newly defined codomain. In this specific case, it is onto.

3

ฟังก์ชันหนึ่งต่อหนึ่งแบบทั่วถึง / Bijective Function

TH

ฟังก์ชันที่เป็น สมบูรณ์แบบที่สุด คือเป็นทั้ง 1-1 (ห้ามซ้ำ) และ ทั่วถึง (ห้ามเหลือ) ทำให้จำนวนสมาชิกของโดเมนและเรนจ์ต้องจับคู่กันแบบเป๊ะๆ ฟังก์ชันประเภทนี้จะสามารถหาฟังก์ชันผกผัน (Inverse) ได้เสมอ

EN

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.

Example 3.1: Perfect Matching Diagram
a b c 1 2 3

(จับคู่แบบ 1 ต่อ 1 และไม่มีใครในเซต B ว่างเลย)

Example 3.2: Linear Function

$f: \mathbb{R} \to \mathbb{R}$ โดยที่ $f(x) = 3x - 1$

$f: \mathbb{R} \to \mathbb{R}$ where $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)

Example 3.3: Exponential

$f(x) = 2^x$ เป็น Bijective หรือไม่?

Is $f(x) = 2^x$ Bijective?

กราฟเอกซ์โพเนนเชียลเป็น 1-1 แน่นอน แต่เรนจ์คือ $(0, \infty)$
ดังนั้นจะเป็น Bijective ก็ต่อเมื่อระบุโคโดเมนคือ $f: \mathbb{R} \to (0, \infty)$ เท่านั้น

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)$.

Example 3.4: Radical Function

$f: [0, \infty) \to [0, \infty)$ กำหนดโดย $f(x) = \sqrt{x}$

$f: [0, \infty) \to [0, \infty)$ defined by $f(x) = \sqrt{x}$

เป็น 1-1 (ค่าในรูทไม่ซ้ำ ได้ผลลัพธ์ไม่ซ้ำ) และเป็นทั่วถึง (ได้ $y \ge 0$ ครบ)
เป็นฟังก์ชัน Bijective

Example 3.5: Counter-example (Sine)

$f: \mathbb{R} \to \mathbb{R}$ โดยที่ $f(x) = \sin(x)$

$f: \mathbb{R} \to \mathbb{R}$ where $f(x) = \sin(x)$

  • ไม่เป็น 1-1: เพราะกราฟเป็นคลื่นส่ายขึ้นลง $\sin(0) = \sin(\pi) = 0$
  • ไม่เป็นทั่วถึง: เพราะเรนจ์มีแค่ $[-1, 1]$ ไม่ครอบคลุม $\mathbb{R}$
  • 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}$.
4

ฟังก์ชันประกอบ / Composite Functions

TH

ฟังก์ชันประกอบ หรือ Composite Function คือการนำผลลัพธ์ที่ได้จากฟังก์ชันหนึ่ง ไปเป็นโดเมน (ตัวตั้งต้น) ให้อีกฟังก์ชันหนึ่งกระทำต่อ เขียนแทนด้วย $(g \circ f)(x)$ อ่านว่า "จีโอเอฟเอกซ์"

$$(g \circ f)(x) = g(f(x))$$

ข้อควรระวัง: จะสร้างได้ก็ต่อเมื่อ เรนจ์ของตัวใน ต้องมีส่วนเกี่ยวซ้อน (Intersect) กับโดเมนของตัวนอก ($R_f \cap D_g \neq \emptyset$)

EN

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".

$$(g \circ f)(x) = g(f(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$).

Example 4.1: Value Evaluation
$\text{กำหนดให้ } f(x) = 2x \text{ และ } g(x) = x + 3$

จงหาค่าของ $(g \circ f)(5)$

Evaluate $(g \circ f)(5)$

$$ \begin{aligned} (g \circ f)(5) &= g(f(5)) \\ &= g(2(5)) \\ &= g(10) \\ &= 10 + 3 \\ &= 13 \end{aligned} $$
Example 4.2: Finding the Expression
$\text{กำหนดให้ } f(x) = x^2 \text{ และ } g(x) = x - 4$

จงหารูปแบบของ $(f \circ g)(x)$

Find the expression for $(f \circ g)(x)$

$$ \begin{aligned} (f \circ g)(x) &= f(g(x)) \\ &= f(x - 4) \\ &= (x - 4)^2 \\ &= x^2 - 8x + 16 \end{aligned} $$
Example 4.3: Order Matters

จากข้อ 4.2 จงหา $(g \circ f)(x)$ เพื่อเทียบกัน

From Ex 4.2, find $(g \circ f)(x)$ to compare.

$$ \begin{aligned} (g \circ f)(x) &= g(f(x)) \\ &= g(x^2) \\ &= x^2 - 4 \end{aligned} $$

สรุปได้ว่า $(f \circ g)(x) \neq (g \circ f)(x)$ เสมอไป

Example 4.4: Self Composition
$\text{ให้ } f(x) = \frac{1}{x} \text{ จงหา } (f \circ f)(x)$
$$ \begin{aligned} (f \circ f)(x) &= f(f(x)) \\ &= f\left(\frac{1}{x}\right) \\ &= \frac{1}{\left(\frac{1}{x}\right)} \\ &= x \quad (\text{เมื่อ } x \neq 0) \end{aligned} $$
Example 4.5: Reverse Engineering
$\text{ถ้า } f(x) = 2x + 1 \text{ และ } (f \circ g)(x) = 4x - 5 \text{ จงหา } g(x)$
$$ \begin{aligned} f(g(x)) &= 4x - 5 \\ 2(g(x)) + 1 &= 4x - 5 \\ 2g(x) &= 4x - 6 \\ g(x) &= 2x - 3 \end{aligned} $$
5

ฟังก์ชันผกผัน / Inverse Functions

TH

ฟังก์ชันผกผัน หรือ อินเวอร์ส (เขียนแทนด้วย $f^{-1}$) คือการสลับที่ระหว่างตัวแปรต้น ($x$) และตัวแปรตาม ($y$) กระบวนการนี้จะเปลี่ยน โดเมนของ $f$ ให้กลายเป็นเรนจ์ของ $f^{-1}$ และกลับกัน

เงื่อนไขสำคัญ: ฟังก์ชัน $f$ จะมีอินเวอร์สที่เป็นฟังก์ชันได้ ก็ต่อเมื่อ $f$ ต้องเป็น ฟังก์ชัน 1-1 เท่านั้น

EN

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.

Example 5.1: Inverse of a Set
$$ \begin{aligned} f &= \{(1, 10), (2, 20), (3, 30)\} \\ f^{-1} &= \{(10, 1), (20, 2), (30, 3)\} \end{aligned} $$

เพียงแค่สลับตำแหน่งหน้า-หลังของแต่ละคู่อันดับ

Example 5.2: Finding Inverse Algebraically
$\text{จงหา } f^{-1}(x) \text{ เมื่อ } f(x) = 3x - 4$

วิธีทำ: 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$

$$ \begin{aligned} y &= 3x - 4 \\ x &= 3y - 4 \quad (\text{สลับ } x, y) \\ x + 4 &= 3y \\ y &= \frac{x + 4}{3} \\ \therefore f^{-1}(x) &= \frac{x + 4}{3} \end{aligned} $$
Example 5.3: Inverse of Rational Function
$\text{จงหา } f^{-1}(x) \text{ เมื่อ } f(x) = \frac{x}{x - 2}$
$$ \begin{aligned} y &= \frac{x}{x - 2} \\ x &= \frac{y}{y - 2} \quad (\text{สลับ } x, y) \\ x(y - 2) &= y \\ xy - 2x &= y \\ xy - y &= 2x \quad (\text{ดึง } y \text{ รวมกัน})\\ y(x - 1) &= 2x \\ y &= \frac{2x}{x - 1} \\ \therefore f^{-1}(x) &= \frac{2x}{x - 1} \end{aligned} $$
Example 5.4: Graphical Reflection

กราฟของ $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$.

y=x f(x) f⁻¹(x)
Example 5.5: Property Verification

สมบัติสำคัญคือ $(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}$

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}$

$$ \begin{aligned} f(f^{-1}(x)) &= f\left(\frac{x + 4}{3}\right) \\ &= 3\left(\frac{x + 4}{3}\right) - 4 \\ &= (x + 4) - 4 \\ &= x \end{aligned} $$

กลับสู่ค่า x ตั้งต้นเสมอ!

6

ฟังก์ชันเพิ่มและฟังก์ชันลด / Increasing & Decreasing Functions

TH

การพิจารณาว่าฟังก์ชันเป็น ฟังก์ชันเพิ่ม (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$ กลับลดลง กราฟดิ่งลง)
EN

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.)
Example 6.1: Algebraic Proof (Increasing)
$\text{จงแสดงว่า } f(x) = 3x - 5 \text{ เป็นฟังก์ชันเพิ่มบน } \mathbb{R}$
$$ \begin{aligned} \text{กำหนดให้ } x_1 &< x_2 \\ 3x_1 &< 3x_2 \quad (\text{คูณ 3 ทั้งสองข้าง เครื่องหมายอสมการไม่เปลี่ยน}) \\ 3x_1 - 5 &< 3x_2 - 5 \quad (\text{ลบ 5 ทั้งสองข้าง}) \\ f(x_1) &< f(x_2) \end{aligned} $$

สรุป: เป็นฟังก์ชันเพิ่ม (Increasing Function)

Example 6.2: Algebraic Proof (Decreasing)
$\text{จงแสดงว่า } f(x) = -2x + 1 \text{ เป็นฟังก์ชันลดบน } \mathbb{R}$
$$ \begin{aligned} \text{กำหนดให้ } x_1 &< x_2 \\ -2x_1 &> -2x_2 \quad (\text{คูณด้วยค่าติดลบ เครื่องหมายอสมการต้องกลับด้าน}) \\ -2x_1 + 1 &> -2x_2 + 1 \\ f(x_1) &> f(x_2) \end{aligned} $$

สรุป: เป็นฟังก์ชันลด (Decreasing Function)

Example 6.3: Graphical Interpretation

เราสามารถสังเกตความชันของกราฟจากซ้ายไปขวาได้

We can observe the slope of the graph from left to right.

x₁ x₂ ฟังก์ชันเพิ่ม (Up)
x₁ x₂ ฟังก์ชันลด (Down)
Example 6.4: Changing Behavior on Intervals

ฟังก์ชันบางชนิดอาจเป็นทั้งฟังก์ชันเพิ่มและลดในช่วงที่ต่างกัน เช่น $f(x) = x^2$

Some functions can be both increasing and decreasing on different intervals, e.g., $f(x) = x^2$.

  • ช่วง $(-\infty, 0]$ : เป็น ฟังก์ชันลด (กราฟดิ่งลง)
  • ช่วง $[0, \infty)$ : เป็น ฟังก์ชันเพิ่ม (กราฟพุ่งขึ้น)
Example 6.5: Exponential Functions

พิจารณาฟังก์ชัน $f(x) = a^x$ (เอกซ์โพเนนเชียล)

Consider the function $f(x) = a^x$ (Exponential).

$$ \begin{aligned} \text{ถ้า } a > 1 &\implies f(x) = 2^x \quad \text{เป็นฟังก์ชันเพิ่มบน } \mathbb{R} \\ \text{ถ้า } 0 < a < 1 &\implies f(x)=\left(\frac{1}{2}\right)^x \quad \text{เป็นฟังก์ชันลดบน } \mathbb{R} \end{aligned} $$

(ฐานมากกว่า 1 ยิ่งยกกำลังเยอะยิ่งค่ามาก, ฐานน้อยกว่า 1 ยิ่งยกกำลังเยอะค่ายิ่งน้อย)

คำศัพท์ที่น่าสนใจ / 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) ช่วง · ขอบเขตของเซตจำนวนจริงที่ใช้พิจารณาคุณสมบัติของฟังก์ชัน