跳到主要内容

京都大学 情報学研究科 知能情報学専攻 2021年8月実施 情報学基礎 F1-2

Author

Miyake, 祭音Myyura

Description

日本語版

設問1

以下の問いに答えよ。

(1) 以下の関数について、 導関数を yy のみを用いて表せ。 また、その導関数の値域を示せ。

  • A) y=f(x)=11+exp(x)y = f(x) = \frac{1}{1 + \exp(-x)}
  • B) y=f(x)=exp(x)exp(x)exp(x)+exp(x)y = f(x) = \frac{\exp(x) - \exp(-x)}{\exp(x) + \exp(-x)}

(2) x2+y21=0x^2 + y^2 - 1 = 0 及び 0x,y10 \le x,y \le 1 の条件の下、 f(x,y)=x3+2y3f(x, y) = x^3 + 2y^3 の極値を求めよ。

設問2

地面に直立した半径 1[m]1[m] の円筒がある。 ヤギの首に長さ π[m]\pi[m] の伸び縮みしないヒモが結び付けられている。 このヒモのもう一端は円筒表面の一点(首と同じ高さ)に結び付けられている。

(1) 円筒の中心軸を原点とし、ヒモの結び付けられている円筒上の点を (1,0)(-1,0) とする 22 次元座標系を地面上で考えたとき、 x1,y0x \ge -1, y \ge 0 において、ヤギがヒモをたるませずに立っているときの2次元座標を xx 軸からの角度 θ\theta を用いて表せ。

(2) このヤギがヒモをたるませずに円筒周りを一周したとき、その総移動距離を求めよ。

(3) このヤギが歩き回れる地面の面積を求めよ。

English Version

Q.1

Answer the following questions.

(1) Express the derivative function for each of the following functions using only yy and show the range of the derivative function.

  • A) y=f(x)=11+exp(x)y = f(x) = \frac{1}{1 + \exp(-x)}
  • B) y=f(x)=exp(x)exp(x)exp(x)+exp(x)y = f(x) = \frac{\exp(x) - \exp(-x)}{\exp(x) + \exp(-x)}

(2) Compute the extrema of f(x,y)=x3+2y3f(x, y) = x^3 + 2y^3 when x2+y21=0x^2 + y^2 - 1 = 0 and 0x,y10 \le x,y \le 1 .

Q.2

A cylinder of 1[m]1[m] radius is erected perpendicularly on the ground. A goat is on a leash of π[m]\pi[m] that neither stretches nor compresses. The other end of the leash is tied to a surface point of the cylinder at the same height.

(1) Consider a two-dimensional coordinate frame with its origin at the center axis of the cylinder and where the point of attachment of the leash on the cylinder is (1,0)(-1, 0) . Using angle θ\theta from the xx axis, express the 2D coordinates of the goat when she is standing without any slack to the leash for x1,y0x \ge 1,y \ge 0 .

(2) Derive the total distance the goat would travel when going around the cylinder once without any slack to the leash.

(3) Derive the total area of the ground the goat can cover.

题目描述

回答以下两题。

  1. 完成下列微积分问题:

    1. 对每个函数,将导数仅用 yy 表示,并给出该导数的值域:

      • 函数
y=f(x)=11+exp(x);y=f(x)=\frac{1}{1+\exp(-x)};
  - 函数
y=f(x)=exp(x)exp(x)exp(x)+exp(x).y=f(x)=\frac{\exp(x)-\exp(-x)} {\exp(x)+\exp(-x)}.
x2+y21=0,0x,y1x^2+y^2-1=0,\qquad 0\leq x,y\leq1

的条件下,求 f(x,y)=x3+2y3f(x,y)=x^3+2y^3 的极值。

  1. 地面上竖直立有一个半径为 1m1\,\mathrm{m} 的圆柱。山羊颈部系着一根长度为 πm\pi\,\mathrm{m}、不可伸长或缩短的绳,绳的另一端系在圆柱表面上与山羊颈部等高的一点。以圆柱中心轴为原点,并令圆柱上的系绳点为 (1,0)(-1,0),在地面建立二维坐标系。

    1. 用从 xx 轴量起的角度 θ\theta 表示绳保持绷紧时山羊的二维坐标。日文版把所考察区域写为 x1, y0x\geq-1,\ y\geq0;英文版相应位置写为 x1, y0x\geq1,\ y\geq0,两版在这一不等式上不一致。
    2. 若山羊始终保持绳绷紧并绕圆柱一周,求它移动的总距离。
    3. 求山羊能够走到的地面总面积。

Kai

設問1

(1)

A)

まず、 y=1/(1+exp(x))y=1/(1+\exp(-x)) より、 exp(x)=(1y)/y\exp(-x) = (1-y)/y である。 よって、

dydx=ddx11+exp(x)=exp(x)(1+exp(x))2=y(1y)=y2+y\begin{aligned} \frac{dy}{dx} &= \frac{d}{dx} \frac{1}{1 + \exp(-x)} \\ &= \frac{\exp(-x)}{\left( 1 + \exp(-x) \right)^2} \\ &= y(1-y) \\ &= -y^2 + y \end{aligned}

である。

dy/dxdy/dxxx で表した式からわかるように、 任意の実数 xx について、 dy/dx>0dy/dx \gt 0 である。 また、

limxy=0,  limxy=1\begin{aligned} \lim_{x \to -\infty} y = 0 , \ \ \lim_{x \to \infty} y = 1 \end{aligned}

なので、 yy の値域は (0,1)(0,1) である。 さらに、

dydx=(y12)2+14\begin{aligned} \frac{dy}{dx} &= - \left( y - \frac{1}{2} \right)^2 + \frac{1}{4} \end{aligned}

と書き換えられるので、 dy/dxdy/dx の値域は (0,1/4](0,1/4] である。

