プリンピキア

第3章関数Functions

3.1 関数とその表記

Determining Whether a Relation Represents a Functionある関係が関数を表しているかどうかを判定する

A relation is a set of ordered pairs. The set of the first components of each ordered pair is called the domain and the set of the second components of each ordered pair is called the range. Consider the following set of ordered pairs. The first numbers in each pair are the first five natural numbers. The second number in each pair is twice that of the first.

関係とは、順序対の集合である。それぞれの順序対の第1成分を集めた集合を定義域、第2成分を集めた集合を値域という。次の順序対の集合を見てみよう。第1成分には最初の5つの自然数が並び、第2成分はそれぞれ第1成分の2倍になっている。

{(1,2),(2,4),(3,6),(4,8),(5,10)}

The domain is {1,2,3,4,5}. The range is {2,4,6,8,10}.

定義域は {1,2,3,4,5} である。値域は {2,4,6,8,10} である。

Note that each value in the domain is also known as an input value, or independent variable, and is often labeled with the lowercase letter x. Each value in the range is also known as an output value, or dependent variable, and is often labeled lowercase letter y.

定義域の各値は入力値、すなわち独立変数ともいい、しばしば小文字の x で表すことに注意せよ。値域の各値は出力値、すなわち従属変数ともいい、しばしば小文字の y で表す。

A function f is a relation that assigns a single value in the range to each value in the domain. In other words, no x-values are repeated. For our example that relates the first five natural numbers to numbers double their values, this relation is a function because each element in the domain, {1,2,3,4,5}, is paired with exactly one element in the range, {2,4,6,8,10}.

関数 f とは、定義域の各値に値域のただ一つの値を割り当てる関係である。言い換えると、同じ x の値が二度現れない。最初の五つの自然数を、その2倍の数に対応させた先ほどの例では、定義域の各要素 {1,2,3,4,5} が値域のちょうど一つの要素 {2,4,6,8,10} と組になるので、この関係は関数である。

Now let’s consider the set of ordered pairs that relates the terms “even” and “odd” to the first five natural numbers. It would appear as

今度は、「偶数」と「奇数」という語を最初の五つの自然数に対応させた順序対の集合を考えよう。次のようになる。

{ (odd,1),(even,2),(odd,3),(even,4),(odd,5) }

Notice that each element in the domain, {even,odd} is not paired with exactly one element in the range, {1,2,3,4,5}. For example, the term “odd” corresponds to three values from the range, {1,3,5} and the term “even” corresponds to two values from the range, {2,4}. This violates the definition of a function, so this relation is not a function.

定義域の各要素 {even,奇数} が、値域 {1,2,3,4,5} のちょうど一つの要素と組になっていないことに注意せよ。たとえば「奇数」という語は値域の三つの値 {1,3,5} に対応し、「偶数」という語は二つの値 {2,4} に対応する。これは関数の定義に反するので、この関係は関数ではない。

Figure 1 compares relations that are functions and not functions.

図1では、関数である関係と関数でない関係を並べて比べている。

Three relations that demonstrate what constitute a function.
Figure 1 (a) This relationship is a function because each input is associated with a single output. Note that input q and r both give output n. (b) This relationship is also a function. In this case, each input is associated with a single output. (c) This relationship is not a function because input q is associated with two different outputs.図1 (a) この関係は、どの入力もただ一つの出力と結びついているので関数である。入力 qr がどちらも出力 n を与えていることに注意せよ。(b) この関係も関数である。この場合も、どの入力もただ一つの出力と結びついている。(c) この関係は、入力 q が二つの違う出力と結びついているので関数ではない。

Function 関数

A function is a relation in which each possible input value leads to exactly one output value. We say “the output is a function of the input.”

関数とは、ありうる入力値のそれぞれが、ちょうど一つの出力値に至る関係である。「出力は入力の関数である」という。

The input values make up the domain, and the output values make up the range.

入力値の集まりが定義域、出力値の集まりが値域である。

How To 手順

Given a relationship between two quantities, determine whether the relationship is a function.

二つの量のあいだの関係が与えられたとき、それが関数かどうかを判定する。

1. Identify the input values.2. Identify the output values.3. If each input value leads to only one output value, classify the relationship as a function. If any input value leads to two or more outputs, do not classify the relationship as a function.

1. 入力値を見分ける。2. 出力値を見分ける。3. どの入力値もただ一つの出力値にしか至らないなら、その関係を関数と判定する。ある入力値が二つ以上の出力に至るなら、関数とはしない。

