HL 5.14 — Implicit differentiation, related rates and optimisation(陰関数微分・関連する変化率・最適化)

ノートWhat you should be able to do
  • implicit differentiation(陰関数微分)で \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) を求められる。
  • \(y\) を含む項を微分すると \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) が付くことを説明できる。
  • \(xy\) のような積を、積の微分公式で扱える。
  • 陰関数で表された曲線の tangent(接線)・ normal(法線)を求められる。
  • related rates(関連する変化率)の問題を、chain rule(連鎖律)で解ける。
  • optimisation(最適化)の問題を解き、端点が答えになる場合も見落とさない。

The idea

1. Implicit equations(陰関数の式)

\(y = f(x)\) の形に書けない式があります。たとえば

\[ x^{2}+y^{2} = 25 \]

です。\(y\) について解くと \(y = \pm\sqrt{25-x^{2}}\) となり、\(1\) つの関数にはなりません。

図 1: 円は \(1\) つの関数のグラフではありませんが、各点に接線があります。

それでも、曲線の各点には接線があります。ですから傾き \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) を求めることには意味があります。

2. Differentiating \(y\) with respect to \(x\)(\(y\) を \(x\) で微分する)

\(y\) は \(x\) の関数だと思って、chain rule(連鎖律)を使います(SL 5.6)。

\[ \frac{\mathrm{d}}{\mathrm{d}x}\left(y^{n}\right) = n\,y^{n-1}\,\frac{\mathrm{d}y}{\mathrm{d}x} \tag{1}\]

\(y\) の式を微分したら、かならず \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) が付きます(Why it works)。

この方法を implicit differentiation(陰関数の微分)といいます。

手順は \(3\) つです。

  1. 両辺を \(x\) で微分する。
  2. \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) のある項を左辺に、ない項を右辺に集める。
  3. \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) でくくって割る。

例題 1 The curve \(C\) has equation \(x^{2}+y^{2} = 25\).

(a) Find \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) in terms of \(x\) and \(y\).

(b) Find the gradient of \(C\) at the point \((3,\ 4)\).

(a) 両辺を \(x\) で微分します。\(y^{2}\) には \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) が付きます(式 1)。

\[ 2x+2y\,\frac{\mathrm{d}y}{\mathrm{d}x} = 0 \]

\[ \frac{\mathrm{d}y}{\mathrm{d}x} = -\frac{x}{y} \]

(b) \(x = 3\)、\(y = 4\) を両方入れます。

\[ \frac{\mathrm{d}y}{\mathrm{d}x} = -\frac{3}{4} \]

検算。 半径の傾きと比べます。 原点から \((3,\ 4)\) への傾きは \(\dfrac{4}{3}\) で、積は \(-1\) ✓ 接線は半径と perpendicular(垂直)です。

検算(右辺の微分)。 \(25\) は定数なので \(0\) ✓ 右辺に \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) は出ません。

ノート解答例(答案用紙に書くこと)

(a) \(2x+2y\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0\), so \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = -\dfrac{x}{y}\)

(b) At \((3,\ 4)\): \(\ \dfrac{\mathrm{d}y}{\mathrm{d}x} = -\dfrac{3}{4}\)

3. Products such as \(xy\)(\(xy\) の形)

\(xy\) は \(x\) と \(y\) の積なので、積の微分公式を使います。

\[ \frac{\mathrm{d}}{\mathrm{d}x}(xy) = y+x\,\frac{\mathrm{d}y}{\mathrm{d}x} \tag{2}\]

\(y\) をただの定数と思ってはいけません。 \(x\) が動けば \(y\) も動きます。

例題 2 The curve \(C\) has equation \(x^{2}+xy+y^{2} = 3\). Find the gradient of \(C\) at the point \((1,\ 1)\).

\(xy\) には積の微分公式を使います(式 2)。

