Math Atlas

함수와 정의역Functions & Domains

Algebra 2Algebra 2 · 1. 함수의 개념과 변환1. Functions & Transformations

학습 목표
  • 함수를 "입력마다 출력이 정확히 하나인 대응"으로 정비하고, 세로선 검사로 판별한다.
  • f(a+h)f(a+h)까지 다루는 함수 표기의 유창성을 기른다.
  • 정의역의 관례(분모·제곱근)와 구간 표기법을 익히고, 치역을 읽는다.

함수를 다시, 제대로

Algebra 1에서 함수는 "식이 있고 그래프가 있는 것"이었다. 이 과정에서는 함수 자체가 주인공이다 — 앞으로 다항·유리·무리·지수·로그·삼각이라는 함수의 가족들을 하나씩 만나고, 매번 같은 질문을 던진다: 어디서 정의되는가, 그래프는 어떻게 생겼는가, 어떻게 변형되는가. 첫 차시는 그 질문들을 던질 언어를 정비한다.

정의함수, 정의역, 치역

함수(function)는 입력의 집합의 각 원소마다 출력을 정확히 하나 대응시키는 규칙이다. 허용되는 입력 전체의 집합이 정의역(domain), 실제로 나오는 출력 전체의 집합이 치역(range)이다.

핵심은 "정확히 하나"다. 입력 하나에 출력이 둘이면 함수가 아니다 — 예측 가능성이 함수라는 개념의 존재 이유이기 때문이다. 자판기에 같은 버튼을 눌렀는데 어떤 날은 콜라, 어떤 날은 사이다가 나온다면 그 자판기는 "함수가 아니다".

그래프로는 세로선 검사가 이 조건을 읽는다: 어떤 세로선을 그어도 그래프와 많아야 한 번 만나면 함수다 — 세로선 x=ax = a와의 교점이 곧 "입력 aa의 출력들"이므로.

x y O -6 -4 -2 2 4 6 -4 -2 2 4
세로선 하나가 원과는 두 번, 포물선과는 한 번 만난다 — 원은 함수가 아니다.
예제

x2+y2=25x^2 + y^2 = 25yyxx의 함수로 정의하지 않는다 — x=3x = 3y=4y = 4y=4y = -4가 둘 다 대응한다. 위 반원 y=25x2y = \sqrt{25 - x^2}만 떼어 내면 함수가 된다. 기하 과정의 원이 대수의 언어로 넘어올 때 반쪽씩 넘어오는 이유다.

표기 f(x)f(x): 이름과 자리

f(x)=x2+1f(x) = x^2 + 1에서 ff는 규칙의 이름, 괄호 속은 입력이 들어갈 자리다. 자리에 무엇을 넣든 규칙은 같다 — "넣은 것을 제곱하고 11을 더한다":

f(3)=32+1=10,f(2)=(2)2+1=5,f(2t)=(2t)2+1=4t2+1.f(3) = 3^2 + 1 = 10, \qquad f(-2) = (-2)^2 + 1 = 5, \qquad f(2t) = (2t)^2 + 1 = 4t^2 + 1.

자리에 을 넣는 것이 이 과정의 일상이 된다:

f(a+h)=(a+h)2+1=a2+2ah+h2+1.f(a + h) = (a+h)^2 + 1 = a^2 + 2ah + h^2 + 1.

주의

f(a+h)f(a + h)f(a)+hf(a) + h가 아니다 — 괄호는 곱셈이 아니라 대입이다. f(a+h)f(a+h)는 "입력 a+ha+h의 출력"이고, f(a)+hf(a) + h는 "입력 aa의 출력에 hh를 더한 것"이다. f(x)=x2f(x) = x^2으로 확인하면 f(1+1)=4f(1+1) = 4지만 f(1)+1=2f(1) + 1 = 2 — 표기 하나 차이가 값을 가른다.

정의역: 어디까지 넣을 수 있나

식만 주어지면 정의역은 관례로 정한다 — "식이 실수로 계산되는 모든 입력". 걸림돌은 두 가지뿐이다:

  1. 분모는 00이 될 수 없다.
  2. (짝수) 제곱근 안은 음수가 될 수 없다.
예제

f(x)=1x+2f(x) = \dfrac{1}{x + 2}의 정의역: x+20x + 2 \ne 0, 곧 x2x \ne -2.

g(x)=3xg(x) = \sqrt{3 - x}의 정의역: 3x03 - x \ge 0, 곧 x3x \le 3.

두 걸림돌이 겹치면 조건을 모두 만족해야 한다 — 교집합이다.

정의역과 치역을 적는 표준 표기가 구간 표기법이다. 끝점을 포함하면 대괄호, 제외하면 소괄호, 끝이 없으면 \infty(항상 소괄호):

부등식 구간 표기
2<x5-2 < x \le 5 (2,5](-2, 5]
x3x \le 3 (,3](-\infty, 3]
x2x \ne -2 (,2)(2,)(-\infty, -2) \cup (-2, \infty)

떨어진 두 조각은 합집합 기호 \cup로 잇는다 — 위 표의 셋째 줄이 f(x)=1x+2f(x) = \frac{1}{x+2}의 정의역이다.

치역: 무엇이 나오는가

치역은 정의역보다 한 수 어렵다 — "넣을 수 있는 것"이 아니라 "나올 수 있는 것"을 물으므로, 함수의 모양을 알아야 한다. 그래프가 있으면 세로 방향의 그림자(그래프가 차지하는 yy값 전체)를 읽으면 된다.