Example 1例1

Determining If Menu Price Lists Are Functions品書きの値段が関数かどうかを判定する

The coffee shop menu, shown below, consists of items and their prices.
Is price a function of the item?
Is the item a function of the price?

下に示す喫茶店の品書きは、品物とその値段からなる。値段は品物の関数か。品物は値段の関数か。

A menu of donut prices from a coffee shop where a plain donut is $1.49 and a jelly donut and chocolate donut are $1.99.

Solution 解答

Let’s begin by considering the input as the items on the menu. The output values are then the prices.

まず、品書きの品物を入力と考えよう。すると出力値は値段になる。

A menu of donut prices from a coffee shop where a plain donut is $1.49 and a jelly donut and chocolate donut are $1.99.

Each item on the menu has only one price, so the price is a function of the item.
ⓑ Two items on the menu have the same price. If we consider the prices to be the input values and the items to be the output, then the same input value could have more than one output associated with it. See the image below.

品書きの各品物には値段が一つしかないので、値段は品物の関数である。ⓑ 品書きの二つの品物は値段が同じである。値段を入力値、品物を出力と考えると、同じ入力値に二つ以上の出力が結びつきうる。下の図を見よ。

Association of the prices to the donuts.


Therefore, the item is a not a function of price.

よって品物は値段の関数ではない。

Example 2例2

Determining If Class Grade Rules Are Functions成績の規則が関数かどうかを判定する

In a particular math class, the overall percent grade corresponds to a grade point average. Is grade point average a function of the percent grade? Is the percent grade a function of the grade point average? Table 1 shows a possible rule for assigning grade points.

ある数学の講義では、総合の百分率の成績が成績平均点に対応している。成績平均点は百分率の成績の関数か。百分率の成績は成績平均点の関数か。表1に、成績点を割り当てる規則の一例を示す。

Percent grade百分率の成績0–5657–6162–6667–7172–7778–8687–9192–100
Grade point average成績平均点0.01.01.52.02.53.03.54.0

Solution 解答

For any percent grade earned, there is an associated grade point average, so the grade point average is a function of the percent grade. In other words, if we input the percent grade, the output is a specific grade point average.

どの百分率の成績にも、対応する成績平均点が一つある。よって成績平均点は百分率の成績の関数である。言い換えると、百分率の成績を入れれば、出力は決まった成績平均点になる。

In the grading system given, there is a range of percent grades that correspond to the same grade point average. For example, students who receive a grade point average of 3.0 could have a variety of percent grades ranging from 78 all the way to 86. Thus, percent grade is not a function of grade point average.

この成績の仕組みでは、同じ成績平均点に対応する百分率の成績が幅を持つ。たとえば成績平均点3.0を受け取る学生の百分率の成績は、78から86までさまざまでありうる。よって百分率の成績は成績平均点の関数ではない。

Try It #1やってみよう1

Table 21 lists the five greatest baseball players of all time in order of rank.

表21に、史上もっとも優れた野球選手を順位順に五人挙げる。

1

http://www.baseball-almanac.com/legendary/lisn100.shtml

. Accessed 3/24/2014.

閲覧日:2014年3月24日。

Player選手Rank順位
Babe Ruth1
Willie Mays2
Ty Cobb3
Walter Johnson4
Hank Aaron5

Is the rank a function of the player name?Is the player name a function of the rank?

順位は選手名の関数か。選手名は順位の関数か。

Using Function Notation関数の表記を使う

Once we determine that a relationship is a function, we need to display and define the functional relationships so that we can understand and use them, and sometimes also so that we can program them into computers. There are various ways of representing functions. A standard function notation is one representation that facilitates working with functions.

ある関係が関数だと分かったら、それを理解して使えるように、また計算機に組み込めるように、関数としての関係を示し定める必要がある。関数の表し方はいろいろある。決まった関数の表記は、関数を扱いやすくする表し方の一つである。

To represent “height is a function of age,” we start by identifying the descriptive variables h for height and a for age. The letters f,g, and h are often used to represent functions just as we use x,y, and z to represent numbers and A,B, and C to represent sets.

「身長は年齢の関数である」を表すには、まず身長を h、年齢を a という、中身を思わせる変数で表す。数を x,yz で、集合を A,BC で表すのと同じように、関数を表すのにはしばしば f,gh を使う。