\[ 2x+\left(y+x\,\frac{\mathrm{d}y}{\mathrm{d}x}\right)+2y\,\frac{\mathrm{d}y}{\mathrm{d}x} = 0 \]

\(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) のある項を集めます。

\[ (x+2y)\,\frac{\mathrm{d}y}{\mathrm{d}x} = -(2x+y) \]

\[ \frac{\mathrm{d}y}{\mathrm{d}x} = -\frac{2x+y}{x+2y} \]

\((1,\ 1)\) を入れると

\[ \frac{\mathrm{d}y}{\mathrm{d}x} = -\frac{3}{3} = -1 \]

検算。 \((1,\ 1)\) が曲線の上にあるかを見ます。\(1+1+1 = 3\) ✓

検算(対称性)。 式は \(x\) と \(y\) を入れかえても同じです ✓ ですから \((1,\ 1)\) での傾きが \(-1\) になるのは自然です。

ノート解答例(答案用紙に書くこと)

\[2x+y+x\frac{\mathrm{d}y}{\mathrm{d}x}+2y\frac{\mathrm{d}y}{\mathrm{d}x} = 0\]

\[\frac{\mathrm{d}y}{\mathrm{d}x} = -\frac{2x+y}{x+2y}\]

At \((1,\ 1)\): \(\ \dfrac{\mathrm{d}y}{\mathrm{d}x} = -\dfrac{3}{3} = -1\)

4. Tangents and normals(接線と法線)

点 \((a,\ b)\) での傾きがほしいときは、\(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) の式に \(x = a\)、\(y = b\) を両方入れます。

陰関数微分では、傾きの式に \(y\) が残るのがふつうです。そこが \(y = f(x)\) の場合とちがうところです。

接線は \(y-b = m(x-a)\)、法線は傾きが \(-\dfrac{1}{m}\) です(SL 5.4)。

6. Optimisation(最適化)

手順は SL と同じです(SL 5.7)。

  1. 最大・最小にしたい量を、\(1\) つの文字の式で書く。
  2. domain(定義域)を書く(場面から決まります)。
  3. 微分して \(=0\) を解く。
  4. 最大か最小かを調べる。

HL では、定義域の端も調べます(次の節)。

7. When the optimum is at an end point(端点が答えになるとき)

