## 1. 問題の内容

解析学ラグランジュの未定乗数法最大値最小値多変数関数
2025/5/31
##

1. 問題の内容

関数 f(x,y)f(x, y) が与えられたとき、条件 g(x,y)=0g(x, y) = 0 のもとで、f(x,y)f(x, y) の最大値と最小値をラグランジュの未定乗数法を用いて求めます。
具体的には、以下の6つの問題に取り組みます。

1. $f(x, y) = x + y$, $g(x, y) = x^2 + y^2 - 1$

2. $f(x, y) = 2x + y$, $g(x, y) = x^2 + y^2 - 1$

3. $f(x, y) = xy$, $g(x, y) = x^2 + y^2 - 1$

4. $f(x, y) = \frac{x}{2} + y$, $g(x, y) = (\frac{x}{2})^2 + y^2 - 1$

5. $f(x, y) = x + y$, $g(x, y) = (\frac{x}{2})^2 + y^2 - 1$

6. $f(x, y) = \frac{xy}{2}$, $g(x, y) = (\frac{x}{2})^2 + y^2 - 1$

##

2. 解き方の手順

ラグランジュの未定乗数法では、ラグランジュ関数 L(x,y,λ)=f(x,y)λg(x,y)L(x, y, \lambda) = f(x, y) - \lambda g(x, y) を定義し、以下の連立方程式を解きます。
Lx=0\frac{\partial L}{\partial x} = 0
Ly=0\frac{\partial L}{\partial y} = 0
g(x,y)=0g(x, y) = 0
ここで、λ\lambda はラグランジュ乗数です。
この連立方程式を解いて、停留点(x,y)(x, y)を求め、それぞれの停留点におけるf(x,y)f(x, y)の値を計算します。
これらの値の中で最大のものと最小のものが、f(x,y)f(x, y) の最大値と最小値となります。
以下、各問題について具体的に計算します。
**

1. $f(x, y) = x + y$, $g(x, y) = x^2 + y^2 - 1$**

L(x,y,λ)=x+yλ(x2+y21)L(x, y, \lambda) = x + y - \lambda (x^2 + y^2 - 1)
Lx=12λx=0\frac{\partial L}{\partial x} = 1 - 2\lambda x = 0
Ly=12λy=0\frac{\partial L}{\partial y} = 1 - 2\lambda y = 0
x2+y2=1x^2 + y^2 = 1
x=12λx = \frac{1}{2\lambda} , y=12λy = \frac{1}{2\lambda} より、x=yx = y
x2+y2=1x^2 + y^2 = 1 に代入して、2x2=12x^2 = 1
x=±12=yx = \pm \frac{1}{\sqrt{2}} = y
停留点は(12,12)(\frac{1}{\sqrt{2}}, \frac{1}{\sqrt{2}})(12,12)(-\frac{1}{\sqrt{2}}, -\frac{1}{\sqrt{2}})
f(12,12)=22=2f(\frac{1}{\sqrt{2}}, \frac{1}{\sqrt{2}}) = \frac{2}{\sqrt{2}} = \sqrt{2}
f(12,12)=22=2f(-\frac{1}{\sqrt{2}}, -\frac{1}{\sqrt{2}}) = -\frac{2}{\sqrt{2}} = -\sqrt{2}
**

2. $f(x, y) = 2x + y$, $g(x, y) = x^2 + y^2 - 1$**

L(x,y,λ)=2x+yλ(x2+y21)L(x, y, \lambda) = 2x + y - \lambda (x^2 + y^2 - 1)
Lx=22λx=0\frac{\partial L}{\partial x} = 2 - 2\lambda x = 0
Ly=12λy=0\frac{\partial L}{\partial y} = 1 - 2\lambda y = 0
x2+y2=1x^2 + y^2 = 1
x=1λx = \frac{1}{\lambda} , y=12λy = \frac{1}{2\lambda} より、x=2yx = 2y
x2+y2=1x^2 + y^2 = 1 に代入して、4y2+y2=5y2=14y^2 + y^2 = 5y^2 = 1
y=±15y = \pm \frac{1}{\sqrt{5}}
x=±25x = \pm \frac{2}{\sqrt{5}}
停留点は(25,15)(\frac{2}{\sqrt{5}}, \frac{1}{\sqrt{5}})(25,15)(-\frac{2}{\sqrt{5}}, -\frac{1}{\sqrt{5}})
f(25,15)=55=5f(\frac{2}{\sqrt{5}}, \frac{1}{\sqrt{5}}) = \frac{5}{\sqrt{5}} = \sqrt{5}
f(25,15)=55=5f(-\frac{2}{\sqrt{5}}, -\frac{1}{\sqrt{5}}) = -\frac{5}{\sqrt{5}} = -\sqrt{5}
**

