✓ تم التحقق من المنهج الرسميمعايير الجودة والصرامة ↗
3

التحسين متعدد المتغيرات: النقاط الحرجة ومصفوفة هيس ومضاعفات لاغرانج

∇ Multivariable Calculus · Multivariable Optimization: Critical Points, Hessians & Lagrange Multipliers Calc III · 3  ·  Optimization

Finding optimal configurations — whether minimizing the energy of a physical lattice, maximizing the profit of a multi-product firm, or training high-dimensional neural network loss landscapes — is the ultimate application of differential calculus. In several variables, extrema occur where the gradient vector vanishes, creating horizontal tangent planes. Distinguishing peaks, valleys, and saddle points requires analyzing the curvature via the Hessian matrix, while optimizing subject to real-world boundary constraints is governed by the method of Lagrange multipliers.

● Level 1 Foundation — Definition 3.1: Critical Points & Local Extrema

Let f: D \subseteq \mathbb{R}^2 approaches \mathbb{R} be defined on an open set D .

  1. \( f \) has a local maximum at \( (a, b) \) if \( f(x, y) \le f(a, b) \) for all \( (x, y) \) in an open disk centered at \( (a, b) \).
  2. \( f \) has a local minimum at \( (a, b) \) if \( f(x, y) \ge f(a, b) \) for all \( (x, y) \) in an open disk centered at \( (a, b) \).
  3. A point \( (a, b) \) in \( D \) is a critical point (or stationary point) of \( f \) if: \[ \nabla f(a, b) = \mathbf{0} \iff f_x(a, b) = 0 \quad \text{and} \quad f_y(a, b) = 0, \] or if one or both partial derivatives fail to exist at \( (a, b) \).
  4. Fermat's Theorem for Multivariable Functions: If \( f \) has a local extremum at \( (a, b) \) and is differentiable there, then \( \nabla f(a, b) = \mathbf{0} \). (Proof: If \( \nabla f(a, b) \neq \mathbf{0} \), moving in the direction of \( \nabla f \) increases \( f \) and moving opposite decreases \( f \), contradicting extremality.)
  5. A critical point \( (a, b) \) where \( \nabla f(a, b) = \mathbf{0} \) that is neither a local maximum nor a local minimum is called a saddle point.
تعاكس تقعر المقاطع الإحداثية المتعامدة يعطي محدد هيسيان سالباً \(D = f_{xx}f_{yy} - f_{xy}^2 = -4 < 0\)، أي نقطة سرج عند \((0,0)\).
Worked Example 3.A (Level 1) — Locating Critical Points of a Bivariate Surface
المسألة. Find all critical points of the surface \( f(x, y) = x^3 - 3x + y^2 \).
▸ عرض خطوات الحل بالتفصيل

Step 1: Compute first-order partial derivatives and set to zero: \[ f_x(x, y) = 3x^2 - 3 = 0 \implies 3(x^2 - 1) = 0 \implies x = 1 \quad \text{or} \quad x = -1. \] \[ f_y(x, y) = 2y = 0 \implies y = 0. \]

Step 2: Form candidate coordinate pairs:
Pairing each solution for \( x \) with \( y = 0 \) yields two critical points: \[ P_1 = (1, 0), \qquad P_2 = (-1, 0). \]

Function values: \( f(1, 0) = 1^3 - 3(1) + 0^2 = -2 \), and \( f(-1, 0) = (-1)^3 - 3(-1) + 0^2 = 2 \).

● Level 2 Analytical Application — Definition 3.2: The Hessian Matrix & Discriminant

Let \( f \) be a twice continuously differentiable function (\( f \in C^2 \)). The Hessian matrix of \( f \) at \( (x, y) \) is the symmetric \( 2 \times 2 \) matrix of second-order partial derivatives: \[ H(x, y) = \begin{pmatrix} f_{xx} & f_{xy} \\ f_{yx} & f_{yy} \end{pmatrix}. \] By Clairaut's Theorem (Theorem 1.1), \( f_{xy} = f_{yx} \), so \( H \) is real symmetric. The Hessian discriminant (or determinant) is: \[ D(x, y) = \det(H) = f_{xx} f_{yy} - (f_{xy})^2. \]

▲ Level 2 Analytical Application — Theorem 3.1: The Second Derivative Test