\(f'(x) = 0\) の解が最小で、最大は端にある、ということが起こります。

調べるべき点は \(3\) 種類です。

  • \(f'(x) = 0\) となる点
  • 定義域の左端
  • 定義域の右端

\(3\) つの値をくらべて、大きいほうが最大です。表にして書くと、答案でも伝わります。

例題 4 A piece of wire of length \(20\) cm is cut into two pieces. One piece of length \(x\) cm is bent into a circle, and the other is bent into a square. Find the value of \(x\) that makes the total area a maximum.

式を書きます。 円周が \(x\) なので半径は \(\dfrac{x}{2\pi}\)、面積は \(\dfrac{x^{2}}{4\pi}\) です。正方形の \(1\) 辺は \(\dfrac{20-x}{4}\)、面積は \(\dfrac{(20-x)^{2}}{16}\) です。

\[ A(x) = \frac{x^{2}}{4\pi}+\frac{(20-x)^{2}}{16}, \qquad 0 \leq x \leq 20 \]

\[ A'(x) = \frac{x}{2\pi}-\frac{20-x}{8} \]

\(A'(x) = 0\) を解くと \(8x = 2\pi(20-x)\)、つまり \(x = \dfrac{20\pi}{\pi+4} \approx 8.80\) です。

\[ A''(x) = \frac{1}{2\pi}+\frac{1}{8} > 0 \]

\(2\) 階導関数が正なので、これは最小です。最大は端にあります(第 7 節)。

\[ A(0) = \frac{400}{16} = 25, \qquad A(20) = \frac{400}{4\pi} = \frac{100}{\pi} \approx 31.8 \]

\[ A(20) > A(0) \]

ですから、\(x = 20\)、つまり針金を切らずに全部を円にしたときが最大です。

検算。 \(3\) つの値をくらべました。 \(25\)、\(\approx 14.0\)、\(\approx 31.8\) ✓ いちばん大きいのは \(x = 20\) です。

検算(意味)。 同じ周の長さなら、円のほうが正方形より面積が大きい ✓ 全部を円にするのが最大、と合います。

ノート解答例(答案用紙に書くこと)

\[A(x) = \frac{x^{2}}{4\pi}+\frac{(20-x)^{2}}{16}, \qquad 0 \leq x \leq 20\]

\[A'(x) = \frac{x}{2\pi}-\frac{20-x}{8} = 0 \ \Rightarrow \ x = \frac{20\pi}{\pi+4}\]

Since \(A''(x) > 0\) this is a minimum, so the maximum is at an end point.

\[A(0) = 25, \qquad A(20) = \frac{100}{\pi} \approx 31.8\]

The maximum occurs at \(x = 20\).

試験ではこう書く

Let the piece bent into a circle have length \(x\) cm, so \(0 \leq x \leq 20\).

The circumference of the circle is \(x\), so its radius is \(\dfrac{x}{2\pi}\) and its area is \(\pi\left(\dfrac{x}{2\pi}\right)^{2} = \dfrac{x^{2}}{4\pi}\).

The square has perimeter \(20-x\), side \(\dfrac{20-x}{4}\) and area \(\dfrac{(20-x)^{2}}{16}\).

Hence

\[A(x) = \frac{x^{2}}{4\pi}+\frac{(20-x)^{2}}{16}\]

Differentiating, \(A'(x) = \dfrac{x}{2\pi}-\dfrac{20-x}{8}\).

Setting this equal to zero gives \(8x = 2\pi(20-x)\), so \(x = \dfrac{20\pi}{\pi+4} \approx 8.80\).

This stationary point is a minimum, not a maximum, because \(A''(x) = \dfrac{1}{2\pi}+\dfrac{1}{8}\) is positive for all \(x\).

The function is therefore decreasing before this point and increasing after it, so on a closed interval its greatest value must occur at an end point.

Evaluating at both ends, \(A(0) = \dfrac{400}{16} = 25\) and \(A(20) = \dfrac{400}{4\pi} = \dfrac{100}{\pi} \approx 31.8\).

Since \(A(20) > A(0)\), the maximum total area is obtained by taking \(x = 20\), that is, by using the whole wire for the circle and cutting nothing for the square.

TI-Nspire CX II には impDif( があります。impDif(x^2+y^2=25, x, y) のように使うと \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) が返ります。

最大・最小は、グラフをかいて menu → 6: Analyze Graph → 3: Maximum / 2: Minimum で読めます。定義域の端の値は、グラフでは読み落としやすいので、自分で代入して確かめてください。

答案には、式を書いてください。 微分の行と、\(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) について解く行を見せます。

Paper 1 では使えません。 このページの例題と演習は、すべて手で解けるようにしてあります。

Why it works

なぜ \(y\) を微分すると \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) が付くのか

\(y\) は \(x\) の関数です。ですから \(y^{2}\) は合成関数です。

外側の関数を \(u^{2}\)、内側を \(u = y\) と見ると、連鎖律から

\[ \frac{\mathrm{d}}{\mathrm{d}x}\left(y^{2}\right) = \frac{\mathrm{d}}{\mathrm{d}y}\left(y^{2}\right)\times\frac{\mathrm{d}y}{\mathrm{d}x} = 2y\,\frac{\mathrm{d}y}{\mathrm{d}x} \]

です。「外を微分して、中の微分をかける」といういつもの形です(SL 5.6)。

\(x^{2}\) を微分して \(2x\) になるのは、\(\dfrac{\mathrm{d}x}{\mathrm{d}x} = 1\) が後ろに付いているからだ、と思うと筋が通ります。

なぜ、\(y\) について解かずに微分してよいのか

曲線の上では、\(x\) と \(y\) が式で結ばれています。\(x\) を少し動かすと、式を保つために \(y\) も動きます。

その動き方が \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) です。式全体を微分すれば、その関係がそのまま出てきます。

\(y = \pm\sqrt{25-x^{2}}\) と解いてから微分しても同じ答えになりますが、符号の場合分けが要ります。陰関数微分なら、上半分も下半分も \(1\) つの式ですみます。

なぜ、端点も調べるのか

\(f'(x) = 0\) は「接線が水平になる点」を見つける式です。

ところが端では、関数がそこで打ち切られているだけで、接線が水平である必要はありません。端では \(f'\) が \(0\) でなくても、最大や最小になれます。

場面から定義域が決まる問題(長さは負にならない、など)では、この状況がよく起こります。

\(3\) つの候補の値をくらべるのが、いちばん確実です(第 7 節)。

Common errors

警告\(y\) の項を微分するときに \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) を忘れる

\(\dfrac{\mathrm{d}}{\mathrm{d}x}\left(y^{2}\right) = 2y\dfrac{\mathrm{d}y}{\mathrm{d}x}\) です(式 1)。

\(2y\) で止めると、それは \(y\) で微分したことになります。これが、この項目でいちばん多いまちがいです。

警告\(xy\) を微分するのに積の公式を使わない

\(\dfrac{\mathrm{d}}{\mathrm{d}x}(xy) = y+x\dfrac{\mathrm{d}y}{\mathrm{d}x}\) です(式 2)。

\(y\) を定数と思って \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) だけにしたり、\(y\) だけにしたりしないこと。\(2\) 項出ます。

警告傾きの式に \(x\) だけを入れる

陰関数微分の答えには、ふつう \(y\) も残ります(第 4 節)。

\(x\) と \(y\) の両方を代入してください。点の座標が \(2\) つとも与えられているのは、そのためです。

警告微分する前に数を代入する

「半径が \(5\) のとき」を先に入れると、\(r\) が定数になり \(\dfrac{\mathrm{d}r}{\mathrm{d}t}\) が消えます(第 5 節)。

文字のまま微分してから、最後に代入します。

警告端点を調べない

\(f'(x) = 0\) の解だけをくらべても、最大とはかぎりません(第 7 節)。

定義域の両端の値も出して、\(3\) つをくらべてください。

警告定義域を書かない

最適化では、場面から \(x\) の範囲が決まります。範囲がなければ、端点も決まりません。

長さや面積が負にならない条件から、\(0 \leq x \leq 20\) のように書いてください。

Exercises

1 Given \(x^{2}+y^{2} = 16\), find \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) in terms of \(x\) and \(y\).

\[2x+2y\frac{\mathrm{d}y}{\mathrm{d}x} = 0, \qquad \frac{\mathrm{d}y}{\mathrm{d}x} = -\frac{x}{y}\]

\(16\) は定数なので、右辺は \(0\) です。半径が変わっても、傾きの式は同じになります。

検算(\((0,\ 4)\) で)。 \(-\dfrac{0}{4} = 0\) ✓ 円のてっぺんは水平です。

検算(\((4,\ 0)\) で)。 分母が \(0\) ✓ そこでは接線が垂直で、傾きがありません。

2 Given \(x^{3}+y^{3} = 9\), find \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) in terms of \(x\) and \(y\).

\[3x^{2}+3y^{2}\frac{\mathrm{d}y}{\mathrm{d}x} = 0, \qquad \frac{\mathrm{d}y}{\mathrm{d}x} = -\frac{x^{2}}{y^{2}}\]

式 1 で \(n = 3\) の場合です。\(3\) が約分されます。

検算(符号)。 \(x^{2}\) も \(y^{2}\) も正なので、傾きはかならず負 ✓

検算(\((1,\ 2)\) で)。 \(1+8 = 9\) なので曲線の上にあり、傾きは \(-\dfrac{1}{4}\) ✓

3 Given \(xy = 6\), find \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) in terms of \(x\) and \(y\).

\[y+x\frac{\mathrm{d}y}{\mathrm{d}x} = 0, \qquad \frac{\mathrm{d}y}{\mathrm{d}x} = -\frac{y}{x}\]

積の微分公式です(式 2)。\(2\) 項出ることに注意。

検算(解いてから)。 \(y = \dfrac{6}{x}\) なので \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = -\dfrac{6}{x^{2}}\) ✓ \(-\dfrac{y}{x} = -\dfrac{6}{x^{2}}\) と同じです。

検算(\((2,\ 3)\) で)。 \(-\dfrac{3}{2}\) ✓ どちらの式でも同じ値です。

4 The curve \(C\) has equation \(x^{2}+2xy+3y^{2} = 6\). Find the gradient of \(C\) at the point \((1,\ 1)\).

\[2x+2y+2x\frac{\mathrm{d}y}{\mathrm{d}x}+6y\frac{\mathrm{d}y}{\mathrm{d}x} = 0\]

At \((1,\ 1)\): \(\ 2+2+2\dfrac{\mathrm{d}y}{\mathrm{d}x}+6\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0\)

\[\frac{\mathrm{d}y}{\mathrm{d}x} = -\frac{1}{2}\]

数を先に入れてから解くと、式が短くなります。微分したあとなら代入してかまいません。

\(2xy\) の微分は \(2y+2x\dfrac{\mathrm{d}y}{\mathrm{d}x}\) です。coefficient(係数)の \(2\) を両方にかけます。

検算(点が曲線の上か)。 \(1+2+3 = 6\) ✓

検算(一般形で)。 \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = -\dfrac{x+y}{x+3y}\) に \((1,\ 1)\) を入れると \(-\dfrac{2}{4} = -\dfrac{1}{2}\) ✓

