Study guide

6.6 Partial Derivatives, Total Derivative & Multivariable Optimisation

Coal India Management Trainee CIL MT

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: CIL MT Exam Overview & Coal Sector Landscape

1.1 CIL MT Exam Pattern, Marking Scheme & Strategy 1.2 Coal India Limited: Corporate Structure, Maharatna Status & Subsidiaries 1.3 Indian Coal Mining Sector, Energy Mix & Environmental Regulations

2 Chapter 2: Paper-I General Awareness, Polity & Current Affairs

2.1 Indian Constitution, Governance & Statutory Bodies 2.2 Indian Economy, Union Budget & Economic Planning 2.3 Indian Geography, Mineral Belts & Environmental Ecology 2.4 Modern Indian History, Freedom Struggle & Cultural Heritage 2.5 General Science: Physics, Chemistry & Biology Fundamentals 2.6 Inventions, Discoveries & Scientific-Technological Development 2.7 Uses of Internet, Computer Awareness & Digital Governance 2.8 National & International Organisations 2.9 Awards, Honours & Sports 2.10 Books & Authors, Important Monuments & Places of India 2.11 Ports, Power Plants & Infrastructure of India 2.12 Climate Change, SDGs, National Parks & Wildlife Sanctuaries 2.13 Flagship Government Programmes & Current Affairs Method 2.14 World Physical, Social & Economic Geography

3 Chapter 3: Paper-I Reasoning & Logical Ability

3.1 Series Completion, Coding-Decoding & Semantic Analogies 3.2 Syllogisms, Logical Deduction & Venn Diagrams 3.3 Seating Arrangements, Linear/Circular Alignments & Puzzles 3.4 Direction Sense, Blood Relations & Order/Ranking 3.5 Alphabetical & Alphanumeric Series 3.6 Statement & Conclusions, Statement & Arguments 3.7 Clocks & Calendars 3.8 Cubes, Dice & Figure Counting 3.9 Mirror Images, Water Images, Embedded Figures & Non-Verbal Series 3.10 Decision Making & Data Analysis in Reasoning

4 Chapter 4: Paper-I Numerical Ability & Quantitative Aptitude

4.1 Arithmetic Foundations: Percentages, Profit & Loss, Ratio & Proportion 4.2 Averages, Simple/Compound Interest, Alligations & Mixtures 4.3 Time & Work, Pipes & Cisterns, Time, Speed & Distance 4.4 Algebra, Mensuration, Geometry & Data Interpretation (DI) 4.5 Number System, LCM, HCF & Decimal Fractions 4.6 Surds, Indices & Simplification 4.7 Problems on Ages 4.8 Boats & Streams and Problems on Trains 4.9 Permutations & Combinations 4.10 Probability for Quantitative Aptitude

5 Chapter 5: Paper-I General English & Verbal Ability

5.1 English Grammar, Error Spotting & Sentence Correction 5.2 Vocabulary Building: Synonyms, Antonyms, Idioms & Phrases 5.3 Reading Comprehension, Cloze Tests & Para Jumbles 5.4 Fill in the Blanks, Cloze Passages & Sentence Completion 5.5 Jumbled Sentences & Sentence Improvement

6 Chapter 6: Paper-II Engineering Mathematics

6.1 Matrix Algebra, Rank & Systems of Linear Equations 6.2 Eigenvalues, Eigenvectors & the Cayley-Hamilton Theorem 6.3 Limits, Continuity, Differentiability & Mean Value Theorems 6.4 Maxima-Minima, Indeterminate Forms & Taylor Series 6.5 Definite, Improper, Double & Triple Integrals 6.6 Partial Derivatives, Total Derivative & Multivariable Optimisation 6.7 First-Order Differential Equations: Linear & Non-Linear 6.8 Higher-Order Linear Differential Equations & Engineering Applications 6.9 Laplace Transforms & Transfer-Function Methods 6.10 Probability, Conditional Probability & Bayes' Theorem 6.11 Random Variables, Distributions & Descriptive Statistics 6.12 Numerical Methods: Root Finding, Integration & ODE Solvers