his fof a We name the function f;height is a function of age. h=f(a) We use parentheses to indicate the function input f(a) We name the function f;the expression is read as “fof a.”

Remember, we can use any letter to name the function; the notation h( a ) shows us that h depends on a. The value a must be put into the function h to get a result. The parentheses indicate that age is input into the function; they do not indicate multiplication.

関数の名前にはどの文字を使ってもよいことを覚えておこう。書き方 h( a ) は、ha に依ることを示している。結果を得るには、値 a を関数 h に入れなければならない。括弧は年齢がその関数に入力されることを示すのであって、掛け算を示すのではない。

We can also give an algebraic expression as the input to a function. For example f( a+b ) means “first add a and b, and the result is the input for the function f.” The operations must be performed in this order to obtain the correct result.

関数の入力として代数式を与えることもできる。たとえば f( a+b ) は「まず a と b を足し、その結果が関数 f への入力になる」という意味である。正しい結果を得るには、この順に計算しなければならない。

Function Notation 関数の表記

The notation y=f( x ) defines a function named f. This is read as y is a function of x. The letter x represents the input value, or independent variable. The letter y, or f( x ), represents the output value, or dependent variable.

書き方 y=f( x )f という名の関数を定める。これは「yx. の関数である」と読む。文字 x は入力値、すなわち独立変数を表す。文字 y または f( x ) は出力値、すなわち従属変数を表す。

Example 3例3

Using Function Notation for Days in a Month月の日数に関数の表記を使う

Use function notation to represent a function whose input is the name of a month and output is the number of days in that month. Assume that the domain does not include leap years.

月の名前を入力、その月の日数を出力とする関数を、関数の表記で表せ。定義域に閏年は含めないものとする。

Solution 解答

The number of days in a month is a function of the name of the month, so if we name the function f, we write days=f(month) or d=f(m). The name of the month is the input to a “rule” that associates a specific number (the output) with each input.

月の日数は月の名前の関数なので、この関数を f と名づければ days=f(month) すなわち d=f(m) と書ける。月の名前は、各入力に決まった数(出力)を結びつける「規則」への入力である。

The function 31 = f(January) where 31 is the output, f is the rule, and January is the input.

For example, f( March )=31, because March has 31 days. The notation d=f( m ) reminds us that the number of days, d (the output), is dependent on the name of the month, m (the input).

たとえば3月は31日あるので f( March )=31 である。書き方 d=f( m ) は、日数 d(出力)が月の名前 m(入力)に依ることを思い出させてくれる。

Analysis 考察

Note that the inputs to a function do not have to be numbers; function inputs can be names of people, labels of geometric objects, or any other element that determines some kind of output. However, most of the functions we will work with in this book will have numbers as inputs and outputs.

関数への入力は数でなくてもよいことに注意せよ。関数の入力は、人の名前でも、図形の名札でも、何らかの出力を決めるものなら何でもよい。ただし本書で扱う関数の大半は、入力も出力も数である。

Example 4例4

Interpreting Function Notation関数の表記を読み取る

A function N=f( y ) gives the number of police officers, N, in a town in year y. What does f( 2005 )=300 represent?

関数 N=f( y ) は、y 年におけるある町の警察官の数 N を与える。f( 2005 )=300 は何を表すか。

Solution 解答

When we read f( 2005 )=300, we see that the input year is 2005. The value for the output, the number of police officers ( N ), is 300. Remember, N=f( y ). The statement f( 2005 )=300 tells us that in the year 2005 there were 300 police officers in the town.

f( 2005 )=300 を読むと、入力の年が2005年だと分かる。出力である警察官の数 ( N ) の値は300である。N=f( y ) であることを思い出そう。f( 2005 )=300 という文は、2005年にこの町には警察官が300人いたことを教えてくれる。

Try It #2やってみよう2

Use function notation to express the weight of a pig in pounds as a function of its age in days d.

豚の体重(ポンド)を、日数で表した年齢 d の関数として、関数の表記で表せ。

Q&A 疑問と答え

Instead of a notation such as y=f(x), could we use the same symbol for the output as for the function, such as y=y(x), meaning “y is a function of x?”

y=f(x), のような書き方の代わりに、出力にも関数と同じ記号を使い、y=y(x), で「y は x の関数である」と表してよいだろうか。

Yes, this is often done, especially in applied subjects that use higher math, such as physics and engineering. However, in exploring math itself we like to maintain a distinction between a function such as f, which is a rule or procedure, and the output y we get by applying f to a particular input x. This is why we usually use notation such as y=f( x ),P=W( d ), and so on.