Let \( (a, b) \) be a critical point of \( f \) (\( \nabla f(a, b) = \mathbf{0} \)) with continuous second partial derivatives on an open disk centered at \( (a, b) \). Let \( D = D(a, b) = f_{xx}(a, b)f_{yy}(a, b) - [f_{xy}(a, b)]^2 \).

  1. Local Minimum: If \( D > 0 \) and \( f_{xx}(a, b) > 0 \) (equivalently \( H \) is positive definite, eigenvalues \( \lambda_1, \lambda_2 > 0 \)), then \( f(a, b) \) is a local minimum.
  2. Local Maximum: If \( D > 0 \) and \( f_{xx}(a, b) < 0 \) (equivalently \( H \) is negative definite, eigenvalues \( \lambda_1, \lambda_2 < 0 \)), then \( f(a, b) \) is a local maximum.
  3. Saddle Point: If \( D < 0 \) (equivalently \( H \) is indefinite, eigenvalues have opposite signs \( \lambda_1 > 0 > \lambda_2 \)), then \( (a, b) \) is a saddle point.
  4. Inconclusive: If \( D = 0 \), the test yields no information; higher-order terms determine the behavior.
Analytical Proof of the Second Derivative Test (Taylor Expansion)

Let \( h = \Delta x \) and \( k = \Delta y \). By Taylor's Theorem in two variables centered at the critical point \( (a, b) \) where \( f_x(a,b) = f_y(a,b) = 0 \): \[ f(a+h, b+k) - f(a, b) = \frac{1}{2} Q(h, k) + R_2(h, k), \] where \( Q(h, k) = f_{xx} h^2 + 2 f_{xy} h k + f_{yy} k^2 \) is the second-order quadratic form and \( R_2(h, k) / (h^2 + k^2) \to 0 \) as \( (h, k) \to (0, 0) \). The local behavior is determined entirely by the sign of \( Q(h, k) \).

Case 1 (\( f_{xx} \neq 0 \)): Complete the square in \( h \): \[ Q(h, k) = f_{xx} \left( h^2 + 2\frac{f_{xy}}{f_{xx}}hk \right) + f_{yy}k^2 = f_{xx} \left( h + \frac{f_{xy}}{f_{xx}}k \right)^2 + \left( f_{yy} - \frac{f_{xy}^2}{f_{xx}} \right) k^2. \] Combining the second term over a common denominator: \[ f_{yy} - \frac{f_{xy}^2}{f_{xx}} = \frac{f_{xx}f_{yy} - f_{xy}^2}{f_{xx}} = \frac{D}{f_{xx}}. \] Thus: \[ Q(h, k) = f_{xx} \left( h + \frac{f_{xy}}{f_{xx}}k \right)^2 + \frac{D}{f_{xx}} k^2. \]

  1. If \( D > 0 \) and \( f_{xx} > 0 \): Both coefficients \( f_{xx} \) and \( D/f_{xx} \) are strictly positive. Since the sum of two squares is strictly positive for all \( (h, k) \neq (0, 0) \), \( Q(h, k) > 0 \), confirming \( (a, b) \) is a local minimum.
  2. If \( D > 0 \) and \( f_{xx} < 0 \): Both coefficients are strictly negative. Hence \( Q(h, k) < 0 \) for all \( (h, k) \neq (0, 0) \), confirming a local maximum.
  3. If \( D < 0 \): The coefficients have opposite signs. Setting \( k = 0 \) gives \( Q(h, 0) = f_{xx} h^2 \), which has the sign of \( f_{xx} \). Along the line \( h = -\frac{f_{xy}}{f_{xx}}k \), \( Q = \frac{D}{f_{xx}} k^2 \), which has the opposite sign! Because \( Q \) takes both positive and negative values in every neighborhood of the origin, \( (a, b) \) is a saddle point.

Case 2 (\( f_{xx} = 0 \)): If \( f_{xx} = 0 \), then \( D = -f_{xy}^2 \le 0 \). If \( D < 0 \) (meaning \( f_{xy} \neq 0 \)), then \( Q(h, k) = 2f_{xy}hk + f_{yy}k^2 = k(2f_{xy}h + f_{yy}k) \), which changes sign across the lines \( k = 0 \) and \( 2f_{xy}h + f_{yy}k = 0 \), again yielding a saddle point. \( \blacksquare \)