예제

y=(x2)24y = (x - 2)^2 - 4의 치역을 구하자. 제곱은 00 이상이므로

(x2)20    y4(x-2)^2 \ge 0 \;\Longrightarrow\; y \ge -4

이고, x=2x = 2에서 y=4y = -4가 실제로 나온다 — 치역은 [4,)[-4, \infty). 꼭짓점꼴이 최솟값을 그대로 읽어 주는 것이다(Algebra 1의 포물선이 첫 출근을 했다).

![y = (x−2)² − 4 — 그래프의 세로 그림자가 치역 −4, ∞)다.

이 차시의 언어 — 대응·표기·정의역·치역·구간 — 는 앞으로 모든 단원에서 쓰인다. 새 함수 가족을 만날 때마다 첫 질문은 언제나 같다: 정의역은 어디까지이고, 치역은 무엇인가.

Goals
  • Sharpen the definition of a function — "exactly one output per input" — and test it with vertical lines.
  • Build fluency with function notation, up through f(a+h)f(a+h).
  • Learn the domain conventions (denominators, roots) and interval notation, and read ranges.

Functions, properly this time

In Algebra 1 a function was "a formula with a graph." In this course the function itself is the protagonist — ahead lie the families of functions (polynomial, rational, radical, exponential, logarithmic, trigonometric), and each will face the same questions: where is it defined, what does its graph look like, how does it transform. The first lesson equips the language for asking them.

Definitionfunction, domain, range

A function is a rule assigning to each element of an input set exactly one output. The set of all allowed inputs is the domain; the set of all outputs actually produced is the range.

The heart is "exactly one." One input with two outputs is not a function — predictability is the concept's reason for existing. A vending machine that gives cola some days and soda others for the same button is "not a function."

On graphs, the vertical line test reads this condition: a graph depicts a function exactly when every vertical line meets it at most once — because the intersections with x=ax = a are precisely "the outputs of input aa."

x y O -6 -4 -2 2 4 6 -4 -2 2 4
One vertical line meets the circle twice, the parabola once — the circle is not a function.
Example

The circle x2+y2=25x^2 + y^2 = 25 does not define yy as a function of xx — the input x=3x = 3 is assigned both y=4y = 4 and y=4y = -4. Cut off the upper semicircle y=25x2y = \sqrt{25 - x^2} and a function appears. This is why circles from geometry cross into algebra half at a time.

The notation f(x)f(x): a name and a slot

In f(x)=x2+1f(x) = x^2 + 1, the letter ff is the rule's name, and the parentheses hold a slot for the input. Whatever fills the slot, the rule is unchanged — "square it and add 11":

f(3)=32+1=10,f(2)=(2)2+1=5,f(2t)=(2t)2+1=4t2+1.f(3) = 3^2 + 1 = 10, \qquad f(-2) = (-2)^2 + 1 = 5, \qquad f(2t) = (2t)^2 + 1 = 4t^2 + 1.

Filling the slot with an expression becomes daily practice in this course:

f(a+h)=(a+h)2+1=a2+2ah+h2+1.f(a + h) = (a+h)^2 + 1 = a^2 + 2ah + h^2 + 1.

Watch out

f(a+h)f(a + h) is not f(a)+hf(a) + h — the parentheses mean substitution, not multiplication. f(a+h)f(a+h) is "the output of the input a+ha+h"; f(a)+hf(a) + h is "the output of aa, plus hh." Check with f(x)=x2f(x) = x^2: f(1+1)=4f(1+1) = 4 but f(1)+1=2f(1) + 1 = 2 — one notational slip changes the value.

Domain: how far inputs may go

Given only a formula, the domain follows a convention — "every input for which the formula computes a real number." Only two obstacles exist:

  1. A denominator cannot be 00.
  2. An even root cannot hold a negative.
Example

The domain of f(x)=1x+2f(x) = \dfrac{1}{x + 2}: x+20x + 2 \ne 0, i.e. x2x \ne -2.

The domain of g(x)=3xg(x) = \sqrt{3 - x}: 3x03 - x \ge 0, i.e. x3x \le 3.

When both obstacles appear, every condition must hold — an intersection.

The standard script for domains and ranges is interval notation — brackets for included endpoints, parentheses for excluded, and \infty (always with a parenthesis) for unbounded ends:

inequality interval
2<x5-2 < x \le 5 (2,5](-2, 5]
x3x \le 3 (,3](-\infty, 3]
x2x \ne -2 (,2)(2,)(-\infty, -2) \cup (-2, \infty)

Disconnected pieces join with the union symbol \cup — the table's third row is the domain of f(x)=1x+2f(x) = \frac{1}{x+2}.

Range: what comes out

The range runs one degree harder than the domain — it asks not "what may go in" but "what can come out," which requires knowing the function's shape. With a graph, read its vertical shadow — the set of all yy-values the graph occupies.

Example

Find the range of y=(x2)24y = (x - 2)^2 - 4. A square is never negative, so

(x2)20    y4,(x-2)^2 \ge 0 \;\Longrightarrow\; y \ge -4,

and y=4y = -4 actually occurs at x=2x = 2 — the range is [4,)[-4, \infty). Vertex form reads off the minimum directly (Algebra 1's parabola, clocking in for its first shift here).

![y = (x−2)² − 4 — the graph's vertical shadow is the range −4, ∞).

This lesson's language — assignment, notation, domain, range, intervals — works every unit from here on. Each new family of functions will open with the same first question: what is the domain, and what is the range?