5 Find the equation of the tangent to the circle \(x^{2}+y^{2} = 25\) at the point \((4,\ 3)\).

\[\frac{\mathrm{d}y}{\mathrm{d}x} = -\frac{x}{y}, \qquad \text{at } (4,\ 3): \ \frac{\mathrm{d}y}{\mathrm{d}x} = -\frac{4}{3}\]

\[y-3 = -\frac{4}{3}(x-4), \qquad 4x+3y = 25\]

傾きを出してから、点と傾きの形に入れます(SL 5.4)。分数を払うときれいになります。

検算(点を入れる)。 \(16+9 = 25\) ✓ 接点は接線の上にあります。

検算(半径と垂直)。 半径の傾きは \(\dfrac{3}{4}\)、積は \(-1\) ✓

6 The side of a square is increasing at a rate of \(2 \ \text{cm}\,\text{s}^{-1}\). Find the rate at which the area is increasing when the side is \(10\) cm.

\[A = s^{2}, \qquad \frac{\mathrm{d}A}{\mathrm{d}s} = 2s\]

\[\frac{\mathrm{d}A}{\mathrm{d}t} = 2s\,\frac{\mathrm{d}s}{\mathrm{d}t} = 2(10)(2) = 40 \ \text{cm}^{2}\,\text{s}^{-1}\]

