プリンキピア

第1章関数とグラフ

Transformations of Functions関数の変換

We have seen several cases in which we have added, subtracted, or multiplied constants to form variations of simple functions. In the previous example, for instance, we subtracted 2 from the argument of the function y=x2 to get the function f(x)=(x−2)2. This subtraction represents a shift of the function y=x2 two units to the right. A shift, horizontally or vertically, is a type of transformation of a function. Other transformations include horizontal and vertical scalings, and reflections about the axes.
英語のヒント
ここまでにも、定数を足す、引く、掛けることで、簡単な関数を変形した例がいくつかあった。たとえば先ほどは、関数y=x2の引数から2を引いて、関数f(x)=(x−2)2を作った。この引き算は、y=x2のグラフを右に2だけ平行移動することを表す。水平方向・垂直方向の平行移動は、関数の変換の1種である。ほかにも、水平方向・垂直方向の拡大縮小や、座標軸についての対称移動がある。
A vertical shift of a function occurs if we add or subtract the same constant to each output y. For c>0, the graph of f(x)+c is a shift of the graph of f(x) up c units, whereas the graph of f(x)−c is a shift of the graph of f(x) down c units. For example, the graph of the function f(x)=x2+4 is the graph of y=x2 shifted up 4 units; the graph of the function f(x)=x2−4 is the graph of y=x2 shifted down 4 units (Figure 1.23).
英語のヒント
関数の出力yすべてに同じ定数を足す、または引くと、グラフは垂直方向に平行移動する。c>0に対し、f(x)+cのグラフはf(x)のグラフを上にcだけ移したものとなる。一方、f(x)−cのグラフはf(x)のグラフを下にcだけ移したものとなる。たとえば、f(x)=x2+4のグラフはy=x2を上に4だけ平行移動したもの、f(x)=x2−4のグラフはy=x2を下に4だけ平行移動したものである(図1.23)。
2つのグラフ。(a)はx軸が−4から4、y軸が−1から10。f(x) = x²は原点まで減少し、その後増加する放物線。f(x) = x² + 4は(0, 4)まで減少し、その後増加する。両者の形は同じで、後者は前者を上に4だけ移したものである。(b)はx軸が−4から4、y軸が−5から6。f(x) = x²とf(x) = x² − 4が描かれている。後者は(0, −4)まで減少し、その後増加する放物線で、前者を下に4だけ平行移動したものである。

OpenStax, Rice University; Calculus Volume 1. · CC BY-NC-SA 4.0

Figure 1.23図 1.23
(a) For c>0, the graph of y=f(x)+c is a vertical shift up c units of the graph of y=f(x). (b) For c>0, the graph of y=f(x)−c is a vertical shift down c units of the graph of y=f(x).
(a) c>0のとき、y=f(x)+cのグラフはy=f(x)のグラフを上にcだけ平行移動したものである。(b) c>0のとき、y=f(x)−cのグラフはy=f(x)のグラフを下にcだけ平行移動したものである。
A horizontal shift of a function occurs if we add or subtract the same constant to each input x. For c>0, the graph of f(x+c) is a shift of the graph of f(x) to the left c units; the graph of f(x−c) is a shift of the graph of f(x) to the right c units. Why does the graph shift left when adding a constant and shift right when subtracting a constant? To answer this question, let’s look at an example.
関数の入力xすべてに同じ定数を足す、または引くと、グラフは水平方向に平行移動する。c>0に対して、f(x+c)のグラフはf(x)のグラフを左にcだけ移したもの、f(x−c)のグラフはf(x)のグラフを右にcだけ移したものとなる。定数を足すと左へ、引くと右へ動くのはなぜだろうか。例で考えてみよう。
Consider the function f(x)=|x+3| and evaluate this function at x−3. Since f(x−3)=|x| and x−3<x, the graph of f(x)=|x+3| is the graph of y=|x| shifted left 3 units. Similarly, the graph of f(x)=|x−3| is the graph of y=|x| shifted right 3 units (Figure 1.24).
関数f(x)=|x+3|を考え、x−3での値を求める。f(x−3)=|x|かつx−3<xなので、f(x)=|x+3|のグラフはy=|x|のグラフを左に3だけ平行移動したものになる。同様に、f(x)=|x−3|のグラフはy=|x|のグラフを右に3だけ移したものである(図1.24)。
2つのグラフ。(a)はx軸が−8から5、y軸が−3から5。f(x) = |x|は原点まで直線的に減少し、その後直線的に増加するV字形。f(x) = |x + 3|も同じ形で、(−3, 0)まで減少してから増加し、前者を左に3だけ移したものである。(b)はx軸が−5から8、y軸が−3から5。f(x) = |x|と、それを右に3だけ移したf(x) = |x − 3|が描かれる。後者は(3, 0)まで直線的に減少し、その後直線的に増加する。