よい。とくに物理や工学のように高等な数学を使う応用の分野では、しばしばそうする。ただし数学そのものを調べるときは、規則や手続きとしての関数 f と、それをある入力 x に当てて得られる出力 y とを区別しておきたい。f を当てるのだから当然である。だからふつうは y=f( x ),P=W( d ) のような書き方を使う。

Representing Functions Using Tables表を使って関数を表す

A common method of representing functions is in the form of a table. The table rows or columns display the corresponding input and output values. In some cases, these values represent all we know about the relationship; other times, the table provides a few select examples from a more complete relationship.

関数を表すよくある方法が表である。表の行または列に、対応する入力値と出力値を並べる。その値がその関係について分かっていることのすべてである場合もあれば、より完全な関係の中からいくつか選んだ例を示している場合もある。

Table 3 lists the input number of each month (January = 1, February = 2, and so on) and the output value of the number of days in that month. This information represents all we know about the months and days for a given year (that is not a leap year). Note that, in this table, we define a days-in-a-month function f where D=f( m ) identifies months by an integer rather than by name.

表3に、各月の番号(1月 = 1、2月 = 2、以下同様)と、その月の日数という出力値を並べる。この情報が、ある年(閏年でない年)の月と日数について分かっていることのすべてである。この表では、月を名前ではなく整数で表す D=f( m ) を使って、月の日数の関数 f を定めていることに注意せよ。

Month number, m (input)月の番号 m(入力)123456789101112
Days in month, D (output)その月の日数 D(出力)312831303130313130313031

Table 4 defines a function Q=g( n ). Remember, this notation tells us that g is the name of the function that takes the input n and gives the output Q.

表4は関数 Q=g( n ) を定めている。この書き方は、g が入力 n を受け取って出力 Q を与える関数の名前であることを表していたのを思い出そう。

n12345
Q86768

Table 5 displays the age of children in years and their corresponding heights. This table displays just some of the data available for the heights and ages of children. We can see right away that this table does not represent a function because the same input value, 5 years, has two different output values, 40 in. and 42 in.

表5に、子どもの年齢と、それに対応する身長を示す。この表は、子どもの身長と年齢について得られる資料の一部だけを示している。同じ入力値である5歳に、40インチと42インチという二つの違う出力値があるので、この表が関数を表していないことはすぐに分かる。

Age in years, a (input)年齢(年) a(入力)55678910
Height in inches, h (output)身長(インチ) h(出力)40424447505254

How To 手順

Given a table of input and output values, determine whether the table represents a function.

入力値と出力値の表が与えられたとき、その表が関数を表しているかどうかを判定する。

1. Identify the input and output values.2. Check to see if each input value is paired with only one output value. If so, the table represents a function.

1. 入力値と出力値を見分ける。2. どの入力値も出力値ただ一つと組になっているかを確かめる。そうなら、その表は関数を表している。

Example 5例5

Identifying Tables that Represent Functions関数を表す表を見分ける

Which table, Table 6, Table 7, or Table 8, represents a function (if any)?

表6・表7・表8のうち、関数を表しているのはどれか(あれば)。

Input入力Output出力
21
53
86
Input入力Output出力
–35
01
45
Input入力Output出力
10
52
54

Solution 解答

Table 6 and Table 7 define functions. In both, each input value corresponds to exactly one output value. Table 8 does not define a function because the input value of 5 corresponds to two different output values.

表6と表7は関数を定めている。どちらも、各入力値がちょうど一つの出力値に対応している。表8は、入力値5が二つの違う出力値に対応しているので、関数を定めていない。

When a table represents a function, corresponding input and output values can also be specified using function notation.

表が関数を表しているときは、対応する入力値と出力値を関数の表記でも示せる。

The function represented by Table 6 can be represented by writing

表6が表す関数は、次のように書ける。

f(2)=1,f(5)=3,and f(8)=6

Similarly, the statements

同じように、次の言明が

g( 3 )=5,g( 0 )=1,and g( 4 )=5

represent the function in Table 7.

表7の関数を表す。

Table 8 cannot be expressed in a similar way because it does not represent a function.

表8は関数を表していないので、同じようには表せない。

Try It #3やってみよう3

Does Table 9 represent a function?

表9は関数を表しているか。

Input入力Output出力
110
2100
31000