Calculus – II: Functions of Several Variables and Vector Algebra
For Undergraduate Students
Calculus–II extends the concepts of single-variable calculus into functions of more than one variable. It is an essential mathematical tool for Physics, Chemistry, Engineering, Computer Science, and Economics. This chapter introduces partial derivatives, optimization, and vector algebra, which are widely used in real-world problem solving.
🔹 1️⃣ Calculus of Functions of More Than One Variable
A function of several variables is written as:z=f(x,y)orw=f(x,y,z)
These functions represent relationships where output depends on two or more inputs — for example:
- Temperature in a room depends on position: T(x,y,z)
- Profit depends on cost and selling price: P(c,s)
🔹 2️⃣ Partial Derivatives
Partial derivatives measure how a function changes with respect to one variable while keeping the others constant.
Example:f(x,y)=x2y+3y ∂x∂f=2xy,∂y∂f=x2+3
Useful in:
- Multivariable optimization
- Physics (heat flow, waves)
- Economics (marginal cost, marginal profit)
🔹 3️⃣ Exact and Inexact Differentials
A differential expression of the form:M(x,y)dx+N(x,y)dy=0
is called exact if there exists a function ϕ(x,y) such that:∂x∂ϕ=Mand∂y∂ϕ=N
Condition for exactness:∂y∂M=∂x∂N
If this condition does not hold → the differential is called inexact.
🔹 4️⃣ Integrating Factor (IF)
Sometimes an inexact differential can be made exact by multiplying by a suitable function μ(x,y), called Integrating Factor:μ(x,y)[M(x,y)dx+N(x,y)dy]=0
Simple Illustration
(2xy+y2)dx+(x2+2xy)dy=0
Here, after checking partial derivatives, we try a suitable integrating factor depending on x or y.
Once exact, we integrate to find the potential function ϕ(x,y).
🔹 5️⃣ Constrained Maximization using Lagrange Multipliers
Used to find maxima and minima of functions subject to a constraint.
Let:f(x,y)(objective function),g(x,y)=0(constraint)
We define:L(x,y,λ)=f(x,y)−λg(x,y)
Solve:∂x∂L=0,∂y∂L=0,∂λ∂L=0
Applications:
- Maximum profit subject to budget limitations
- Designing objects to minimize cost
- Optimization in Physics & Machine Learning
✨ Vector Algebra — Recap
Vectors denote quantities having magnitude and direction like force, velocity, position, etc.
🔹 Properties of Vectors under Rotations
When a vector is rotated, its length (magnitude) does not change.
Vector equations remain valid under rotation — an important property in physics.
🔹 Scalar Product (Dot Product)
A⋅B=∣A∣∣B∣cosθ
Represents:
- Work done by a force
- Projection of one vector on another
It remains invariant under rotations.
🔹 Vector Product (Cross Product)
A×B=∣A∣∣B∣sinθn^
It gives a vector perpendicular to both A and B.
Used in torque, rotational motion, magnetic forces, etc.
🔹 Scalar Triple Product
A⋅(B×C)
Interpretation:
- Represents volume of the parallelepiped formed by the vectors
If the result = 0 ⇒ vectors are coplanar.
🔹 Vector Triple Product
A×(B×C)=B(A⋅C)−C(A⋅B)
Useful in mechanics and electromagnetism.
🔹 Scalar and Vector Fields
| Field Type | Example | Description |
|---|---|---|
| Scalar Field | Temperature T(x,y,z), Density ρ(x,y) | Single value at each point |
| Vector Field | Electric field E(x,y,z), Velocity field V(x,y,z) | Vector at each point |
They help describe flow, forces, and energy distributions in space.
📌 Conclusion
Calculus-II builds the foundation for advanced subjects like:
- Fluid dynamics
- Thermodynamics
- Optimization and Machine Learning
- Electromagnetism
- Economics and Data Science
By mastering partial derivatives, constrained optimization, and vector algebra, students gain strong analytical skills for real-world mathematical modeling.
Post Comment