OpenStax, Rice University; Calculus Volume 1. · CC BY-NC-SA 4.0

Figure 1.24図 1.24
(a) For c>0, the graph of y=f(x+c) is a horizontal shift left c units of the graph of y=f(x). (b) For c>0, the graph of y=f(x−c) is a horizontal shift right c units of the graph of y=f(x).
(a) c>0のとき、y=f(x+c)のグラフはy=f(x)のグラフを左にcだけ平行移動したものである。(b) c>0のとき、y=f(x−c)のグラフはy=f(x)のグラフを右にcだけ平行移動したものである。
A vertical scaling of a graph occurs if we multiply all outputs y of a function by the same positive constant. For c>0, the graph of the function cf(x) is the graph of f(x) scaled vertically by a factor of c. If c>1, the values of the outputs for the function cf(x) are larger than the values of the outputs for the function f(x); therefore, the graph has been stretched vertically. If 0<c<1, then the outputs of the function cf(x) are smaller, so the graph has been compressed. For example, the graph of the function f(x)=3x2 is the graph of y=x2 stretched vertically by a factor of 3, whereas the graph of f(x)=x2/3 is the graph of y=x2 compressed vertically by a factor of 3 (Figure 1.25).
英語のヒント
関数の出力yすべてに同じ正の定数を掛けると、グラフは垂直方向に拡大・縮小される。c>0のとき、cf(x)のグラフはf(x)のグラフの縦座標をc倍したものである。c>1なら、cf(x)の出力はf(x)の出力より絶対値が大きくなり、グラフは垂直方向に引き伸ばされる。0<c<1なら、cf(x)の出力の絶対値は小さくなり、グラフは圧縮される。たとえば、f(x)=3x2のグラフはy=x2を垂直方向に3倍に伸ばしたもの、f(x)=x2/3のグラフはy=x2を垂直方向に3分の1に縮めたものである(図1.25)。
2つのグラフ。(a)はx軸が−3から3、y軸が−2から9。f(x) = x²とf(x) = 3x²は、どちらも原点まで減少してから増加する上向きの放物線で、後者は前者を縦に3倍に伸ばしたもの。原点から右へ進むと、後者のほうが速く増加する。(b)はx軸が−4から4、y軸が−2から9。f(x) = x²とf(x) = x²/3は同様の放物線で、後者は前者を縦に1/3に縮めたもの。後者の増え方は緩やかである。

OpenStax, Rice University; Calculus Volume 1. · CC BY-NC-SA 4.0

Figure 1.25図 1.25
(a) If c>1, the graph of y=cf(x) is a vertical stretch of the graph of y=f(x). (b) If 0<c<1, the graph of y=cf(x) is a vertical compression of the graph of y=f(x).
(a) c>1なら、y=cf(x)のグラフはy=f(x)のグラフを垂直方向に伸ばしたものである。(b) 0<c<1なら、y=cf(x)のグラフはy=f(x)のグラフを垂直方向に縮めたものである。
The horizontal scaling of a function occurs if we multiply the inputs x by the same positive constant. For c>0, the graph of the function f(cx) is the graph of f(x) scaled horizontally by a factor of c. If c>1, the graph of f(cx) is the graph of f(x) compressed horizontally. If 0<c<1, the graph of f(cx) is the graph of f(x) stretched horizontally. For example, consider the function f(x)=2x and evaluate f at x/2. Since f(x/2)=x, the graph of f(x)=2x is the graph of y=x compressed horizontally. The graph of y=x/2 is a horizontal stretch of the graph of y=x (Figure 1.26).
関数の入力xに同じ正の定数を掛けると、グラフは水平方向に拡大・縮小される。c>0のとき、f(cx)のグラフはf(x)のグラフの横座標をc分の1倍したものである。c>1なら、f(cx)のグラフはf(x)のグラフを水平方向に縮めたものになる。0<c<1なら、f(cx)のグラフはf(x)のグラフを水平方向に伸ばしたものになる。たとえば関数f(x)=2xを考え、x/2におけるfの値を求めよう。f(x/2)=xなので、f(x)=2xのグラフはy=xのグラフを水平方向に縮めたものになる。一方、y=x/2のグラフはy=xのグラフを水平方向に伸ばしたものである(図1.26)。
2つのグラフ。どちらもx軸が−2から4、y軸が−2から5。(a)のf(x) = √xとf(x) = √(2x)はどちらも原点から始まって増加し、後者のほうが速く増える。(b)のf(x) = √xとf(x) = √(x/2)も原点から始まって増加するが、後者のほうが緩やかに増える。