3. $f(x, y) = xy$, $g(x, y) = x^2 + y^2 - 1$**

L(x,y,λ)=xyλ(x2+y21)L(x, y, \lambda) = xy - \lambda (x^2 + y^2 - 1)
Lx=y2λx=0\frac{\partial L}{\partial x} = y - 2\lambda x = 0
Ly=x2λy=0\frac{\partial L}{\partial y} = x - 2\lambda y = 0
x2+y2=1x^2 + y^2 = 1
y=2λxy = 2\lambda x , x=2λyx = 2\lambda y
y=2λ(2λy)=4λ2yy = 2\lambda (2\lambda y) = 4\lambda^2 y
y(14λ2)=0y(1 - 4\lambda^2) = 0
(i) y=0y = 0 のとき、x2=1x^2 = 1 より、x=±1x = \pm 1
(ii) 14λ2=01 - 4\lambda^2 = 0 のとき、λ=±12\lambda = \pm \frac{1}{2}
y=2λxy = 2\lambda x に代入して、y=±xy = \pm x
x2+y2=1x^2 + y^2 = 1 に代入して、2x2=12x^2 = 1
x=±12x = \pm \frac{1}{\sqrt{2}}
したがって、x=±12x = \pm \frac{1}{\sqrt{2}}, y=±12y = \pm \frac{1}{\sqrt{2}} (複合任意)。
停留点は(1,0)(1, 0), (1,0)(-1, 0), (0,1)(0, 1), (0,1)(0, -1), (12,12)(\frac{1}{\sqrt{2}}, \frac{1}{\sqrt{2}}), (12,12)(\frac{1}{\sqrt{2}}, -\frac{1}{\sqrt{2}}), (12,12)(-\frac{1}{\sqrt{2}}, \frac{1}{\sqrt{2}}), (12,12)(-\frac{1}{\sqrt{2}}, -\frac{1}{\sqrt{2}})
f(1,0)=f(1,0)=f(0,1)=f(0,1)=0f(1, 0) = f(-1, 0) = f(0, 1) = f(0, -1) = 0
f(12,12)=12f(\frac{1}{\sqrt{2}}, \frac{1}{\sqrt{2}}) = \frac{1}{2}
f(12,12)=12f(\frac{1}{\sqrt{2}}, -\frac{1}{\sqrt{2}}) = -\frac{1}{2}
f(12,12)=12f(-\frac{1}{\sqrt{2}}, \frac{1}{\sqrt{2}}) = -\frac{1}{2}
f(12,12)=12f(-\frac{1}{\sqrt{2}}, -\frac{1}{\sqrt{2}}) = \frac{1}{2}
**

4. $f(x, y) = \frac{x}{2} + y$, $g(x, y) = (\frac{x}{2})^2 + y^2 - 1$**