式 3 と同じ形です。式を書く \(\to\) 微分する \(\to\) 代入するの順です。

検算(単位)。 \(\text{cm} \times \dfrac{\text{cm}}{\text{s}} = \dfrac{\text{cm}^{2}}{\text{s}}\) ✓

検算(近似で)。 \(10\) cm から \(10.1\) cm になると面積は \(100 \to 102.01\)、\(0.05\) 秒で約 \(2\) cm² ✓ 毎秒 \(40\) cm² と合います。

7 A ladder of length \(5\) m leans against a vertical wall. The foot of the ladder slides away from the wall at \(0.5 \ \text{m}\,\text{s}^{-1}\). Find the rate at which the top of the ladder is sliding down when the foot is \(3\) m from the wall.

\[x^{2}+y^{2} = 25, \qquad 2x\frac{\mathrm{d}x}{\mathrm{d}t}+2y\frac{\mathrm{d}y}{\mathrm{d}t} = 0\]

When \(x = 3\), \(y = 4\). With \(\dfrac{\mathrm{d}x}{\mathrm{d}t} = 0.5\),

\[2(3)(0.5)+2(4)\frac{\mathrm{d}y}{\mathrm{d}t} = 0, \qquad \frac{\mathrm{d}y}{\mathrm{d}t} = -\frac{3}{8}\]

