プリンキピア

第12章最適化アルゴリズム

12.2.5. Exercises12.2.5 練習問題

  1. Assume that we want to verify convexity of a set by drawing all lines between points within the set and checking whether the lines are contained.
    英語のヒント
    集合の中の点のあいだにすべての線を引き、その線が集合に含まれるかどうかを確かめることで、集合の凸性を確かめたいとする。
    1. Prove that it is sufficient to check only the points on the boundary.
      英語のヒント
      境界上の点だけを確かめれば十分であることを証明せよ。
    2. Prove that it is sufficient to check only the vertices of the set.
      英語のヒント
      集合の頂点だけを確かめれば十分であることを証明せよ。
  2. Denote by ℬp[r]=def{𝐱|𝐱∈ℝd and ∥𝐱∥p≤r} the ball of radius r using the p-norm. Prove that ℬp[r] is convex for all p≥1.
    英語のヒント
    pノルムを使った半径rの球をℬp[r]=def{𝐱|𝐱∈ℝd and ∥𝐱∥p≤r}で表す。すべてのp≥1についてℬp[r]が凸であることを証明せよ。
  3. Given convex functions f and g, show that max(f,g) is convex, too. Prove that min(f,g) is not convex.
    英語のヒント
    凸関数fとgが与えられたとき、max(f,g)も凸であることを示せ。min(f,g)は凸でないことを証明せよ。
  4. Prove that the normalization of the softmax function is convex. More specifically prove the convexity of f(x)=log⁡∑iexp⁡(xi).
    英語のヒント
    ソフトマックス関数の正規化が凸であることを証明せよ。もっと具体的には、f(x)=log⁡∑iexp⁡(xi)の凸性を証明せよ。
  5. Prove that linear subspaces, i.e., 𝒳={𝐱|𝐖𝐱=𝐛}, are convex sets.
    英語のヒント
    線形部分空間、つまり𝒳={𝐱|𝐖𝐱=𝐛}が凸集合であることを証明せよ。
  6. Prove that in the case of linear subspaces with 𝐛=𝟎 the projection Proj𝒳 can be written as 𝐌𝐱 for some matrix 𝐌.
    英語のヒント
    𝐛=𝟎である線形部分空間の場合、射影Proj𝒳が、ある行列𝐌を使って𝐌𝐱と書けることを証明せよ。
  7. Show that for twice-differentiable convex functions f we can write f(x+ϵ)=f(x)+ϵf′(x)+12ϵ2f″(x+ξ) for some ξ∈[0,ϵ].
    英語のヒント
    2回微分可能な凸関数fについて、あるξ∈[0,ϵ]を使ってf(x+ϵ)=f(x)+ϵf′(x)+12ϵ2f″(x+ξ)と書けることを示せ。
  8. Given a convex set 𝒳 and two vectors 𝐱 and 𝐲, prove that projections never increase distances, i.e., ∥𝐱−𝐲∥≥∥Proj𝒳(𝐱)−Proj𝒳(𝐲)∥.
    英語のヒント
    凸集合𝒳と二つのベクトル𝐱、𝐲が与えられたとき、射影はけっして距離を増やさないこと、つまり∥𝐱−𝐲∥≥∥Proj𝒳(𝐱)−Proj𝒳(𝐲)∥であることを証明せよ。