Chain Rule and Higher Derivatives
By the end of this session, you will be able to:
- Apply the multivariable chain rule dtdzβ=βxβzβdtdxβ+βyβzβdtdyβ and its vector dot product form dtdzβ=βzβ v(t) to compute instantaneous rates of change experienced along parametric motion trajectories and dynamic physical paths.
- Evaluate partial derivatives of composite multivariable functions with multiple independent parameters (βuβzβ,βvβzβ) using dependency tree diagrams, and compute derivatives of implicitly defined curves and surfaces using multivariable partial formulas (dxdyβ=βFyβFxββ and βxβzβ=βFzβFxββ, βyβzβ=βFzβFyββ).
- Calculate pure and mixed second-order partial derivatives (fxxβ,fyyβ,fxyβ,fyxβ), verify Clairautβs Theorem on the symmetry of mixed partials, compute higher-order partial derivatives (nβ₯3), and assemble Hessian matrices to evaluate local surface curvature, mechanical strain energy, and structural stability.
π Micro-Lecture
1. Dynamic Tracking on Spatial Landscapes (Chain Rule Case 1)
- Mathematical Foundation: In single-variable calculus, when y=f(u) and u=g(x), the chain rule multiplies rates: dxdyβ=dudyβdxduβ. In multivariable environments, a surface z=f(x,y) represents an environmental field (such as temperature, elevation, or chemical concentration). When an observer, vehicle, or sensor travels along a curved path parameterized by time r(t)=β¨x(t),y(t)β©, both spatial inputs change concurrently. As established in Multivariable Chain Rule, the total rate of change experienced by the moving observer is the sum of changes along all parallel pathways: dtdzβ=βxβzβdtdxβ+βyβzβdtdyβ. In vector calculus, this equals the dot product of the spatial slope gradient and the travel velocity vector: dtdzβ=βzβ v(t).
- Engineering Context: Flight navigation computers on autonomous quadcopters continuously evaluate the multivariable chain rule to track atmospheric pressure and altitude changes as the craft maneuvers through 3D wind gusts.
2. Surface Parameterizations and Implicit Differentiation (Chain Rule Case 2)
- Mathematical Foundation: When a surface is mapped into alternative curvilinear coordinates (such as Polar, Cylindrical, or Finite Element parametric coordinates u and v), every coordinate is driven by multiple independent inputs: x=g(u,v) and y=h(u,v). The multivariable chain rule generalizes using dependency tree diagrams, multiplying derivatives along connected branches and summing across parallel paths: βuβzβ=βxβzββuβxβ+βyβzββuβyβ. Furthermore, as explored in Multivariable Chain Rule, applying the chain rule to level sets F(x,y)=0 and F(x,y,z)=0 yields the rapid implicit differentiation formulas dxdyβ=βFyβFxββ and βxβzβ=βFzβFxββ, bypassing algebraic isolate-and-differentiate steps.
- Engineering Context: Environmental engineers convert Cartesian contaminant dispersion equations into radial polar coordinates to monitor aquifer filtration rings, while electrical power engineers use implicit differentiation to compute dynamic AC impedances on non-linear semiconductor diodes.
3. Surface Curvature, Clairaut's Symmetry, and the Hessian Matrix
- Mathematical Foundation: While first-order partial derivatives (fxβ,fyβ) establish the tangent plane to a surface, second-order partial derivatives describe how the surface curves and twists in 3D space. As established in Second-Order Partial Derivatives, pure partials fxxβ and fyyβ quantify concavity along coordinate slices, while mixed partials fxyβ and fyxβ measure cross-directional twisting and coupling shear. By Clairaut's Theorem, for all smooth functions (C2), the order of differentiation is strictly commutative: fxyβ=fyxβ. Organizing these four partial derivatives into the symmetric Hessian Matrix Hfβ provides the fundamental mathematical engine for multivariable optimization and stability classification.
- Engineering Context: Civil and mechanical engineers inspect the Hessian determinant of structural strain energy potentials to verify that loaded bridge columns remain in a stable, convex energy trough rather than buckling into an unstable saddle collapse.
Skill Block 1
Real-Life Engineering Applications
Bridge Truss Gusset Plate Fatigue (Mechanical & Civil Engineering)
During a structural health inspection of a steel bridge truss, engineers monitor the stress intensity factor K (in MPaβ mβ) around a critical micro-crack on a primary gusset plate. The intensity factor depends on the applied tension stress Ο (in MPa) and the physical length of the crack a (in meters), modeled by:
As heavy morning commuter traffic moves onto the bridge, the load-induced stress peaks. Simultaneously, due to structural fatigue, the crack lengthens dynamically over time t (in minutes) according to the parameters:
- Ο(t)=200+10t2
- a(t)=0.04+0.002t
- Compute the baseline tensile stress Ο(2) and crack length a(2) at t=2Β minutes.
- State the multivariable chain rule formula for the total time rate of change dtdKβ.
- Calculate the instantaneous rate of change of the stress intensity factor dtdKβ at t=2Β minutes.
- In fracture mechanics, crack propagation becomes unstable when Kβ₯KIcβ (fracture toughness). Explain why structural health monitoring systems track the rate dtdKβ rather than just the instantaneous magnitude K.
π‘ Show Worked Derivation
During a structural health inspection of a steel bridge truss, engineers monitor the stress intensity factor K (in MPaβ mβ) around a critical micro-crack on a primary gusset plate. The intensity factor depends on the applied tension stress Ο (in MPa) and the physical length of the crack a (in meters), modeled by:
As heavy morning commuter traffic moves onto the bridge, the load-induced stress peaks. Simultaneously, due to structural fatigue, the crack lengthens dynamically over time t (in minutes) according to the parameters:
- Ο(t)=200+10t2
- a(t)=0.04+0.002t
- Compute the baseline tensile stress Ο(2) and crack length a(2) at t=2Β minutes.
- State the multivariable chain rule formula for the total time rate of change dtdKβ.
- Calculate the instantaneous rate of change of the stress intensity factor dtdKβ at t=2Β minutes.
- In fracture mechanics, crack propagation becomes unstable when Kβ₯KIcβ (fracture toughness). Explain why structural health monitoring systems track the rate dtdKβ rather than just the instantaneous magnitude K.
Step-by-Step Solution:
Evaluate Baseline Parameters at t=2Β min:
Ο(2)=200+10(2)2=200+40=240Β MPaa(2)=0.04+0.002(2)=0.04+0.004=0.044Β ma(2)β=0.044ββ0.20976Β m0.5State the Governing Multivariable Chain Rule Formula: Because K depends on intermediate variables Ο and a, which both vary with independent parameter t:
dtdKβ=βΟβKβdtdΟβ+βaβKβdtdaβ(Defined in Multivariable Chain Rule.)Compute Partial Derivatives and Time Derivatives:
- Partial Derivatives:
βΟβKβ=1.5a0.5=1.5aββaβKβ=1.5Ο(0.5aβ0.5)=aβ0.75Οβ
- Time Derivatives:
dtdΟβ=dtdβ[200+10t2]=20tdtdaβ=dtdβ[0.04+0.002t]=0.002Β m/min
- Partial Derivatives:
Evaluate Individual Derivatives at t=2Β min:
- βΟβKβ=1.50.044ββ1.5(0.20976)=0.31464Β m0.5
- βaβKβ=0.044β0.75(240)β=0.20976180ββ858.11Β MPa/mβ
- dtdΟβ=20(2)=40Β MPa/min
- dtdaβ=0.002Β m/min
Synthesize Total Derivative:
dtdKβ=(0.31464)(40)+(858.11)(0.002)dtdKβ=12.5857+1.7162=14.30Β MPaβ mβ/minEngineering Interpretation: Tracking dtdKβ warns civil inspection engineers of rapid acceleration in structural damage before catastrophic brittle failure occurs. Even if the current intensity K is below the material fracture toughness threshold KIcβ (typically βΌ50Β MPaβ mβ for structural steel), a large positive derivative dtdKβ=14.30 indicates that the bridge joint is rapidly deteriorating under live commuter load and requires immediate lane restrictions.
Processor Thermal Power Dissipation (Computer & Electrical Engineering)
In modern computer microchip architecture, the local dynamic thermal power dissipation P (in milliwatts, mW) of a processing core transistor sub-grid depends on its clock frequency f (in gigahertz, GHz) and logic supply voltage V (in volts, V), governed by:
To handle a demanding computational workload spike, an embedded Dynamic Voltage and Frequency Scaling (DVFS) microcontroller algorithm adjusts both operational parameters concurrently over run-time t (in milliseconds, ms):
- f(t)=2+ln(t+1)
- V(t)=1.0+0.05t2
- Compute the operating frequency f(1) and voltage V(1) at t=1Β ms.
- State the multivariable chain rule formula for the total time derivative dtdPβ.
- Calculate the instantaneous rate of change of power dissipation dtdPβ at t=1Β ms.
- Explain how modern thermal management firmware uses the partial sensitivities βfβPβ and βVβPβ to prevent processor thermal throttling.
π‘ Show Worked Derivation
In modern computer microchip architecture, the local dynamic thermal power dissipation P (in milliwatts, mW) of a processing core transistor sub-grid depends on its clock frequency f (in gigahertz, GHz) and logic supply voltage V (in volts, V), governed by:
To handle a demanding computational workload spike, an embedded Dynamic Voltage and Frequency Scaling (DVFS) microcontroller algorithm adjusts both operational parameters concurrently over run-time t (in milliseconds, ms):
- f(t)=2+ln(t+1)
- V(t)=1.0+0.05t2
- Compute the operating frequency f(1) and voltage V(1) at t=1Β ms.
- State the multivariable chain rule formula for the total time derivative dtdPβ.
- Calculate the instantaneous rate of change of power dissipation dtdPβ at t=1Β ms.
- Explain how modern thermal management firmware uses the partial sensitivities βfβPβ and βVβPβ to prevent processor thermal throttling.
Step-by-Step Solution:
Evaluate Operating State at t=1Β ms:
- Frequency: f(1)=2+ln(1+1)=2+ln(2)β2+0.69315=2.69315Β GHz
- Voltage: V(1)=1.0+0.05(1)2=1.05Β V
- Baseline Power: P=12(2.69315)(1.05)2β12(2.69315)(1.1025)β35.63Β mW
State Governing Multivariable Chain Rule Formula: Since P depends on intermediate parameters f and V, which are parameterized by run-time t:
dtdPβ=βfβPβdtdfβ+βVβPβdtdVβ(Defined in Multivariable Chain Rule.)Compute Partial and Parametric Derivatives:
- Partial Derivatives:
βfβPβ=12V2βVβPβ=24fV
- Time Derivatives:
dtdfβ=dtdβ[2+ln(t+1)]=t+11βdtdVβ=dtdβ[1.0+0.05t2]=0.10t
- Partial Derivatives:
Evaluate Individual Derivatives at t=1Β ms:
- βfβPβ=12(1.05)2=12(1.1025)=13.23Β mW/GHz
- βVβPβ=24(2.69315)(1.05)β67.867Β mW/V
- dtdfβ=1+11β=0.50Β GHz/ms
- dtdVβ=0.10(1)=0.10Β V/ms
Assemble Total Rate of Change:
dtdPβ=(13.23)(0.50)+(67.867)(0.10)dtdPβ=6.615+6.787=13.40Β mW/msFirmware Sensitivity Analysis: Notice that βVβPβ=67.87Β mW/V is more than 5 times larger than βfβPβ=13.23Β mW/GHz. Because dynamic power scales quadratically with voltage (V2) but only linearly with frequency (f), DVFS algorithms prioritize reducing voltage first during thermal emergencies to maximize temperature drops while minimizing clock frequency penalties.
Multivariable Chain Rule (Single Parameter Paths & Trajectories)
General Overview
Skill Block 1 covers the formulation and evaluation of the multivariable chain rule when intermediate spatial variables depend on a single driving parameter (typically time t). Students learn how to construct dependency trees, distinguish partial sensitivities from total time rates, express the chain rule as a vector dot product between spatial gradients and path velocities, and evaluate dynamic physical rates in mechanical, thermal, and environmental systems.
Conceptual Framework
- The Total Time Derivative (Case 1):
Given z=f(x,y) where x=x(t) and y=y(t):
dtdzβ=βxβzβdtdxβ+βyβzβdtdyβ(Defined in Multivariable Chain Rule.)
- Extension to Three Spatial Variables:
Given w=f(x,y,z) along trajectory path r(t)=β¨x(t),y(t),z(t)β©:
dtdwβ=βxβwβdtdxβ+βyβwβdtdyβ+βzβwβdtdzβ
- Vector Dot Product Interpretation:
dtdzβ=β¨zxβ,zyββ©β β¨dtdxβ,dtdyββ©=βzβ v(t)The rate of change experienced by a moving sensor equals the projection of the spatial gradient along its velocity vector.
Key Equations & Structural Rules
- Branch Multiplication Rule: Multiply derivative rates along each branch from the top output variable down to the bottom driving parameter.
- Path Addition Rule: Add the products of all parallel branches terminating at the same independent parameter.
- Partial vs. Total Distinction: βxβzβ is the static spatial slope holding y fixed; dtdzβ is the dynamic time rate of change experienced along the path.
Worked Example A: Environmental Pollutant Plume Under Dynamic Wind Advection
The concentration of a chemical pollutant in a municipal reservoir is modeled by the Gaussian distribution:
Find the instantaneous rate of change of the measured pollutant concentration, dtdCβ, at the arrival time t=0Β hours.
π‘ Reveal Worked Solution
State the Governing Multivariable Chain Rule Formula: State the Multivariable Chain Rule for a Single Parameter (defined in Multivariable Chain Rule):
dtdCβ=βxβCβdtdxβ+βyβCβdtdyβCompute Spatial Partial Derivatives of Concentration: Apply the single-variable exponential chain rule, treating the alternate variable as a constant:
βxβCβ=40eβ0.1(x2+y2)β βxββ[β0.1(x2+y2)]=40eβ0.1(x2+y2)(β0.2x)=β8xeβ0.1(x2+y2)βyβCβ=40eβ0.1(x2+y2)β βyββ[β0.1(x2+y2)]=40eβ0.1(x2+y2)(β0.2y)=β8yeβ0.1(x2+y2)Compute Parametric Time Derivatives of the Trajectory:
dtdxβ=dtdβ[3+t]=1Β km/hdtdyβ=dtdβ[2t]=2Β km/hEvaluate Positions and Derivatives at the Target Time t=0:
- Spatial coordinates at t=0:
x(0)=3+0=3Β kmy(0)=2(0)=0Β km
- Radial distance argument:
x2+y2=32+02=9
- Evaluate spatial partials at (3,0):
βxβCβ(3,0)=β8(3)eβ0.1(9)=β24eβ0.9Β ppm/kmβyβCβ(3,0)=β8(0)eβ0.1(9)=0Β ppm/km
- Spatial coordinates at t=0:
Synthesize Total Time Derivative: Substitute all evaluated terms into the chain rule formula:
dtdCβ=(β24eβ0.9)(1)+(0)(2)=β24eβ0.9Β ppm/heβ0.9β0.40657βΉdtdCβββ24(0.40657)ββ9.76Β ppm/h- Physical Interpretation: At t=0, the sensor records an instantaneous concentration drop of approximately 9.76Β ppm per hour as the plume core moves away from the intake.
Practice Problem 1: Concept & Reading Check
Open this Skill Block on the Memex to locate the information needed to answer the following:
- (a) Explain why dtdzβ is written with an ordinary Roman d, whereas βxβzβ is written with the curly partial symbol β.
- (b) In Worked Example A, explain why the y-velocity component (dtdyβ=2) contributed zero to the instantaneous rate dtdCβ at t=0.
- (c) In Bridge Truss Gusset Plate Fatigue (Mechanical & Civil Engineering), how does dynamic crack growth rate dtdaβ amplify the stress intensity factor rate dtdKβ?
Review the Conceptual Framework and the solutions to Worked Example A and the linked bridge gusset application. (Defined in Multivariable Chain Rule.)
Answer: * (a) Because z(t)=f(x(t),y(t)) is ultimately a function of a single independent variable t, making its derivative an ordinary derivative, whereas f(x,y) depends on multiple independent spatial coordinates.
- (b) Because at t=0, y=0, which causes the spatial concentration gradient in the y-direction (βyβCβ) to vanish identically.
- (c) Because the crack length appears under a square root in the denominator of βaβKβ=aβ0.75Οβ, making the sensitivity to crack growth exceptionally high when cracks are small.
Step-by-Step Execution
- (a) As detailed in Multivariable Chain Rule, the curly symbol β indicates that a function depends directly on multiple independent variables, meaning other variables are artificially held constant during differentiation. Once the intermediate spatial coordinates are parameterized by a single driving variable t (via x=x(t) and y=y(t)), the composite output z(t)=f(x(t),y(t)) depends strictly on the single parameter t. Therefore, dtdzβ represents a total derivative with respect to that single variable, written with standard Roman d.
- (b) In Worked Example A, the spatial partial derivative with respect to y is βyβCβ=β8yeβ0.1(x2+y2). At the initial arrival instant t=0, the sensor is positioned on the x-axis where y(0)=0. Consequently, βyβCβ(3,0)=0. Even though the plume is moving in the y-direction at a speed of dtdyβ=2Β km/h, the local concentration contour is flat tangent to the y-direction at that exact point, producing zero instantaneous change along that component.
- (c) In Bridge Truss Gusset Plate Fatigue (Mechanical & Civil Engineering), the stress intensity factor is K(Ο,a)=1.5Οaβ. By the multivariable chain rule, dtdKβ=βΟβKβdtdΟβ+βaβKβdtdaβ. The sensitivity coefficient for crack propagation is βaβKβ=aβ0.75Οβ. Because aβ sits in the denominator, any non-zero crack growth rate dtdaβ is multiplied by a massive sensitivity coefficient when the crack is small (a=0.044Β m), contributing significantly to the risk of sudden brittle fracture.
Practice Problem 2
A thin metal inspection plate has a steady-state temperature field T(x,y)=5x2y+2y3, where x and y are spatial coordinates in centimeters, and T is in degrees Celsius (βC). A micro-sensor moves across the plate following the parametric path x(t)=sin(2t) and y(t)=et, where t is time in seconds.
Find the rate at which the sensor's measured temperature is changing, dtdTβ, when t=0Β seconds.
State the Multivariable Chain Rule for a Single Parameter: dtdTβ=βxβTβdtdxβ+βyβTβdtdyβ. Differentiate T(x,y) partially, differentiate the path equations with respect to t, evaluate at t=0, and synthesize. (Defined in Multivariable Chain Rule.)
Answer:
Step-by-Step Execution
State the Governing Multivariable Chain Rule Formula: State the Multivariable Chain Rule (defined in Multivariable Chain Rule):
dtdTβ=βxβTβdtdxβ+βyβTβdtdyβCompute Spatial Partial Derivatives:
- With respect to x (treating y as a constant):
βxβTβ=βxββ[5x2y+2y3]=10xy
- With respect to y (treating x as a constant):
βyβTβ=βyββ[5x2y+2y3]=5x2+6y2
- With respect to x (treating y as a constant):
Compute Velocity Derivatives of the Path:
- Differentiate x(t) using the single-variable chain rule:
dtdxβ=dtdβ[sin(2t)]=2cos(2t)
- Differentiate y(t):
dtdyβ=dtdβ[et]=et
- Differentiate x(t) using the single-variable chain rule:
Evaluate Path Coordinates and Velocities at t=0:
- Coordinates:
x(0)=sin(0)=0Β cmy(0)=e0=1Β cm
- Velocities:
dtdxββt=0β=2cos(0)=2(1)=2Β cm/sdtdyββt=0β=e0=1Β cm/s
- Coordinates:
Evaluate Spatial Partials at (0,1):
βxβTβ(0,1)=10(0)(1)=0βC/cmβyβTβ(0,1)=5(0)2+6(1)2=6βC/cmAssemble Total Rate of Change:
dtdTβ=(0)(2)+(6)(1)=0+6=6βC/s
Practice Problem 3
Given the multivariable function z=3x2y+sin(y), where the spatial variables follow the parametric trajectories x=et and y=cos(t), determine the total derivative dtdzβ expressed entirely in terms of the independent parameter t.
State the Multivariable Chain Rule: dtdzβ=βxβzβdtdxβ+βyβzβdtdyβ. Compute partials with respect to x and y, differentiate x(t) and y(t), and substitute x=et,y=cos(t). (Defined in Multivariable Chain Rule.)
Answer:
Step-by-Step Execution
State the Governing Multivariable Chain Rule Formula:
dtdzβ=βxβzβdtdxβ+βyβzβdtdyβ(Defined in Multivariable Chain Rule.)Compute Partial Derivatives of z(x,y):
βxβzβ=βxββ[3x2y+sin(y)]=6xyβyβzβ=βyββ[3x2y+sin(y)]=3x2+cos(y)Compute Parametric Derivatives with Respect to t:
dtdxβ=dtdβ[et]=etdtdyβ=dtdβ[cos(t)]=βsin(t)Substitute Components into the Chain Rule Formula:
dtdzβ=(6xy)(et)+(3x2+cos(y))(βsin(t))dtdzβ=6xyetβ(3x2+cos(y))sin(t)Eliminate Intermediate Variables x and y: Substitute x=et and y=cos(t):
dtdzβ=6(et)(cos(t))(et)β(3(et)2+cos(cos(t)))sin(t)Combine exponential powers (etβ et=e2t and (et)2=e2t):dtdzβ=6e2tcos(t)β3e2tsin(t)βsin(t)cos(cos(t))
Practice Problem 4
An internal combustion engine piston's vertical clearance height is governed by the kinematic model h(r,ΞΈ)=r2sin(ΞΈ), where r is the crankshaft throw radius and ΞΈ is the crank rotation angle. During engine acceleration, the parameters vary dynamically with time t (in seconds) according to r(t)=2t and ΞΈ(t)=Οt.
Find the instantaneous rate of change of the clearance height, dtdhβ, at time t=0.25Β seconds.
State the Multivariable Chain Rule: dtdhβ=βrβhβdtdrβ+βΞΈβhβdtdΞΈβ. Evaluate r and ΞΈ at t=0.25, compute partial and time derivatives, and evaluate. (Defined in Multivariable Chain Rule.)
Answer:
Step-by-Step Execution
State the Governing Multivariable Chain Rule Formula:
dtdhβ=βrβhβdtdrβ+βΞΈβhβdtdΞΈβ(Defined in Multivariable Chain Rule.)Compute Partial Derivatives of h(r,ΞΈ):
βrβhβ=βrββ[r2sin(ΞΈ)]=2rsin(ΞΈ)βΞΈβhβ=βΞΈββ[r2sin(ΞΈ)]=r2cos(ΞΈ)Compute Time Derivatives of the Mechanism:
dtdrβ=dtdβ[2t]=2dtdΞΈβ=dtdβ[Οt]=ΟEvaluate Variables at t=0.25Β s:
- r(0.25)=2(0.25)=0.5
- ΞΈ(0.25)=Ο(0.25)=4ΟβΒ rad
- Evaluate trigonometric terms:
sin(4Οβ)=22ββ,cos(4Οβ)=22ββ
- Evaluate partial derivatives:
βrβhβ=2(0.5)(22ββ)=22βββΞΈβhβ=(0.5)2(22ββ)=(0.25)(22ββ)=82ββ
Assemble Total Derivative:
dtdhβ=(22ββ)(2)+(82ββ)(Ο)=2β+8Ο2ββFactoring out 2β:dtdhβ=2β(1+8Οβ)β1.4142(1+0.3927)β1.9696β1.97
π Regroup 1
- Key Takeaway: When traversing a multivariable landscape z=f(x,y), total change is the sum of changes experienced along all coordinate directions simultaneously: dtdzβ=βxβzβdtdxβ+βyβzβdtdyβ.
- Vector Insight: The total derivative is identical to the dot product βzβ v(t). If the velocity vector is perpendicular to the spatial gradient (moving tangent to a level contour), the total rate of change is identically zero.
- Common Pitfall: Never confuse partial derivative βxβzβ (which holds y constant) with total derivative dtdzβ (where x and y evolve concurrently).
Skill Block 2
Real-Life Engineering Applications
Groundwater Contaminant Plume in Radial Aquifer (Environmental Engineering)
An environmental engineer is modeling the chemical contaminant concentration C(x,y) (in milligrams per liter, mg/L) leaking from an underground storage tank into a uniform, porous sand aquifer:
where x and y represent Cartesian coordinates in meters measured relative to the source leak.
To monitor groundwater remediation and design circular extraction well barriers, the engineering team transforms the analytical model from Cartesian coordinates to polar coordinates (r,ΞΈ) via:
- State the Case 2 Multivariable Chain Rule formulas for βrβCβ and βΞΈβCβ.
- Compute the Cartesian partial derivatives βxβCβ and βyβCβ.
- Evaluate the radial concentration gradient βrβCβ at a monitoring radius of r=10Β m.
- Show analytically that βΞΈβCβ=0, and interpret the environmental significance of this result for circular barrier placement.
π‘ Show Worked Derivation
An environmental engineer is modeling the chemical contaminant concentration C(x,y) (in milligrams per liter, mg/L) leaking from an underground storage tank into a uniform, porous sand aquifer:
where x and y represent Cartesian coordinates in meters measured relative to the source leak.
To monitor groundwater remediation and design circular extraction well barriers, the engineering team transforms the analytical model from Cartesian coordinates to polar coordinates (r,ΞΈ) via:
- State the Case 2 Multivariable Chain Rule formulas for βrβCβ and βΞΈβCβ.
- Compute the Cartesian partial derivatives βxβCβ and βyβCβ.
- Evaluate the radial concentration gradient βrβCβ at a monitoring radius of r=10Β m.
- Show analytically that βΞΈβCβ=0, and interpret the environmental significance of this result for circular barrier placement.
Step-by-Step Solution:
State the Governing Multivariable Chain Rule (Case 2): Because C depends on intermediate variables x and y, which each depend on independent polar coordinates r and ΞΈ:
βrβCβ=βxβCββrβxβ+βyβCββrβyββΞΈβCβ=βxβCββΞΈβxβ+βyβCββΞΈβyβ(Defined in Multivariable Chain Rule.)Compute Cartesian Partial Derivatives: Using the single-variable exponential chain rule:
βxβCβ=100eβ0.02(x2+y2)β βxββ[β0.02(x2+y2)]=100eβ0.02(x2+y2)(β0.04x)=β4xeβ0.02(x2+y2)βyβCβ=100eβ0.02(x2+y2)β βyββ[β0.02(x2+y2)]=100eβ0.02(x2+y2)(β0.04y)=β4yeβ0.02(x2+y2)Compute Polar Intermediate Derivatives:
- With respect to r:
βrβxβ=cosΞΈ,βrβyβ=sinΞΈ
- With respect to ΞΈ:
βΞΈβxβ=βrsinΞΈ,βΞΈβyβ=rcosΞΈ
- With respect to r:
Assemble and Simplify βrβCβ:
βrβCβ=(β4xeβ0.02(x2+y2))(cosΞΈ)+(β4yeβ0.02(x2+y2))(sinΞΈ)Factor out β4eβ0.02(x2+y2):βrβCβ=β4eβ0.02(x2+y2)(xcosΞΈ+ysinΞΈ)Substitute x=rcosΞΈ, y=rsinΞΈ, and x2+y2=r2:xcosΞΈ+ysinΞΈ=rcos2ΞΈ+rsin2ΞΈ=r(cos2ΞΈ+sin2ΞΈ)=rβrβCβ=β4reβ0.02r2- Evaluate at r=10Β m:
βrβCββr=10β=β4(10)eβ0.02(10)2=β40eβ2.0ββ40(0.1353)=β5.41Β (mg/L)/mThe concentration decreases at 5.41Β mg/L per meter as one moves outward from the source.
- Evaluate at r=10Β m:
Assemble and Simplify βΞΈβCβ:
βΞΈβCβ=(β4xeβ0.02(x2+y2))(βrsinΞΈ)+(β4yeβ0.02(x2+y2))(rcosΞΈ)Factor out β4eβ0.02r2:βΞΈβCβ=β4eβ0.02r2(βxrsinΞΈ+yrcosΞΈ)Substitute x=rcosΞΈ and y=rsinΞΈ:βxrsinΞΈ+yrcosΞΈ=β(rcosΞΈ)(rsinΞΈ)+(rsinΞΈ)(rcosΞΈ)=βr2sinΞΈcosΞΈ+r2sinΞΈcosΞΈ=0βΞΈβCβ=0Environmental Engineering Interpretation: Because βΞΈβCβ=0, the plume exhibits perfect radial symmetry (isotropic dispersion). All monitoring wells drilled at radius r=10Β m will measure identical pollutant concentrations (C(10)=100eβ2β13.53Β mg/L) regardless of angular orientation ΞΈ, allowing engineers to build concentric extraction rings that treat the entire perimeter equally.
Photovoltaic Solar Cell Dynamic Impedance (Electrical & Energy Engineering)
An electrical energy systems engineer is designing a Maximum Power Point Tracking (MPPT) inverter for a utility-scale photovoltaic solar array. The non-linear current-voltage (I-V) relationship of the solar cell is defined implicitly by the diode equation:
where:
- I is output current in Amperes (A),
- V is terminal voltage in Volts (V),
- Iscβ=8.0Β A is the short-circuit illumination current,
- I0β=1.0Γ10β6Β A is the reverse saturation dark current,
- Ξ²=nkTqβ=25.0Β Vβ1 is the thermal voltage scaling coefficient.
At the target operating point, the cell operates at voltage V=0.60Β V, which yields a current of Iβ4.73Β A.
- State the multivariable implicit differentiation formula for the incremental voltage-current derivative dIdVβ.
- Compute the partial derivatives FIβ=βIβFβ and FVβ=βVβFβ.
- Calculate the small-signal dynamic output resistance Rdβ=βdIdVβ of the solar cell at V=0.60Β V.
- Explain how MPPT control loops use the ratio dIdVβ to verify that the array is operating at peak power (Pmaxβ).
π‘ Show Worked Derivation
An electrical energy systems engineer is designing a Maximum Power Point Tracking (MPPT) inverter for a utility-scale photovoltaic solar array. The non-linear current-voltage (I-V) relationship of the solar cell is defined implicitly by the diode equation:
where:
- I is output current in Amperes (A),
- V is terminal voltage in Volts (V),
- Iscβ=8.0Β A is the short-circuit illumination current,
- I0β=1.0Γ10β6Β A is the reverse saturation dark current,
- Ξ²=nkTqβ=25.0Β Vβ1 is the thermal voltage scaling coefficient.
At the target operating point, the cell operates at voltage V=0.60Β V, which yields a current of Iβ4.73Β A.
- State the multivariable implicit differentiation formula for the incremental voltage-current derivative dIdVβ.
- Compute the partial derivatives FIβ=βIβFβ and FVβ=βVβFβ.
- Calculate the small-signal dynamic output resistance Rdβ=βdIdVβ of the solar cell at V=0.60Β V.
- Explain how MPPT control loops use the ratio dIdVβ to verify that the array is operating at peak power (Pmaxβ).
Step-by-Step Solution:
State Governing Multivariable Implicit Differentiation Formula: For a level curve defined implicitly by F(I,V)=0:
dIdVβ=βFVβFIββ=ββVβFββIβFββ(Defined in Multivariable Chain Rule.)Compute Partial Derivatives of F(I,V): Treating V as a constant:
FIβ=βIββ[IβIscβ+I0β(eΞ²Vβ1)]=1Treating I as a constant:FVβ=βVββ[IβIscβ+I0β(eΞ²Vβ1)]=I0ββ (Ξ²eΞ²V)=Ξ²I0βeΞ²VAssemble the Symbolic Derivative:
dIdVβ=βΞ²I0βeΞ²V1βEvaluate at Operating Point V=0.60Β V:
- Exponent argument: Ξ²V=(25.0Β Vβ1)(0.60Β V)=15.0
- Exponential term: e15.0β3.2690Γ106
- Denominator evaluation:
FVβ=(25.0)(1.0Γ10β6)(3.2690Γ106)=25.0Γ3.2690β81.725Β A/VΒ (orΒ Ξ©β1)
- Incremental rate of change:
dIdVβ=β81.7251βββ0.012236Β V/A
- Dynamic Resistance:
Rdβ=βdIdVβ=81.7251ββ0.0122Β Ξ©=12.2Β mΞ©
MPPT Power Optimization Meaning: Electric power is P=Vβ I. Differentiating with respect to V:
dVdPβ=I+VdVdIβ=0βΉβdIdVβ=IVβAt maximum power transfer, the dynamic incremental resistance Rdβ=βdIdVβ must match the static load resistance Rloadβ=IVβ. Multivariable implicit differentiation allows microcontroller firmware to compute this dynamic impedance in microseconds without solving transcendental equations.
Chain Rule for Several Variables & Implicit Differentiation
General Overview
Skill Block 2 expands the multivariable chain rule to systems with two or more independent parameters (such as surface parameterizations and coordinate changes x(u,v),y(u,v)) and establishes the multivariable technique for implicit differentiation. Students learn how to draw multi-tiered dependency trees, convert spatial derivatives between coordinate systems (e.g., Cartesian to Polar), and compute tangent slopes of implicit curves F(x,y)=0 and surface gradients of implicit level sets F(x,y,z)=0.
Conceptual Framework
- Chain Rule for Two Independent Parameters (Case 2):
Given z=f(x,y) where x=g(u,v) and y=h(u,v):
βuβzβ=βxβzββuβxβ+βyβzββuβyββvβzβ=βxβzββvβxβ+βyβzββvβyβ(Defined in Multivariable Chain Rule.)
- Implicit Differentiation for Curves (F(x,y)=0):
dxdyβ=βFyβFxββ=ββyβFββxβFββ,whereΒ Fyβξ =0
- Implicit Differentiation for Surfaces (F(x,y,z)=0):
βxβzβ=βFzβFxββ,βyβzβ=βFzβFyββ,whereΒ Fzβξ =0
Key Equations & Structural Rules
- Tree Diagram Construction: The number of independent variables at the bottom level dictates the number of separate partial derivative formulas required.
- The Implicit Differentiation Minus Sign: The negative sign in βFyβFxββ is an algebraic consequence of moving Fxβ across the equals sign in Fxβdx+Fyβdy=0.
Worked Example A: Multivariable Chain Rule with Two Independent Parameters
Let the function z=x2yβy3 be defined over intermediate parameters x(u,v)=u2v and y(u,v)=2uβv. Use the Multivariable Chain Rule for two independent variables to compute βuβzβ and βvβzβ, and evaluate both partial rates at the parameter coordinate (u,v)=(2,1).
π‘ Reveal Worked Solution
State the Governing Multivariable Chain Rule Formulas (Case 2): State the Multivariable Chain Rule for Two Independent Variables (defined in Multivariable Chain Rule):
βuβzβ=βxβzββuβxβ+βyβzββuβyββvβzβ=βxβzββvβxβ+βyβzββvβyβCompute Intermediate Partial Derivatives of z(x,y):
βxβzβ=βxββ[x2yβy3]=2xyβyβzβ=βyββ[x2yβy3]=x2β3y2Compute Parameter Partial Derivatives:
- With respect to u:
βuβxβ=βuββ[u2v]=2uv,βuβyβ=βuββ[2uβv]=2
- With respect to v:
βvβxβ=βvββ[u2v]=u2,βvβyβ=βvββ[2uβv]=β1
- With respect to u:
Evaluate Intermediate Values at (u,v)=(2,1):
- Intermediate coordinates:
x(2,1)=(2)2(1)=4y(2,1)=2(2)β1=3
- Intermediate partials at (4,3):
βxβzβ(4,3)=2(4)(3)=24βyβzβ(4,3)=(4)2β3(3)2=16β27=β11
- Parameter partials at (2,1):
βuβxβ=2(2)(1)=4,βuβyβ=2βvβxβ=(2)2=4,βvβyβ=β1
- Intermediate coordinates:
Assemble and Evaluate Both Partial Rates:
- Rate with respect to u:
βuβzβ=(24)(4)+(β11)(2)=96β22=74
- Rate with respect to v:
βvβzβ=(24)(4)+(β11)(β1)=96+11=107
- Rate with respect to u:
Practice Problem 5: Concept & Reading Check
Open this Skill Block on the Memex to locate the information needed to answer the following:
- (a) If a function w=f(x,y,z) depends on three intermediate variables, and each intermediate variable depends on two independent parameters (u,v), how many total derivative products must be summed to compute βuβwβ?
- (b) In the geometric derivation of the implicit curve differentiation formula dxdyβ=βFyβFxββ, explain algebraically where the negative sign comes from.
- (c) In Groundwater Contaminant Plume in Radial Aquifer (Environmental Engineering), why does the angular derivative βΞΈβCβ equal zero for all radii?
Review the Conceptual Framework, tree diagram rules, and the solutions to Worked Example A and the linked environmental engineering application. (Defined in Multivariable Chain Rule.)
Answer: * (a) Three product terms: βxβwββuβxβ+βyβwββuβyβ+βzβwββuβzβ.
- (b) From isolating dxdyβ in the total differential equation dF=Fxβdx+Fyβdy=0βΉFyβdy=βFxβdx.
- (c) Because the contaminant plume has perfect circular (isotropic) symmetry, meaning concentration does not vary along circular concentric contours.
Step-by-Step Execution
- (a) According to the tree diagram rules in Multivariable Chain Rule, there is one primary output variable w at the top level, three intermediate variables (x,y,z) in the middle tier, and two independent parameters (u,v) at the bottom level. To find βuβwβ, we track every downward path connecting w to u. Since there are three distinct paths passing through x, y, and z, the formula sums exactly three branch products:
βuβwβ=βxβwββuβxβ+βyβwββuβyβ+βzβwββuβzβ
- (b) Along an implicit level curve F(x,y)=c, the function value is constant, so its total differential vanishes identically: dF=Fxβdx+Fyβdy=0. Dividing through by the differential dx gives Fxβ+Fyβdxdyβ=0. Subtracting Fxβ from both sides yields Fyβdxdyβ=βFxβ. Dividing by Fyβ (assuming Fyβξ =0) introduces the negative sign: dxdyβ=βFyβFxββ.
- (c) In Groundwater Contaminant Plume in Radial Aquifer (Environmental Engineering), the concentration is governed by C(x,y)=100eβ0.02(x2+y2). Because x2+y2=r2, the plume depends purely on radial distance from the origin (C(r)=100eβ0.02r2) and is completely independent of the polar angle ΞΈ. Applying the chain rule yields βΞΈβCβ=(β4xeβ0.02r2)(βrsinΞΈ)+(β4yeβ0.02r2)(rcosΞΈ)=4r2eβ0.02r2(cosΞΈsinΞΈβsinΞΈcosΞΈ)=0.
Practice Problem 6
A multivariable surface is represented in Cartesian coordinates by z=4x2+y2. Engineers convert this model into polar coordinates (r,ΞΈ) via the transformation x(r,ΞΈ)=rcos(ΞΈ) and y(r,ΞΈ)=rsin(ΞΈ).
- State the Multivariable Chain Rule formula expressing βrβzβ in terms of Cartesian partials and polar angle ΞΈ.
- Evaluate βrβzβ at the polar coordinate point (r,ΞΈ)=(3,6Οβ).
State the Multivariable Chain Rule for Several Variables: βrβzβ=βxβzββrβxβ+βyβzββrβyβ. Compute zxβ=8x,zyβ=2y, βrβxβ=cosΞΈ, βrβyβ=sinΞΈ, and evaluate at (r,ΞΈ)=(3,Ο/6). (Defined in Multivariable Chain Rule.)
Answer: 1. βrβzβ=βxβzβcos(ΞΈ)+βyβzβsin(ΞΈ)=8rcos2(ΞΈ)+2rsin2(ΞΈ) 2. βrβzββ(3,Ο/6)β=239β=19.5
Step-by-Step Execution
State the Governing Multivariable Chain Rule Formula:
βrβzβ=βxβzββrβxβ+βyβzββrβyβ(Defined in Multivariable Chain Rule.)- Compute transformation derivatives:
βrβxβ=βrββ[rcosΞΈ]=cosΞΈβrβyβ=βrββ[rsinΞΈ]=sinΞΈ
- Substitute into the chain rule:
βrβzβ=βxβzβcosΞΈ+βyβzβsinΞΈ
- Compute Cartesian partials for z=4x2+y2:
βxβzβ=8x=8(rcosΞΈ)=8rcosΞΈβyβzβ=2y=2(rsinΞΈ)=2rsinΞΈ
- Combine:
βrβzβ=(8rcosΞΈ)(cosΞΈ)+(2rsinΞΈ)(sinΞΈ)=8rcos2ΞΈ+2rsin2ΞΈ
- Compute transformation derivatives:
Evaluate at (r,ΞΈ)=(3,6Οβ):
- Trigonometric values at ΞΈ=6Οβ:
cos(6Οβ)=23βββΉcos2(6Οβ)=43βsin(6Οβ)=21ββΉsin2(6Οβ)=41β
- Substitute r=3:
βrβzβ=8(3)(43β)+2(3)(41β)=24(43β)+6(41β)=18+1.5=19.5=239β
- Trigonometric values at ΞΈ=6Οβ:
Practice Problem 7
Use the multivariable implicit differentiation formula dxdyβ=βFyβFxββ to determine the exact slope of the tangent line to the Folium of Descartes curve:
State the Multivariable Implicit Differentiation Formula for Curves: dxdyβ=βFyβFxββ. Define F(x,y)=x3+y3β6xy, compute Fxβ and Fyβ, and evaluate at (3,3). (Defined in Multivariable Chain Rule.)
Answer:
Step-by-Step Execution
Define the Implicit Function and State Governing Formula: Define F(x,y)=x3+y3β6xy=0. State the Implicit Differentiation Formula for Curves (defined in Multivariable Chain Rule):
dxdyβ=βFyβFxββ=ββyβFββxβFββCompute First-Order Partial Derivatives of F(x,y):
- With respect to x (treating y as a constant):
Fxβ=βxββ[x3+y3β6xy]=3x2β6y
- With respect to y (treating x as a constant):
Fyβ=βyββ[x3+y3β6xy]=3y2β6x
- With respect to x (treating y as a constant):
Assemble the Symbolic Derivative:
dxdyβ=β3y2β6x3x2β6yβ=β3(y2β2x)3(x2β2y)β=βy2β2xx2β2yβEvaluate at the Point (3,3):
dxdyββ(3,3)β=β(3)2β2(3)(3)2β2(3)β=β9β69β6β=β33β=β1- Geometric Insight: At the apex loop point (3,3), the curve has a tangent slope of m=β1, confirming symmetry across the line y=x.
Practice Problem 8
An implicit curved aerodynamic shell surface is modeled by the equation:
State the Multivariable Implicit Differentiation Formulas for Surfaces: βxβzβ=βFzβFxββ and βyβzβ=βFzβFyββ. Set F(x,y,z)=x2y+y2z+z2xβ7=0, compute Fxβ,Fyβ,Fzβ, and evaluate at (1,1,2). (Defined in Multivariable Chain Rule.)
Answer:
Step-by-Step Execution
Define the Level Surface Function and State Governing Formulas: Define F(x,y,z)=x2y+y2z+z2xβ7=0. State the Implicit Surface Differentiation Formulas (defined in Multivariable Chain Rule):
βxβzβ=βFzβFxββ,βyβzβ=βFzβFyββCompute All Three First-Order Partial Derivatives of F(x,y,z):
Fxβ=βxββ[x2y+y2z+z2xβ7]=2xy+z2Fyβ=βyββ[x2y+y2z+z2xβ7]=x2+2yzFzβ=βzββ[x2y+y2z+z2xβ7]=y2+2zxEvaluate the Partial Derivatives at P0β(1,1,2):
- Fxβ(1,1,2)=2(1)(1)+(2)2=2+4=6
- Fyβ(1,1,2)=(1)2+2(1)(2)=1+4=5
- Fzβ(1,1,2)=(1)2+2(2)(1)=1+4=5
Compute the Surface Derivatives:
βxβzβ=βFzβFxββ=β56ββyβzβ=βFzβFyββ=β55β=β1
π Regroup 2
- Key Takeaway: Multi-parameter chain rules multiply derivatives along vertical tree branches and sum across parallel branches. The bottom level always determines how many partial derivative equations must be written.
- Implicit Differentiation Power: Never solve for y or z algebraically. Applying dxdyβ=βFyβFxββ or βxβzβ=βFzβFxββ computes exact slopes and surface gradients in seconds.
- Common Pitfall: Forgetting the minus sign in βFyβFxββ or inverting the numerator and denominator (remember: the differentiated variable appears in the denominator of the ratio!).
Skill Block 3
Real-Life Engineering Applications
Structural Column Strain Energy Stability (Civil & Mechanical Engineering)
A load-bearing structural steel support column in a commercial building framework experiences internal strain energy U (in Joules, J) due to combined axial mechanical compression loads and solar thermal expansion. The total strain energy is modeled as a function of the axial force load x (in kilonewtons, kN) and the surface temperature shift y (in degrees Celsius, βC):
- Compute the first-order partial derivatives Uxβ and Uyβ.
- Compute all four second-order partial derivatives (Uxxβ,Uyyβ,Uxyβ,Uyxβ).
- Verify Clairaut's Theorem for the mixed partial derivatives.
- Construct the 2Γ2 Hessian matrix HUβ(x,y) and evaluate its determinant D=det(HUβ) at nominal service load (x,y)=(10Β kN,25βC).
- Interpret the physical structural meaning of the mixed partial derivative Uxyβ and explain why Uxxβ>0 confirms structural stability against buckling.
π‘ Show Worked Derivation
A load-bearing structural steel support column in a commercial building framework experiences internal strain energy U (in Joules, J) due to combined axial mechanical compression loads and solar thermal expansion. The total strain energy is modeled as a function of the axial force load x (in kilonewtons, kN) and the surface temperature shift y (in degrees Celsius, βC):
- Compute the first-order partial derivatives Uxβ and Uyβ.
- Compute all four second-order partial derivatives (Uxxβ,Uyyβ,Uxyβ,Uyxβ).
- Verify Clairaut's Theorem for the mixed partial derivatives.
- Construct the 2Γ2 Hessian matrix HUβ(x,y) and evaluate its determinant D=det(HUβ) at nominal service load (x,y)=(10Β kN,25βC).
- Interpret the physical structural meaning of the mixed partial derivative Uxyβ and explain why Uxxβ>0 confirms structural stability against buckling.
Step-by-Step Solution:
Compute First-Order Partial Derivatives: State the First-Order Partial Derivative Definitions (see Partial Derivatives):
Uxβ=βxββ[0.5x2+0.04x2y+3y2]=1.0x+0.08xyUyβ=βyββ[0.5x2+0.04x2y+3y2]=0.04x2+6yCompute Pure and Mixed Second-Order Partials: State the Second-Order Partial Derivative Formulas (see Second-Order Partial Derivatives):
- Pure Partials:
Uxxβ=βxββ[x+0.08xy]=1.0+0.08yUyyβ=βyββ[0.04x2+6y]=6
- Mixed Partials:
Uxyβ=βyββ[x+0.08xy]=0.08xUyxβ=βxββ[0.04x2+6y]=0.08x
- Pure Partials:
Verify Clairaut's Theorem:
Uxyβ=Uyxβ=0.08xSince U(x,y) is a smooth polynomial, its second partials are continuous everywhere on R2, verifying Clairaut's Theorem.Construct Hessian Matrix and Evaluate Determinant: State the Hessian Matrix definition:
HUβ(x,y)=[UxxβUyxββUxyβUyyββ]=[1.0+0.08y0.08xβ0.08x6β]- Evaluate at (x,y)=(10,25):
- Uxxβ(10,25)=1.0+0.08(25)=1.0+2.0=3.0Β J/kN2
- Uyyβ(10,25)=6.0Β J/(βC)2
- Uxyβ(10,25)=0.08(10)=0.8Β J/(kNβ
βC)
HUβ(10,25)=[3.00.8β0.86.0β]
- Determinant:
D=det(HUβ)=(3.0)(6.0)β(0.8)2=18.0β0.64=17.36>0
- Evaluate at (x,y)=(10,25):
Physical & Structural Interpretation:
- Mixed Partial Uxyβ: Physically represents the thermal-mechanical coupling stiffness. It measures how thermal expansion increases the column's mechanical stiffness response to compressive loading.
- Stability & Convexity: Because D=17.36>0 and Uxxβ=3.0>0, the strain energy function is strictly convex (concave upward) in all directions. In structural mechanics, positive curvature of the strain energy potential proves that the column is in a stable equilibrium state, guaranteeing resistance against sudden elastic buckling under these combined thermal-load service conditions.
Automated Audio Amplifier Loop Gain (Electrical & Computer Engineering)
In professional audio electronics design, an automated gain control circuit stabilizes output volume using an active feedback amplifier loop. The loop amplification gain factor G (dimensionless ratio) depends on an input control bias voltage v (in Volts, V) and a digital potentiometer feedback resistance r (in kilo-ohms, kΞ©, for r>0):
- Compute the first-order partial derivatives Gvβ and Grβ.
- Compute the second-order partial derivatives (Gvvβ,Grrβ,Gvrβ,Grvβ).
- Verify Clairaut's Theorem for the mixed partials Gvrβ and Grvβ.
- Construct the 2Γ2 Hessian matrix HGβ(v,r) and evaluate it at the reference bias operating point (v,r)=(2Β V,eΒ kΞ©).
- Calculate the Hessian determinant D=det(HGβ) at (2,e) and determine whether the gain surface exhibits a local extremum or a saddle behavior at this operating point.
π‘ Show Worked Derivation
In professional audio electronics design, an automated gain control circuit stabilizes output volume using an active feedback amplifier loop. The loop amplification gain factor G (dimensionless ratio) depends on an input control bias voltage v (in Volts, V) and a digital potentiometer feedback resistance r (in kilo-ohms, kΞ©, for r>0):
- Compute the first-order partial derivatives Gvβ and Grβ.
- Compute the second-order partial derivatives (Gvvβ,Grrβ,Gvrβ,Grvβ).
- Verify Clairaut's Theorem for the mixed partials Gvrβ and Grvβ.
- Construct the 2Γ2 Hessian matrix HGβ(v,r) and evaluate it at the reference bias operating point (v,r)=(2Β V,eΒ kΞ©).
- Calculate the Hessian determinant D=det(HGβ) at (2,e) and determine whether the gain surface exhibits a local extremum or a saddle behavior at this operating point.
Step-by-Step Solution:
Compute First-Order Partial Derivatives: State the First-Order Partial Derivative Formulas (see Partial Derivatives):
Gvβ=βvββ[v3ln(r)]=3v2ln(r)Grβ=βrββ[v3ln(r)]=v3(r1β)=rv3βCompute Second-Order Partial Derivatives: State the Second-Order Partial Derivative Formulas (see Second-Order Partial Derivatives):
- Pure Partials:
Gvvβ=βvββ[3v2ln(r)]=6vln(r)Grrβ=βrββ[v3rβ1]=v3(βrβ2)=βr2v3β
- Mixed Partials:
Gvrβ=βrββ[3v2ln(r)]=3v2(r1β)=r3v2βGrvβ=βvββ[rv3β]=r3v2β
- Pure Partials:
Verify Clairaut's Theorem:
Gvrβ=Grvβ=r3v2βFor all r>0, the function G(v,r) is infinitely differentiable (Cβ), confirming Clairaut's Theorem.Construct and Evaluate Hessian Matrix at (v,r)=(2,e):
HGβ(v,r)=[GvvβGrvββGvrβGrrββ]=[6vln(r)r3v2ββr3v2ββr2v3ββ]- Since ln(e)=1:
- Gvvβ(2,e)=6(2)(1)=12
- Grrβ(2,e)=βe223β=βe28β
- Gvrβ(2,e)=e3(22)β=e12β
HGβ(2,e)=[12e12ββe12ββe28ββ]
- Since ln(e)=1:
Compute Hessian Determinant and Classify Geometry:
D=det(HGβ)=GvvβGrrββ(Gvrβ)2=(12)(βe28β)β(e12β)2D=βe296ββe2144β=βe2240βββ7.389240βββ32.48Because D<0, the gain surface possesses negative Gaussian curvature, confirming that the operating point (2,e) is on a hyperbolic saddle geometry. In feedback control loop design, negative Hessian determinants indicate parameter trade-offs: increasing voltage boosts gain while increasing resistance suppresses gain, requiring active closed-loop stabilization.
Higher-Order Partial Derivatives, Clairaut's Theorem & The Hessian Matrix
General Overview
Skill Block 3 covers the computation and geometric interpretation of higher-order partial derivatives. Students learn how pure second partials (fxxβ,fyyβ) quantify surface concavity along coordinate axes, how mixed partials (fxyβ,fyxβ) quantify cross-variable twisting, how to verify Clairaut's Theorem on the commutativity of mixed partials, and how to construct the Hessian matrix to evaluate structural stability and local curvature.
Conceptual Framework
- Pure Second-Order Partial Derivatives:
fxxβ=βx2β2fβ=βxββ(fxβ),fyyβ=βy2β2fβ=βyββ(fyβ)(Defined in Second-Order Partial Derivatives.)
- Mixed Second-Order Partial Derivatives:
fxyβ=βyβxβ2fβ=βyββ(fxβ),fyxβ=βxβyβ2fβ=βxββ(fyβ)
- Clairaut's Theorem (Schwarz's Theorem):
If fxyβ and fyxβ are continuous on an open region, then:
fxyβ=fyxβ(Defined in Clairaut's Theorem.)
- The Hessian Matrix & Curvature Determinant:
Hfβ(x,y)=[fxxβfyxββfxyβfyyββ],D=det(Hfβ)=fxxβfyyββ(fxyβ)2
Key Equations & Structural Rules
- Lagrange Subscript Order: fxyβ differentiates with respect to x first, then y.
- Leibniz Operator Order: βyβxβ2fβ differentiates with respect to x first (inner operator), then y (outer operator).
- Higher-Order Commutativity (nβ₯3): For smooth functions (Cn), mixed partials commute across all permutations of order (e.g., fxxyβ=fxyxβ=fyxxβ).
Worked Example A: Second-Order Partials on an Exponential-Polynomial Surface
Compute all second-order partial derivatives (fxxβ,fyyβ,fxyβ,fyxβ) for the multivariable exponential surface:
π‘ Reveal Worked Solution
State the Governing Second-Order Derivative Formulas: State the Second-Order Partial Derivative Definitions (see Second-Order Partial Derivatives):
fxxβ=βxββ(fxβ),fyyβ=βyββ(fyβ),fxyβ=βyββ(fxβ),fyxβ=βxββ(fyβ)Compute First-Order Partial Derivatives: Apply the single-variable exponential chain rule dudβ[eu]=euuβ²:
- With respect to x (treating y as a constant):
fxβ=ex2yβ βxββ[x2y]=ex2y(2xy)=2xyex2y
- With respect to y (treating x as a constant):
fyβ=ex2yβ βyββ[x2y]=ex2y(x2)=x2ex2y
- With respect to x (treating y as a constant):
Compute Pure Second Partial Derivatives:
- Compute fxxβ (requires the product rule on u=2xy and v=ex2y):
fxxβ=βxββ[2xyex2y]=βxββ[2xy]ex2y+2xyβxββ[ex2y]fxxβ=2yex2y+2xy(2xyex2y)=2yex2y+4x2y2ex2y=2y(1+2x2y)ex2y
- Compute fyyβ (treating x2 as a constant multiplier):
fyyβ=βyββ[x2ex2y]=x2βyββ[ex2y]=x2(x2ex2y)=x4ex2y
- Compute fxxβ (requires the product rule on u=2xy and v=ex2y):
Compute and Verify Mixed Partial Derivatives:
- Compute fxyβ=βyββ(fxβ) (using product rule on u=2xy and v=ex2y with respect to y):
fxyβ=βyββ[2xy]ex2y+2xyβyββ[ex2y]fxyβ=2xex2y+2xy(x2ex2y)=2xex2y+2x3yex2y=2x(1+x2y)ex2y
- Compute fyxβ=βxββ(fyβ) (using product rule on u=x2 and v=ex2y with respect to x):
fyxβ=βxββ[x2]ex2y+x2βxββ[ex2y]fyxβ=2xex2y+x2(2xyex2y)=2xex2y+2x3yex2y=2x(1+x2y)ex2y
- Compute fxyβ=βyββ(fxβ) (using product rule on u=2xy and v=ex2y with respect to y):
Verify Clairaut's Theorem:
fxyβ=2x(1+x2y)ex2y=fyxβBecause f(x,y) is a smooth composition of exponential and polynomial functions, its partial derivatives of all orders are continuous on R2, confirming Clairaut's Theorem.
Practice Problem 9: Concept & Reading Check
Open this Skill Block on the Memex to locate the information needed to answer the following:
- (a) Under what mathematical condition does Clairaut's Theorem guarantee that fxyβ=fyxβ?
- (b) In Worked Example A, explain why the product rule was necessary when differentiating fxβ=2xyex2y with respect to both x and y.
- (c) In Structural Column Strain Energy Stability (Civil & Mechanical Engineering), explain the physical meaning of the mixed partial derivative Uxyβ and why a positive Hessian determinant (D>0) guarantees structural stability.
Review the Conceptual Framework and the solutions to Worked Example A and the linked structural column application. (Defined in Clairaut's Theorem and Second-Order Partial Derivatives.)
Answer: * (a) Both mixed partial derivatives fxyβ and fyxβ must be continuous on an open disk containing the point.
- (b) Because both variables x and y appear simultaneously in the leading coefficient 2xy and inside the exponential argument x2y.
- (c) Uxyβ represents thermal-mechanical cross-coupling stiffness, and D>0 with Uxxβ>0 confirms that the strain energy is strictly convex (a stable potential energy minimum).
Step-by-Step Execution
- (a) As established in Clairaut's Theorem, the equality of mixed second-order partial derivatives (fxyβ=fyxβ) requires that the function f(x,y) and both of its mixed second-order partial derivatives fxyβ and fyxβ be continuous on an open disk D centered at the point (a,b). All elementary functions satisfy this continuity requirement everywhere on their natural domains.
- (b) In Worked Example A, the first partial derivative is fxβ(x,y)=2xyex2y. When differentiating with respect to x, the variable x appears as a linear factor in 2xy and as a quadratic term in the exponent x2y, requiring the product rule (u=2xy,v=ex2y). When differentiating with respect to y, the variable y likewise appears in both the prefactor 2xy and in the exponent x2y, requiring the product rule with respect to y as well.
- (c) In Structural Column Strain Energy Stability (Civil & Mechanical Engineering), the internal strain energy is U(x,y)=0.5x2+0.04x2y+3y2, where x is axial compressive load and y is temperature rise. The mixed partial Uxyβ=0.08x represents the thermal-mechanical coupling stiffnessβhow temperature changes alter the column's resistance to axial deflection. A positive Hessian determinant (D=det(HUβ)=17.36>0) combined with positive pure concavity (Uxxβ=3.0>0) confirms that the energy surface curves upward in every direction, proving the column is in a stable equilibrium state immune to sudden elastic buckling.
Practice Problem 10
Let the multivariable function be defined by:
- Compute the first-order partial derivatives fxβ and fyβ.
- Compute the pure second-order partial derivatives fxxβ and fyyβ.
- Compute the mixed second-order partial derivatives fxyβ and fyxβ and verify Clairaut's Theorem.
State the Second-Order Partial Derivative Formulas (see Second-Order Partial Derivatives). Compute fxβ and fyβ, taking care to use the single-variable chain rule on sin(xy). When computing mixed partials, use the product rule on the trigonometric terms ycos(xy) and xcos(xy). (Defined in Clairaut's Theorem.)
Answer: 1. fxβ=2xy3+4y+ycos(xy),fyβ=3x2y2+4x+xcos(xy) 2. fxxβ=2y3βy2sin(xy),fyyβ=6x2yβx2sin(xy) 3. fxyβ=fyxβ=6xy2+4+cos(xy)βxysin(xy)
Step-by-Step Execution
Compute First-Order Partial Derivatives:
βxββ[sin(xy)]=cos(xy)β βxββ[xy]=ycos(xy)fxβ=βxββ[x2y3+4xy+sin(xy)]=2xy3+4y+ycos(xy)βyββ[sin(xy)]=cos(xy)β βyββ[xy]=xcos(xy)fyβ=βyββ[x2y3+4xy+sin(xy)]=3x2y2+4x+xcos(xy)Compute Pure Second-Order Partial Derivatives:
- Compute fxxβ:
fxxβ=βxββ[2xy3+4y+ycos(xy)]=2y3+0+y(βsin(xy)β y)=2y3βy2sin(xy)
- Compute fyyβ:
fyyβ=βyββ[3x2y2+4x+xcos(xy)]=6x2y+0+x(βsin(xy)β x)=6x2yβx2sin(xy)
- Compute fxxβ:
Compute Mixed Partial Derivatives and Verify Clairaut's Theorem:
- Compute fxyβ=βyββ(fxβ) (apply product rule to ycos(xy) with respect to y):
fxyβ=βyββ[2xy3+4y+ycos(xy)]fxyβ=6xy2+4+[(1)cos(xy)+y(βsin(xy)β x)]fxyβ=6xy2+4+cos(xy)βxysin(xy)
- Compute fyxβ=βxββ(fyβ) (apply product rule to xcos(xy) with respect to x):
fyxβ=βxββ[3x2y2+4x+xcos(xy)]fyxβ=6xy2+4+[(1)cos(xy)+x(βsin(xy)β y)]fyxβ=6xy2+4+cos(xy)βxysin(xy)Both expressions are identical, successfully verifying Clairaut's Theorem.
- Compute fxyβ=βyββ(fxβ) (apply product rule to ycos(xy) with respect to y):
Practice Problem 11
Compute all four second-order partial derivatives (fxxβ,fyyβ,fxyβ,fyxβ) for the polynomial surface:
State the Second-Order Partial Derivative Formulas (see Second-Order Partial Derivatives). Compute fxβ and fyβ using the power rule, then differentiate each with respect to x and y. (Defined in Clairaut's Theorem.)
Answer: - fxxβ=12xy2
- fyyβ=4x3
- fxyβ=fyxβ=12x2y+5
Step-by-Step Execution
Compute First-Order Partial Derivatives:
fxβ=βxββ[2x3y2+5xy]=6x2y2+5yfyβ=βyββ[2x3y2+5xy]=4x3y+5xCompute Pure Second-Order Partial Derivatives:
- Differentiate fxβ with respect to x:
fxxβ=βxββ[6x2y2+5y]=12xy2+0=12xy2
- Differentiate fyβ with respect to y:
fyyβ=βyββ[4x3y+5x]=4x3(1)+0=4x3
- Differentiate fxβ with respect to x:
Compute Mixed Second-Order Partial Derivatives:
- Differentiate fxβ with respect to y:
fxyβ=βyββ[6x2y2+5y]=6x2(2y)+5=12x2y+5
- Differentiate fyβ with respect to x:
fyxβ=βxββ[4x3y+5x]=4(3x2)y+5=12x2y+5As guaranteed by Clairaut's Theorem, fxyβ=fyxβ=12x2y+5.
- Differentiate fxβ with respect to y:
Practice Problem 12
For the multivariable function f(x,y)=x4y2β2x2y3+5x:
- Construct the complete 2Γ2 Hessian matrix Hfβ(x,y).
- Compute the third-order mixed partial derivatives fxxyβ and fxyxβ, and verify that they are equal.
State the Hessian Matrix Formula: Hfβ(x,y)=[fxxβfyxββfxyβfyyββ]. Compute first and second partials. To find fxxyβ, differentiate fxxβ with respect to y. To find fxyxβ, differentiate fxyβ with respect to x. (Defined in Second-Order Partial Derivatives and Clairaut's Theorem.)
Answer: 1.
Step-by-Step Execution
Compute First-Order Partials:
fxβ=βxββ[x4y2β2x2y3+5x]=4x3y2β4xy3+5fyβ=βyββ[x4y2β2x2y3+5x]=2x4yβ6x2y2Compute Second-Order Partials:
- Pure partials:
fxxβ=βxββ[4x3y2β4xy3+5]=12x2y2β4y3fyyβ=βyββ[2x4yβ6x2y2]=2x4β12x2y
- Mixed partials:
fxyβ=βyββ[4x3y2β4xy3+5]=8x3yβ12xy2fyxβ=βxββ[2x4yβ6x2y2]=8x3yβ12xy2
- Pure partials:
Construct the Hessian Matrix: State the Hessian Matrix Definition (see Second-Order Partial Derivatives):
Hfβ(x,y)=[fxxβfyxββfxyβfyyββ]=[12x2y2β4y38x3yβ12xy2β8x3yβ12xy22x4β12x2yβ]Compute and Verify Third-Order Mixed Partials:
- Differentiate fxxβ with respect to y:
fxxyβ=βyββ[fxxβ]=βyββ[12x2y2β4y3]=12x2(2y)β4(3y2)=24x2yβ12y2
- Differentiate fxyβ with respect to x:
fxyxβ=βxββ[fxyβ]=βxββ[8x3yβ12xy2]=8(3x2)yβ12(1)y2=24x2yβ12y2Both third-order partial derivatives match identically (fxxyβ=fxyxβ=24x2yβ12y2), confirming that Clairaut's Theorem extends to higher-order differentiation.
- Differentiate fxxβ with respect to y:
π Regroup 3
- Key Takeaway: Pure second partials (fxxβ,fyyβ) describe concavity along the coordinate axes; mixed partials (fxyβ,fyxβ) describe twisting and cross-coupling shear across variables.
- Clairaut Symmetry: For any smooth function (C2), mixed partials are commutative: fxyβ=fyxβ. This symmetry guarantees that the Hessian matrix is symmetric (HfTβ=Hfβ), saving computational effort in finite element analysis and optimization algorithms.
- Preview of Optimization: In Session 13, the determinant of the Hessian matrix (D=fxxβfyyββ(fxyβ)2) will serve as the discriminant in the Second Derivative Test to classify local minima, local maxima, and saddle points.
π Synthesis Wrap-up
- Core Takeaways from Session 11:
- Chain Rule Case 1: The total rate along a parameter path r(t) is dtdzβ=βxβzβdtdxβ+βyβzβdtdyβ=βzβ v(t).
- Chain Rule Case 2 & Implicit Differentiation: Tree diagrams map multi-parameter systems; implicit formulas dxdyβ=βFyβFxββ and βxβzβ=βFzβFxββ compute slopes without isolating variables.
- Higher Partials & Clairaut: Smooth functions have symmetric mixed partials (fxyβ=fyxβ), populating the symmetric Hessian curvature matrix Hfβ.
- Homework Assignment: Complete the Knewton Alta assignment: Second Partial Derivative and Chain Rule.
- Looking Ahead to Session 12: Next session, we combine spatial partial derivatives into the full vector operatorβthe Gradient Vector βfβand use it to calculate Directional Derivatives along arbitrary spatial headings and identify paths of steepest ascent.\n