L(x,y,λ)=x2+yλ((x2)2+y21)L(x, y, \lambda) = \frac{x}{2} + y - \lambda ((\frac{x}{2})^2 + y^2 - 1)
Lx=12λx2=0\frac{\partial L}{\partial x} = \frac{1}{2} - \lambda \frac{x}{2} = 0
Ly=12λy=0\frac{\partial L}{\partial y} = 1 - 2\lambda y = 0
(x2)2+y2=1(\frac{x}{2})^2 + y^2 = 1
x=1λx = \frac{1}{\lambda} , y=12λy = \frac{1}{2\lambda} より、x=2yx = 2y
x24+y2=y2+y2=2y2=1\frac{x^2}{4} + y^2 = y^2 + y^2 = 2y^2 = 1
y=±12y = \pm \frac{1}{\sqrt{2}}
x=±22=±2x = \pm \frac{2}{\sqrt{2}} = \pm \sqrt{2}
停留点は(2,12)(\sqrt{2}, \frac{1}{\sqrt{2}})(2,12)(-\sqrt{2}, -\frac{1}{\sqrt{2}})
f(2,12)=22+12=2f(\sqrt{2}, \frac{1}{\sqrt{2}}) = \frac{\sqrt{2}}{2} + \frac{1}{\sqrt{2}} = \sqrt{2}
f(2,12)=2212=2f(-\sqrt{2}, -\frac{1}{\sqrt{2}}) = -\frac{\sqrt{2}}{2} - \frac{1}{\sqrt{2}} = -\sqrt{2}
**

5. $f(x, y) = x + y$, $g(x, y) = (\frac{x}{2})^2 + y^2 - 1$**

L(x,y,λ)=x+yλ((x2)2+y21)L(x, y, \lambda) = x + y - \lambda ((\frac{x}{2})^2 + y^2 - 1)
Lx=1λx2=0\frac{\partial L}{\partial x} = 1 - \lambda \frac{x}{2} = 0
Ly=12λy=0\frac{\partial L}{\partial y} = 1 - 2\lambda y = 0
(x2)2+y2=1(\frac{x}{2})^2 + y^2 = 1
x=2λx = \frac{2}{\lambda} , y=12λy = \frac{1}{2\lambda} より、x=4yx = 4y
x24+y2=4y2+y2=5y2=1\frac{x^2}{4} + y^2 = 4y^2 + y^2 = 5y^2 = 1
y=±15y = \pm \frac{1}{\sqrt{5}}
x=±45x = \pm \frac{4}{\sqrt{5}}
停留点は(45,15)(\frac{4}{\sqrt{5}}, \frac{1}{\sqrt{5}})(45,15)(-\frac{4}{\sqrt{5}}, -\frac{1}{\sqrt{5}})
f(45,15)=55=5f(\frac{4}{\sqrt{5}}, \frac{1}{\sqrt{5}}) = \frac{5}{\sqrt{5}} = \sqrt{5}
f(45,15)=55=5f(-\frac{4}{\sqrt{5}}, -\frac{1}{\sqrt{5}}) = -\frac{5}{\sqrt{5}} = -\sqrt{5}
**

6. $f(x, y) = \frac{xy}{2}$, $g(x, y) = (\frac{x}{2})^2 + y^2 - 1$**

L(x,y,λ)=xy2λ((x2)2+y21)L(x, y, \lambda) = \frac{xy}{2} - \lambda ((\frac{x}{2})^2 + y^2 - 1)
Lx=y2λx2=0\frac{\partial L}{\partial x} = \frac{y}{2} - \lambda \frac{x}{2} = 0
Ly=x22λy=0\frac{\partial L}{\partial y} = \frac{x}{2} - 2\lambda y = 0
(x2)2+y2=1(\frac{x}{2})^2 + y^2 = 1
y=λxy = \lambda x , x=4λyx = 4\lambda y
y=λ(4λy)=4λ2yy = \lambda (4\lambda y) = 4\lambda^2 y
y(14λ2)=0y(1 - 4\lambda^2) = 0
(i) y=0y = 0 のとき、(x2)2=1(\frac{x}{2})^2 = 1 より、x=±2x = \pm 2
(ii) 14λ2=01 - 4\lambda^2 = 0 のとき、λ=±12\lambda = \pm \frac{1}{2}
y=λxy = \lambda x に代入して、y=±x2y = \pm \frac{x}{2}
(x2)2+y2=1(\frac{x}{2})^2 + y^2 = 1 に代入して、x24+x24=x22=1\frac{x^2}{4} + \frac{x^2}{4} = \frac{x^2}{2} = 1
x=±2x = \pm \sqrt{2}
したがって、x=±2x = \pm \sqrt{2}, y=±22y = \pm \frac{\sqrt{2}}{2} (複合任意)。
停留点は(2,0)(2, 0), (2,0)(-2, 0), (2,22)(\sqrt{2}, \frac{\sqrt{2}}{2}), (2,22)(\sqrt{2}, -\frac{\sqrt{2}}{2}), (2,22)(-\sqrt{2}, \frac{\sqrt{2}}{2}), (2,22)(-\sqrt{2}, -\frac{\sqrt{2}}{2})
f(2,0)=f(2,0)=0f(2, 0) = f(-2, 0) = 0
f(2,22)=12f(\sqrt{2}, \frac{\sqrt{2}}{2}) = \frac{1}{2}
f(2,22)=12f(\sqrt{2}, -\frac{\sqrt{2}}{2}) = -\frac{1}{2}
f(2,22)=12f(-\sqrt{2}, \frac{\sqrt{2}}{2}) = -\frac{1}{2}
f(2,22)=12f(-\sqrt{2}, -\frac{\sqrt{2}}{2}) = \frac{1}{2}
##