The top slides down at \(\dfrac{3}{8} \ \text{m}\,\text{s}^{-1}\).

はしごの長さは変わりません。 ですから \(x^{2}+y^{2} = 25\) が、いつでも成り立ちます(図 2)。

両辺を \(t\) で微分します。陰関数微分と同じ要領です。

検算(\(y\))。 \(3\)–\(4\)–\(5\) の直角三角形なので \(y = 4\) ✓

検算(符号)。 \(\dfrac{\mathrm{d}y}{\mathrm{d}t}\) が負 ✓ 上端は下がっています。答えを書くときは「下がる速さ」として正の数で答えます。

8 Show that for the circle \(x^{2}+y^{2} = r^{2}\) the gradient at a point \((a,\ b)\) with \(b \neq 0\) is \(-\dfrac{a}{b}\), and explain why this means the tangent is perpendicular to the radius.

\[2x+2y\frac{\mathrm{d}y}{\mathrm{d}x} = 0 \ \Rightarrow \ \frac{\mathrm{d}y}{\mathrm{d}x} = -\frac{x}{y}\]

At \((a,\ b)\) with \(b \neq 0\) this is \(-\dfrac{a}{b}\).

The radius from the origin to \((a,\ b)\) has gradient \(\dfrac{b}{a}\), and

\[\left(-\frac{a}{b}\right)\left(\frac{b}{a}\right) = -1\]

so the tangent and the radius are perpendicular.

傾きの積が \(-1\) なら垂直です(SL 2.1)。

\(r\) は定数なので、右辺の微分は \(0\) です。半径の大きさは、傾きの式に出てきません。

検算(\((3,\ 4)\)、\(r = 5\))。 接線 \(-\dfrac{3}{4}\)、半径 \(\dfrac{4}{3}\)、積 \(-1\) ✓

検算(\(b = 0\) のとき)。 分母が \(0\) になります ✓ そこでは接線が垂直で、傾きが定義されません。

試験ではこう書く

Differentiating \(x^{2}+y^{2} = r^{2}\) with respect to \(x\), treating \(y\) as a function of \(x\) and \(r\) as a constant, gives

\[2x+2y\frac{\mathrm{d}y}{\mathrm{d}x} = 0\]

Provided \(y \neq 0\) this rearranges to \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = -\dfrac{x}{y}\), so at the point \((a,\ b)\) with \(b \neq 0\) the gradient of the tangent is \(-\dfrac{a}{b}\).

The radius joining the origin to \((a,\ b)\) is a line segment through \((0,\ 0)\) and \((a,\ b)\), so its gradient is \(\dfrac{b-0}{a-0} = \dfrac{b}{a}\), provided \(a \neq 0\).

The product of the two gradients is \(\left(-\dfrac{a}{b}\right)\left(\dfrac{b}{a}\right) = -1\), and two lines with gradients whose product is \(-1\) are perpendicular.

Hence the tangent at any point of the circle is perpendicular to the radius at that point.

The cases \(a = 0\) and \(b = 0\) are the top and bottom, and the left and right, of the circle.

There one of the two lines is vertical and the other horizontal, so they are still perpendicular even though one gradient is undefined.

9 Explain why the maximum of a function on a closed interval can occur at an end point, and describe how to check for this.