7 Chapter 7: Paper-II Engineering Mechanics & Statics-Dynamics

7.1 Force Systems, Coplanar Equilibrium & Lami's Theorem 7.2 Plane Trusses, Friction Mechanics & Screws/Wedges 7.3 Centroids, Center of Gravity & Moment of Inertia 7.4 Kinematics, Kinetics of Particles & Rigid Body Dynamics 7.5 Virtual Work & Lagrange's Equation 7.6 Rolling Friction, Belt-Pulley Drives, Brakes, Clutches & Vehicle Dynamics

8 Chapter 8: Paper-II Mechanics of Materials & Structural Integrity

8.1 Simple Stresses, Strains, Elastic Moduli & Thermal Stresses 8.2 Principal Stresses, Strain Energy & Mohr's Circle 8.3 Shear Force & Bending Moment Diagrams, Beam Bending & Shear Stresses 8.4 Torsion of Circular Shafts, Springs & Column Buckling 8.5 Thin Cylinders, Spheres & Thick-Walled Pressure Vessels 8.6 Deflection of Beams: Double Integration, Macaulay & Moment-Area 8.7 Shear Centre & Unsymmetrical Bending 8.8 Strain Gauges, Rosettes & Experimental Stress Analysis 8.9 Mechanical Testing: Universal Testing Machine, Hardness & Impact

9 Chapter 9: Paper-II Theory of Machines & Mechanical Vibrations

9.1 Simple Mechanisms, Kinematic Inversions & Velocity/Acceleration Diagrams 9.2 Cams & Followers, Toothed Gearing & Epicyclic Gear Trains 9.3 Flywheels, Centrifugal/Inertia Governors & Rotor Balancing 9.4 Free, Damped & Forced Single-Degree-of-Freedom Vibrations 9.5 Gyroscopic Couple & Gyroscopic Effects

10 Chapter 10: Paper-II Machine Design & Failure Theories

10.1 Static Failure Theories & Variable/Fatigue Loading 10.2 Design of Threaded Fasteners, Welded & Riveted Joints 10.3 Design of Shafts, Keys, Couplings & Rolling/Sliding Bearings 10.4 Design of Spur, Helical, Bevel & Worm Gears 10.5 Design of Helical, Leaf & Torsion Springs 10.6 Design of Brakes & Clutches: Energy, Lining Pressure & Heat

11 Chapter 11: Paper-II Fluid Mechanics & Hydraulic Machinery

11.1 Fluid Properties, Hydrostatic Forces & Buoyancy 11.2 Fluid Kinematics, Continuity & Bernoulli's Equation 11.3 Viscous Flow in Pipes, Boundary Layer & Minor Losses 11.4 Hydraulic Turbines, Centrifugal & Reciprocating Pumps 11.5 Dimensional Analysis, Similitude & Model Testing 11.6 Control-Volume Analysis: Continuity, Momentum & Energy

12 Chapter 12: Paper-II Thermodynamics, Thermal Cycles & Turbomachinery

12.1 Fundamental Concepts, First & Second Laws of Thermodynamics 12.2 Entropy, Availability, Exergy & Properties of Pure Substances 12.3 Air-Standard Gas Power Cycles: Otto, Diesel, Dual & Brayton 12.4 Vapour Power Cycles: Ideal, Reheat & Regenerative Rankine Cycles 12.5 Thermodynamic Relations: Maxwell, Clausius-Clapeyron & Joule-Thomson 12.6 Behaviour of Ideal & Real Gases and Equations of State 12.7 Air & Gas Compressors: Reciprocating, Rotary & Multi-Stage 12.8 Steam & Gas Turbines: Impulse, Reaction & Velocity Diagrams

13 Chapter 13: Paper-II Heat Transfer, Refrigeration & Air Conditioning