OpenStax, Rice University; Calculus Volume 1. · CC BY-NC-SA 4.0

Figure 1.26図 1.26
(a) If c>1, the graph of y=f(cx) is a horizontal compression of the graph of y=f(x). (b) If 0<c<1, the graph of y=f(cx) is a horizontal stretch of the graph of y=f(x).
(a) c>1なら、y=f(cx)のグラフはy=f(x)のグラフを水平方向に縮めたものである。(b) 0<c<1なら、y=f(cx)のグラフはy=f(x)のグラフを水平方向に伸ばしたものである。
We have explored what happens to the graph of a function f when we multiply f by a constant c>0 to get a new function cf(x). We have also discussed what happens to the graph of a function f when we multiply the independent variable x by c>0 to get a new function f(cx). However, we have not addressed what happens to the graph of the function if the constant c is negative. If we have a constant c<0, we can write c as a positive number multiplied by −1; but, what kind of transformation do we get when we multiply the function or its argument by −1? When we multiply all the outputs by −1, we get a reflection about the x-axis. When we multiply all inputs by −1, we get a reflection about the y-axis. For example, the graph of f(x)=−(x3+1) is the graph of y=(x3+1) reflected about the x-axis. The graph of f(x)=(−x)3+1 is the graph of y=x3+1 reflected about the y-axis (Figure 1.27).
英語のヒント
関数fに対し、fに定数c>0を掛けて新しい関数cf(x)を作るとグラフがどう変わるかを調べた。また、関数fの独立変数xにc>0を掛けて新しい関数f(cx)を作った場合も調べた。しかし、定数cが負の場合はまだ扱っていない。c<0なら、cは正の数に−1を掛けたものとして書ける。では、関数そのもの、あるいは引数に−1を掛けると、どのような変換になるだろうか。出力すべてに−1を掛けると、x軸についての対称移動となる。入力すべてに−1を掛けると、y軸についての対称移動となる。たとえば、f(x)=−(x3+1)のグラフはy=(x3+1)のグラフをx軸について反転したもの、f(x)=(−x)3+1のグラフはy=x3+1のグラフをy軸について反転したものである(図1.27)。
2つのグラフ。どちらもx軸が−3から3、y軸が−5から6。(a)のf(x) = x³ + 1は増加する曲線で、x軸との交点は(−1, 0)、y軸との交点は(0, 1)。f(x) = −(x³ + 1)はそのx軸対称の曲線で減少し、x軸との交点は(−1, 0)、y軸との交点は(0, −1)。(b)のf(x) = x³ + 1とf(x) = (−x)³ + 1はy軸について対称である。後者は減少し、x軸との交点は(1, 0)、y軸との交点は(0, 1)。同じxで見ると、前者の上がる率と後者の下がる率の大きさは等しい。

OpenStax, Rice University; Calculus Volume 1. · CC BY-NC-SA 4.0

Figure 1.27図 1.27
(a) The graph of y=−f(x) is the graph of y=f(x) reflected about the x-axis. (b) The graph of y=f(−x) is the graph of y=f(x) reflected about the
y-axis.
(a) y=−f(x)のグラフはy=f(x)のグラフをx軸について反転したものである。(b) y=f(−x)のグラフはy=f(x)のグラフをy軸について反転したものである。
If the graph of a function consists of more than one transformation of another graph, it is important to transform the graph in the correct order. Given a function f(x), the graph of the related function y=cf(a(x+b))+d can be obtained from the graph of y=f(x) by performing the transformations in the following order.
英語のヒント
別のグラフに複数の変換を施して関数のグラフを作るときは、変換の順序が重要である。関数f(x)が与えられると、関連する関数y=cf(a(x+b))+dのグラフは、y=f(x)のグラフに次の順番で変換を施して得られる。
  1. Horizontal scaling of the graph of y=f(x) by a factor of 1|a| If a<0, reflect the graph about the y-axis.
    y=f(x)のグラフの横座標を1|a|倍する。a<0なら、さらにy軸について反転する。
  2. Horizontal shift of the graph of y=f(ax) If b>0, shift left. If b<0, shift right.
    y=f(ax)のグラフを水平方向に平行移動する。b>0なら左へb、b<0なら右へ|b|だけ移す。
  3. Vertical scaling of the graph of y=f(a(x+b)) by a factor of |c|. If c<0, reflect the graph about the x-axis.
    y=f(a(x+b))のグラフを垂直方向に|c|倍する。c<0なら、さらにx軸について反転する。
  4. Vertical shift of the graph of y=cf(a(x+b)). If d>0, shift up. If d<0, shift down.
    y=cf(a(x+b))のグラフを垂直方向に平行移動する。d>0なら上へd、d<0なら下へ|d|だけ移す。