⊙ مستكشف تفاعلي · Classifying النقاط الحرجة
تفاعلي
\(f\)\(x\)\((a, b)\)\(0.000\)
\(f\)\(y\)\((a, b)\)\(0.000\)
\(D = f\)xx\(f\)yy \(-f\)\(xy\)² (التحسين متعدد المتغيرات: النقاط الحرجة ومصفوفة هيس ومضاعفات لاغرانج)\(12.00\)
classification (التحسين متعدد المتغيرات: النقاط الحرجة ومصفوفة هيس ومضاعفات لاغرانج)Local minimum

\(f(x, y) = x^{3} -3x + y^{2}\)، نفس دالة كـ مثال محلول 3.A. نيلي dot عند \((1, 0)\) و كهرماني dot عند \((-1, 0)\) تكون له اثنان named critical نقاط. اسحب \((a, b)\) مع ring marker: \(f_x\) و \(f_y\) تكون محسوب عند كل نقطة، لكن نظرية 3.1's \(D / f_{\text{xx}}\) classification فقط ينطبق حيث \(\nabla f = \mathbf{0}\) — move off \(( \pm 1, 0)\) و readout correctly reports 'ليس critical نقطة' بدلاً من ذلك من guessing نوع.

● Level 3 University Rigor — Definition 3.3: Constrained Optimization & The Lagrange Multiplier Method

When optimizing \( f(x, y) \) subject to a constraint equation \( g(x, y) = c \), candidate points are restricted to the level curve \( \mathcal{C} = \{ (x, y) : g(x, y) = c \} \).

Theorem (Lagrange Multipliers): Suppose \( f \) and \( g \) have continuous first partial derivatives, and \( (a, b) \) is an extremum of \( f \) restricted to \( g(x, y) = c \). If \( \nabla g(a, b) \neq \mathbf{0} \), then there exists a scalar \( \lambda \in \mathbb{R} \) (the Lagrange multiplier) such that: \[ \nabla f(a, b) = \lambda \nabla g(a, b). \] In coordinate equations, this system plus the constraint yields 3 equations in 3 unknowns \( (x, y, \lambda) \): \[ \begin{cases} f_x(x, y) = \lambda g_x(x, y) \\ f_y(x, y) = \lambda g_y(x, y) \\ g(x, y) = c. \end{cases} \]

Two Constraints in \( \mathbb{R}^3 \): To optimize \( f(x, y, z) \) subject to two simultaneous constraints \( g(x, y, z) = c \) and \( h(x, y, z) = k \) (whose intersection forms a space curve), the gradient must lie in the plane spanned by \( \nabla g \) and \( \nabla h \): \[ \nabla f = \lambda \nabla g + \mu \nabla h. \]

Geometric Proof of the Lagrange Multiplier Condition