13.1 Steady & Unsteady Conduction, Extended Surfaces (Fins) 13.2 Forced/Natural Convection, Radiation & Heat Exchanger LMTD/NTU 13.3 Vapour Compression & Vapour Absorption Refrigeration Systems 13.4 Psychrometric Properties, Processes & Air Conditioning Systems 13.5 Gas Refrigeration, Heat Pump Cycles & Cryogenics

14 Chapter 14: Paper-II Materials Science, Metallurgy & Manufacturing Technology

14.1 Crystal Structures, Phase Diagrams & Iron-Iron Carbide Equilibrium 14.2 Heat Treatment Processes & Engineering Alloy Steels 14.3 Casting Processes, Metal Forming & Welding Metallurgy 14.4 Metal Cutting Mechanics, Tool Life & Machine Tools 14.5 Plastic Deformation, Yield Criteria & Load Estimation in Bulk Forming 14.6 Sheet Metal Forming: Shearing, Bending & Deep Drawing 14.7 Powder Metallurgy 14.8 Brazing, Soldering & Adhesive Bonding 14.9 Non-Traditional Machining: EDM, ECM, USM, AJM, LBM & EBM 14.10 Abrasive Machining, Grinding & Superfinishing 14.11 Principles of Work Holding, Jigs & Fixtures 14.12 Economics of Machining & Tool Life Optimisation

15 Chapter 15: Paper-II Metrology, Quality Control & Industrial Engineering / OR

15.1 Limits, Fits, Tolerances, Gauges & Surface Metrology 15.2 Production Planning, Forecasting & Inventory Control Models 15.3 Operations Research: Linear Programming & Transportation/Assignment 15.4 Project Management: CPM, PERT, Network Analysis & Crashing 15.5 Comparators & Interferometry 15.6 Coordinate Measuring Machines & Machine Tool Alignment Testing 15.7 Computer Integrated Manufacturing: CAD/CAM & Integration Tools 15.8 NC/CNC Machines & CNC Part Programming 15.9 Material Requirements Planning, Scheduling & Sequencing 15.10 Queuing Theory & Simple Queuing Models 15.11 Network Flow Models: Shortest Route, Maximal Flow & Spanning Tree

6.6 Partial Derivatives, Total Derivative & Multivariable Optimisation

Key Takeaways Explain This Topic AI

A partial derivative differentiates with respect to one variable while holding all others constant, whereas the total derivative accumulates the effect of every variable changing together.

For a continuous function with continuous second partials, the mixed partial derivatives are equal, which is the mathematical basis of the Maxwell relations in thermodynamics.

A function is homogeneous of degree n when scaling every variable by t scales the function by t^n, and Euler's theorem then relates the weighted partial derivatives to n times the function.

At a stationary point of a two-variable function, the discriminant rt - s^2 decides the nature: positive with r negative gives a maximum, positive with r positive gives a minimum, and negative gives a saddle point.

Last updated: August 2026

Partial Derivatives

When a quantity depends on several variables — the pressure of a gas on both temperature and volume, the cost of a machining operation on both cutting speed and feed — the rate of change with respect to one variable, holding the others fixed, is a partial derivative .

For z = f ( x , y ) z = f(x,y) z = f ( x , y ) : ∂ z ∂ x = lim ⁡ h → 0 f ( x + h , y ) − f ( x , y ) h \frac{\partial z}{\partial x} = \lim_{h\to0}\frac{f(x+h, y) - f(x,y)}{h} ∂ x ∂ z ​ = h → 0 lim ​ h f ( x + h , y ) − f ( x , y ) ​

In practice you differentiate normally, treating every other variable as a constant.

Example. For z = x 3 y 2 + 4 x y z = x^3y^2 + 4xy z = x 3 y 2 + 4 x y : ∂ z ∂ x = 3 x 2 y 2 + 4 y , ∂ z ∂ y = 2 x 3 y + 4 x \frac{\partial z}{\partial x} = 3x^2y^2 + 4y, \qquad \frac{\partial z}{\partial y} = 2x^3y + 4x ∂ x ∂ z ​ = 3 x 2 y 2 + 4 y , ∂ y ∂ z ​ = 2 x 3 y + 4 x

