Comprehensive Notes on Single-Variable and Multivariable Calculus

Limits and Continuity of Single-Variable Functions

  • Limit of a Function (Formal Concept):

    • If a function f(x)f(x) becomes arbitrarily close to a unique value LL for all xx sufficiently close to cc, then f(x)f(x) approaches the limit LL as x→cx \to c, denoted mathematically as:     lim⁡x→cf(x)=L\lim_{x \to c} f(x) = L
    • Limits of Basic Elementary Functions:
    • Identity Function: For f(x)=xf(x) = x, lim⁡x→cf(x)=lim⁡x→cx=c\lim_{x \to c} f(x) = \lim_{x \to c} x = c.
    • Constant Function: For f(x)=kf(x) = k, lim⁡x→cf(x)=lim⁡x→ck=k\lim_{x \to c} f(x) = \lim_{x \to c} k = k.
    • Unit-Step Function: The Heaviside unit-step function u(x)u(x) does not possess a limit as x→0x \to 0 because a jump discontinuity occurs at x=0x = 0. For negative values (x<0x < 0), the function remains arbitrarily close to 00, whereas for positive values (x>0x > 0), it remains arbitrarily close to 11. Because the left-hand and right-hand behaviors approach different values, no single limit exists.
  • Fundamental Limit Laws / Rules:

    • Let LL, MM, and kk be real numbers such that lim⁡x→cf(x)=L\lim_{x \to c} f(x) = L and lim⁡x→cg(x)=M\lim_{x \to c} g(x) = M:
    • Sum Rule: lim⁡x→c(f(x)+g(x))=L+M\lim_{x \to c} (f(x) + g(x)) = L + M
    • Difference Rule: lim⁡x→c(f(x)−g(x))=L−M\lim_{x \to c} (f(x) - g(x)) = L - M
    • Constant Multiple Rule: lim⁡x→c(k⋅f(x))=k⋅L\lim_{x \to c} (k \cdot f(x)) = k \cdot L
    • Product Rule: lim⁡x→c(f(x)⋅g(x))=L⋅M\lim_{x \to c} (f(x) \cdot g(x)) = L \cdot M
    • Quotient Rule: lim⁡x→c(f(x)g(x))=LM\lim_{x \to c} \left(\frac{f(x)}{g(x)}\right) = \frac{L}{M}, provided M≠0M \neq 0
    • Power Rule: lim⁡x→c(f(x))n=Ln\lim_{x \to c} (f(x))^n = L^n
    • Root Rule: lim⁡x→cf(x)n=Ln=L1/n\lim_{x \to c} \sqrt[n]{f(x)} = \sqrt[n]{L} = L^{1/n}
  • Limits of Polynomial and Rational Functions:

    • For any polynomial P(x)P(x), evaluation occurs via direct substitution: lim⁡x→cP(x)=P(c)\lim_{x \to c} P(x) = P(c).
    • For any rational function f(x)=P(x)q(x)f(x) = \frac{P(x)}{q(x)}, evaluation proceeds as lim⁡x→cP(x)q(x)=P(c)q(c)\lim_{x \to c} \frac{P(x)}{q(x)} = \frac{P(c)}{q(c)}, provided the denominator q(c)≠0q(c) \neq 0.
  • Evaluated Limit Problems:

    • lim⁡x→c(x3+4x2−3)=c3+4c2−3\lim_{x \to c} (x^3 + 4x^2 - 3) = c^3 + 4c^2 - 3
    • lim⁡x→cx4+x2−1x2+5=c4+c2−1c2+5\lim_{x \to c} \frac{x^4 + x^2 - 1}{x^2 + 5} = \frac{c^4 + c^2 - 1}{c^2 + 5}
    • lim⁡x→−24x2+3=4(−2)2+3=16+3=19\lim_{x \to -2} \sqrt{4x^2 + 3} = \sqrt{4(-2)^2 + 3} = \sqrt{16 + 3} = \sqrt{19}
    • lim⁡x→−1x3+4x2−3x2+5=(−1)3+4(−1)2−3(−1)2+5=−1+4−31+5=06=0\lim_{x \to -1} \frac{x^3 + 4x^2 - 3}{x^2 + 5} = \frac{(-1)^3 + 4(-1)^2 - 3}{(-1)^2 + 5} = \frac{-1 + 4 - 3}{1 + 5} = \frac{0}{6} = 0
    • lim⁡x→1x2+x−2x2−x=lim⁡x→1(x+2)(x−1)x(x−1)=lim⁡x→1x+2x=31=3\lim_{x \to 1} \frac{x^2 + x - 2}{x^2 - x} = \lim_{x \to 1} \frac{(x + 2)(x - 1)}{x(x - 1)} = \lim_{x \to 1} \frac{x + 2}{x} = \frac{3}{1} = 3
    • lim⁡x→0x2+100−10x2\lim_{x \to 0} \frac{\sqrt{x^2 + 100} - 10}{x^2}:
    • Multiplying by the conjugate of the numerator:       lim⁡x→0(x2+100−10)(x2+100+10)x2(x2+100+10)=lim⁡x→0x2+100−100x2(x2+100+10)=lim⁡x→0x2x2(x2+100+10)=lim⁡x→01x2+100+10=1100+10=120\lim_{x \to 0} \frac{(\sqrt{x^2 + 100} - 10)(\sqrt{x^2 + 100} + 10)}{x^2(\sqrt{x^2 + 100} + 10)} = \lim_{x \to 0} \frac{x^2 + 100 - 100}{x^2(\sqrt{x^2 + 100} + 10)} = \lim_{x \to 0} \frac{x^2}{x^2(\sqrt{x^2 + 100} + 10)} = \lim_{x \to 0} \frac{1}{\sqrt{x^2 + 100} + 10} = \frac{1}{\sqrt{100} + 10} = \frac{1}{20}
    • lim⁡x→3x2−6x+9x−3=lim⁡x→3(x−3)2x−3=lim⁡x→3(x−3)=0\lim_{x \to 3} \frac{x^2 - 6x + 9}{x - 3} = \lim_{x \to 3} \frac{(x - 3)^2}{x - 3} = \lim_{x \to 3} (x - 3) = 0
    • lim⁡x→42x+8x2+x−12=lim⁡x→42(x+4)(x+4)(x−3)=lim⁡x→42x−3=24−3=2\lim_{x \to 4} \frac{2x + 8}{x^2 + x - 12} = \lim_{x \to 4} \frac{2(x + 4)}{(x + 4)(x - 3)} = \lim_{x \to 4} \frac{2}{x - 3} = \frac{2}{4 - 3} = 2
    • lim⁡x→5x2−3x−10x2−10x+25=lim⁡x→5(x−5)(x+2)(x−5)2=lim⁡x→5x+2x−5\lim_{x \to 5} \frac{x^2 - 3x - 10}{x^2 - 10x + 25} = \lim_{x \to 5} \frac{(x - 5)(x + 2)}{(x - 5)^2} = \lim_{x \to 5} \frac{x + 2}{x - 5} (The limit does not exist as the denominator vanishes while the numerator tends to 77
    • lim⁡x→−2(x3−15)=(−2)3−15=−8−15=−23\lim_{x \to -2} (x^3 - 15) = (-2)^3 - 15 = -8 - 15 = -23
    • lim⁡x→22x+511−x3=4+511−8=93=3\lim_{x \to 2} \frac{2x + 5}{11 - x^3} = \frac{4 + 5}{11 - 8} = \frac{9}{3} = 3
    • lim⁡x→2/3(8−3x)(2x−1)=(8−3(23))(2(23)−1)=(8−2)(43−1)=6×13=2\lim_{x \to 2/3} (8 - 3x)(2x - 1) = \left(8 - 3\left(\frac{2}{3}\right)\right)\left(2\left(\frac{2}{3}\right) - 1\right) = (8 - 2)\left(\frac{4}{3} - 1\right) = 6 \times \frac{1}{3} = 2
    • lim⁡y→−3(5−y)4/3=(5−(−3))4/3=84/3=(23)4/3=24=16\lim_{y \to -3} (5 - y)^{4/3} = (5 - (-3))^{4/3} = 8^{4/3} = (2^3)^{4/3} = 2^4 = 16
    • lim⁡h→033h+1+1=30+1+1=32\lim_{h \to 0} \frac{\sqrt{3}}{\sqrt{3h + 1} + 1} = \frac{\sqrt{3}}{\sqrt{0 + 1} + 1} = \frac{\sqrt{3}}{2}
    • lim⁡h→16h+10−5h2=16−512=4−51=−1\lim_{h \to 1} \frac{\sqrt{6h + 10} - 5}{h^2} = \frac{\sqrt{16} - 5}{1^2} = \frac{4 - 5}{1} = -1
    • lim⁡x→1x−1x+3−2\lim_{x \to 1} \frac{x - 1}{\sqrt{x + 3} - 2}:
    • Multiplying by the conjugate of the denominator:       lim⁡x→1(x−1)(x+3+2)(x+3−2)(x+3+2)=lim⁡x→1(x−1)(x+3+2)x+3−4=lim⁡x→1(x+3+2)=2+2=4\lim_{x \to 1} \frac{(x - 1)(\sqrt{x + 3} + 2)}{(\sqrt{x + 3} - 2)(\sqrt{x + 3} + 2)} = \lim_{x \to 1} \frac{(x - 1)(\sqrt{x + 3} + 2)}{x + 3 - 4} = \lim_{x \to 1} (\sqrt{x + 3} + 2) = 2 + 2 = 4
    • lim⁡x→5x−5x2−25=lim⁡x→5x−5(x−5)(x+5)=lim⁡x→51x+5=110\lim_{x \to 5} \frac{x - 5}{x^2 - 25} = \lim_{x \to 5} \frac{x - 5}{(x - 5)(x + 5)} = \lim_{x \to 5} \frac{1}{x + 5} = \frac{1}{10}
    • lim⁡x→−5x2+3x−10x+5=lim⁡x→−5(x+5)(x−2)x+5=lim⁡x→−5(x−2)=−7\lim_{x \to -5} \frac{x^2 + 3x - 10}{x + 5} = \lim_{x \to -5} \frac{(x + 5)(x - 2)}{x + 5} = \lim_{x \to -5} (x - 2) = -7
    • lim⁡x→2x2−7x+10x−2=lim⁡x→2(x−5)(x−2)x−2=2−5=−3\lim_{x \to 2} \frac{x^2 - 7x + 10}{x - 2} = \lim_{x \to 2} \frac{(x - 5)(x - 2)}{x - 2} = 2 - 5 = -3
    • lim⁡t→−2t2+4t+3t2−9=4−8+34−9=−1−5=15\lim_{t \to -2} \frac{t^2 + 4t + 3}{t^2 - 9} = \frac{4 - 8 + 3}{4 - 9} = \frac{-1}{-5} = \frac{1}{5}
    • lim⁡x→01+x+sin⁡(x)3cos⁡(x)=1+0+03(1)=13\lim_{x \to 0} \frac{1 + x + \sin(x)}{3\cos(x)} = \frac{1 + 0 + 0}{3(1)} = \frac{1}{3}
    • lim⁡x→π(x+2sin⁡(x2))=π+2sin⁡(π2)=π+2\lim_{x \to \pi} \left(\sqrt{x} + 2\sin\left(\frac{x}{2}\right)\right) = \sqrt{\pi} + 2\sin\left(\frac{\pi}{2}\right) = \sqrt{\pi} + 2
    • lim⁡x→−32−x2−5x+3\lim_{x \to -3} \frac{2 - \sqrt{x^2 - 5}}{x + 3}:
    • Multiplying by conjugate of the numerator:       lim⁡x→−3(2−x2−5)(2+x2−5)(x+3)(2+x2−5)=lim⁡x→−34−(x2−5)(x+3)(2+x2−5)=lim⁡x→−39−x2(x+3)(2+x2−5)=lim⁡x→−3(3−x)(3+x)(x+3)(2+x2−5)=3−(−3)2+9−5=64=32\lim_{x \to -3} \frac{(2 - \sqrt{x^2 - 5})(2 + \sqrt{x^2 - 5})}{(x + 3)(2 + \sqrt{x^2 - 5})} = \lim_{x \to -3} \frac{4 - (x^2 - 5)}{(x + 3)(2 + \sqrt{x^2 - 5})} = \lim_{x \to -3} \frac{9 - x^2}{(x + 3)(2 + \sqrt{x^2 - 5})} = \lim_{x \to -3} \frac{(3 - x)(3 + x)}{(x + 3)(2 + \sqrt{x^2 - 5})} = \frac{3 - (-3)}{2 + \sqrt{9 - 5}} = \frac{6}{4} = \frac{3}{2}
    • lim⁡x→11x−1x−1=lim⁡x→11−xxx−1=lim⁡x→1−(x−1)x(x−1)=lim⁡x→1−1x=−1\lim_{x \to 1} \frac{\frac{1}{x} - 1}{x - 1} = \lim_{x \to 1} \frac{\frac{1 - x}{x}}{x - 1} = \lim_{x \to 1} \frac{-(x - 1)}{x(x - 1)} = \lim_{x \to 1} \frac{-1}{x} = -1
  • Limits at Infinity:

    • When evaluating limits of rational functions as x→∞x \to \infty, divide both the numerator and denominator by the highest power of xx present in the denominator, utilizing the standard result lim⁡x→∞1xn=0\lim_{x \to \infty} \frac{1}{x^n} = 0 for n>0n > 0:
    • lim⁡x→∞3x2+2x+12x2+x+1=lim⁡x→∞3+2x+1x22+1x+1x2=3+0+02+0+0=32\lim_{x \to \infty} \frac{3x^2 + 2x + 1}{2x^2 + x + 1} = \lim_{x \to \infty} \frac{3 + \frac{2}{x} + \frac{1}{x^2}}{2 + \frac{1}{x} + \frac{1}{x^2}} = \frac{3 + 0 + 0}{2 + 0 + 0} = \frac{3}{2}
    • lim⁡x→∞4x2−x+22x2+3x−1=lim⁡x→∞4−1x+2x22+3x−1x2=4−0+02+0−0=42=2\lim_{x \to \infty} \frac{4x^2 - x + 2}{2x^2 + 3x - 1} = \lim_{x \to \infty} \frac{4 - \frac{1}{x} + \frac{2}{x^2}}{2 + \frac{3}{x} - \frac{1}{x^2}} = \frac{4 - 0 + 0}{2 + 0 - 0} = \frac{4}{2} = 2
  • The Sandwich Theorem (Squeeze Theorem):

    • Definition: Suppose g(x)≤f(x)≤h(x)g(x) \le f(x) \le h(x) holds for all xx in an open interval containing cc, except possibly at cc itself. If lim⁡x→cg(x)=lim⁡x→ch(x)=L\lim_{x \to c} g(x) = \lim_{x \to c} h(x) = L, then lim⁡x→cf(x)=L\lim_{x \to c} f(x) = L.
    • Problem 1: Given that 1−x24≤u(x)≤1+x221 - \frac{x^2}{4} \le u(x) \le 1 + \frac{x^2}{2} for x≠0x \neq 0, evaluate lim⁡x→0u(x)\lim_{x \to 0} u(x).
    • Evaluation: lim⁡x→0(1−x24)=1\lim_{x \to 0} \left(1 - \frac{x^2}{4}\right) = 1 and lim⁡x→0(1+x22)=1\lim_{x \to 0} \left(1 + \frac{x^2}{2}\right) = 1. By the Sandwich Theorem, lim⁡x→0u(x)=1\lim_{x \to 0} u(x) = 1.
    • Problem 2: Discuss the behavior of g(x)=x2sin⁡(1x)g(x) = x^2 \sin\left(\frac{1}{x}\right) near x=0x = 0.
    • Evaluation: Because −1≤sin⁡(1x)≤1-1 \le \sin\left(\frac{1}{x}\right) \le 1, multiplying by x2x^2 yields −x2≤x2sin⁡(1x)≤x2-x^2 \le x^2 \sin\left(\frac{1}{x}\right) \le x^2. Since lim⁡x→0(−x2)=0\lim_{x \to 0} (-x^2) = 0 and lim⁡x→0(x2)=0\lim_{x \to 0} (x^2) = 0, the Sandwich Theorem guarantees that lim⁡x→0x2sin⁡(1x)=0\lim_{x \to 0} x^2 \sin\left(\frac{1}{x}\right) = 0.
  • Continuity of Single-Variable Functions:

    • Continuity at a Point: A function f(x)f(x) is continuous at x=ax = a if and only if three conditions are satisfied:
    1. f(a)f(a) is defined.
    2. lim⁡x→af(x)\lim_{x \to a} f(x) exists.
    3. lim⁡x→af(x)=f(a)\lim_{x \to a} f(x) = f(a).
    • Examples: f(x)=x2f(x) = x^2 is continuous at x=3x = 3 because f(3)=9f(3) = 9 and lim⁡x→3x2=9\lim_{x \to 3} x^2 = 9. Conversely, f(x)=1xf(x) = \frac{1}{x} is continuous at x=1x = 1 because f(1)=1f(1) = 1 and lim⁡x→11x=1\lim_{x \to 1} \frac{1}{x} = 1, but it is discontinuous at x=0x = 0 because f(0)f(0) is undefined.
    • One-Sided Continuity:
    • Right-Hand Continuity: Satisfied if lim⁡x→a+f(x)=f(a)\lim_{x \to a^+} f(x) = f(a).
    • Left-Hand Continuity: Satisfied if lim⁡x→a−f(x)=f(a)\lim_{x \to a^-} f(x) = f(a).
    • Piecewise Left-Continuity Test: Consider f(x)={x2+3x<25x≥2f(x) = \begin{cases} x^2 + 3 & x < 2 \\ 5 & x \ge 2 \end{cases}.
      • Evaluating the left-hand limit: lim⁡x→2−f(x)=lim⁡x→2−(x2+3)=22+3=7\lim_{x \to 2^-} f(x) = \lim_{x \to 2^-} (x^2 + 3) = 2^2 + 3 = 7.
      • The function value is f(2)=5f(2) = 5.
      • Because lim⁡x→2−f(x)=7≠5\lim_{x \to 2^-} f(x) = 7 \neq 5, f(x)f(x) is not continuous from the left at x=2x = 2.
  • Points of Discontinuity Determination:

    • y=1x−2−3xy = \frac{1}{x - 2} - 3x: Discontinuous at x=2x = 2 because the denominator vanishes.
    • y=x+1x2−4x+3y = \frac{x + 1}{x^2 - 4x + 3}: Setting the denominator x2−4x+3=(x−3)(x−1)=0x^2 - 4x + 3 = (x - 3)(x - 1) = 0 shows discontinuities at x=1x = 1 and x=3x = 3.
    • y=1∣x∣+1−x22y = \frac{1}{|x| + 1} - \frac{x^2}{2}: Continuous for all real numbers R\mathbb{R} because ∣x∣+1≥1>0|x| + 1 \ge 1 > 0, so the denominator never vanishes.
    • y=tan⁡(πx/2)xy = \frac{\tan(\pi x / 2)}{x}: Discontinuous at x=0x = 0 (due to division by 00) and wherever cos⁡(πx/2)=0\cos(\pi x / 2) = 0, which corresponds to odd integer values of xx.

Single-Variable Differentiation, Higher-Order Derivatives, and Rates of Change

  • The First Principle of Differentiation:

    • The derivative of f(x)f(x) at x=ax = a is defined as:     f′(a)=lim⁡h→0f(a+h)−f(a)hf'(a) = \lim_{h \to 0} \frac{f(a + h) - f(a)}{h}
    • Physical and Geometric Interpretations:
    • The slope of the curve y=f(x)y = f(x) at x=ax = a.
    • The slope of the tangent line to the curve at the point (a,f(a))(a, f(a)).
    • The instantaneous rate of change of f(x)f(x) with respect to xx at x=ax = a.
    • First Principle Calculations:
    • For f(x)=x2f(x) = x^2 at x=2x = 2:       f′(2)=lim⁡h→0(2+h)2−22h=lim⁡h→04+4h+h2−4h=lim⁡h→0h(4+h)h=lim⁡h→0(4+h)=4f'(2) = \lim_{h \to 0} \frac{(2 + h)^2 - 2^2}{h} = \lim_{h \to 0} \frac{4 + 4h + h^2 - 4}{h} = \lim_{h \to 0} \frac{h(4 + h)}{h} = \lim_{h \to 0} (4 + h) = 4
    • For f(x)=1xf(x) = \frac{1}{x} at x=2x = 2:       f′(2)=lim⁡h→012+h−12h=lim⁡h→02−(2+h)2(2+h)h=lim⁡h→0−h2h(2+h)=lim⁡h→0−12(2+h)=−14f'(2) = \lim_{h \to 0} \frac{\frac{1}{2 + h} - \frac{1}{2}}{h} = \lim_{h \to 0} \frac{\frac{2 - (2 + h)}{2(2 + h)}}{h} = \lim_{h \to 0} \frac{-h}{2h(2 + h)} = \lim_{h \to 0} \frac{-1}{2(2 + h)} = -\frac{1}{4}
  • Rules of Differentiation:

    • Sum and Difference Rule: ddx[f(x)±g(x)]=f′(x)±g′(x)\frac{d}{dx}[f(x) \pm g(x)] = f'(x) \pm g'(x)
    • Product Rule: ddx[f(x)g(x)]=f(x)g′(x)+g(x)f′(x)\frac{d}{dx}[f(x)g(x)] = f(x)g'(x) + g(x)f'(x)
    • Quotient Rule: ddx[f(x)g(x)]=g(x)f′(x)−f(x)g′(x)[g(x)]2\frac{d}{dx}\left[\frac{f(x)}{g(x)}\right] = \frac{g(x)f'(x) - f(x)g'(x)}{[g(x)]^2}
    • Power Rule: ddx[xn]=nxn−1\frac{d}{dx}[x^n] = n x^{n-1}
    • Chain Rule: If y=f(u)y = f(u) and u=g(x)u = g(x), then dydx=dydu⋅dudx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}
  • Evaluated Derivative Problems:

    • For y=excos⁡(x)y = e^x \cos(x):     y′=ex(−sin⁡(x))+cos⁡(x)(ex)=ex(cos⁡(x)−sin⁡(x))y' = e^x(-\sin(x)) + \cos(x)(e^x) = e^x(\cos(x) - \sin(x))
    • For y=exx2y = \frac{e^x}{x^2}:     y′=x2(ex)−ex(2x)x4=xex(x−2)x4=ex(x−2)x3y' = \frac{x^2(e^x) - e^x(2x)}{x^4} = \frac{x e^x(x - 2)}{x^4} = \frac{e^x(x - 2)}{x^3}
    • For y=ln⁡(x)x3y = \frac{\ln(x)}{x^3}:     y′=x3(1/x)−ln⁡(x)(3x2)(x3)2=x2−3x2ln⁡(x)x6=1−3ln⁡(x)x4y' = \frac{x^3(1/x) - \ln(x)(3x^2)}{(x^3)^2} = \frac{x^2 - 3x^2 \ln(x)}{x^6} = \frac{1 - 3\ln(x)}{x^4}
    • For y=x3x2+1y = \frac{x^3}{\sqrt{x^2 + 1}}:     y′=x2+1(3x2)−x3(12x2+1⋅2x)x2+1=3x2(x2+1)−x4x2+1x2+1=3x4+3x2−x4(x2+1)3/2=2x4+3x2(x2+1)3/2y' = \frac{\sqrt{x^2 + 1}(3x^2) - x^3\left(\frac{1}{2\sqrt{x^2 + 1}} \cdot 2x\right)}{x^2 + 1} = \frac{\frac{3x^2(x^2 + 1) - x^4}{\sqrt{x^2 + 1}}}{x^2 + 1} = \frac{3x^4 + 3x^2 - x^4}{(x^2 + 1)^{3/2}} = \frac{2x^4 + 3x^2}{(x^2 + 1)^{3/2}}
    • For y=(3x+2)3y = (3x + 2)^3:     y′=3(3x+2)2⋅3=9(3x+2)2y' = 3(3x + 2)^2 \cdot 3 = 9(3x + 2)^2
    • For y=sin⁡(4x3)y = \sin(4x^3):     y′=cos⁡(4x3)⋅12x2=12x2cos⁡(4x3)y' = \cos(4x^3) \cdot 12x^2 = 12x^2 \cos(4x^3)
    • For y=esin⁡(x)y = e^{\sin(x)}:     y′=esin⁡(x)⋅cos⁡(x)y' = e^{\sin(x)} \cdot \cos(x)
    • For y=5x2+3xy = \sqrt{5x^2 + 3x}:     y′=125x2+3x⋅(10x+3)=10x+325x2+3xy' = \frac{1}{2\sqrt{5x^2 + 3x}} \cdot (10x + 3) = \frac{10x + 3}{2\sqrt{5x^2 + 3x}}
  • Higher-Order Derivatives:

    • The second derivative represents the derivative of the first derivative: y′′=d2ydx2y'' = \frac{d^2 y}{dx^2}.
    • Problem 1: Find the 4th derivative of y=3x5y = 3x^5.
    • y′=15x4y' = 15x^4
    • y′′=60x3y'' = 60x^3
    • y′′′=180x2y''' = 180x^2
    • y(4)=360xy^{(4)} = 360x
    • Problem 2: Find the 4th derivative of y=exsin⁡(x)y = e^x \sin(x).
    • y′=excos⁡(x)+exsin⁡(x)=ex(cos⁡(x)+sin⁡(x))y' = e^x \cos(x) + e^x \sin(x) = e^x(\cos(x) + \sin(x))
    • y′′=ex(−sin⁡(x)+cos⁡(x))+ex(cos⁡(x)+sin⁡(x))=2excos⁡(x)y'' = e^x(-\sin(x) + \cos(x)) + e^x(\cos(x) + \sin(x)) = 2e^x \cos(x)
    • y′′′=2[ex(−sin⁡(x))+excos⁡(x)]=2ex(cos⁡(x)−sin⁡(x))y''' = 2[e^x(-\sin(x)) + e^x \cos(x)] = 2e^x(\cos(x) - \sin(x))
    • y(4)=2[ex(−sin⁡(x)−cos⁡(x))+ex(cos⁡(x)−sin⁡(x))]=2ex(−2sin⁡(x))=−4exsin⁡(x)y^{(4)} = 2[e^x(-\sin(x) - \cos(x)) + e^x(\cos(x) - \sin(x))] = 2e^x(-2\sin(x)) = -4e^x \sin(x)
  • Instantaneous Rate of Change Applications:

    • Kinematics: A car's position in meters is given by s(t)=8t2s(t) = 8t^2. Find instantaneous velocity at t=5 st = 5\,\text{s}.
    • v(t)=s′(t)=16tv(t) = s'(t) = 16t
    • At t=5 st = 5\,\text{s}, v(5)=16(5)=80 m/sv(5) = 16(5) = 80\,\text{m/s}.
    • Material Science: The stress σ(t)\sigma(t) in a material is given by σ(t)=100t−5t2\sigma(t) = 100t - 5t^2. Find the rate of change of stress at t=8 st = 8\,\text{s}.
    • σ′(t)=100−10t\sigma'(t) = 100 - 10t
    • At t=8 st = 8\,\text{s}, σ′(8)=100−10(8)=20 Pa/s\sigma'(8) = 100 - 10(8) = 20\,\text{Pa/s}.
  • Implicit Differentiation (Single-Variable):

    • Used when a relation between xx and yy is not explicitly solved for yy. Differentiate both sides with respect to xx, applying the chain rule to terms containing yy by multiplying by dydx\frac{dy}{dx}.
    • Circle: x2+y2=r2x^2 + y^2 = r^2
    • 2x+2ydydx=0  ⟹  dydx=−xy2x + 2y \frac{dy}{dx} = 0 \implies \frac{dy}{dx} = -\frac{x}{y}
    • Ellipse: x2a2+y2b2=1\frac{x^2}{a^2} + \frac{y^2}{b^2} = 1
    • 2xa2+2yb2dydx=0  ⟹  dydx=−b2xa2y\frac{2x}{a^2} + \frac{2y}{b^2}\frac{dy}{dx} = 0 \implies \frac{dy}{dx} = -\frac{b^2 x}{a^2 y}
    • General Algebraic Curve: x2+xy+y2=1x^2 + xy + y^2 = 1
    • 2x+(xdydx+y)+2ydydx=02x + \left(x\frac{dy}{dx} + y\right) + 2y\frac{dy}{dx} = 0
    • dydx(x+2y)=−(2x+y)  ⟹  dydx=−2x+yx+2y\frac{dy}{dx}(x + 2y) = -(2x + y) \implies \frac{dy}{dx} = -\frac{2x + y}{x + 2y}
    • Trigonometric Implicit Relation: sin⁡(xy)=x+y\sin(xy) = x + y
    • cos⁡(xy)(xdydx+y)=1+dydx\cos(xy)\left(x\frac{dy}{dx} + y\right) = 1 + \frac{dy}{dx}
    • xcos⁡(xy)dydx−dydx=1−ycos⁡(xy)x\cos(xy)\frac{dy}{dx} - \frac{dy}{dx} = 1 - y\cos(xy)
    • dydx=1−ycos⁡(xy)xcos⁡(xy)−1\frac{dy}{dx} = \frac{1 - y\cos(xy)}{x\cos(xy) - 1}

Applications of Single-Variable Derivatives: Tangents, Normals, Linearization, and Concavity

  • Tangent and Normal Lines:

    • Equation of Tangent Line: At the point (x0,y0)(x_0, y_0), the tangent line is given by:     (y−y0)=f′(x0)(x−x0)(y - y_0) = f'(x_0)(x - x_0)
    • Equation of Normal Line: The normal line is perpendicular to the tangent line and is given by:     (y−y0)=−1f′(x0)(x−x0)(y - y_0) = -\frac{1}{f'(x_0)}(x - x_0)
    • Problem: Find equations of the tangent and normal lines to y=x2+3x+2y = x^2 + 3x + 2 at x=1x = 1.
    • At x=1x = 1, y=12+3(1)+2=6y = 1^2 + 3(1) + 2 = 6, giving point (1,6)(1, 6).
    • Slope m=y′=2x+3m = y' = 2x + 3. At x=1x = 1, m=2(1)+3=5m = 2(1) + 3 = 5.
    • Tangent line: y−6=5(x−1)  ⟹  y=5x+1y - 6 = 5(x - 1) \implies y = 5x + 1.
    • Normal line: y−6=−15(x−1)  ⟹  y=−15x+315y - 6 = -\frac{1}{5}(x - 1) \implies y = -\frac{1}{5}x + \frac{31}{5}.
  • Linearization (Linear Approximation):

    • The linear approximation of a differentiable function f(x)f(x) near x=ax = a corresponds to its tangent line at that point:     L(x)=f(a)+f′(a)(x−a)L(x) = f(a) + f'(a)(x - a)
    • Problem 1: Linearize f(x)=xf(x) = \sqrt{x} at x=4x = 4.
    • Function value: f(4)=2f(4) = 2.
    • Derivative: f′(x)=12x  ⟹  f′(4)=14f'(x) = \frac{1}{2\sqrt{x}} \implies f'(4) = \frac{1}{4}.
    • Approximation: L(x)=2+14(x−4)=2+x4−1=x4+1L(x) = 2 + \frac{1}{4}(x - 4) = 2 + \frac{x}{4} - 1 = \frac{x}{4} + 1.
    • Problem 2: The electrical resistance RR of a resistor varies with temperature TT according to R(T)=e0.1TR(T) = e^{0.1T}. Linearize at T=25T = 25.
    • Function value: R(25)=e2.5≈12.182R(25) = e^{2.5} \approx 12.182.
    • Derivative: R′(T)=0.1e0.1T  ⟹  R′(25)=0.1e2.5≈1.218R'(T) = 0.1e^{0.1T} \implies R'(25) = 0.1e^{2.5} \approx 1.218.
    • Approximation: L(T)=12.182+1.218(T−25)=1.218T−18.268L(T) = 12.182 + 1.218(T - 25) = 1.218T - 18.268.
  • Concavity and the Second Derivative Test:

    • Let y=f(x)y = f(x) be twice differentiable on an interval II:
    • If f′′(x)>0f''(x) > 0 on II, the graph is concave up.
    • If f′′(x)<0f''(x) < 0 on II, the graph is concave down.
    • Inflection Points: Points where concavity changes sign, occurring where f′′(x)=0f''(x) = 0 or f′′(x)f''(x) is undefined.
    • Problem 1: Determine the concavity of f(x)=x3−3x2+4f(x) = x^3 - 3x^2 + 4.
    • f′(x)=3x2−6xf'(x) = 3x^2 - 6x
    • f′′(x)=6x−6=6(x−1)f''(x) = 6x - 6 = 6(x - 1)
    • Setting f′′(x)=0f''(x) = 0 yields x=1x = 1.
    • For x>1x > 1, f′′(x)>0  ⟹  f''(x) > 0 \implies Concave up on (1,∞)(1, \infty).
    • For x<1x < 1, f′′(x)<0  ⟹  f''(x) < 0 \implies Concave down on (−∞,1)(-\infty, 1).
    • Problem 2: Determine the concavity of f(x)=e−x2f(x) = e^{-x^2}.
    • f′(x)=−2xe−x2f'(x) = -2x e^{-x^2}
    • f′′(x)=−2e−x2+(−2x)(−2xe−x2)=2e−x2(2x2−1)f''(x) = -2e^{-x^2} + (-2x)(-2x e^{-x^2}) = 2e^{-x^2}(2x^2 - 1)
    • Setting f′′(x)=0f''(x) = 0 yields 2x2−1=0  ⟹  x2=12  ⟹  x=±122x^2 - 1 = 0 \implies x^2 = \frac{1}{2} \implies x = \pm \frac{1}{\sqrt{2}}.
    • Concave up on (−∞,−1/2)∪(1/2,∞)(-\infty, -1/\sqrt{2}) \cup (1/\sqrt{2}, \infty).
    • Concave down on (−1/2,1/2)(-1/\sqrt{2}, 1/\sqrt{2}).

Limits, Continuity, and Geometric Properties of Multivariable Functions

  • Limits of Functions of Two Variables:

    • Definition: A function f(x,y)f(x, y) approaches the limit LL as (x,y)(x, y) approaches (x0,y0)(x_0, y_0), denoted:     lim⁡(x,y)→(x0,y0)f(x,y)=L\lim_{(x, y) \to (x_0, y_0)} f(x, y) = L
    • Direct Evaluation Examples:
    • lim⁡(x,y)→(0,1)x−xy+3x2y+5xy−y3=0−0(1)+302(1)+5(0)(1)−13=3−1=−3\lim_{(x, y) \to (0, 1)} \frac{x - xy + 3}{x^2 y + 5xy - y^3} = \frac{0 - 0(1) + 3}{0^2(1) + 5(0)(1) - 1^3} = \frac{3}{-1} = -3
    • lim⁡(x,y)→(3,−4)x2+y2=32+(−4)2=9+16=25=5\lim_{(x, y) \to (3, -4)} \sqrt{x^2 + y^2} = \sqrt{3^2 + (-4)^2} = \sqrt{9 + 16} = \sqrt{25} = 5
    • lim⁡(x,y)→(π/2,0)sin⁡(x)−sin⁡(y)x−y=sin⁡(π/2)−sin⁡(0)π/2−0=1−0π/2=2π\lim_{(x, y) \to (\pi/2, 0)} \frac{\sin(x) - \sin(y)}{x - y} = \frac{\sin(\pi/2) - \sin(0)}{\pi/2 - 0} = \frac{1 - 0}{\pi/2} = \frac{2}{\pi}
    • lim⁡(x,y)→(0,0)x2−xyx−y\lim_{(x, y) \to (0, 0)} \frac{x^2 - xy}{\sqrt{x} - \sqrt{y}}, multiplied by the conjugate x+y\sqrt{x} + \sqrt{y}:       lim⁡(x,y)→(0,0)(x2−xy)(x+y)x−y=lim⁡(x,y)→(0,0)x(x−y)(x+y)x−y=lim⁡(x,y)→(0,0)x(x+y)=0\lim_{(x, y) \to (0, 0)} \frac{(x^2 - xy)(\sqrt{x} + \sqrt{y})}{x - y} = \lim_{(x, y) \to (0, 0)} \frac{x(x - y)(\sqrt{x} + \sqrt{y})}{x - y} = \lim_{(x, y) \to (0, 0)} x(\sqrt{x} + \sqrt{y}) = 0
    • Non-Existence via Path Dependence (Two-Path Test):
    • To prove a limit does not exist, show that approaching the target point along different continuous paths results in different limiting values.
    • Show that lim⁡(x,y)→(0,0)x2−y2x2+y2\lim_{(x, y) \to (0, 0)} \frac{x^2 - y^2}{x^2 + y^2} does not exist:
      • Let (x,y)→(0,0)(x, y) \to (0, 0) along the linear paths y=mxy = mx:         lim⁡x→0x2−(mx)2x2+(mx)2=lim⁡x→0x2(1−m2)x2(1+m2)=1−m21+m2\lim_{x \to 0} \frac{x^2 - (mx)^2}{x^2 + (mx)^2} = \lim_{x \to 0} \frac{x^2(1 - m^2)}{x^2(1 + m^2)} = \frac{1 - m^2}{1 + m^2}
      • Because the result depends explicitly on the slope parameter mm, the limit is non-unique and does not exist.
    • Show that lim⁡(x,y)→(0,0)xyx2+y2\lim_{(x, y) \to (0, 0)} \frac{xy}{x^2 + y^2} does not exist:
      • Approach along the linear paths y=mxy = mx:         lim⁡x→0x(mx)x2+(mx)2=lim⁡x→0mx2x2(1+m2)=m1+m2\lim_{x \to 0} \frac{x(mx)}{x^2 + (mx)^2} = \lim_{x \to 0} \frac{m x^2}{x^2(1 + m^2)} = \frac{m}{1 + m^2}
      • Since the value varies with mm, the limit does not exist.
  • Continuity of Functions of Two Variables:

    • Definition: A function f(x,y)f(x, y) is continuous at (x0,y0)(x_0, y_0) if:
    1. f(x0,y0)f(x_0, y_0) is defined.
    2. lim⁡(x,y)→(x0,y0)f(x,y)\lim_{(x, y) \to (x_0, y_0)} f(x, y) exists.
    3. lim⁡(x,y)→(x0,y0)f(x,y)=f(x0,y0)\lim_{(x, y) \to (x_0, y_0)} f(x, y) = f(x_0, y_0).
    • Discontinuity Proof 1: Show that f(x,y)={2xyx2+y2(x,y)≠(0,0)0(x,y)=(0,0)f(x, y) = \begin{cases} \frac{2xy}{x^2 + y^2} & (x, y) \neq (0, 0) \\ 0 & (x, y) = (0, 0) \end{cases} is discontinuous at the origin.
    • The function value is defined as f(0,0)=0f(0, 0) = 0.
    • Evaluating the limit along y=mxy = mx:     lim⁡(x,y)→(0,0)2xyx2+y2=lim⁡x→02x(mx)x2+m2x2=2m1+m2\lim_{(x, y) \to (0, 0)} \frac{2xy}{x^2 + y^2} = \lim_{x \to 0} \frac{2x(mx)}{x^2 + m^2 x^2} = \frac{2m}{1 + m^2}
    • Because the limit depends on mm, it fails to exist. Hence, condition 2 fails, and f(x,y)f(x, y) is not continuous at the origin.
  • Discontinuity Proof 2: Determine if f(x,y)={yx2+y2(x,y)≠(0,0)0(x,y)=(0,0)f(x, y) = \begin{cases} \frac{y}{\sqrt{x^2 + y^2}} & (x, y) \neq (0, 0) \\ 0 & (x, y) = (0, 0) \end{cases} is continuous at (0,0)(0, 0).

    • Approaching along y=mxy = mx for x>0x > 0:       lim⁡x→0mxx2+m2x2=lim⁡x→0mxx1+m2=m1+m2\lim_{x \to 0} \frac{mx}{\sqrt{x^2 + m^2 x^2}} = \lim_{x \to 0} \frac{mx}{x\sqrt{1 + m^2}} = \frac{m}{\sqrt{1 + m^2}}
    • The limit depends on mm, so the limit does not exist. The function is discontinuous at (0,0)(0, 0).
  • Domain, Range, and Level Curves:

    • Domain and Range of f(x,y)=x2−y2f(x, y) = x^2 - y^2:
    • Domain: The entire coordinate plane R2\mathbb{R}^2.
    • Range: All real numbers R\mathbb{R}.
    • Domain and Range of f(x,y)=x+yx−yf(x, y) = \frac{x + y}{x - y}:
    • Domain: The set of all ordered pairs except where the denominator vanishes: R2∖{(x,y)∣x=y}\mathbb{R}^2 \setminus \{(x, y) \mid x = y\}.
    • Range: All real numbers R\mathbb{R}.
    • Level Curves of f(x,y)=9−x2−y2f(x, y) = \sqrt{9 - x^2 - y^2}:
    • Setting f(x,y)=cf(x, y) = c yields 9−x2−y2=c  ⟹  x2+y2=9−c2\sqrt{9 - x^2 - y^2} = c \implies x^2 + y^2 = 9 - c^2.
    • For c=0c = 0: x2+y2=9x^2 + y^2 = 9, a circle of radius 33.
    • For c=1c = 1: x2+y2=8x^2 + y^2 = 8, a circle of radius 8\sqrt{8}.
    • For c=2c = 2: x2+y2=5x^2 + y^2 = 5, a circle of radius 5\sqrt{5}.
    • For c=3c = 3: x2+y2=0x^2 + y^2 = 0, representing the single origin point (0,0)(0, 0).
    • Geometrically, these form a family of concentric circles centered at the origin.
    • Level Curves of f(x,y)=x2+2yf(x, y) = x^2 + 2y:
    • Setting x2+2y=kx^2 + 2y = k yields y=−12x2+k2y = -\frac{1}{2}x^2 + \frac{k}{2}.
    • For k=−2,0,2k = -2, 0, 2, these represent a family of downward-opening parabolas with vertices shifted along the yy-axis at (0,−1)(0, -1), (0,0)(0, 0), and (0,1)(0, 1).
    • Level Curve Passing Through a Given Point: Find the level curve of f(x,y)=x2+y2f(x, y) = x^2 + y^2 passing through (2,0)(2, 0).
    • Evaluation: Constant c=22+02=4c = 2^2 + 0^2 = 4.
    • Equation: x2+y2=4x^2 + y^2 = 4, which is a circle of radius 22 centered at the origin.

Partial Derivatives and Mixed Partials for Functions of Several Variables

  • First-Order Partial Derivatives:

    • The partial derivative with respect to xx treats all other variables (yy, zz) as constants, and vice versa.
    • Calculations:
    • f(x,y)=x2y+3xy2  ⟹  fx=2xy+3y2f(x, y) = x^2 y + 3xy^2 \implies f_x = 2xy + 3y^2, fy=x2+6xyf_y = x^2 + 6xy
    • f(x,y)=ex2y3sin⁡(x2−y2)f(x, y) = e^{x^2 y^3}\sin(x^2 - y^2):       fx=2xex2y3cos⁡(x2−y2)+2xy3ex2y3sin⁡(x2−y2)f_x = 2x e^{x^2 y^3}\cos(x^2 - y^2) + 2x y^3 e^{x^2 y^3}\sin(x^2 - y^2)fy=−2yex2y3cos⁡(x2−y2)+3x2y2ex2y3sin⁡(x2−y2)f_y = -2y e^{x^2 y^3}\cos(x^2 - y^2) + 3x^2 y^2 e^{x^2 y^3}\sin(x^2 - y^2)
    • f(x,y)=x−yx2+y2f(x, y) = \frac{x - y}{x^2 + y^2}:       fx=(x2+y2)(1)−(x−y)(2x)(x2+y2)2=x2+y2−2x2+2xy(x2+y2)2=y2−x2+2xy(x2+y2)2f_x = \frac{(x^2 + y^2)(1) - (x - y)(2x)}{(x^2 + y^2)^2} = \frac{x^2 + y^2 - 2x^2 + 2xy}{(x^2 + y^2)^2} = \frac{y^2 - x^2 + 2xy}{(x^2 + y^2)^2}fy=(x2+y2)(−1)−(x−y)(2y)(x2+y2)2=−x2−y2−2xy+2y2(x2+y2)2=y2−x2−2xy(x2+y2)2f_y = \frac{(x^2 + y^2)(-1) - (x - y)(2y)}{(x^2 + y^2)^2} = \frac{-x^2 - y^2 - 2xy + 2y^2}{(x^2 + y^2)^2} = \frac{y^2 - x^2 - 2xy}{(x^2 + y^2)^2}
    • f(x,y)=x2+y2  ⟹  fx=xx2+y2f(x, y) = \sqrt{x^2 + y^2} \implies f_x = \frac{x}{\sqrt{x^2 + y^2}}, fy=yx2+y2f_y = \frac{y}{\sqrt{x^2 + y^2}}
    • f(x,y)=(x+1)(y−2)  ⟹  fx=y−2f(x, y) = (x + 1)(y - 2) \implies f_x = y - 2, fy=x+1f_y = x + 1
    • f(x,y)=2x2−3y−4  ⟹  fx=4xf(x, y) = 2x^2 - 3y - 4 \implies f_x = 4x, fy=−3f_y = -3
    • f(x,y)=log⁡(x2+y2)  ⟹  fx=2xx2+y2f(x, y) = \log(x^2 + y^2) \implies f_x = \frac{2x}{x^2 + y^2}, fy=2yx2+y2f_y = \frac{2y}{x^2 + y^2}
    • f(x,y)=eaxsin⁡(by)  ⟹  fx=aeaxsin⁡(by)f(x, y) = e^{ax}\sin(by) \implies f_x = a e^{ax}\sin(by), fy=beaxcos⁡(by)f_y = b e^{ax}\cos(by)
    • z=3x+4y  ⟹  ∂z∂x=323x+4yz = \sqrt{3x + 4y} \implies \frac{\partial z}{\partial x} = \frac{3}{2\sqrt{3x + 4y}}, ∂z∂y=423x+4y=23x+4y\frac{\partial z}{\partial y} = \frac{4}{2\sqrt{3x + 4y}} = \frac{2}{\sqrt{3x + 4y}}
    • f(x,y)=xe−y+5y  ⟹  fx=e−yf(x, y) = x e^{-y} + 5y \implies f_x = e^{-y}, fy=−xe−y+5f_y = -x e^{-y} + 5
  • Slope and Rate of Change along Coordinate Directions:

    • Problem 1: Find the slope of z=10−4x2−2y2z = 10 - 4x^2 - 2y^2 at (1,2)(1, 2) in the xx and yy directions.
    • Slope in xx-direction: ∂z∂x=−8x\frac{\partial z}{\partial x} = -8x. At (1,2)(1, 2), ∂z∂x=(−8)(1)=−8\frac{\partial z}{\partial x} = (-8)(1) = -8.
    • Slope in yy-direction: ∂z∂y=−4y\frac{\partial z}{\partial y} = -4y. At (1,2)(1, 2), ∂z∂y=(−4)(2)=−8\frac{\partial z}{\partial y} = (-4)(2) = -8.
    • Problem 2: Find the rate of change of z=sin⁡(y2−4x)z = \sin(y^2 - 4x) at (3,1)(3, 1).
    • ∂z∂x=−4cos⁡(y2−4x)\frac{\partial z}{\partial x} = -4\cos(y^2 - 4x). At (3,1)(3, 1), ∂z∂x=−4cos⁡(1−12)=−4cos⁡(−11)=−4cos⁡(11)\frac{\partial z}{\partial x} = -4\cos(1 - 12) = -4\cos(-11) = -4\cos(11).
    • ∂z∂y=2ycos⁡(y2−4x)\frac{\partial z}{\partial y} = 2y\cos(y^2 - 4x). At (3,1)(3, 1), ∂z∂y=2(1)cos⁡(1−12)=2cos⁡(11)\frac{\partial z}{\partial y} = 2(1)\cos(1 - 12) = 2\cos(11).
  • Second-Order and Mixed Partial Derivatives:

    • Problem 1: Find all second-order partial derivatives for f(x,y)=x3y+2xy2f(x, y) = x^3 y + 2xy^2.
    • First-order: fx=3x2y+2y2f_x = 3x^2 y + 2y^2, fy=x3+4xyf_y = x^3 + 4xy
    • Second-order:       fxx=∂∂x(3x2y+2y2)=6xyf_{xx} = \frac{\partial}{\partial x}(3x^2 y + 2y^2) = 6xyfxy=∂∂y(3x2y+2y2)=3x2+4yf_{xy} = \frac{\partial}{\partial y}(3x^2 y + 2y^2) = 3x^2 + 4yfyy=∂∂y(x3+4xy)=4xf_{yy} = \frac{\partial}{\partial y}(x^3 + 4xy) = 4xfyx=∂∂x(x3+4xy)=3x2+4yf_{yx} = \frac{\partial}{\partial x}(x^3 + 4xy) = 3x^2 + 4y
    • Problem 2: If f(x,y)=2x5y3+5x+7yf(x, y) = 2x^5 y^3 + 5x + 7y, calculate ∂2f∂x∂y\frac{\partial^2 f}{\partial x \partial y} and ∂2f∂y∂x\frac{\partial^2 f}{\partial y \partial x}.
    • fx=10x4y3+5  ⟹  fxy=∂∂y(10x4y3+5)=30x4y2f_x = 10x^4 y^3 + 5 \implies f_{xy} = \frac{\partial}{\partial y}(10x^4 y^3 + 5) = 30x^4 y^2
    • fy=6x5y2+7  ⟹  fyx=∂∂x(6x5y2+7)=30x4y2f_y = 6x^5 y^2 + 7 \implies f_{yx} = \frac{\partial}{\partial x}(6x^5 y^2 + 7) = 30x^4 y^2
    • Problem 3 (Clairaut's Theorem Verification): For f(x,y)=x3y+exy2f(x, y) = x^3 y + e^{xy^2}, show that fxy=fyxf_{xy} = f_{yx}.
    • fx=3x2y+y2exy2  ⟹  fxy=3x2+2yexy2+y2(2xyexy2)=3x2+2yexy2+2xy3exy2f_x = 3x^2 y + y^2 e^{xy^2} \implies f_{xy} = 3x^2 + 2y e^{xy^2} + y^2(2xy e^{xy^2}) = 3x^2 + 2y e^{xy^2} + 2xy^3 e^{xy^2}
    • fy=x3+2xyexy2  ⟹  fyx=3x2+2yexy2+2xy(y2exy2)=3x2+2yexy2+2xy3exy2f_y = x^3 + 2xy e^{xy^2} \implies f_{yx} = 3x^2 + 2y e^{xy^2} + 2xy(y^2 e^{xy^2}) = 3x^2 + 2y e^{xy^2} + 2xy^3 e^{xy^2}
    • Thus, fxy=fyxf_{xy} = f_{yx}.
    • Problem 4 (Laplace's Equation): If u=1x2+y2+z2u = \frac{1}{\sqrt{x^2 + y^2 + z^2}}, prove that ∂2u∂x2+∂2u∂y2+∂2u∂z2=0\frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} + \frac{\partial^2 u}{\partial z^2} = 0.
    • Express u=(x2+y2+z2)−1/2u = (x^2 + y^2 + z^2)^{-1/2}.
    • First partial: ux=−12(x2+y2+z2)−3/2(2x)=−x(x2+y2+z2)−3/2u_x = -\frac{1}{2}(x^2 + y^2 + z^2)^{-3/2}(2x) = -x(x^2 + y^2 + z^2)^{-3/2}
    • Second partial:       uxx=−(x2+y2+z2)−3/2−x(−32)(x2+y2+z2)−5/2(2x)=−(x2+y2+z2)−3/2+3x2(x2+y2+z2)−5/2u_{xx} = -(x^2 + y^2 + z^2)^{-3/2} - x\left(-\frac{3}{2}\right)(x^2 + y^2 + z^2)^{-5/2}(2x) = -(x^2 + y^2 + z^2)^{-3/2} + 3x^2(x^2 + y^2 + z^2)^{-5/2}
    • By symmetry:       uyy=−(x2+y2+z2)−3/2+3y2(x2+y2+z2)−5/2u_{yy} = -(x^2 + y^2 + z^2)^{-3/2} + 3y^2(x^2 + y^2 + z^2)^{-5/2}uzz=−(x2+y2+z2)−3/2+3z2(x2+y2+z2)−5/2u_{zz} = -(x^2 + y^2 + z^2)^{-3/2} + 3z^2(x^2 + y^2 + z^2)^{-5/2}
    • Summing the three second partials:       uxx+uyy+uzz=−3(x2+y2+z2)−3/2+3(x2+y2+z2)(x2+y2+z2)−5/2=−3(x2+y2+z2)−3/2+3(x2+y2+z2)−3/2=0u_{xx} + u_{yy} + u_{zz} = -3(x^2 + y^2 + z^2)^{-3/2} + 3(x^2 + y^2 + z^2)(x^2 + y^2 + z^2)^{-5/2} = -3(x^2 + y^2 + z^2)^{-3/2} + 3(x^2 + y^2 + z^2)^{-3/2} = 0
  • Advanced Partial Differentiation Problems:

    • Third-Order Mixed Derivative: For f(x,y,z)=exyzf(x, y, z) = e^{xyz}, evaluate ∂3f∂x∂y∂z\frac{\partial^3 f}{\partial x \partial y \partial z}.
    • Differentiating with respect to zz:       fz=xyexyzf_z = xy e^{xyz}
    • Differentiating with respect to yy:       fzy=∂∂y(xyexyz)=xexyz+xy(xzexyz)=exyz(x+x2yz)f_{zy} = \frac{\partial}{\partial y}(xy e^{xyz}) = x e^{xyz} + xy(xz e^{xyz}) = e^{xyz}(x + x^2 yz)
    • Differentiating with respect to xx:       fzyx=∂∂x[exyz(x+x2yz)]=(yzexyz)(x+x2yz)+exyz(1+2xyz)=exyz(xyz+x2y2z2+1+2xyz)=exyz(1+3xyz+x2y2z2)f_{zyx} = \frac{\partial}{\partial x}\left[e^{xyz}(x + x^2 yz)\right] = (yz e^{xyz})(x + x^2 yz) + e^{xyz}(1 + 2xyz) = e^{xyz}(xyz + x^2 y^2 z^2 + 1 + 2xyz) = e^{xyz}(1 + 3xyz + x^2 y^2 z^2)
    • Inverse Tangent Identity: If u=x2tan⁡−1(yx)−y2tan⁡−1(xy)u = x^2 \tan^{-1}\left(\frac{y}{x}\right) - y^2 \tan^{-1}\left(\frac{x}{y}\right), show that ∂2u∂x∂y=x2−y2x2+y2\frac{\partial^2 u}{\partial x \partial y} = \frac{x^2 - y^2}{x^2 + y^2}.
    • Differentiating with respect to yy:       uy=x2[11+(y/x)2⋅1x]−[2ytan⁡−1(xy)+y2(11+(x/y)2⋅(−xy2))]u_y = x^2 \left[\frac{1}{1 + (y/x)^2} \cdot \frac{1}{x}\right] - \left[2y \tan^{-1}\left(\frac{x}{y}\right) + y^2 \left(\frac{1}{1 + (x/y)^2} \cdot \left(-\frac{x}{y^2}\right)\right)\right]uy=x3x2+y2−2ytan⁡−1(xy)+xy2x2+y2=x(x2+y2)x2+y2−2ytan⁡−1(xy)=x−2ytan⁡−1(xy)u_y = \frac{x^3}{x^2 + y^2} - 2y \tan^{-1}\left(\frac{x}{y}\right) + \frac{x y^2}{x^2 + y^2} = \frac{x(x^2 + y^2)}{x^2 + y^2} - 2y \tan^{-1}\left(\frac{x}{y}\right) = x - 2y \tan^{-1}\left(\frac{x}{y}\right)
    • Differentiating with respect to xx:       uyx=∂∂x[x−2ytan⁡−1(xy)]=1−2y[11+(x/y)2⋅1y]=1−2y2x2+y2=x2+y2−2y2x2+y2=x2−y2x2+y2u_{yx} = \frac{\partial}{\partial x}\left[x - 2y \tan^{-1}\left(\frac{x}{y}\right)\right] = 1 - 2y \left[\frac{1}{1 + (x/y)^2} \cdot \frac{1}{y}\right] = 1 - \frac{2y^2}{x^2 + y^2} = \frac{x^2 + y^2 - 2y^2}{x^2 + y^2} = \frac{x^2 - y^2}{x^2 + y^2}

Multivariable Chain Rules and Implicit Differentiation

  • Chain Rule Formulas:

    • Function of Two Variables with One Independent Parameter: If z=f(x,y)z = f(x, y), where x=x(t)x = x(t) and y=y(t)y = y(t), then:     dzdt=∂z∂xdxdt+∂z∂ydydt\frac{dz}{dt} = \frac{\partial z}{\partial x}\frac{dx}{dt} + \frac{\partial z}{\partial y}\frac{dy}{dt}
    • Function of Three Variables with One Independent Parameter: If w=f(x,y,z)w = f(x, y, z), where x=x(t)x = x(t), y=y(t)y = y(t), and z=z(t)z = z(t), then:     dwdt=∂w∂xdxdt+∂w∂ydydt+∂w∂zdzdt\frac{dw}{dt} = \frac{\partial w}{\partial x}\frac{dx}{dt} + \frac{\partial w}{\partial y}\frac{dy}{dt} + \frac{\partial w}{\partial z}\frac{dz}{dt}
    • Function of Three Variables with Three Independent Parameters: If w=f(x,y,z)w = f(x, y, z), and x,y,zx, y, z are functions of u,v,mu, v, m, then:     ∂w∂u=∂w∂x∂x∂u+∂w∂y∂y∂u+∂w∂z∂z∂u\frac{\partial w}{\partial u} = \frac{\partial w}{\partial x}\frac{\partial x}{\partial u} + \frac{\partial w}{\partial y}\frac{\partial y}{\partial u} + \frac{\partial w}{\partial z}\frac{\partial z}{\partial u}∂w∂v=∂w∂x∂x∂v+∂w∂y∂y∂v+∂w∂z∂z∂v\frac{\partial w}{\partial v} = \frac{\partial w}{\partial x}\frac{\partial x}{\partial v} + \frac{\partial w}{\partial y}\frac{\partial y}{\partial v} + \frac{\partial w}{\partial z}\frac{\partial z}{\partial v}∂w∂m=∂w∂x∂x∂m+∂w∂y∂y∂m+∂w∂z∂z∂m\frac{\partial w}{\partial m} = \frac{\partial w}{\partial x}\frac{\partial x}{\partial m} + \frac{\partial w}{\partial y}\frac{\partial y}{\partial m} + \frac{\partial w}{\partial z}\frac{\partial z}{\partial m}
  • Evaluated Chain Rule Problems:

    • Problem 1: Let z=5x3y2z = 5x^3 y^2, where x=t3x = t^3 and y=t5y = t^5. Calculate dzdt\frac{dz}{dt}.     dzdt=(15x2y2)(3t2)+(10x3y)(5t4)=15(t3)2(t5)2(3t2)+10(t3)3(t5)(5t4)=45t18+50t18=95t18\frac{dz}{dt} = (15x^2 y^2)(3t^2) + (10x^3 y)(5t^4) = 15(t^3)^2(t^5)^2(3t^2) + 10(t^3)^3(t^5)(5t^4) = 45t^{18} + 50t^{18} = 95t^{18}
    • Problem 2: Let z=log⁡(3x2+y)z = \log(3x^2 + y), where x=tx = \sqrt{t} and y=t1/3y = t^{1/3}. Calculate dzdt\frac{dz}{dt}.     dzdt=(6x3x2+y)(12t)+(13x2+y)(13t−2/3)=33t+t1/3+t−2/33(3t+t1/3)\frac{dz}{dt} = \left(\frac{6x}{3x^2 + y}\right)\left(\frac{1}{2\sqrt{t}}\right) + \left(\frac{1}{3x^2 + y}\right)\left(\frac{1}{3}t^{-2/3}\right) = \frac{3}{3t + t^{1/3}} + \frac{t^{-2/3}}{3(3t + t^{1/3})}
    • Problem 3: Let z=x2−ytan⁡(x)z = x^2 - y\tan(x), where x=uvx = \frac{u}{v} and y=vy = v. Determine ∂z∂u\frac{\partial z}{\partial u} and ∂z∂v\frac{\partial z}{\partial v}.     ∂z∂u=(2x−ysec⁡2(x))(1v)+(−tan⁡(x))(0)=2uv2−sec⁡2(uv)\frac{\partial z}{\partial u} = (2x - y\sec^2(x))\left(\frac{1}{v}\right) + (-\tan(x))(0) = \frac{2u}{v^2} - \sec^2\left(\frac{u}{v}\right)∂z∂v=(2x−ysec⁡2(x))(−uv2)+(−tan⁡(x))(1)=−uv2(2uv−vsec⁡2(uv))−tan⁡(uv)\frac{\partial z}{\partial v} = (2x - y\sec^2(x))\left(-\frac{u}{v^2}\right) + (-\tan(x))(1) = -\frac{u}{v^2}\left(\frac{2u}{v} - v\sec^2\left(\frac{u}{v}\right)\right) - \tan\left(\frac{u}{v}\right)
    • Problem 4: Let z=ex2yz = e^{x^2 y}, where x=uvx = \sqrt{uv} and y=1vy = \frac{1}{v}. Determine ∂z∂u\frac{\partial z}{\partial u} and ∂z∂v\frac{\partial z}{\partial v}.     ∂z∂u=(2xyex2y)(v2uv)+(x2ex2y)(0)=2uv(1v)eu(v2uv)=eu\frac{\partial z}{\partial u} = (2xy e^{x^2 y})\left(\frac{v}{2\sqrt{uv}}\right) + (x^2 e^{x^2 y})(0) = 2\sqrt{uv}\left(\frac{1}{v}\right)e^u \left(\frac{v}{2\sqrt{uv}}\right) = e^u∂z∂v=(2xyex2y)(u2uv)+(x2ex2y)(−1v2)=ueuv−ueuv=0\frac{\partial z}{\partial v} = (2xy e^{x^2 y})\left(\frac{u}{2\sqrt{uv}}\right) + (x^2 e^{x^2 y})\left(-\frac{1}{v^2}\right) = \frac{u e^u}{v} - \frac{u e^u}{v} = 0
    • Problem 5: Find the derivative of w=x2+y2w = x^2 + y^2 along x=at2x = a t^2, y=2aty = 2at.     dwdt=(2x)(2at)+(2y)(2a)=2(at2)(2at)+2(2at)(2a)=4a2t3+8a2t\frac{dw}{dt} = (2x)(2at) + (2y)(2a) = 2(a t^2)(2at) + 2(2at)(2a) = 4a^2 t^3 + 8a^2 t
    • Problem 6: Express ∂w∂r\frac{\partial w}{\partial r} and ∂w∂s\frac{\partial w}{\partial s} if w=x2+y2w = x^2 + y^2, x=r−sx = r - s, y=r+sy = r + s.     ∂w∂r=2x(1)+2y(1)=2(r−s)+2(r+s)=4r\frac{\partial w}{\partial r} = 2x(1) + 2y(1) = 2(r - s) + 2(r + s) = 4r∂w∂s=2x(−1)+2y(1)=−2(r−s)+2(r+s)=4s\frac{\partial w}{\partial s} = 2x(-1) + 2y(1) = -2(r - s) + 2(r + s) = 4s
    • Problem 7: Let w=x+2y+z2w = x + 2y + z^2, with x=rsx = \frac{r}{s}, y=r2+ln⁡(s)y = r^2 + \ln(s), and z=2rz = 2r. Compute ∂w∂r\frac{\partial w}{\partial r}.     ∂w∂r=(1)(1s)+(2)(2r)+(2z)(2)=1s+4r+4(2r)=1s+12r\frac{\partial w}{\partial r} = (1)\left(\frac{1}{s}\right) + (2)(2r) + (2z)(2) = \frac{1}{s} + 4r + 4(2r) = \frac{1}{s} + 12r
    • Problem 8: For w=xy+yz+zxw = xy + yz + zx, with x=cos⁡(t)x = \cos(t), y=sin⁡(t)y = \sin(t), z=etz = e^t, evaluate dwdt\frac{dw}{dt} at t=0t = 0.
    • Derivative relation:       dwdt=(y+z)(−sin⁡(t))+(x+z)(cos⁡(t))+(y+x)(et)\frac{dw}{dt} = (y + z)(-\sin(t)) + (x + z)(\cos(t)) + (y + x)(e^t)
    • At t=0t = 0: x=1x = 1, y=0y = 0, z=1z = 1.       dwdt=(0+1)(0)+(1+1)(1)+(0+1)(1)=0+2+1=3\frac{dw}{dt} = (0 + 1)(0) + (1 + 1)(1) + (0 + 1)(1) = 0 + 2 + 1 = 3
    • Problem 9: For w=ln⁡(x2+y2+z2)w = \ln(x^2 + y^2 + z^2), with x=cos⁡(t)x = \cos(t), y=sin⁡(t)y = \sin(t), z=4tz = 4\sqrt{t}, evaluate dwdt\frac{dw}{dt} at t=3t = 3.
    • Substitute identity: x2+y2+z2=cos⁡2(t)+sin⁡2(t)+16t=1+16tx^2 + y^2 + z^2 = \cos^2(t) + \sin^2(t) + 16t = 1 + 16t.
    • Differentiating:       dwdt=2x(−sin⁡(t))+2y(cos⁡(t))+2z(2t)x2+y2+z2=−2cos⁡(t)sin⁡(t)+2sin⁡(t)cos⁡(t)+2(4t)(2t)1+16t=161+16t\frac{dw}{dt} = \frac{2x(-\sin(t)) + 2y(\cos(t)) + 2z\left(\frac{2}{\sqrt{t}}\right)}{x^2 + y^2 + z^2} = \frac{-2\cos(t)\sin(t) + 2\sin(t)\cos(t) + 2(4\sqrt{t})\left(\frac{2}{\sqrt{t}}\right)}{1 + 16t} = \frac{16}{1 + 16t}
    • At t=3t = 3:       dwdt=161+16(3)=1649\frac{dw}{dt} = \frac{16}{1 + 16(3)} = \frac{16}{49}
    • Problem 10: For w=x2y+yz3w = x^2 y + y z^3, with x=t2x = t^2, y=ety = e^t, z=sin⁡(t)z = \sin(t), compute dwdt\frac{dw}{dt}.     dwdt=(2xy)(2t)+(x2+z3)(et)+(3yz2)(cos⁡(t))=4t3et+(t4+sin⁡3(t))et+3etsin⁡2(t)cos⁡(t)\frac{dw}{dt} = (2xy)(2t) + (x^2 + z^3)(e^t) + (3y z^2)(\cos(t)) = 4t^3 e^t + (t^4 + \sin^3(t))e^t + 3e^t \sin^2(t)\cos(t)
    • Problem 11: For w=x2+y2+z2w = \sqrt{x^2 + y^2 + z^2}, with x=cos⁡(θ)x = \cos(\theta), y=sin⁡(θ)y = \sin(\theta), z=tan⁡(θ)z = \tan(\theta), compute dwdθ\frac{dw}{d\theta}.
    • Partial derivatives: ∂w∂x=xx2+y2+z2\frac{\partial w}{\partial x} = \frac{x}{\sqrt{x^2 + y^2 + z^2}}, ∂w∂y=yx2+y2+z2\frac{\partial w}{\partial y} = \frac{y}{\sqrt{x^2 + y^2 + z^2}}, ∂w∂z=zx2+y2+z2\frac{\partial w}{\partial z} = \frac{z}{\sqrt{x^2 + y^2 + z^2}}
    • Substituting parameter values: x2+y2+z2=cos⁡2(θ)+sin⁡2(θ)+tan⁡2(θ)=1+tan⁡2(θ)=sec⁡(θ)\sqrt{x^2 + y^2 + z^2} = \sqrt{\cos^2(\theta) + \sin^2(\theta) + \tan^2(\theta)} = \sqrt{1 + \tan^2(\theta)} = \sec(\theta)
    • Applying the chain rule:       dwdθ=cos⁡(θ)(−sin⁡(θ))+sin⁡(θ)(cos⁡(θ))+tan⁡(θ)(sec⁡2(θ))sec⁡(θ)=tan⁡(θ)sec⁡2(θ)sec⁡(θ)=tan⁡(θ)sec⁡(θ)\frac{dw}{d\theta} = \frac{\cos(\theta)(-\sin(\theta)) + \sin(\theta)(\cos(\theta)) + \tan(\theta)(\sec^2(\theta))}{\sec(\theta)} = \frac{\tan(\theta)\sec^2(\theta)}{\sec(\theta)} = \tan(\theta)\sec(\theta)
    • Problem 12 (Chain Rule vs. Direct Substitution): Let u=x2+y2+z2u = x^2 + y^2 + z^2, where x=etcos⁡(t)x = e^t \cos(t), y=etsin⁡(t)y = e^t \sin(t), and z=etz = e^t. Show that dudt=4e2t\frac{du}{dt} = 4e^{2t}.
    • Chain Rule Approach:       ∂u∂x=2x,∂u∂y=2y,∂u∂z=2z\frac{\partial u}{\partial x} = 2x, \quad \frac{\partial u}{\partial y} = 2y, \quad \frac{\partial u}{\partial z} = 2zdxdt=et(cos⁡(t)−sin⁡(t)),dydt=et(cos⁡(t)+sin⁡(t)),dzdt=et\frac{dx}{dt} = e^t(\cos(t) - \sin(t)), \quad \frac{dy}{dt} = e^t(\cos(t) + \sin(t)), \quad \frac{dz}{dt} = e^tdudt=2(etcos⁡(t))et(cos⁡(t)−sin⁡(t))+2(etsin⁡(t))et(cos⁡(t)+sin⁡(t))+2(et)et\frac{du}{dt} = 2(e^t \cos(t))e^t(\cos(t) - \sin(t)) + 2(e^t \sin(t))e^t(\cos(t) + \sin(t)) + 2(e^t)e^tdudt=2e2t(cos⁡2(t)−cos⁡(t)sin⁡(t)+sin⁡(t)cos⁡(t)+sin⁡2(t)+1)=2e2t(1+1)=4e2t\frac{du}{dt} = 2e^{2t}(\cos^2(t) - \cos(t)\sin(t) + \sin(t)\cos(t) + \sin^2(t) + 1) = 2e^{2t}(1 + 1) = 4e^{2t}
    • Direct Substitution Verification:       u=(etcos⁡(t))2+(etsin⁡(t))2+(et)2=e2t(cos⁡2(t)+sin⁡2(t))+e2t=2e2tu = (e^t \cos(t))^2 + (e^t \sin(t))^2 + (e^t)^2 = e^{2t}(\cos^2(t) + \sin^2(t)) + e^{2t} = 2e^{2t}dudt=ddt(2e2t)=4e2t\frac{du}{dt} = \frac{d}{dt}(2e^{2t}) = 4e^{2t}
    • Problem 13 (Spherical Coordinate Transformation): Let w=4x2+4y2+z2w = 4x^2 + 4y^2 + z^2, with x=ρsin⁡(ϕ)cos⁡(θ)x = \rho\sin(\phi)\cos(\theta), y=ρsin⁡(ϕ)sin⁡(θ)y = \rho\sin(\phi)\sin(\theta), and z=ρcos⁡(ϕ)z = \rho\cos(\phi). Compute ∂w∂ρ\frac{\partial w}{\partial \rho}, ∂w∂ϕ\frac{\partial w}{\partial \phi}, and ∂w∂θ\frac{\partial w}{\partial \theta}.
    • Inner partials: ∂w∂x=8x\frac{\partial w}{\partial x} = 8x, ∂w∂y=8y\frac{\partial w}{\partial y} = 8y, ∂w∂z=2z\frac{\partial w}{\partial z} = 2z.
    • Derivative with respect to ρ\rho:       ∂w∂ρ=8(ρsin⁡(ϕ)cos⁡(θ))(sin⁡(ϕ)cos⁡(θ))+8(ρsin⁡(ϕ)sin⁡(θ))(sin⁡(ϕ)sin⁡(θ))+2(ρcos⁡(ϕ))(cos⁡(ϕ))\frac{\partial w}{\partial \rho} = 8(\rho\sin(\phi)\cos(\theta))(\sin(\phi)\cos(\theta)) + 8(\rho\sin(\phi)\sin(\theta))(\sin(\phi)\sin(\theta)) + 2(\rho\cos(\phi))(\cos(\phi))∂w∂ρ=8ρsin⁡2(ϕ)(cos⁡2(θ)+sin⁡2(θ))+2ρcos⁡2(ϕ)=8ρsin⁡2(ϕ)+2ρcos⁡2(ϕ)=2ρ(4sin⁡2(ϕ)+cos⁡2(ϕ))\frac{\partial w}{\partial \rho} = 8\rho\sin^2(\phi)(\cos^2(\theta) + \sin^2(\theta)) + 2\rho\cos^2(\phi) = 8\rho\sin^2(\phi) + 2\rho\cos^2(\phi) = 2\rho(4\sin^2(\phi) + \cos^2(\phi))
    • Derivative with respect to ϕ\phi:       ∂w∂ϕ=8(ρsin⁡(ϕ)cos⁡(θ))(ρcos⁡(ϕ)cos⁡(θ))+8(ρsin⁡(ϕ)sin⁡(θ))(ρcos⁡(ϕ)sin⁡(θ))+2(ρcos⁡(ϕ))(−ρsin⁡(ϕ))\frac{\partial w}{\partial \phi} = 8(\rho\sin(\phi)\cos(\theta))(\rho\cos(\phi)\cos(\theta)) + 8(\rho\sin(\phi)\sin(\theta))(\rho\cos(\phi)\sin(\theta)) + 2(\rho\cos(\phi))(-\rho\sin(\phi))∂w∂ϕ=8ρ2sin⁡(ϕ)cos⁡(ϕ)(cos⁡2(θ)+sin⁡2(θ))−2ρ2sin⁡(ϕ)cos⁡(ϕ)=6ρ2sin⁡(ϕ)cos⁡(ϕ)\frac{\partial w}{\partial \phi} = 8\rho^2 \sin(\phi)\cos(\phi)(\cos^2(\theta) + \sin^2(\theta)) - 2\rho^2 \sin(\phi)\cos(\phi) = 6\rho^2 \sin(\phi)\cos(\phi)
    • Derivative with respect to θ\theta:       ∂w∂θ=8(ρsin⁡(ϕ)cos⁡(θ))(−ρsin⁡(ϕ)sin⁡(θ))+8(ρsin⁡(ϕ)sin⁡(θ))(ρsin⁡(ϕ)cos⁡(θ))+2z(0)=0\frac{\partial w}{\partial \theta} = 8(\rho\sin(\phi)\cos(\theta))(-\rho\sin(\phi)\sin(\theta)) + 8(\rho\sin(\phi)\sin(\theta))(\rho\sin(\phi)\cos(\theta)) + 2z(0) = 0
    • Problem 14 (Functional Relation Proof): If u=f(x−y,y−z,z−x)u = f(x - y, y - z, z - x), prove that ∂u∂x+∂u∂y+∂u∂z=0\frac{\partial u}{\partial x} + \frac{\partial u}{\partial y} + \frac{\partial u}{\partial z} = 0.
    • Define intermediate variables r=x−yr = x - y, s=y−zs = y - z, t=z−xt = z - x.
    • Partial derivatives with respect to each independent coordinate:       ∂u∂x=∂u∂r(1)+∂u∂s(0)+∂u∂t(−1)=∂u∂r−∂u∂t\frac{\partial u}{\partial x} = \frac{\partial u}{\partial r}(1) + \frac{\partial u}{\partial s}(0) + \frac{\partial u}{\partial t}(-1) = \frac{\partial u}{\partial r} - \frac{\partial u}{\partial t}∂u∂y=∂u∂r(−1)+∂u∂s(1)+∂u∂t(0)=−∂u∂r+∂u∂s\frac{\partial u}{\partial y} = \frac{\partial u}{\partial r}(-1) + \frac{\partial u}{\partial s}(1) + \frac{\partial u}{\partial t}(0) = -\frac{\partial u}{\partial r} + \frac{\partial u}{\partial s}∂u∂z=∂u∂r(0)+∂u∂s(−1)+∂u∂t(1)=−∂u∂s+∂u∂t\frac{\partial u}{\partial z} = \frac{\partial u}{\partial r}(0) + \frac{\partial u}{\partial s}(-1) + \frac{\partial u}{\partial t}(1) = -\frac{\partial u}{\partial s} + \frac{\partial u}{\partial t}
    • Summing these equations yields:       ∂u∂x+∂u∂y+∂u∂z=(∂u∂r−∂u∂t)+(−∂u∂r+∂u∂s)+(−∂u∂s+∂u∂t)=0\frac{\partial u}{\partial x} + \frac{\partial u}{\partial y} + \frac{\partial u}{\partial z} = \left(\frac{\partial u}{\partial r} - \frac{\partial u}{\partial t}\right) + \left(-\frac{\partial u}{\partial r} + \frac{\partial u}{\partial s}\right) + \left(-\frac{\partial u}{\partial s} + \frac{\partial u}{\partial t}\right) = 0
    • Problem 15 (Homogeneous Ratio Proof): If u=f(xy,yz,zx)u = f\left(\frac{x}{y}, \frac{y}{z}, \frac{z}{x}\right), show that x∂u∂x+y∂u∂y+z∂u∂z=0x\frac{\partial u}{\partial x} + y\frac{\partial u}{\partial y} + z\frac{\partial u}{\partial z} = 0.
    • Define intermediate variables r=xyr = \frac{x}{y}, s=yzs = \frac{y}{z}, t=zxt = \frac{z}{x}.
    • Compute partials and scale by coordinates:       x∂u∂x=x[∂u∂r(1y)+∂u∂t(−zx2)]=xy∂u∂r−zx∂u∂tx\frac{\partial u}{\partial x} = x\left[\frac{\partial u}{\partial r}\left(\frac{1}{y}\right) + \frac{\partial u}{\partial t}\left(-\frac{z}{x^2}\right)\right] = \frac{x}{y}\frac{\partial u}{\partial r} - \frac{z}{x}\frac{\partial u}{\partial t}y∂u∂y=y[∂u∂r(−xy2)+∂u∂s(1z)]=−xy∂u∂r+yz∂u∂sy\frac{\partial u}{\partial y} = y\left[\frac{\partial u}{\partial r}\left(-\frac{x}{y^2}\right) + \frac{\partial u}{\partial s}\left(\frac{1}{z}\right)\right] = -\frac{x}{y}\frac{\partial u}{\partial r} + \frac{y}{z}\frac{\partial u}{\partial s}z∂u∂z=z[∂u∂s(−yz2)+∂u∂t(1x)]=−yz∂u∂s+zx∂u∂tz\frac{\partial u}{\partial z} = z\left[\frac{\partial u}{\partial s}\left(-\frac{y}{z^2}\right) + \frac{\partial u}{\partial t}\left(\frac{1}{x}\right)\right] = -\frac{y}{z}\frac{\partial u}{\partial s} + \frac{z}{x}\frac{\partial u}{\partial t}
    • Adding these equations together:       x∂u∂x+y∂u∂y+z∂u∂z=(xy−xy)∂u∂r+(yz−yz)∂u∂s+(−zx+zx)∂u∂t=0x\frac{\partial u}{\partial x} + y\frac{\partial u}{\partial y} + z\frac{\partial u}{\partial z} = \left(\frac{x}{y} - \frac{x}{y}\right)\frac{\partial u}{\partial r} + \left(\frac{y}{z} - \frac{y}{z}\right)\frac{\partial u}{\partial s} + \left(-\frac{z}{x} + \frac{z}{x}\right)\frac{\partial u}{\partial t} = 0
  • Implicit Differentiation via Partial Derivatives:

    • If an implicit equation F(x,y)=0F(x, y) = 0 defines yy as a differentiable function of xx, differentiation yields:     dydx=−FxFy\frac{dy}{dx} = -\frac{F_x}{F_y}
    • Folium of Descartes: Find dydx\frac{dy}{dx} for x3+y3=3axyx^3 + y^3 = 3axy.
    • Partial Derivative Method: Let F(x,y)=x3+y3−3axy=0F(x, y) = x^3 + y^3 - 3axy = 0.       dydx=−FxFy=−3x2−3ay3y2−3ax=ay−x2y2−ax\frac{dy}{dx} = -\frac{F_x}{F_y} = -\frac{3x^2 - 3ay}{3y^2 - 3ax} = \frac{ay - x^2}{y^2 - ax}
    • Standard Implicit Method Verification:ddx(x3+y3)=ddx(3axy)  ⟹  3x2+3y2dydx=3a(xdydx+y)\frac{d}{dx}(x^3 + y^3) = \frac{d}{dx}(3axy) \implies 3x^2 + 3y^2\frac{dy}{dx} = 3a\left(x\frac{dy}{dx} + y\right)(3y2−3ax)dydx=3ay−3x2  ⟹  dydx=ay−x2y2−ax(3y^2 - 3ax)\frac{dy}{dx} = 3ay - 3x^2 \implies \frac{dy}{dx} = \frac{ay - x^2}{y^2 - ax}
    • Algebraic Implicit Relation: For x2+y2−a2=0x^2 + y^2 - a^2 = 0:     dydx=−FxFy=−2x2y=−xy\frac{dy}{dx} = -\frac{F_x}{F_y} = -\frac{2x}{2y} = -\frac{x}{y}
  • Applied Related Rates via Chain Rule:

    • Rectangle Area: The length ll and width ww of a rectangle increase at 1.5 cm/s1.5\,\text{cm/s} and 0.5 cm/s0.5\,\text{cm/s}, respectively. Find the rate of increase of area when l=40 cml = 40\,\text{cm} and w=30 cmw = 30\,\text{cm}.     dAdt=wdldt+ldwdt=30(1.5)+40(0.5)=45+20=65 cm2/s\frac{dA}{dt} = w\frac{dl}{dt} + l\frac{dw}{dt} = 30(1.5) + 40(0.5) = 45 + 20 = 65\,\text{cm}^2/\text{s}
    • Right Circular Cone: The altitude of a cone increases at 0.2 cm/s0.2\,\text{cm/s} while its radius decreases at 0.3 cm/s0.3\,\text{cm/s}. Find the time rate of change of volume when h=15 cmh = 15\,\text{cm} and r=10 cmr = 10\,\text{cm}.
    • Volume: V=13πr2hV = \frac{1}{3}\pi r^2 h
    • Time derivative:       dVdt=23πrhdrdt+13πr2dhdt=2π3(10)(15)(−0.3)+π3(100)(0.2)=−30π+20π3=−70π3 cm3/s\frac{dV}{dt} = \frac{2}{3}\pi r h\frac{dr}{dt} + \frac{1}{3}\pi r^2\frac{dh}{dt} = \frac{2\pi}{3}(10)(15)(-0.3) + \frac{\pi}{3}(100)(0.2) = -30\pi + \frac{20\pi}{3} = -\frac{70\pi}{3}\,\text{cm}^3/\text{s}
    • Constraint Rate Relation: Let z=2x2y2−3x2yz = 2x^2 y^2 - 3x^2 y, where dxdt=2\frac{dx}{dt} = 2 and zz remains constant (dzdt=0\frac{dz}{dt} = 0). Find dydt\frac{dy}{dt} when x=3x = 3 and y=1y = 1.     0=∂z∂xdxdt+∂z∂ydydt=(4xy2−6xy)(2)+(4x2y−3x2)dydt0 = \frac{\partial z}{\partial x}\frac{dx}{dt} + \frac{\partial z}{\partial y}\frac{dy}{dt} = (4x y^2 - 6xy)(2) + (4x^2 y - 3x^2)\frac{dy}{dt}
    • At (3,1)(3, 1): (4(3)(1)−6(3)(1))(2)+(4(9)(1)−3(9))dydt=0(4(3)(1) - 6(3)(1))(2) + (4(9)(1) - 3(9))\frac{dy}{dt} = 0(12−18)(2)+(36−27)dydt=0  ⟹  −12+9dydt=0  ⟹  dydt=129=43(12 - 18)(2) + (36 - 27)\frac{dy}{dt} = 0 \implies -12 + 9\frac{dy}{dt} = 0 \implies \frac{dy}{dt} = \frac{12}{9} = \frac{4}{3}
    • Rational Higher Derivative: Find the second derivative of y=(3x3+2x)(3x+5)x4y = \frac{(3x^3 + 2x)(3x + 5)}{x^4}.
    • Expand numerator: y=9x4+15x3+6x2+10xx4=9+15x−1+6x−2+10x−3y = \frac{9x^4 + 15x^3 + 6x^2 + 10x}{x^4} = 9 + 15x^{-1} + 6x^{-2} + 10x^{-3}
    • First derivative: dydx=−15x−2−12x−3−30x−4\frac{dy}{dx} = -15x^{-2} - 12x^{-3} - 30x^{-4}
    • Second derivative:       d2ydx2=30x−3+36x−4+120x−5=30x2+36x+120x5\frac{d^2 y}{dx^2} = 30x^{-3} + 36x^{-4} + 120x^{-5} = \frac{30x^2 + 36x + 120}{x^5}

Gradient Vectors, Directional Derivatives, and Extreme Rates of Change

  • The Gradient Vector:

    • Definition: The gradient of a scalar function f(x,y,z)f(x, y, z) is a vector pointing in the direction of maximum increase:     ∇f=∂f∂xi^+∂f∂yj^+∂f∂zk^\nabla f = \frac{\partial f}{\partial x}\mathbf{\hat{i}} + \frac{\partial f}{\partial y}\mathbf{\hat{j}} + \frac{\partial f}{\partial z}\mathbf{\hat{k}}
  • Evaluated Gradient Examples:

    • f(x,y)=y−xf(x, y) = y - x at (2,2)  ⟹  ∇f=−i^+j^(2, 2) \implies \nabla f = -\mathbf{\hat{i}} + \mathbf{\hat{j}}
  • f(x,y)=ln⁡(x2+y2)f(x, y) = \ln(x^2 + y^2) at (1,1)  ⟹  ∇f=2xx2+y2i^+2yx2+y2j^=i^+j^(1, 1) \implies \nabla f = \frac{2x}{x^2 + y^2}\mathbf{\hat{i}} + \frac{2y}{x^2 + y^2}\mathbf{\hat{j}} = \mathbf{\hat{i}} + \mathbf{\hat{j}}

  • f(x,y)=2x+3yf(x, y) = \sqrt{2x + 3y} at (−1,2)  ⟹  ∇f=12x+3yi^+322x+3yj^=12i^+34j^(-1, 2) \implies \nabla f = \frac{1}{\sqrt{2x + 3y}}\mathbf{\hat{i}} + \frac{3}{2\sqrt{2x + 3y}}\mathbf{\hat{j}} = \frac{1}{2}\mathbf{\hat{i}} + \frac{3}{4}\mathbf{\hat{j}}

  • f(x,y)=tan⁡−1(xy)f(x, y) = \tan^{-1}\left(\frac{\sqrt{x}}{y}\right) at (4,−2)(4, -2):   ∂f∂x=11+(x/y2)(12yx)=y2x(x+y2)=−22(2)(4+4)=−116\frac{\partial f}{\partial x} = \frac{1}{1 + (x/y^2)}\left(\frac{1}{2y\sqrt{x}}\right) = \frac{y}{2\sqrt{x}(x + y^2)} = \frac{-2}{2(2)(4 + 4)} = -\frac{1}{16}∂f∂y=11+(x/y2)(−xy2)=−xx+y2=−24+4=−14\frac{\partial f}{\partial y} = \frac{1}{1 + (x/y^2)}\left(-\frac{\sqrt{x}}{y^2}\right) = -\frac{\sqrt{x}}{x + y^2} = -\frac{2}{4 + 4} = -\frac{1}{4}∇f=−116i^−14j^\nabla f = -\frac{1}{16}\mathbf{\hat{i}} - \frac{1}{4}\mathbf{\hat{j}}

  • f(x,y,z)=x2+y2−2z2+zln⁡(x)f(x, y, z) = x^2 + y^2 - 2z^2 + z\ln(x) at (1,1,1)(1, 1, 1):   ∇f=(2x+zx)i^+2yj^+(ln⁡(x)−4z)k^=3i^+2j^−4k^\nabla f = \left(2x + \frac{z}{x}\right)\mathbf{\hat{i}} + 2y\mathbf{\hat{j}} + (\ln(x) - 4z)\mathbf{\hat{k}} = 3\mathbf{\hat{i}} + 2\mathbf{\hat{j}} - 4\mathbf{\hat{k}}

  • f(x,y,z)=log⁡(x2+y2+z2)f(x, y, z) = \log(x^2 + y^2 + z^2) at (1,2,1)(1, 2, 1):   ∇f=2xx2+y2+z2i^+2yx2+y2+z2j^+2zx2+y2+z2k^=26i^+46j^+26k^=13i^+23j^+13k^\nabla f = \frac{2x}{x^2 + y^2 + z^2}\mathbf{\hat{i}} + \frac{2y}{x^2 + y^2 + z^2}\mathbf{\hat{j}} + \frac{2z}{x^2 + y^2 + z^2}\mathbf{\hat{k}} = \frac{2}{6}\mathbf{\hat{i}} + \frac{4}{6}\mathbf{\hat{j}} + \frac{2}{6}\mathbf{\hat{k}} = \frac{1}{3}\mathbf{\hat{i}} + \frac{2}{3}\mathbf{\hat{j}} + \frac{1}{3}\mathbf{\hat{k}}

  • The Directional Derivative:

    • Definition: The rate of change of f(x,y)f(x, y) in the direction of a unit vector u^\mathbf{\hat{u}} is given by the scalar dot product:     Du^f=∇f⋅u^D_{\mathbf{\hat{u}}} f = \nabla f \cdot \mathbf{\hat{u}}
  • Properties of Directional Derivatives:

    • Maximum Rate of Increase: Occurs in the direction of the gradient ∇f\nabla f, with value ∣∇f∣|\nabla f|.
  • Maximum Rate of Decrease: Occurs in the direction opposite the gradient −∇f-\nabla f, with value −∣∇f∣-|\nabla f|.

  • Zero Rate of Change: Occurs in any direction orthogonal to ∇f\nabla f.

  • Evaluated Directional Derivative Problems:

    • For f(x,y)=x2+y2f(x, y) = x^2 + y^2 at (1,1)(1, 1) in direction u=(12,12)\mathbf{u} = \left(\frac{1}{\sqrt{2}}, \frac{1}{\sqrt{2}}\right).
    • Gradient: ∇f=2xi^+2yj^  ⟹  ∇f(1,1)=2i^+2j^\nabla f = 2x\mathbf{\hat{i}} + 2y\mathbf{\hat{j}} \implies \nabla f(1, 1) = 2\mathbf{\hat{i}} + 2\mathbf{\hat{j}}.
    • Dot product: Du^f=(2i^+2j^)⋅(12i^+12j^)=22+22=42=22D_{\mathbf{\hat{u}}} f = (2\mathbf{\hat{i}} + 2\mathbf{\hat{j}}) \cdot \left(\frac{1}{\sqrt{2}}\mathbf{\hat{i}} + \frac{1}{\sqrt{2}}\mathbf{\hat{j}}\right) = \frac{2}{\sqrt{2}} + \frac{2}{\sqrt{2}} = \frac{4}{\sqrt{2}} = 2\sqrt{2}.
  • For f(x,y)=x3−3xy+y3f(x, y) = x^3 - 3xy + y^3 at (1,2)(1, 2) in direction v=2i^+3j^\mathbf{v} = 2\mathbf{\hat{i}} + 3\mathbf{\hat{j}}.

    • Gradient: ∇f=(3x2−3y)i^+(3y2−3x)j^  ⟹  ∇f(1,2)=−3i^+9j^\nabla f = (3x^2 - 3y)\mathbf{\hat{i}} + (3y^2 - 3x)\mathbf{\hat{j}} \implies \nabla f(1, 2) = -3\mathbf{\hat{i}} + 9\mathbf{\hat{j}}.
    • Unit vector: u^=213i^+313j^\mathbf{\hat{u}} = \frac{2}{\sqrt{13}}\mathbf{\hat{i}} + \frac{3}{\sqrt{13}}\mathbf{\hat{j}}.
    • Dot product: Du^f=(−3)(213)+(9)(313)=−6+2713=2113D_{\mathbf{\hat{u}}} f = (-3)\left(\frac{2}{\sqrt{13}}\right) + (9)\left(\frac{3}{\sqrt{13}}\right) = \frac{-6 + 27}{\sqrt{13}} = \frac{21}{\sqrt{13}}.
  • For f(x,y)=x2y+3xy2f(x, y) = x^2 y + 3xy^2 at (1,2)(1, 2) in direction v=(1,1)\mathbf{v} = (1, 1).

    • Gradient: ∇f=(2xy+3y2)i^+(x2+6xy)j^  ⟹  ∇f(1,2)=16i^+13j^\nabla f = (2xy + 3y^2)\mathbf{\hat{i}} + (x^2 + 6xy)\mathbf{\hat{j}} \implies \nabla f(1, 2) = 16\mathbf{\hat{i}} + 13\mathbf{\hat{j}}.
    • Unit vector: u^=12i^+12j^\mathbf{\hat{u}} = \frac{1}{\sqrt{2}}\mathbf{\hat{i}} + \frac{1}{\sqrt{2}}\mathbf{\hat{j}}.
    • Dot product: Du^f=162+132=292D_{\mathbf{\hat{u}}} f = \frac{16}{\sqrt{2}} + \frac{13}{\sqrt{2}} = \frac{29}{\sqrt{2}}.
  • For f(x,y)=exsin⁡(y)f(x, y) = e^x \sin(y) at (0,π/2)(0, \pi/2) in direction (0,1)(0, 1).

    • Gradient: ∇f=exsin⁡(y)i^+excos⁡(y)j^  ⟹  ∇f(0,π/2)=i^+0j^\nabla f = e^x \sin(y)\mathbf{\hat{i}} + e^x \cos(y)\mathbf{\hat{j}} \implies \nabla f(0, \pi/2) = \mathbf{\hat{i}} + 0\mathbf{\hat{j}}.
    • Unit vector: u^=j^\mathbf{\hat{u}} = \mathbf{\hat{j}}.
    • Dot product: Du^f=(i^)⋅(j^)=0D_{\mathbf{\hat{u}}} f = (\mathbf{\hat{i}}) \cdot (\mathbf{\hat{j}}) = 0.
  • Topographical Application (Hill Steepness): Hill elevation is defined by h(x,y)=100−0.01x2−0.02y2h(x, y) = 100 - 0.01x^2 - 0.02y^2. A hiker at (50,40)(50, 40) walks toward (60,50)(60, 50). Find the steepness of the path.

    • Gradient: ∇h=−0.02xi^−0.04yj^  ⟹  ∇h(50,40)=−i^−1.6j^\nabla h = -0.02x\mathbf{\hat{i}} - 0.04y\mathbf{\hat{j}} \implies \nabla h(50, 40) = -\mathbf{\hat{i}} - 1.6\mathbf{\hat{j}}.
    • Displacement vector: v=(60−50)i^+(50−40)j^=10i^+10j^\mathbf{v} = (60 - 50)\mathbf{\hat{i}} + (50 - 40)\mathbf{\hat{j}} = 10\mathbf{\hat{i}} + 10\mathbf{\hat{j}}.
    • Unit direction: u^=12i^+12j^\mathbf{\hat{u}} = \frac{1}{\sqrt{2}}\mathbf{\hat{i}} + \frac{1}{\sqrt{2}}\mathbf{\hat{j}}.
    • Directional derivative:     Du^h=(−i^−1.6j^)⋅(12i^+12j^)=−2.62=−1.32D_{\mathbf{\hat{u}}} h = (-\mathbf{\hat{i}} - 1.6\mathbf{\hat{j}}) \cdot \left(\frac{1}{\sqrt{2}}\mathbf{\hat{i}} + \frac{1}{\sqrt{2}}\mathbf{\hat{j}}\right) = -\frac{2.6}{\sqrt{2}} = -1.3\sqrt{2}
  • Maximum Rate of Increase and Direction: For f(x,y)=x2−3xy+y2f(x, y) = x^2 - 3xy + y^2 at (1,−1)(1, -1), find maximum rate of increase, its direction, and the directional derivative along i^−j^\mathbf{\hat{i}} - \mathbf{\hat{j}}.

    • Gradient: ∇f=(2x−3y)i^+(2y−3x)j^  ⟹  ∇f(1,−1)=5i^−5j^\nabla f = (2x - 3y)\mathbf{\hat{i}} + (2y - 3x)\mathbf{\hat{j}} \implies \nabla f(1, -1) = 5\mathbf{\hat{i}} - 5\mathbf{\hat{j}}.
  • Maximum rate of increase: ∣∇f∣=52+(−5)2=50=52|\nabla f| = \sqrt{5^2 + (-5)^2} = \sqrt{50} = 5\sqrt{2}.

    • Direction of maximum increase: u^=5i^−5j^52=12i^−12j^\mathbf{\hat{u}} = \frac{5\mathbf{\hat{i}} - 5\mathbf{\hat{j}}}{5\sqrt{2}} = \frac{1}{\sqrt{2}}\mathbf{\hat{i}} - \frac{1}{\sqrt{2}}\mathbf{\hat{j}}.
    • Along v=i^−j^\mathbf{v} = \mathbf{\hat{i}} - \mathbf{\hat{j}}, the unit vector is identical (12i^−12j^\frac{1}{\sqrt{2}}\mathbf{\hat{i}} - \frac{1}{\sqrt{2}}\mathbf{\hat{j}}), giving:     Du^f=(5i^−5j^)⋅(12i^−12j^)=52+52=102=52D_{\mathbf{\hat{u}}} f = (5\mathbf{\hat{i}} - 5\mathbf{\hat{j}}) \cdot \left(\frac{1}{\sqrt{2}}\mathbf{\hat{i}} - \frac{1}{\sqrt{2}}\mathbf{\hat{j}}\right) = \frac{5}{\sqrt{2}} + \frac{5}{\sqrt{2}} = \frac{10}{\sqrt{2}} = 5\sqrt{2}
  • For f(x,y)=xey+cos⁡(xy)f(x, y) = x e^y + \cos(xy) at (2,0)(2, 0) in direction v=3i^−4j^\mathbf{v} = 3\mathbf{\hat{i}} - 4\mathbf{\hat{j}}.

    • Gradient: ∇f=(ey−ysin⁡(xy))i^+(xey−xsin⁡(xy))j^  ⟹  ∇f(2,0)=i^+2j^\nabla f = (e^y - y\sin(xy))\mathbf{\hat{i}} + (x e^y - x\sin(xy))\mathbf{\hat{j}} \implies \nabla f(2, 0) = \mathbf{\hat{i}} + 2\mathbf{\hat{j}}.
  • Unit vector: ∣v∣=32+(−4)2=5  ⟹  u^=35i^−45j^|\mathbf{v}| = \sqrt{3^2 + (-4)^2} = 5 \implies \mathbf{\hat{u}} = \frac{3}{5}\mathbf{\hat{i}} - \frac{4}{5}\mathbf{\hat{j}}.

  • Dot product: Du^f=(i^+2j^)⋅(35i^−45j^)=35−85=−55=−1D_{\mathbf{\hat{u}}} f = (\mathbf{\hat{i}} + 2\mathbf{\hat{j}}) \cdot \left(\frac{3}{5}\mathbf{\hat{i}} - \frac{4}{5}\mathbf{\hat{j}}\right) = \frac{3}{5} - \frac{8}{5} = -\frac{5}{5} = -1.

Relative Extrema and Saddle Points of Functions of Two Variables

  • Critical Points:

    • A point (a,b)(a, b) in the interior of the domain is a critical point of f(x,y)f(x, y) if both first-order partial derivatives are simultaneously zero:     ∂f∂x(a,b)=0and∂f∂y(a,b)=0\frac{\partial f}{\partial x}(a, b) = 0 \quad \text{and} \quad \frac{\partial f}{\partial y}(a, b) = 0
  • Second Derivative Test for Local Extrema:

    • Evaluate the discriminant DD (Hessian determinant) at the critical point (a,b)(a, b):     D=fxx(a,b)⋅fyy(a,b)−[fxy(a,b)]2D = f_{xx}(a, b) \cdot f_{yy}(a, b) - [f_{xy}(a, b)]^2
    • Classification Criteria:
    • If D>0D > 0 and fxx(a,b)>0f_{xx}(a, b) > 0, then (a,b)(a, b) is a local minimum.
    • If D>0D > 0 and fxx(a,b)<0f_{xx}(a, b) < 0, then (a,b)(a, b) is a local maximum.
    • If D<0D < 0, then (a,b)(a, b) is a saddle point.
    • If D=0D = 0, the test is inconclusive.
  • Evaluated Classification Problems:

    • Problem 1: f(x,y)=x2+y2−2x−6y+14f(x, y) = x^2 + y^2 - 2x - 6y + 14
    • First partials: fx=2x−2=0  ⟹  x=1f_x = 2x - 2 = 0 \implies x = 1; fy=2y−6=0  ⟹  y=3f_y = 2y - 6 = 0 \implies y = 3. Critical point: (1,3)(1, 3).
    • Second partials: fxx=2f_{xx} = 2, fyy=2f_{yy} = 2, fxy=0f_{xy} = 0.
    • Discriminant: D=(2)(2)−02=4>0D = (2)(2) - 0^2 = 4 > 0.
    • Since D>0D > 0 and fxx>0f_{xx} > 0, (1,3)(1, 3) is a local minimum.
    • Value: f(1,3)=12+32−2(1)−6(3)+14=1+9−2−18+14=4f(1, 3) = 1^2 + 3^2 - 2(1) - 6(3) + 14 = 1 + 9 - 2 - 18 + 14 = 4.
    • Problem 2: f(x,y)=xy−x2−y2−2x−2y+4f(x, y) = xy - x^2 - y^2 - 2x - 2y + 4
    • First partials:       fx=y−2x−2=0  ⟹  y=2x+2f_x = y - 2x - 2 = 0 \implies y = 2x + 2fy=x−2y−2=0f_y = x - 2y - 2 = 0
    • Solving simultaneously: x−2(2x+2)−2=0  ⟹  −3x−6=0  ⟹  x=−2,y=−2x - 2(2x + 2) - 2 = 0 \implies -3x - 6 = 0 \implies x = -2, y = -2. Critical point: (−2,−2)(-2, -2).
    • Second partials: fxx=−2f_{xx} = -2, fyy=−2f_{yy} = -2, fxy=1f_{xy} = 1.
    • Discriminant: D=(−2)(−2)−12=4−1=3>0D = (-2)(-2) - 1^2 = 4 - 1 = 3 > 0.
    • Since D>0D > 0 and fxx<0f_{xx} < 0, (−2,−2)(-2, -2) is a local maximum.
    • Value: f(−2,−2)=4−4−4+4+4+4=8f(-2, -2) = 4 - 4 - 4 + 4 + 4 + 4 = 8.
    • Problem 3: f(x,y)=2xy−x3−y3f(x, y) = 2xy - x^3 - y^3
    • First partials:       fx=2y−3x2=0  ⟹  y=3x22f_x = 2y - 3x^2 = 0 \implies y = \frac{3x^2}{2}fy=2x−3y2=0f_y = 2x - 3y^2 = 0
    • Substituting yy: 2x−3(3x22)2=2x−27x44=x(2−27x34)=02x - 3\left(\frac{3x^2}{2}\right)^2 = 2x - \frac{27x^4}{4} = x\left(2 - \frac{27x^3}{4}\right) = 0.
    • Roots: x=0  ⟹  y=0x = 0 \implies y = 0; x3=827  ⟹  x=23,y=23x^3 = \frac{8}{27} \implies x = \frac{2}{3}, y = \frac{2}{3}.
    • Critical points: (0,0)(0, 0) and (23,23)\left(\frac{2}{3}, \frac{2}{3}\right).
    • Second partials: fxx=−6xf_{xx} = -6x, fyy=−6yf_{yy} = -6y, fxy=2f_{xy} = 2.
    • At (0,0)(0, 0): D=(0)(0)−22=−4<0  ⟹  D = (0)(0) - 2^2 = -4 < 0 \implies Saddle point.
    • At (23,23)\left(\frac{2}{3}, \frac{2}{3}\right): fxx=−4f_{xx} = -4, fyy=−4f_{yy} = -4, fxy=2f_{xy} = 2. Discriminant D=(−4)(−4)−22=16−4=12>0D = (-4)(-4) - 2^2 = 16 - 4 = 12 > 0. Since fxx<0f_{xx} < 0, it is a local maximum.
    • Value: f(23,23)=2(49)−827−827=24−8−827=827f\left(\frac{2}{3}, \frac{2}{3}\right) = 2\left(\frac{4}{9}\right) - \frac{8}{27} - \frac{8}{27} = \frac{24 - 8 - 8}{27} = \frac{8}{27}.
    • Problem 4: f(x,y)=3x2−2xy+y2−8yf(x, y) = 3x^2 - 2xy + y^2 - 8y
    • First partials:       fx=6x−2y=0  ⟹  y=3xf_x = 6x - 2y = 0 \implies y = 3xfy=−2x+2y−8=0f_y = -2x + 2y - 8 = 0
    • Substituting yy: −2x+6x−8=0  ⟹  4x=8  ⟹  x=2,y=6-2x + 6x - 8 = 0 \implies 4x = 8 \implies x = 2, y = 6. Critical point: (2,6)(2, 6).
    • Second partials: fxx=6f_{xx} = 6, fyy=2f_{yy} = 2, fxy=−2f_{xy} = -2.
    • Discriminant: D=(6)(2)−(−2)2=12−4=8>0D = (6)(2) - (-2)^2 = 12 - 4 = 8 > 0.
    • Since D>0D > 0 and fxx>0f_{xx} > 0, (2,6)(2, 6) is a local minimum.
    • Value: f(2,6)=3(4)−2(12)+36−48=12−24+36−48=−24f(2, 6) = 3(4) - 2(12) + 36 - 48 = 12 - 24 + 36 - 48 = -24.
    • Problem 5: f(x,y)=x3+3xy2−15x2−15y2+72xf(x, y) = x^3 + 3xy^2 - 15x^2 - 15y^2 + 72x
    • First partials:       fx=3x2+3y2−30x+72=0f_x = 3x^2 + 3y^2 - 30x + 72 = 0fy=6xy−30y=6y(x−5)=0f_y = 6xy - 30y = 6y(x - 5) = 0
    • From fy=0f_y = 0, either y=0y = 0 or x=5x = 5.
      • Case 1 (y=0y = 0): 3x2−30x+72=0  ⟹  x2−10x+24=0  ⟹  (x−6)(x−4)=0  ⟹  x=4,63x^2 - 30x + 72 = 0 \implies x^2 - 10x + 24 = 0 \implies (x - 6)(x - 4) = 0 \implies x = 4, 6. Yields critical points (4,0)(4, 0) and (6,0)(6, 0).
      • Case 2 (x=5x = 5): 3(25)+3y2−30(5)+72=0  ⟹  75+3y2−150+72=0  ⟹  3y2−3=0  ⟹  y=±13(25) + 3y^2 - 30(5) + 72 = 0 \implies 75 + 3y^2 - 150 + 72 = 0 \implies 3y^2 - 3 = 0 \implies y = \pm 1. Yields critical points (5,1)(5, 1) and (5,−1)(5, -1).
    • Second partials: fxx=6x−30f_{xx} = 6x - 30, fyy=6x−30f_{yy} = 6x - 30, fxy=6yf_{xy} = 6y.
    • Evaluating discriminant D=(6x−30)2−(6y)2D = (6x - 30)^2 - (6y)^2:
      • At (5,1)(5, 1): fxx=0,fyy=0,fxy=6  ⟹  D=0−36=−36<0  ⟹  f_{xx} = 0, f_{yy} = 0, f_{xy} = 6 \implies D = 0 - 36 = -36 < 0 \implies Saddle Point.
      • At (5,−1)(5, -1): fxx=0,fyy=0,fxy=−6  ⟹  D=0−36=−36<0  ⟹  f_{xx} = 0, f_{yy} = 0, f_{xy} = -6 \implies D = 0 - 36 = -36 < 0 \implies Saddle Point.
      • At (6,0)(6, 0): fxx=6,fyy=6,fxy=0  ⟹  D=36>0f_{xx} = 6, f_{yy} = 6, f_{xy} = 0 \implies D = 36 > 0. Since fxx>0f_{xx} > 0, it is a Local Minimum with value f(6,0)=108f(6, 0) = 108.
      • At (4,0)(4, 0): fxx=−6,fyy=−6,fxy=0  ⟹  D=36>0f_{xx} = -6, f_{yy} = -6, f_{xy} = 0 \implies D = 36 > 0. Since fxx<0f_{xx} < 0, it is a Local Maximum with value f(4,0)=112f(4, 0) = 112.
    • Problem 6: f(x,y)=4xy−x4−y4f(x, y) = 4xy - x^4 - y^4
    • First partials: fx=4y−4x3=0  ⟹  y=x3f_x = 4y - 4x^3 = 0 \implies y = x^3; fy=4x−4y3=0f_y = 4x - 4y^3 = 0.
    • Substituting: 4x−4(x3)3=4x(1−x8)=0  ⟹  x=0,±14x - 4(x^3)^3 = 4x(1 - x^8) = 0 \implies x = 0, \pm 1.
    • Critical points: (0,0)(0, 0), (1,1)(1, 1), (−1,−1)(-1, -1).
    • Second partials: fxx=−12x2f_{xx} = -12x^2, fyy=−12y2f_{yy} = -12y^2, fxy=4f_{xy} = 4.
    • Discriminant D=144x2y2−16D = 144x^2 y^2 - 16:
      • At (0,0)(0, 0): D=−16<0  ⟹  D = -16 < 0 \implies Saddle Point.
      • At (1,1)(1, 1): D=144−16=128>0D = 144 - 16 = 128 > 0. Since fxx=−12<0  ⟹  f_{xx} = -12 < 0 \implies Local Maximum with value f(1,1)=4(1)(1)−1−1=2f(1, 1) = 4(1)(1) - 1 - 1 = 2.
      • At (−1,−1)(-1, -1): D=144−16=128>0D = 144 - 16 = 128 > 0. Since fxx=−12<0  ⟹  f_{xx} = -12 < 0 \implies Local Maximum with value f(−1,−1)=4(−1)(−1)−1−1=2f(-1, -1) = 4(-1)(-1) - 1 - 1 = 2.
    • Problem 7: f(x,y)=axy−x2y−xy2=xy(a−x−y)f(x, y) = axy - x^2 y - xy^2 = xy(a - x - y)
    • First partials:       fx=y(a−2x−y)=0f_x = y(a - 2x - y) = 0fy=x(a−x−2y)=0f_y = x(a - x - 2y) = 0
    • Solving gives critical points: (0,0)(0, 0), (0,a)(0, a), (a,0)(a, 0), and (a3,a3)\left(\frac{a}{3}, \frac{a}{3}\right).
    • Second partials: fxx=−2yf_{xx} = -2y, fyy=−2xf_{yy} = -2x, fxy=a−2x−2yf_{xy} = a - 2x - 2y.
    • Evaluating D=4xy−(a−2x−2y)2D = 4xy - (a - 2x - 2y)^2:
      • At (0,0)(0, 0), (0,a)(0, a), (a,0)(a, 0): D=−a2<0  ⟹  D = -a^2 < 0 \implies Saddle Points.
      • At (a3,a3)\left(\frac{a}{3}, \frac{a}{3}\right): fxx=−2a3f_{xx} = -\frac{2a}{3}, fyy=−2a3f_{yy} = -\frac{2a}{3}, fxy=−a3f_{xy} = -\frac{a}{3}.         D=(−2a3)(−2a3)−(−a3)2=4a29−a29=a23>0D = \left(-\frac{2a}{3}\right)\left(-\frac{2a}{3}\right) - \left(-\frac{a}{3}\right)^2 = \frac{4a^2}{9} - \frac{a^2}{9} = \frac{a^2}{3} > 0
      • If a>0a > 0, fxx<0  ⟹  f_{xx} < 0 \implies Local Maximum.
    • Problem 8: f(x,y)=x3+y3−3axyf(x, y) = x^3 + y^3 - 3axy
    • First partials: fx=3x2−3ay=0  ⟹  y=x2af_x = 3x^2 - 3ay = 0 \implies y = \frac{x^2}{a}; fy=3y2−3ax=0f_y = 3y^2 - 3ax = 0.
    • Substituting: 3(x2a)2−3ax=0  ⟹  x4a2−ax=0  ⟹  x(x3−a3)=03\left(\frac{x^2}{a}\right)^2 - 3ax = 0 \implies \frac{x^4}{a^2} - ax = 0 \implies x(x^3 - a^3) = 0.
    • Critical points: (0,0)(0, 0) and (a,a)(a, a).
    • Second partials: fxx=6xf_{xx} = 6x, fyy=6yf_{yy} = 6y, fxy=−3af_{xy} = -3a.
    • At (0,0)(0, 0): D=(0)(0)−(−3a)2=−9a2<0  ⟹  D = (0)(0) - (-3a)^2 = -9a^2 < 0 \implies Saddle Point.
    • At (a,a)(a, a): fxx=6af_{xx} = 6a, fyy=6af_{yy} = 6a, fxy=−3af_{xy} = -3a. Discriminant D=(6a)(6a)−(−3a)2=36a2−9a2=27a2>0D = (6a)(6a) - (-3a)^2 = 36a^2 - 9a^2 = 27a^2 > 0.
      • If a>0a > 0: fxx=6a>0  ⟹  f_{xx} = 6a > 0 \implies Local Minimum with value f(a,a)=a3+a3−3a3=−a3f(a, a) = a^3 + a^3 - 3a^3 = -a^3.
      • If a<0a < 0: fxx=6a<0  ⟹  f_{xx} = 6a < 0 \implies Local Maximum.
    • Problem 9 (Applied Box Optimization): An open-top rectangular box must have a volume of 32 ft332\,\text{ft}^3. Find dimensions minimizing total surface area.
    • Volume constraint: V=xyz=32  ⟹  z=32xyV = xyz = 32 \implies z = \frac{32}{xy}.
    • Total surface area for an open box: S(x,y)=xy+2xz+2yz=xy+64y+64xS(x, y) = xy + 2xz + 2yz = xy + \frac{64}{y} + \frac{64}{x}.
    • First partials:       Sx=y−64x2=0  ⟹  y=64x2S_x = y - \frac{64}{x^2} = 0 \implies y = \frac{64}{x^2}Sy=x−64y2=0  ⟹  x=64y2S_y = x - \frac{64}{y^2} = 0 \implies x = \frac{64}{y^2}
    • Solving: x=64(64/x2)2=x464  ⟹  x3=64  ⟹  x=4x = \frac{64}{(64/x^2)^2} = \frac{x^4}{64} \implies x^3 = 64 \implies x = 4.
    • Corresponding dimensions: y=4y = 4, z=32(4)(4)=2z = \frac{32}{(4)(4)} = 2.
    • Second partials: Sxx=128x3S_{xx} = \frac{128}{x^3}, Syy=128y3S_{yy} = \frac{128}{y^3}, Sxy=1S_{xy} = 1.
    • At (4,4)(4, 4): Sxx=2S_{xx} = 2, Syy=2S_{yy} = 2, Sxy=1  ⟹  D=(2)(2)−12=3>0S_{xy} = 1 \implies D = (2)(2) - 1^2 = 3 > 0. Since Sxx>0S_{xx} > 0, this represents a minimum.
    • Optimal dimensions are 4×4×2 ft4 \times 4 \times 2\,\text{ft}.
    • Problem 10 (Manufacturer Cost Function): A manufacturer produces two products with cost function C(x,y)=x2+y2+4xy+10x+8y+50C(x, y) = x^2 + y^2 + 4xy + 10x + 8y + 50. Determine minimum cost.
    • First partials:       Cx=2x+4y+10=0C_x = 2x + 4y + 10 = 0Cy=4x+2y+8=0C_y = 4x + 2y + 8 = 0
    • Solving simultaneously yields x=−1x = -1, y=−2y = -2. Critical point: (−1,−2)(-1, -2).
    • Second partials: Cxx=2C_{xx} = 2, Cyy=2C_{yy} = 2, Cxy=4C_{xy} = 4.
    • Discriminant: D=(2)(2)−42=4−16=−12<0D = (2)(2) - 4^2 = 4 - 16 = -12 < 0.
    • Because D<0D < 0, the critical point is a saddle point, and no local or global minimum cost exists.

Optimization and Absolute Extrema on Closed Bounded Regions

  • Procedure for Finding Absolute Extrema:

    • Find all critical points in the interior of the region and evaluate f(x,y)f(x, y) at these points.
    • Identify the extreme values of f(x,y)f(x, y) along each boundary segment using single-variable calculus parameterizations.
    • Compare all interior critical values and boundary extreme values. The largest value is the absolute maximum, and the smallest is the absolute minimum.
  • Evaluated Absolute Extrema Problems:

    • Problem 1: Find absolute extrema of f(x,y)=xy−4xf(x, y) = xy - 4x on the triangular region with vertices (0,0)(0, 0), (0,4)(0, 4), (4,0)(4, 0).
    • Interior critical points: fx=y−4=0  ⟹  y=4f_x = y - 4 = 0 \implies y = 4; fy=x=0  ⟹  x=0f_y = x = 0 \implies x = 0. The point (0,4)(0, 4) is on the boundary.
    • Boundary y=0y = 0 (x∈[0,4]x \in [0, 4]): f(x,0)=−4xf(x, 0) = -4x. Minimum at (4,0)→−16(4, 0) \to -16, Maximum at (0,0)→0(0, 0) \to 0.
    • Boundary x=0x = 0 (y∈[0,4]y \in [0, 4]): f(0,y)=0f(0, y) = 0 everywhere.
    • Hypotenuse boundary x+y=4  ⟹  y=4−xx + y = 4 \implies y = 4 - x (x∈[0,4]x \in [0, 4]):       f(x,4−x)=x(4−x)−4x=−x2f(x, 4 - x) = x(4 - x) - 4x = -x^2
      • Endpoints: x=0→0x = 0 \to 0; x=4→−16x = 4 \to -16.
    • Comparison:
      • Absolute Maximum: 00 at (0,0)(0, 0) and along the segment from (0,0)(0, 0) to (0,4)(0, 4).
      • Absolute Minimum: −16-16 at (4,0)(4, 0).
    • Problem 2: Find absolute extrema of f(x,y)=x2−2xy+2yf(x, y) = x^2 - 2xy + 2y on the rectangular region 0≤x≤30 \le x \le 3, 0≤y≤20 \le y \le 2.
    • Interior critical points: fx=2x−2y=0  ⟹  x=yf_x = 2x - 2y = 0 \implies x = y; fy=−2x+2=0  ⟹  x=1,y=1f_y = -2x + 2 = 0 \implies x = 1, y = 1. Interior point (1,1)(1, 1) gives f(1,1)=12−2(1)(1)+2(1)=1f(1, 1) = 1^2 - 2(1)(1) + 2(1) = 1.
    • Boundary y=0y = 0 (x∈[0,3]x \in [0, 3]): f(x,0)=x2f(x, 0) = x^2. Endpoints: f(0,0)=0f(0, 0) = 0, f(3,0)=9f(3, 0) = 9.
    • Boundary x=3x = 3 (y∈[0,2]y \in [0, 2]): f(3,y)=9−6y+2y=9−4yf(3, y) = 9 - 6y + 2y = 9 - 4y. Endpoints: f(3,0)=9f(3, 0) = 9, f(3,2)=1f(3, 2) = 1.
    • Boundary y=2y = 2 (x∈[0,3]x \in [0, 3]): f(x,2)=x2−4x+4=(x−2)2f(x, 2) = x^2 - 4x + 4 = (x - 2)^2. Critical point at x=2x = 2 gives f(2,2)=0f(2, 2) = 0. Endpoints: f(0,2)=4f(0, 2) = 4, f(3,2)=1f(3, 2) = 1.
    • Boundary x=0x = 0 (y∈[0,2]y \in [0, 2]): f(0,y)=2yf(0, y) = 2y. Endpoints: f(0,0)=0f(0, 0) = 0, f(0,2)=4f(0, 2) = 4.
    • Comparison:
      • Absolute Maximum: 99 at (3,0)(3, 0).
      • Absolute Minimum: 00 at (0,0)(0, 0) and (2,2)(2, 2).
    • Problem 3: Find absolute extrema of f(x,y)=x2−2x−3y2+6yf(x, y) = x^2 - 2x - 3y^2 + 6y over the square region with vertices (0,0)(0, 0), (0,2)(0, 2), (2,2)(2, 2), (2,0)(2, 0).
    • Interior critical points: fx=2x−2=0  ⟹  x=1f_x = 2x - 2 = 0 \implies x = 1; fy=−6y+6=0  ⟹  y=1f_y = -6y + 6 = 0 \implies y = 1. Interior point (1,1)(1, 1) gives f(1,1)=1−2−3+6=2f(1, 1) = 1 - 2 - 3 + 6 = 2.
    • Boundary y=0y = 0 (x∈[0,2]x \in [0, 2]): f(x,0)=x2−2xf(x, 0) = x^2 - 2x. Critical point at x=1  ⟹  f(1,0)=−1x = 1 \implies f(1, 0) = -1. Endpoints: f(0,0)=0f(0, 0) = 0, f(2,0)=0f(2, 0) = 0.
    • Boundary x=2x = 2 (y∈[0,2]y \in [0, 2]): f(2,y)=4−4−3y2+6y=−3y2+6yf(2, y) = 4 - 4 - 3y^2 + 6y = -3y^2 + 6y. Critical point at y=1  ⟹  f(2,1)=3y = 1 \implies f(2, 1) = 3. Endpoints: f(2,0)=0f(2, 0) = 0, f(2,2)=0f(2, 2) = 0.
    • Boundary y=2y = 2 (x∈[0,2]x \in [0, 2]): f(x,2)=x2−2x−12+12=x2−2xf(x, 2) = x^2 - 2x - 12 + 12 = x^2 - 2x. Critical point at x=1  ⟹  f(1,2)=−1x = 1 \implies f(1, 2) = -1. Endpoints: f(0,2)=0f(0, 2) = 0, f(2,2)=0f(2, 2) = 0.
    • Boundary x=0x = 0 (y∈[0,2]y \in [0, 2]): f(0,y)=−3y2+6yf(0, y) = -3y^2 + 6y. Critical point at y=1  ⟹  f(0,1)=3y = 1 \implies f(0, 1) = 3. Endpoints: f(0,0)=0f(0, 0) = 0, f(0,2)=0f(0, 2) = 0.
    • Comparison:
      • Absolute Maximum: 33 at (0,1)(0, 1) and (2,1)(2, 1).
      • Absolute Minimum: −1-1 at (1,0)(1, 0) and (1,2)(1, 2).
    • Problem 4: Find absolute extrema of f(x,y)=x2+y2f(x, y) = x^2 + y^2 on the triangular region bounded by x=0x = 0, y=0y = 0, and y+2x=2y + 2x = 2.
    • Interior critical point: fx=2x=0f_x = 2x = 0, fy=2y=0  ⟹  (0,0)f_y = 2y = 0 \implies (0, 0), giving f(0,0)=0f(0, 0) = 0.
    • Boundary y=0y = 0 (x∈[0,1]x \in [0, 1]): f(x,0)=x2f(x, 0) = x^2. Endpoints: f(0,0)=0f(0, 0) = 0, f(1,0)=1f(1, 0) = 1.
    • Boundary x=0x = 0 (y∈[0,2]y \in [0, 2]): f(0,y)=y2f(0, y) = y^2. Endpoints: f(0,0)=0f(0, 0) = 0, f(0,2)=4f(0, 2) = 4.
    • Boundary y=2−2xy = 2 - 2x (x∈[0,1]x \in [0, 1]):       f(x,2−2x)=x2+(2−2x)2=5x2−8x+4f(x, 2 - 2x) = x^2 + (2 - 2x)^2 = 5x^2 - 8x + 4
      • Differentiating: 10x−8=0  ⟹  x=45,y=2−2(45)=2510x - 8 = 0 \implies x = \frac{4}{5}, y = 2 - 2\left(\frac{4}{5}\right) = \frac{2}{5}.
      • Value: f(45,25)=1625+425=2025=45f\left(\frac{4}{5}, \frac{2}{5}\right) = \frac{16}{25} + \frac{4}{25} = \frac{20}{25} = \frac{4}{5}.
    • Comparison:
      • Absolute Maximum: 44 at (0,2)(0, 2).
      • Absolute Minimum: 00 at (0,0)(0, 0).
    • Problem 5: Find absolute extrema of f(x,y)=x2−xy+y2+1f(x, y) = x^2 - xy + y^2 + 1 on the triangular closed plate bounded by x=0x = 0, y=4y = 4, and y=xy = x.
    • Interior critical points: fx=2x−y=0  ⟹  y=2xf_x = 2x - y = 0 \implies y = 2x; fy=−x+2y=0  ⟹  x=2yf_y = -x + 2y = 0 \implies x = 2y. Solving gives (0,0)(0, 0), lying on the boundary.
    • Boundary x=0x = 0 (y∈[0,4]y \in [0, 4]): f(0,y)=y2+1f(0, y) = y^2 + 1. Range: f(0,0)=1f(0, 0) = 1 to f(0,4)=17f(0, 4) = 17.
    • Boundary y=4y = 4 (x∈[0,4]x \in [0, 4]): f(x,4)=x2−4x+17f(x, 4) = x^2 - 4x + 17.
      • Critical point: f′(x)=2x−4=0  ⟹  x=2f'(x) = 2x - 4 = 0 \implies x = 2.
      • Values: f(2,4)=4−8+17=13f(2, 4) = 4 - 8 + 17 = 13, f(0,4)=17f(0, 4) = 17, f(4,4)=17f(4, 4) = 17.
    • Boundary y=xy = x (x∈[0,4]x \in [0, 4]): f(x,x)=x2−x2+x2+1=x2+1f(x, x) = x^2 - x^2 + x^2 + 1 = x^2 + 1.
      • Critical point: x=0x = 0.
      • Values: f(0,0)=1f(0, 0) = 1, f(4,4)=17f(4, 4) = 17.
    • Comparison:
      • Absolute Maximum: 1717 at (0,4)(0, 4) and (4,4)(4, 4).
      • Absolute Minimum: 11 at (0,0)(0, 0).
    • Problem 6: Find absolute extrema of f(x,y)=2x2−4x+y2−4y+1f(x, y) = 2x^2 - 4x + y^2 - 4y + 1 on the closed plate bounded by x=0x = 0, y=2y = 2, and y=2xy = 2x.
    • Interior critical points: fx=4x−4=0  ⟹  x=1f_x = 4x - 4 = 0 \implies x = 1; fy=2y−4=0  ⟹  y=2f_y = 2y - 4 = 0 \implies y = 2. Point (1,2)(1, 2) lies on the boundary.
    • Boundary x=0x = 0 (y∈[0,2]y \in [0, 2]): f(0,y)=y2−4y+1f(0, y) = y^2 - 4y + 1.
      • Critical point at y=2y = 2.
      • Endpoints: f(0,0)=1f(0, 0) = 1, f(0,2)=−3f(0, 2) = -3.
    • Boundary y=2y = 2 (x∈[0,1]x \in [0, 1]): f(x,2)=2x2−4x+4−8+1=2x2−4x−3f(x, 2) = 2x^2 - 4x + 4 - 8 + 1 = 2x^2 - 4x - 3.
      • Critical point: 4x−4=0  ⟹  x=14x - 4 = 0 \implies x = 1.
      • Endpoints: f(0,2)=−3f(0, 2) = -3, f(1,2)=−5f(1, 2) = -5.
    • Boundary y=2xy = 2x (x∈[0,1]x \in [0, 1]): f(x,2x)=2x2−4x+4x2−8x+1=6x2−12x+1f(x, 2x) = 2x^2 - 4x + 4x^2 - 8x + 1 = 6x^2 - 12x + 1.
      • Critical point: 12x−12=0  ⟹  x=112x - 12 = 0 \implies x = 1.
      • Endpoints: f(0,0)=1f(0, 0) = 1, f(1,2)=−5f(1, 2) = -5.
    • Comparison:
      • Absolute Maximum: 11 at (0,0)(0, 0).
      • Absolute Minimum: −5-5 at (1,2)(1, 2).