3. 最終的な答え

以下に、各問題に対する最大値と最小値を示します。

1. 最大値: $\sqrt{2}$, 最小値: $-\sqrt{2}$

2. 最大値: $\sqrt{5}$, 最小値: $-\sqrt{5}$

3. 最大値: $\frac{1}{2}$, 最小値: $-\frac{1}{2}$

4. 最大値: $\sqrt{2}$, 最小値: $-\sqrt{2}$

5. 最大値: $\sqrt{5}$, 最小値: $-\sqrt{5}$

6. 最大値: $\frac{1}{2}$, 最小値: $-\frac{1}{2}$

「解析学」の関連問題

関数 $f(x) = xe^x$ の極値を求めます。

関数の極値微分導関数指数関数
2025/6/2

$u=f(x, y)$ は2回微分可能で、2次偏導関数は全て連続である。$x+y=e^{s+t}$, $x-y=e^{s-t}$ の時、 $$\frac{\partial^2 u}{\partial ...

偏微分偏微分方程式連鎖律2次偏導関数
2025/6/2

次の3つの関数を微分する問題です。 (1) $y = \sin 3x$ (2) $y = \sin x^3$ (3) $y = \sin^3 x$

微分合成関数の微分三角関数
2025/6/2

与えられた関数を微分する問題です。関数は以下の通りです。 (1) $y = (2x - 3)(3x + 4)$ (2) $y = (2x - 3)(x^2 + 3x + 4)$ (3) $y = x ...

微分積の微分関数の微分対数関数指数関数三角関数ルート
2025/6/2

与えられた6つの関数を微分する問題です。関数はそれぞれ以下の通りです。 (1) $y = (3x+4)^5$ (2) $y = (x^3+4)^5$ (3) $y = (x^2+3x+4)^5$ (4...

微分合成関数対数関数三角関数
2025/6/2

与えられた関数 $y = \frac{1}{1+x^2}$ の微分を求める問題です。

微分合成関数の微分チェインルール関数の微分
2025/6/2

次の関数を微分する問題です。 (1) $y = (3x+4)^{-5}$ (2) $y = (x^3+4)^{\frac{1}{5}}$

微分合成関数の微分関数の微分
2025/6/2

与えられた関数の導関数を求める問題です。以下の4つの関数についてそれぞれ導関数を求めます。 (1) $y = \frac{3}{5}x^5 - x^3 - 2x + \frac{2}{3}$ (2) ...

導関数微分積の微分商の微分
2025/6/2

与えられた選択肢の中から、オイラーの公式を用いて表現された$\sin x$または$\cos x$の正しい式を選ぶ問題です。ここで、$i$は虚数単位を表します。

オイラーの公式三角関数複素数指数関数
2025/6/2

関数 $\log(1+x)$ のマクローリン展開を利用して、関数 $\frac{\log(1+x)}{x}$ の $x=0$ 周辺での近似多項式を求める問題です。選択肢の中から正しいものを一つ選びます...

マクローリン展開関数の近似級数
2025/6/2