Equality of mixed partials

If f f f and its second partial derivatives are continuous, then ∂ 2 z ∂ x ∂ y = ∂ 2 z ∂ y ∂ x \frac{\partial^2 z}{\partial x \partial y} = \frac{\partial^2 z}{\partial y \partial x} ∂ x ∂ y ∂ 2 z ​ = ∂ y ∂ x ∂ 2 z ​

This symmetry (Clairaut's or Schwarz's theorem) is not merely a curiosity: it is exactly the property exploited to derive the Maxwell relations in the Thermodynamics part of Paper-II, where the equality of mixed second derivatives of a property function generates relations among P P P , v v v , T T T and s s s .

The Total Derivative

A partial derivative isolates one variable; the total derivative accounts for all of them changing simultaneously. If z = f ( x , y ) z = f(x,y) z = f ( x , y ) and both x x x and y y y depend on a parameter t t t , the chain rule gives d z d t = ∂ z ∂ x d x d t + ∂ z ∂ y d y d t \frac{dz}{dt} = \frac{\partial z}{\partial x}\frac{dx}{dt} + \frac{\partial z}{\partial y}\frac{dy}{dt} d t d z ​ = ∂ x ∂ z ​ d t d x ​ + ∂ y ∂ z ​ d t d y ​

and the total differential is d z = ∂ z ∂ x d x + ∂ z ∂ y d y dz = \frac{\partial z}{\partial x}dx + \frac{\partial z}{\partial y}dy d z = ∂ x ∂ z ​ d x + ∂ y ∂ z ​ d y

Small-error estimation

The total differential is the standard tool for propagating measurement error, which links directly to the Metrology topic in Section 4. If the volume of a cylinder is V = π r 2 h V = \pi r^2 h V = π r 2 h , then d V V = 2 d r r + d h h \frac{dV}{V} = 2\frac{dr}{r} + \frac{dh}{h} V d V ​ = 2 r d r ​ + h d h ​

A 1% error in radius therefore contributes 2% to the volume error, while a 1% error in height contributes only 1%. This is why bore diameter is gauged more tightly than length on a hydraulic cylinder.

Euler's Theorem on Homogeneous Functions

A function is homogeneous of degree n n n if f ( t x , t y ) = t n f ( x , y ) f(tx, ty) = t^{n}f(x,y) f ( t x , t y ) = t n f ( x , y ) for all t t t . Euler's theorem then states x ∂ f ∂ x + y ∂ f ∂ y = n f x\frac{\partial f}{\partial x} + y\frac{\partial f}{\partial y} = n f x ∂ x ∂ f ​ + y ∂ y ∂ f ​ = n f

To find the degree quickly, check the total power of each term: f = x 3 + x 2 y + y 3 f = x^3 + x^2y + y^3 f = x 3 + x 2 y + y 3 is homogeneous of degree 3, so x f x + y f y = 3 f x f_x + y f_y = 3f x f x ​ + y f y ​ = 3 f without any differentiation at all.

Maxima and Minima of Two Variables

To optimise f ( x , y ) f(x,y) f ( x , y ) , first find stationary points by solving both first-order conditions simultaneously: ∂ f ∂ x = 0 and ∂ f ∂ y = 0 \frac{\partial f}{\partial x} = 0 \quad \text{and} \quad \frac{\partial f}{\partial y} = 0 ∂ x ∂ f ​ = 0 and ∂ y ∂ f ​ = 0

Then classify using the second partial derivatives, conventionally written r = ∂ 2 f ∂ x 2 , s = ∂ 2 f ∂ x ∂ y , t = ∂ 2 f ∂ y 2 r = \frac{\partial^2 f}{\partial x^2}, \qquad s = \frac{\partial^2 f}{\partial x \partial y}, \qquad t = \frac{\partial^2 f}{\partial y^2} r = ∂ x 2 ∂ 2 f ​ , s = ∂ x ∂ y ∂ 2 f ​ , t = ∂ y 2 ∂ 2 f ​