B)

まず、

dydx=ddxexp(x)exp(x)exp(x)+exp(x)=4(exp(x)+exp(x))2=y2+1\begin{aligned} \frac{dy}{dx} &= \frac{d}{dx} \frac{\exp(x) - \exp(-x)}{\exp(x) + \exp(-x)} \\ &= \frac{4}{\left( \exp(x) + \exp(-x) \right)^2} \\ &= -y^2 + 1 \end{aligned}

である。

dy/dxdy/dxxx で表した式からわかるように、 任意の実数 xx について、 dy/dx>0dy/dx \gt 0 である。 また、

limxy=1,  limxy=1\begin{aligned} \lim_{x \to -\infty} y = -1 , \ \ \lim_{x \to \infty} y = 1 \end{aligned}

なので、 yy の値域は (1,1)(-1,1) である。 そこで、 dy/dxdy/dxyy で表した式からわかるように、 dy/dxdy/dx の値域は (0,1](0,1] である。

(2)

まず、条件 x2+y21=0x^2+y^2-1=0 より、 x=cosθ,y=sinθx = \cos \theta, y = \sin \theta と表せる。

また、条件 0x,y10 \leq x, y \leq 10θπ/20 \leq \theta \leq \pi/2 に相当する。

f(x,y)f(x,y)θ\theta で表した関数を g(θ)g(\theta) と書く:

g(θ)=cos3θ+2sin3θ\begin{aligned} g(\theta) = \cos^3 \theta + 2 \sin^3 \theta \end{aligned}

このとき、

dg(θ)dθ=3sinθcosθ(cosθ+2sinθ)\begin{aligned} \frac{dg(\theta)}{d \theta} = 3 \sin \theta \cos \theta (- \cos \theta + 2 \sin \theta) \end{aligned}

なので、増減表は次のようになる ( α\alphatanα=1/2\tan \alpha = 1/2 を満たす):

θ0απ/2g(θ)+00+0g(θ)12/52\begin{array} {c|ccccccc} \theta & \cdots & 0 & \cdots & \alpha & \cdots & \pi/2 & \cdots \\ \hline g'(\theta) & + & 0 & – & 0 & + & 0 & - \\ \hline g(\theta) & \nearrow & 1 & \searrow & 2/\sqrt{5} & \nearrow & 2 & \searrow \end{array}

よって、局所的な極大値は 1,21,2、極小値は 2/52/\sqrt{5} である。特に、最大値は 22、最小値は 2/52/\sqrt{5} である。

設問2

(1)

原点を OO とし、ヤギの座標を PP とし、ヤギが点 (1,0)(1,0) からヒモをたるませずに立っている状況を想定することにします。 ヒモと円筒の接点を QQ とし、 xx 軸と線分 OQOQ のなす角度を反時計回りを正として θ\theta と定義します。

P,QP, Q の座標ベクトルをそれぞれ p,qp, q とし、直線 QPQP の単位方向ベクトル、すなわち点 QQ の円筒に関する接線の単位方向ベクトルを tt とすると、以下が成り立ちます。

q=(cosθ, sinθ),t=(cos(π/2θ), sin(π/2θ))=(sinθ, cosθ)q = (\cos\theta,~\sin\theta),\quad t = (\cos(\pi/2-\theta),~-\sin(\pi/2-\theta))=(\sin\theta,~-\cos\theta)

一方、ほどけた紐の長さが扇型の弧の長さに相当して θ\theta であることに注意すると、 pp

p=q+θtp = q + \theta t

と表されます。したがって、円筒の半径を rr とおくと、ヤギの座標ベクトルは以下のように表されます。

p=(rcosθ+rθsinθ, rsinθrθcosθ)p = (r\cos\theta+r\theta\sin\theta,~r\sin\theta-r\theta\cos\theta)

本問では r=1r=1 であり、求める範囲は 0θπ0\leq\theta\leq\pi である。

(2)

(1) で求めた範囲における移動距離を L1L_1x<1x < -1 の半円弧を L2L_2 とすると、ヤギがヒモをたるませず円筒周りを一周したときの総移動距離 LL

L=2L1+L2=2L1+π2L = 2L_{1}+L_{2} = 2L_{1}+\pi^{2}

と表されます。ここで、

L1=αβ(dxdθ)2+(dydθ)2dθ=0π(θcosθ)2+(θsinθ)2dθ=0πθdθ=π22\begin{aligned} L_1 &= \int_{\alpha}^{\beta}\sqrt{\left(\frac{dx}{d\theta}\right)^{2}+\left(\frac{dy}{d\theta}\right)^{2}}d\theta \\ &= \int_{0}^{\pi}\sqrt{\left(\theta\cos\theta\right)^{2}+\left(\theta\sin\theta\right)^{2}}d\theta \\ &= \int_{0}^{\pi}\theta d\theta \\ &= \frac{\pi^{2}}{2} \end{aligned}

ゆえに、求める答えは

L=2π22+π2=2π2L = 2\cdot\frac{\pi^{2}}{2}+\pi^{2} = 2\pi^{2}

(3)

L1L_1 , 円筒, x=1x = -1 に囲まれる面積を S1S_1 とし, L2L_2 , x=1x = -1 に囲まれる面積を S2S_2 とし、

S=2S1+S2=20π12θ2dθ+π32=2π36+π32=5π36\begin{aligned} S &= 2S_{1}+S_{2} \\ &= 2\int_{0}^{\pi}\frac{1}{2}\theta^{2}d\theta + \frac{\pi^{3}}{2} \\ &=2 \cdot \frac{\pi^3}{6}+\frac{\pi^{3}}{2} \\ &= \frac{5 \pi^3}{6} \end{aligned}

を計算できる。