Let \( \mathbf{r}(t) = \langle x(t), y(t) \rangle \) be any regular smooth parameterization of the constraint curve \( g(x, y) = c \) near \( (a, b) \), with \( \mathbf{r}(0) = (a, b) \) and tangent vector \( \mathbf{r}'(0) \neq \mathbf{0} \).

Along the constraint curve, \( g(\mathbf{r}(t)) = c \) is identically constant. Differentiating with respect to \( t \) via the Chain Rule: \[ \frac{d}{dt}[g(\mathbf{r}(t))] = \nabla g(\mathbf{r}(t)) \cdot \mathbf{r}'(t) = 0 \implies \nabla g(a, b) \perp \mathbf{r}'(0). \] Thus, \( \nabla g(a, b) \) is perpendicular to the tangent vector \( \mathbf{r}'(0) \).

Now consider the objective function along the curve: \( h(t) = f(\mathbf{r}(t)) \). Since \( (a, b) \) is a local extremum of \( f \) restricted to the curve, \( h(t) \) has an ordinary single-variable extremum at \( t = 0 \), so Fermat's Theorem requires \( h'(0) = 0 \). Applying the Chain Rule: \[ h'(0) = \nabla f(\mathbf{r}(0)) \cdot \mathbf{r}'(0) = \nabla f(a, b) \cdot \mathbf{r}'(0) = 0 \implies \nabla f(a, b) \perp \mathbf{r}'(0). \]

In the two-dimensional plane \( \mathbb{R}^2 \), the orthogonal complement of the 1D tangent line spanned by \( \mathbf{r}'(0) \) is a one-dimensional subspace. Because both \( \nabla f(a, b) \) and \( \nabla g(a, b) \) are perpendicular to \( \mathbf{r}'(0) \), they must be linearly dependent (collinear). Since \( \nabla g(a, b) \neq \mathbf{0} \), there exists a scalar \( \lambda \) such that \( \nabla f(a, b) = \lambda \nabla g(a, b) \). \( \blacksquare \)

Worked Example 3.B (Level 3) — Absolute Extrema on a Compact Triangular Region
المسألة. Find the absolute maximum and minimum values of \( f(x, y) = 2x^2 + y^2 - 4x - 2y + 5 \) on the closed triangular region \( D \) bounded by the lines \( x = 0 \), \( y = 0 \), and \( x + y = 4 \).
▸ عرض خطوات الحل بالتفصيل

Step 1: Critical points in the interior of \( D \): \[ f_x = 4x - 4 = 0 \implies x = 1, \qquad f_y = 2y - 2 = 0 \implies y = 1. \] The interior point \( (1, 1) \) lies inside \( D \) since \( 1 \ge 0, 1 \ge 0 \), and \( 1 + 1 = 2 < 4 \).
Value: \( f(1, 1) = 2(1)^2 + 1^2 - 4(1) - 2(1) + 5 = 2 + 1 - 4 - 2 + 5 = \mathbf{2} \).

Step 2: Boundary Segment 1 (\( y = 0 \) for \( 0 \le x \le 4 \)):
\( u(x) = f(x, 0) = 2x^2 - 4x + 5 \).
\( u'(x) = 4x - 4 = 0 \implies x = 1 \in [0, 4] \). Candidate points: \( (1, 0) \), \( (0, 0) \), \( (4, 0) \).
Values: \( f(1, 0) = 2 - 4 + 5 = \mathbf{3} \); \( f(0, 0) = \mathbf{5} \); \( f(4, 0) = 2(16) - 4(4) + 5 = 32 - 16 + 5 = \mathbf{21} \).

Step 3: Boundary Segment 2 (\( x = 0 \) for \( 0 \le y \le 4 \)):
\( v(y) = f(0, y) = y^2 - 2y + 5 \).
\( v'(y) = 2y - 2 = 0 \implies y = 1 \in [0, 4] \). Candidate points: \( (0, 1) \), \( (0, 4) \).
Values: \( f(0, 1) = 1 - 2 + 5 = \mathbf{4} \); \( f(0, 4) = 16 - 8 + 5 = \mathbf{13} \).

Step 4: Boundary Segment 3 (\( y = 4 - x \) for \( 0 \le x \le 4 \)):
\( w(x) = f(x, 4 - x) = 2x^2 + (4 - x)^2 - 4x - 2(4 - x) + 5 = 2x^2 + 16 - 8x + x^2 - 4x - 8 + 2x + 5 = 3x^2 - 10x + 13 \).
\( w'(x) = 6x - 10 = 0 \implies x = 5/3 \in [0, 4] \implies y = 4 - 5/3 = 7/3 \).
Value: \( f(5/3, 7/3) = 3(25/9) - 10(5/3) + 13 = 25/3 - 50/3 + 39/3 = 14/3 = \mathbf{4.667} \).

Step 5: Global comparison: Comparing all candidate values \( \{ 2, 3, 5, 21, 4, 13, 4.667 \} \): \[ \text{Absolute Minimum} = \mathbf{2} \quad \text{at } (1, 1), \qquad \text{Absolute Maximum} = \mathbf{21} \quad \text{at } (4, 0). \]

شرط التماس الهندسي لمضاعفات لاغرانج \(\nabla f = \lambda \nabla g\) لتعظيم \(f(x, y) = x + y\) على دائرة القيد \(x^2 + y^2 = 2\).
⚠️ أخطاء شائعة ومصائد جامعية — Optimization
  • Discriminant Sign Priority: Always check the sign of \( D = f_{xx}f_{yy} - (f_{xy})^2 \) FIRST. If \( D < 0 \), the point is immediately a saddle point, regardless of whether \( f_{xx} \) is positive, negative, or zero. Looking at \( f_{xx} \) before verifying \( D > 0 \) is a classic exam blunder.
  • Inconclusive Test \( D = 0 \): If \( D = 0 \), the test fails completely. For example, \( f(x, y) = x^4 + y^4 \) has \( D(0, 0) = 0 \) and has a local minimum, while \( g(x, y) = x^4 - y^4 \) also has \( D(0, 0) = 0 \) but is a saddle point. You must analyze the direct behavior of the function along test lines or parabolas.
  • Omitting Boundary Search on Compact Sets: When finding absolute extrema on a closed, bounded domain (e.g., a disk or triangle), interior critical points alone are not enough! The absolute maximum or minimum often lies on the boundary curve \( \partial D \).
  • Singular Points on Constraints: In Lagrange multipliers, solutions can also occur where \( \nabla g = \mathbf{0} \) (points where the constraint curve is not smooth or has a cusp). These singular points must be checked independently alongside \( \nabla f = \lambda \nabla g \).

Optimization & Classification Summary

Critical Point (التحسين متعدد المتغيرات: النقاط الحرجة ومصفوفة هيس ومضاعفات لاغرانج)
\( \nabla f(a, b) = \mathbf{0} \iff f_x = 0 \text{ and } f_y = 0 \)
Hessian المحدد
\( D = f_{xx}f_{yy} - (f_{xy})^2 \)
Classification (التحسين متعدد المتغيرات: النقاط الحرجة ومصفوفة هيس ومضاعفات لاغرانج)
\(D>0, f_{xx}>0\): Min; \(D>0, f_{xx}<0\): Max; \(D<0\): Saddle (التحسين متعدد المتغيرات: النقاط الحرجة ومصفوفة هيس ومضاعفات لاغرانج)
Lagrange Condition (التحسين متعدد المتغيرات: النقاط الحرجة ومصفوفة هيس ومضاعفات لاغرانج)
\(\nabla f = \lambda \nabla g\) subject to \(g(x, y) = c\) (التحسين متعدد المتغيرات: النقاط الحرجة ومصفوفة هيس ومضاعفات لاغرانج)
Worked Example \(C\) — Multivariable Optimization: Critical Points, Hessians & Lagrange Multipliers (Medium Application)
المسألة. Consider the function \( f(x, y) = x^2 + y^2 - 4x - 6y + 13 \). Find the coordinates of the critical point for this function.
▸ عرض خطوات الحل بالتفصيل

To find the critical point(s) of a function of two variables, we need to find where the gradient is zero. The gradient is given by \( \nabla f = \left\langle \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y} \right\rangle \). First, we compute the partial derivative with respect to x: \( \frac{\partial f}{\partial x} = \frac{\partial}{\partial x}(x^2 + y^2 - 4x - 6y + 13) = 2x - 4 \). Next, we compute the partial derivative with respect to y: \( \frac{\partial f}{\partial y} = \frac{\partial}{\partial y}(x^2 + y^2 - 4x - 6y + 13) = 2y - 6 \). To find the critical point(s), we set both partial derivatives equal to zero and solve the resulting system of equations: 1) \( 2x - 4 = 0 \) \( 2x = 4 \) \( x = 2 \) 2) \( 2y - 6 = 0 \) \( 2y = 6 \) \( y = 3 \) Therefore, the critical point is \( (2, 3) \). Alternative method: Completing the square. We can rewrite the function by completing the square for the x and y terms: \( f(x, y) = (x^2 - 4x) + (y^2 - 6y) + 13 \) \( f(x, y) = (x^2 - 4x + 4) - 4 + (y^2 - 6y + 9) - 9 + 13 \) \( f(x, y) = (x - 2)^2 + (y - 3)^2 \) This is a paraboloid that opens upwards. The minimum value occurs when \( (x - 2)^2 = 0 \) and \( (y - 3)^2 = 0 \), which means \( x = 2 \) and \( y = 3 \). This minimum point is the critical point of the function.

Worked Example \(D\) — Multivariable Optimization: Critical Points, Hessians & Lagrange Multipliers (Hard Application)
المسألة. Consider the vector field \( \mathbf{h}(u, y, z) = \langle 4u,\, 10y,\, 5z \rangle \) on \( \mathbb{R}^3 \). Compute the scalar divergence \( \nabla \cdot \mathbf{h} \).
▸ عرض خطوات الحل بالتفصيل

The divergence is \( 4 + 10 + 5 = 19 \).

Error Diagnosis — Common Student Traps vs. Exam-Board Method (Multivariable Optimization: Critical Points, Hessians & Lagrange Multipliers)
الخطأ الشائع لدى الطلابلماذا يفشل رياضياًالطريقة الصحيحة المعتمدة في الاختبار
Computing الزاوية at \(B\) using \(\overrightarrow{AB}\cdot\overrightarrow{BC}\)Vectors are head-to-tail instead of tail-to-tail, giving \(180^\circ - \theta\).Reverse \(\overrightarrow{AB}\) so both emanate from \(B\): use \(\overrightarrow{BA}\cdot\overrightarrow{BC}\).
Using the same parameter \(t\) for two intersecting 3D lines \(\mathbf{r}_1(t) = \mathbf{r}_2(t)\)Tests for a simultaneous collision at time \(t\) rather than geometric intersection of paths.Assign distinct parameters \(\lambda\) and \(\mu\) to the two lines before equating components.
Assuming \((AB)^{-1} = A^{-1}B^{-1}\) (التحسين متعدد المتغيرات: النقاط الحرجة ومصفوفة هيس ومضاعفات لاغرانج)Multiplying \((AB)(A^{-1}B^{-1})\) does not cancel inner factors when \(AB \ne BA\).Use the shoe-sock reversal law: \((AB)^{-1} = B^{-1}A^{-1}\).
▲ Exam Pacing & Verification Strategy — Multivariable Optimization: Critical Points, Hessians & Lagrange Multipliers

Fast Matrix & Vector Verification (University Multivariable & Vector Calculus): Check every \(2\times 2\) or \(3\times 3\) eigenvalue computation using the trace and determinant invariants: \(\sum \lambda_i = \operatorname{tr}(A)\) (sum of diagonal entries) and \(\prod \lambda_i = \det(A)\).

Find and classify all critical points of \( f(x, y) = 2x^3 + xy^2 + 5x^2 + y^2 \).
💡 Hint 1 of 3
تلميح للحل: استخدم العلاقة \(f_x = 6x^2 + y^2 + 10x = 0, \qquad f_y = 2xy + 2y = 2y(x + 1)\) لتبسيط الخطوة.
💡 Hint 2 of 3
Solve the system: From \( f_y = 0 \), either \( y = 0 \) or \( x = -1 \). If \( y = 0 \): \( 6x^2 + 10x = 2x(3x + 5) = 0 \implies x = 0 \) or \( x = -5/3 \). Critical points: \( (0, 0) \) and \( (-5/3, 0) \).
💡 Hint 3 of 3
تلميح للحل: استخدم العلاقة \((-1, -2)\) ، \(D = 0 - 4(4) = -16 < 0\) لتبسيط الخطوة.

Step 1: Set first partial derivatives equal to zero: \[ f_x = 6x^2 + y^2 + 10x = 0, \qquad f_y = 2xy + 2y = 2y(x + 1) = 0. \]

Step 2: Solve the system: From \( f_y = 0 \), either \( y = 0 \) or \( x = -1 \).

  • If \( y = 0 \): \( 6x^2 + 10x = 2x(3x + 5) = 0 \implies x = 0 \) or \( x = -5/3 \). Critical points: \( (0, 0) \) and \( (-5/3, 0) \).
  • If \( x = -1 \): \( 6(-1)^2 + y^2 + 10(-1) = 0 \implies 6 + y^2 - 10 = 0 \implies y^2 = 4 \implies y = \pm 2 \). Critical points: \( (-1, 2) \) and \( (-1, -2) \).

Step 3: Compute second-order partials: \[ f_{xx} = 12x + 10, \quad f_{yy} = 2x + 2, \quad f_{xy} = 2y. \] \[ D = f_{xx}f_{yy} - (f_{xy})^2 = (12x + 10)(2x + 2) - 4y^2. \]

Step 4: Classify each point:

  • At \( (0, 0) \): \( D = (10)(2) - 0 = 20 > 0 \) and \( f_{xx} = 10 > 0 \implies \mathbf{Local\ Minimum} \).
  • At \( (-5/3, 0) \): \( f_{xx} = -10 \), \( f_{yy} = -4/3 \implies D = (-10)(-4/3) - 0 = 40/3 > 0 \) and \( f_{xx} = -10 < 0 \implies \mathbf{Local\ Maximum} \).
  • At \( (-1, 2) \): \( f_{xx} = -2 \), \( f_{yy} = 0 \implies D = 0 - 4(4) = -16 < 0 \implies \mathbf{Saddle\ Point} \).
  • At \( (-1, -2) \): \( D = 0 - 4(4) = -16 < 0 \implies \mathbf{Saddle\ Point} \).
Use the method of Lagrange multipliers to find the maximum and minimum values of \( f(x, y) = 3x + 4y \) on the circle \( x^2 + y^2 = 25 \).
💡 Hint 1 of 3
تلميح للحل: استخدم العلاقة \(g(x, y) = x^2 + y^2\) لتبسيط الخطوة.
💡 Hint 2 of 3
أعد كتابة العلاقة وبسّطها للحصول على: \(\nabla f = \lambda \nabla g \implies \langle 3, 4 \rangle = \lambda \langle 2x, 2y \rangle\) This gives: \(3 = 2\lambda x \implies x = \frac{3}{2\lambda}, \qquad 4 = 2\lambda y \implies y = \frac{2}{\lambda}\).
💡 Hint 3 of 3
تلميح للحل: استخدم العلاقة \(f(-3, -4) = 3(-3) + 4(-4) = -9 - 16\) لتبسيط الخطوة.

Step 1: Set up the Lagrange equations: Constraint \( g(x, y) = x^2 + y^2 = 25 \). \[ \nabla f = \lambda \nabla g \implies \langle 3, 4 \rangle = \lambda \langle 2x, 2y \rangle. \] This gives: \[ 3 = 2\lambda x \implies x = \frac{3}{2\lambda}, \qquad 4 = 2\lambda y \implies y = \frac{2}{\lambda}. \]

Step 2: Substitute into constraint: \[ \left(\frac{3}{2\lambda}\right)^2 + \left(\frac{2}{\lambda}\right)^2 = 25 \implies \frac{9}{4\lambda^2} + \frac{16}{4\lambda^2} = 25 \implies \frac{25}{4\lambda^2} = 25. \] \[ 4\lambda^2 = 1 \implies \lambda^2 = \frac{1}{4} \implies \lambda = \pm \frac{1}{2}. \]

Step 3: Find corresponding points:

  • For \( \lambda = 1/2 \): \( x = \frac{3}{2(1/2)} = 3 \), \( y = \frac{2}{1/2} = 4 \implies (3, 4) \).
  • For \( \lambda = -1/2 \): \( x = -3 \), \( y = -4 \implies (-3, -4) \).

Step 4: Evaluate \( f \): \[ f(3, 4) = 3(3) + 4(4) = 9 + 16 = 25 \quad (\text{Maximum}), \] \[ f(-3, -4) = 3(-3) + 4(-4) = -9 - 16 = -25 \quad (\text{Minimum}). \]

[Practice 3 · Easy] Consider the function \( f(x,y) = x^2 + y^2 \). Find the value of \( f_{xx}(2,3) \).
💡 Hint 1 of 3
First, we find the first partial derivative of \( f(x,y) \) with respect to \( x \): \( f_x(x,y) = \frac{\partial}{\partial x}(x^2 + y^2) = 2x \).
💡 Hint 2 of 3
Next, we find the second partial derivative of \( f(x,y) \) with respect to \( x \) (which is \( f_{xx} \)): \(f_{xx}(x,y) = \frac{\partial}{\partial x}(f_x(x,y)) = \frac{\partial}{\partial x}(2x)\).
💡 Hint 3 of 3
Finally, we evaluate \(f_{xx}(x,y)\) at the point \((2,3)\). Since \(f_{xx}(x,y)\) is a constant, its value at any point is 2. Therefore, \(f_{xx}(2,3)\).
First, we find the first partial derivative of \( f(x,y) \) with respect to \( x \): \( f_x(x,y) = \frac{\partial}{\partial x}(x^2 + y^2) = 2x \). Next, we find the second partial derivative of \( f(x,y) \) with respect to \( x \) (which is \( f_{xx} \)): \( f_{xx}(x,y) = \frac{\partial}{\partial x}(f_x(x,y)) = \frac{\partial}{\partial x}(2x) = 2 \). Finally, we evaluate \( f_{xx}(x,y) \) at the point \( (2,3) \). Since \( f_{xx}(x,y) \) is a constant, its value at any point is 2. Therefore, \( f_{xx}(2,3) = 2 \).
[Practice 4 · Medium] Find the \( y \)-coordinate of the critical point of \( f(x,y)=x^{2} - 6 x + y^{2} - 6 y \).
💡 Hint 1 of 3
انطلق من العلاقة الرياضية: \(f_y = 2y-6\).
💡 Hint 2 of 3
Rewrite and بسّط العبارة the equation to: \(f_y = 0\).
💡 Hint 3 of 3
حل \(f_y = 0\) to أوجد \(y\).
خطوات الحل التفصيلية: \(f_y=2y-6=0\Rightarrow y=3\).
Consider the function \(f(x,y) = x^2 + y^2\). أوجد قيمة \(f_{xx}(2,3)\).
💡 Hint 1 of 3
First, we find the first partial derivative of \( f(x,y) \) with respect to \( x \): \( f_x(x,y) = \frac{\partial}{\partial x}(x^2 + y^2) = 2x \).
💡 Hint 2 of 3
Next, we find the second partial derivative of \( f(x,y) \) with respect to \( x \) (which is \( f_{xx} \)): \(f_{xx}(x,y) = \frac{\partial}{\partial x}(f_x(x,y)) = \frac{\partial}{\partial x}(2x)\).
💡 Hint 3 of 3
Finally, we evaluate \(f_{xx}(x,y)\) at the point \((2,3)\). Since \(f_{xx}(x,y)\) is a constant, its value at any point is 2. Therefore, \(f_{xx}(2,3)\).
First, we find the first partial derivative of \( f(x,y) \) with respect to \( x \): \( f_x(x,y) = \frac{\partial}{\partial x}(x^2 + y^2) = 2x \). Next, we find the second partial derivative of \( f(x,y) \) with respect to \( x \) (which is \( f_{xx} \)): \( f_{xx}(x,y) = \frac{\partial}{\partial x}(f_x(x,y)) = \frac{\partial}{\partial x}(2x) = 2 \). Finally, we evaluate \( f_{xx}(x,y) \) at the point \( (2,3) \). Since \( f_{xx}(x,y) \) is a constant, its value at any point is 2. Therefore, \( f_{xx}(2,3) = 2 \).

التحسين متعدد المتغيرات: النقاط الحرجة ومصفوفة هيس ومضاعفات لاغرانج — مسألة مهيكلة من ٦ درجات

6 نقاط الآلة الحاسبة مسموحة
في موضوع التحسين متعدد المتغيرات: النقاط الحرجة ومصفوفة هيس ومضاعفات لاغرانج، ادرس الدالة \(f(x) = 3x^2 - 5x + 1\) على الفترة \([0, 3]\).
  1. (a)2 نقطة
    احسب قيمتي \(f(0)\) و \(f(2)\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يعوّض القيمتين في الدالة (1 نقطة)
    • [A1] يحصل على 1 و 3 (1 نقطة)
  2. (b)2 نقطة
    أوجد المشتقة \(f'(x)\) والنقطة الحرجة \(x_c\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يشتق الدالة التربيعية (1 نقطة)
    • [A1] يحل لإيجاد النقطة الحرجة (1 نقطة)
  3. (c)2 نقطة
    احسب متوسط معدل التغيّر من \(x = 0\) إلى \(x = 2\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يطبّق قانون متوسط معدل التغيّر (1 نقطة)
    • [A1] يبسّط الناتج إلى 1 (1 نقطة)
الحل الكامل التفصيلي
(أ) \(f(0)=1\) و \(f(2)=3\). (ب) \(f'(x)=6x-5\). (ج) متوسط معدل التغيّر يساوي \(1\).
📝 اختبار الفصل