The discriminant is D = r t − s 2 D = rt - s^2 D = r t − s 2 :

  • Condition Nature of stationary point
  • D > 0 D > 0 D > 0 and r < 0 r < 0 r < 0 Local maximum
  • D > 0 D > 0 D > 0 and r > 0 r > 0 r > 0 Local minimum
  • D < 0 D < 0 D < 0 Saddle point
  • D = 0 D = 0 D = 0 Test fails; further investigation needed

A saddle point is a genuine physical possibility, not a mathematical oddity: it is a configuration that is a minimum along one direction and a maximum along a perpendicular one, exactly the behaviour of an unstable equilibrium in a linkage.

Worked example. Classify the stationary point of f ( x , y ) = x 2 + y 2 − 4 x − 6 y + 20 f(x,y) = x^2 + y^2 - 4x - 6y + 20 f ( x , y ) = x 2 + y 2 − 4 x − 6 y + 20 .

Setting f x = 2 x − 4 = 0 f_x = 2x - 4 = 0 f x ​ = 2 x − 4 = 0 and f y = 2 y − 6 = 0 f_y = 2y - 6 = 0 f y ​ = 2 y − 6 = 0 gives the single stationary point ( 2 , 3 ) (2, 3) ( 2 , 3 ) . Here r = 2 r = 2 r = 2 , t = 2 t = 2 t = 2 , s = 0 s = 0 s = 0 , so D = 4 > 0 D = 4 > 0 D = 4 > 0 with r > 0 r > 0 r > 0 : a local minimum , of value f ( 2 , 3 ) = 4 + 9 − 8 − 18 + 20 = 7 f(2,3) = 4 + 9 - 8 - 18 + 20 = 7 f ( 2 , 3 ) = 4 + 9 − 8 − 18 + 20 = 7 .

Lagrange Multipliers

To optimise f ( x , y , z ) f(x,y,z) f ( x , y , z ) subject to a constraint g ( x , y , z ) = 0 g(x,y,z) = 0 g ( x , y , z ) = 0 , form F = f + λ g F = f + \lambda g F = f + λ g

and solve ∂ F / ∂ x = ∂ F / ∂ y = ∂ F / ∂ z = 0 \partial F/\partial x = \partial F/\partial y = \partial F/\partial z = 0 ∂ F / ∂ x = ∂ F / ∂ y = ∂ F / ∂ z = 0 together with the constraint itself. This is the standard method when a design is limited by a fixed volume, a fixed surface area, or a fixed material budget — for example, proportioning a pressure vessel of given capacity to minimise plate area.

Taylor Series in Two Variables

The expansion about ( a , b ) (a,b) ( a , b ) up to second order is f ( x , y ) ≈ f ( a , b ) + ( x − a ) f x + ( y − b ) f y + 1 2 [ ( x − a ) 2 f x x + 2 ( x − a ) ( y − b ) f x y + ( y − b ) 2 f y y ] f(x,y) \approx f(a,b) + (x-a)f_x + (y-b)f_y + \tfrac{1}{2}\left[(x-a)^2 f_{xx} + 2(x-a)(y-b)f_{xy} + (y-b)^2 f_{yy}\right] f ( x , y ) ≈ f ( a , b ) + ( x − a ) f x ​ + ( y − b ) f y ​ + 2 1 ​ [ ( x − a ) 2 f xx ​ + 2 ( x − a ) ( y − b ) f x y ​ + ( y − b ) 2 f yy ​ ]

with all partials evaluated at ( a , b ) (a,b) ( a , b ) . Retaining only the linear terms gives the tangent-plane approximation, and it is the second-order block in square brackets whose sign is precisely what the discriminant test examines.