第22章付録:深層学習のための数学
22.5.3. Change of Variables22.5.3 変数変換
Just as with differentiation, there are a number of rules which make the computation of integrals more tractable. In fact, every rule of differential calculus (like the product rule, sum rule, and chain rule) has a corresponding rule for integral calculus (integration by parts, linearity of integration, and the change of variables formula respectively). In this section, we will dive into what is arguably the most important from the list: the change of variables formula.
英語のヒント
微分と同じように、積分の計算をより扱いやすくするいくつかの規則がある。実際、微分法のどの規則(積の規則、和の規則、連鎖律など)にも、積分法に対応する規則(それぞれ部分積分、積分の線形性、変数変換の公式)がある。この節では、このリストの中でおそらく最も重要なもの、つまり変数変換の公式に入り込む。
First, suppose that we have a function which is itself an integral:
英語のヒント
まず、それ自体が積分である関数があるとする。
(22.5.14)
Let’s suppose that we want to know how this function looks when we compose it with another to obtain . By the chain rule, we know
英語のヒント
この関数を別の関数と合成してを得たときにどう見えるかを知りたいとしよう。連鎖律により、次がわかる。
(22.5.15)
We can turn this into a statement about integration by using the fundamental theorem (22.5.10) as above. This gives
英語のヒント
上と同じように基本定理(式(22.5.10))を使うと、これを積分についての言明に変えられる。これにより次が得られる。
(22.5.16)
Recalling that is itself an integral gives that the left hand side may be rewritten to be
英語のヒント
がそれ自体積分であることを思い出すと、左辺は次のように書き直せる。
(22.5.17)
Similarly, recalling that is an integral allows us to recognize that using the fundamental theorem (22.5.10), and thus we may conclude
英語のヒント
同様に、が積分であることを思い出すと、基本定理(式(22.5.10))を使ってであることがわかるので、次のように結論できる。
(22.5.18)
This is the change of variables formula.
英語のヒント
これが変数変換の公式である。
For a more intuitive derivation, consider what happens when we take an integral of between and . For a small , this integral is approximately , the area of the associated rectangle. Now, let’s compare this with the integral of from to . We know that , so the area of this rectangle is approximately . Thus, to make the area of these two rectangles to agree, we need to multiply the first one by as is illustrated in Fig. 22.5.2.
英語のヒント
もっと直観的に導くため、との間での積分をとると何が起きるかを考えよう。小さなについては、この積分はおよそであり、これは対応する長方形の面積である。では、これをからまでのの積分と比べよう。であることはわかっているので、この長方形の面積はおよそである。したがって、図22.5.2に示すように、これら二つの長方形の面積を一致させるには、最初の長方形にを掛ける必要がある。
Fig. 22.5.2図22.5.2
Visualizing the transformation of a single thin rectangle under the change of variables.
英語のヒント
変数変換による1枚の細い長方形の変換の視覚化。
This tells us that
英語のヒント
これにより次がわかる。
(22.5.19)
This is the change of variables formula expressed for a single small rectangle.
英語のヒント
これは、1枚の小さな長方形について表した変数変換の公式である。
If and are properly chosen, this can allow for the computation of incredibly complex integrals. For instance, if we even chose and (which means ), this can show for instance that
英語のヒント
とを適切に選べば、これによって信じられないほど複雑な積分も計算できる。たとえば、とを選びさえすれば(これはを意味する)、たとえば次を示せる。
(22.5.20)
and thus by rearranging that
英語のヒント
そして、並べ替えると次がわかる。
(22.5.21)