We can summarize the different transformations and their related effects on the graph of a function in the following table.
各変換が関数のグラフに与える効果を、次の表にまとめる。

Transformations of Functions関数の変換

Transformation of f(c>0)
f(c>0)の変換
Effect on the graph of f
fのグラフへの効果
f(x)+c
Vertical shift up c units
上にcだけ平行移動
f(x)−c
Vertical shift down c units
下にcだけ平行移動
f(x+c)
Shift left by c units
左にcだけ平行移動
f(x−c)
Shift right by c units
右にcだけ平行移動
cf(x)
Vertical stretch if c>1;
vertical compression if 0<c<1
c>1なら垂直方向に拡大、0<c<1なら垂直方向に縮小
f(cx)
Horizontal stretch if 0<c<1; horizontal compression if c>1
0<c<1なら水平方向に拡大、c>1なら水平方向に縮小
−f(x)
Reflection about the x-axis
x軸について対称移動
f(−x)
Reflection about the y-axis
y軸について対称移動
Table 1.7表 1.7
Example 1.21例題 1.21

Transforming a Function関数を変換する

For each of the following functions, a. and b., sketch a graph by using a sequence of transformations of a well-known function.
次の関数a、bについて、よく知っている関数に一連の変換を施し、グラフを描け。
  1. f(x)=−|x+2|−3
    f(x)=−|x+2|−3
  2. f(x)=3−x+1
    f(x)=3−x+1
Solution解き方
  1. Starting with the graph of y=|x|, shift 2 units to the left, reflect about the x-axis, and then shift down 3 units.
    y=|x|のグラフから始め、左に2だけ移し、x軸について反転し、最後に下に3だけ移す。
    x軸、y軸ともに−7から7。4つの関数が描かれている。出発点のf(x) = |x|は原点まで直線的に減少し、その後直線的に増加するV字形。f(x) = |x + 2|はこれを左へ2移したもので、折れ曲がる点は(−2, 0)。f(x) = −|x + 2|はそれをx軸について反転したもので、(−2, 0)まで増加してから減少する。最終的な変換後の関数f(x) = −|x + 2| − 3は、さらに下へ3移したもので、(−2, −3)まで増加してから減少する。

    OpenStax, Rice University; Calculus Volume 1. · CC BY-NC-SA 4.0

    Figure 1.28図 1.28
    The function f(x)=−|x+2|−3 can be viewed as a sequence of three transformations of the function y=|x|.
    関数f(x)=−|x+2|−3は、関数y=|x|に3つの変換を順に施したものと考えられる。
  2. Starting with the graph of y=x, reflect about the y-axis, stretch the graph vertically by a factor of 3, and move up 1 unit.
    y=xのグラフから始め、y軸について反転し、垂直方向に3倍に伸ばし、上へ1だけ移す。
    x軸は−7から7、y軸は−2から10。4つの関数が描かれている。出発点のf(x) = √xは原点から始まり増加する曲線。f(x) = √(−x)はこれをy軸について反転したもので、左から右へ減少し、原点で終わる。f(x) = 3√(−x)はそれを垂直方向に3倍に伸ばし、より急に減少して原点で終わる。最終的な変換後のf(x) = 3√(−x) + 1は、さらに上へ1移したもので、減少して点(0, 1)で終わる。

    OpenStax, Rice University; Calculus Volume 1. · CC BY-NC-SA 4.0

    Figure 1.29図 1.29
    The function f(x)=3−x+1 can be viewed as a sequence of three transformations of the function y=x.
    関数f(x)=3−x+1は、関数y=xに3つの変換を順に施したものと考えられる。