Setting \(f'(x) = 0\) locates points where the tangent is horizontal. At an end of the interval the function simply stops, and the tangent there need not be horizontal.

A function that is increasing throughout the interval, for example, has its maximum at the right-hand end with \(f'(x) > 0\) there.

To check, evaluate \(f\) at every solution of \(f'(x) = 0\) and at both end points, then compare the values.

\(f'(x) = 0\) は「水平な接線」を探す式です(Why it works)。端ではその条件が要りません。

場面から定義域が決まる問題では、この状況がよく起こります。例題 \(4\) がその例でした。

検算(増加する例)。 \(f(x) = x\) を \([0,\ 1]\) で考えると、最大は \(x = 1\) ✓ \(f'(x) = 1 \neq 0\) です。

検算(両方ある例)。 \(f(x) = x^{3}-3x\) を \([0,\ 3]\) で考えると、\(x = 1\) が最小、\(x = 3\) が最大 ✓

試験ではこう書く

The equation \(f'(x) = 0\) identifies stationary points, where the tangent to the graph is horizontal.

At such a point the function stops increasing and starts decreasing, or the reverse, so a local maximum or minimum can occur there.

An end point of a closed interval is different.

The function is not defined beyond it, so there is nothing on one side to compare with.

The graph can still be rising as it reaches a right-hand end point, and that end value is then the largest value on the interval even though \(f'(x) \neq 0\) there.

The simplest example is \(f(x) = x\) on \([0,\ 1]\), which has no stationary point at all but takes its maximum at \(x = 1\).

The reliable method on a closed interval is therefore to build a short list of candidates: every solution of \(f'(x) = 0\) that lies inside the interval, together with both end points.

Evaluating \(f\) at each candidate and comparing the values gives the maximum and the minimum with certainty.

This matters in optimisation problems set in context, where the interval comes from the situation, such as a length that cannot be negative or exceed a given total.

10 A student differentiates \(x^{2}+y^{2} = 25\) with respect to \(x\) and writes \(2x+2y = 0\). Identify the error and give the correct result.

The term \(y^{2}\) has been differentiated with respect to \(y\), not with respect to \(x\). Since \(y\) is a function of \(x\), the chain rule gives a factor \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\).

\[2x+2y\frac{\mathrm{d}y}{\mathrm{d}x} = 0, \qquad \frac{\mathrm{d}y}{\mathrm{d}x} = -\frac{x}{y}\]

\(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) が抜けています(式 1)。生徒の式には、求めたいものが入っていません。

生徒の式 \(2x+2y = 0\) は \(y = -x\) という直線を表していて、円とは関係がありません。

検算(\((3,\ 4)\) で)。 正しい傾きは \(-\dfrac{3}{4}\) ✓ 生徒の式からは何も出ません。

検算(見分け方)。 答えに \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) が出てこなかったら、どこかで落としています ✓

試験ではこう書く

The error is in the term \(y^{2}\).

Differentiating it as \(2y\) treats \(y\) as the variable, which would be correct for \(\dfrac{\mathrm{d}}{\mathrm{d}y}\left(y^{2}\right)\).

Here the differentiation is with respect to \(x\), and on this curve \(y\) is a function of \(x\), so the chain rule applies:

\[\frac{\mathrm{d}}{\mathrm{d}x}\left(y^{2}\right) = \frac{\mathrm{d}}{\mathrm{d}y}\left(y^{2}\right)\times\frac{\mathrm{d}y}{\mathrm{d}x} = 2y\frac{\mathrm{d}y}{\mathrm{d}x}\]

The correct first line is therefore \(2x+2y\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0\), which rearranges to \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = -\dfrac{x}{y}\) for \(y \neq 0\).

A useful check is that the answer to an implicit differentiation must contain \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) before it is rearranged.

The student’s line \(2x+2y = 0\) contains no derivative at all, and as an equation it describes the line \(y = -x\), which has nothing to do with the circle.