AAS103A · Differential Calculus and Linear Algebra · Unit 2
Differential Calculus
Unit Scope & Exam Weightage: Differential calculus for two variables supplies the derivatives used in slope-deflection equations, seepage head gradients, and optimisation of beam/design parameters. About 22 PYQ clusters from 2023-24 to 2025-26 (roughly 110 marks) test Euler's theorem, Taylor expansion, Jacobians, constrained maxima/minima and small-error approximation. Almost every 7-mark question is a "show that" identity, so the derivation must be written, not just the result.
Front Page: Importance-Wise Topic Roadmap (2023–26 PYQs)
Priority
Topic (Exact Syllabus)
PYQs Asked
Marks Weightage
Tag
1
Euler’s Theorem for homogeneous functions
3 (2025-26, 2023-24 ×2)
7m × 3 = 21m
Survival Mode
2
Taylor’s and Maclaurin’s expansion for function of two variables
4 (2025-26 ×2, 2023-24 ×2)
7m × 3 + 2m × 1 = 23m
Survival ModeNumerical
3
Jacobians
3 (2024-25, 2025-26 ×2)
7m × 1 + 2m × 2 = 11m
Numerical
4
properties of Jacobian (without proof)
2 (2023-24 ×2)
7m × 2 = 14m
Derivation
5
Applications: Structural Engineering
3 (2025-26 ×3)
7m × 3 = 21m
CE Context
6
Optimization of Designs
2 (2025-26, 2023-24)
7m × 2 = 14m
Lagrange
7
Partial derivatives
2 (2025-26, 2024-25)
2m × 2 = 4m
Quick Marks
8
Maxima & Minima for a function of up to two variables
1 (2024-25)
7m × 1 = 7m
Numerical
9
Composite functions
1 (2023-24)
7m × 1 = 7m
Chain Rule
10
Total derivative
1 (2024-25)
2m × 1 = 2m
Core Concept
11
Introduction of Limits
0 direct
—
Foundation
12
continuity and differentiability for function of two variables
integrated in #1–#4
—
Foundation
13
Hydraulics and Fluid Mechanics
integrated in #5
—
CE Context
2-Hour Last-Night Survival Checklist:
Euler (#1): If every term has the same total degree n, then xfx+yfy=nf and x2fxx+2xyfxy+y2fyy=n(n−1)f. For a mixed expression, split it term-by-term; logx−logy has degree 0 and contributes zero.
Taylor (#2): Write f(1+h,−2+k) with h=x−1,k=y+2 and use f+fxh+fyk+21(fxxh2+2fxyhk+fyyk2)+⋯. For f(x,y) explicitly given, e1+hcos(π/4+k) is fastest.
Jacobians (#3–#4):∂(r,θ)∂(x,y)=r so the inverse is 1/r; ∂(x,y)∂(u,v)∂(u,v)∂(x,y)=1; functional dependence means J=0.
Optimisation (#6): Lagrange: ∇f=λ∇g. For P=400xyz2 on x2+y2+z2=1 the answer is x=y=21,z=1/2,P=50.
2-mark traps: degree of (x+y)5 is 5/2; error in R=E/I is 30%+20%=50%; dx4d4(x3lnx)=6/x.
1. Limits, Continuity and Differentiability for Two Variables
Limit:lim(x,y)→(a,b)f(x,y)=L if f approaches L along every path approaching (a,b). If two paths give different limits, the limit does not exist.
A function is continuous at (a,b) when the limit exists and equals f(a,b). It is differentiable there when
f(a+h,b+k)−f(a,b)=fx(a,b)h+fy(a,b)k+ε1h+ε2k,ε1,ε2→0 as (h,k)→(0,0).
Differentiability implies continuity, but continuity does not imply differentiability. In beam design, a point load makes the bending-moment function continuous but not differentiable at the load point.
2. Partial Derivatives, Composite Functions and Total Derivative
Partial derivative:fx=limh→0hf(x+h,y)−f(x,y), obtained by treating y as constant. Geometrically, fx and fy give the slopes in the x- and y-coordinate directions of a surface such as a deflected slab.
If z=f(x,y) with x=x(t),y=y(t), the total derivative is
dtdz=∂x∂zdtdx+∂y∂zdtdy.
The partial derivative changes one input at a time; the total derivative includes all indirect dependences through t. For a seepage head h(x,y) with a moving measuring point x(t),y(t), the total derivative is the rate actually recorded by the instrument.
Examiner Tip: For the 2-mark "difference between total and partial" question, write one formula for each and add the physical example above. Merely saying "partial keeps others constant" usually earns only one mark.
3. Euler’s Theorem for Homogeneous Functions
Homogeneous function:f(x,y) is homogeneous of degree n if f(tx,ty)=tnf(x,y) for every t>0.
Euler's theorem:
x∂x∂f+y∂y∂f=nfx2fxx+2xyfxy+y2fyy=n(n−1)f
Differentiate the first identity with respect to x and y and add to obtain the second.
Mixed-expression example:z=x4y2sin−1(x/y)+logx−logy. The first term has degree 4+2=6; logx−logy has degree 0 because log(tx)−log(ty)=logx−logy. Hence
xzx+yzy=6x4y2sin−1(x/y)+0.
Verify the degree-zero part directly: x(1/x)+y(−1/y)=1−1=0.
Second-order example:u=y2ex/y+x2tan−1(y/x) is a sum of two degree-2 terms, so xux+yuy=2u and x2uxx+2xyuxy+y2uyy=2⋅1⋅u=2u.
Higher derivative recurrence: For y=cos(msin−1x), differentiate (1−x2)y′′−xy′+m2y=0n times using Leibniz:
(1−x2)yn+2−(2n+1)xyn+1+(m2−n2)yn=0.
At x=0: yn+2(0)=(n2−m2)yn(0), y(0)=1, y′(0)=0, so odd derivatives vanish and
y2k(0)=(−1)km2(m2−22)(m2−42)⋯(m2−(2k−2)2).
Examiner Tip: In "show that" Euler questions, first state the degree of each term, then apply Euler. Examiners award a step mark for correctly identifying that logarithmic terms have degree zero and that sin−1(x/y) depends only on the ratio x/y.
4. Taylor and Maclaurin Expansions in Two Variables
Single-variable check: If y=x3lnx, then y′=3x2lnx+x2, y′′=6xlnx+5x, y′′′=6lnx+11, and y(4)=6/x.
Examiner Tip: A frequent CE application is the approximation of a deflected shape near a known point. Keep h,k small, discard terms of degree higher than requested, and substitute numerical increments only after the symbolic expansion is complete.
5. Jacobians and Their Properties
Jacobian: For u=u(x,y), v=v(x,y),
J=∂(x,y)∂(u,v)=uxvxuyvy.
It is the local area-scaling factor: dudv=∣J∣dxdy — the same factor used when mapping a square element to a distorted quadrilateral in FEA.
5.1 Important Properties (Without Proof)
∂(x,y)∂(u,v)⋅∂(u,v)∂(x,y)=1.
∂(x,y)∂(u,v)=−∂(x,y)∂(v,u) (interchanging a pair changes the sign).
If u,v are functionally dependent, J≡0 — this is the standard test for dependence.
∂(x,y)∂(u,v)=1/∂(u,v)∂(x,y) for invertible transformations.
Transforming ∬dxdy to polar, elliptical or isoparametric coordinates (dxdy=∣J∣dudv).
Changing volume elements in triple integrals and in fluid-control-volume calculations.
Testing whether u,v are functionally related (J=0).
Computing implicit partial derivatives when variables are defined by equations.
Relating local and global element coordinates in finite element analysis; a vanishing Jacobian means a distorted/inverted element.
In hydraulics, transforming a velocity field between Cartesian and curvilinear coordinates.
Examiner Tip: For the 2-mark applications question, name four applications with the relation dudv=∣J∣dxdy written once. That is more scoring than a paragraph of prose.
6. Maxima, Minima and Optimisation of Designs
6.1 Unconstrained Function of Two Variables
Solve fx=fy=0 for stationary points. With A=fxx,B=fxy,C=fyy at the point:
AC−B2>0,A<0: local maximum;
AC−B2>0,A>0: local minimum;
AC−B2<0: saddle point;
AC−B2=0: test inconclusive.
For f=sinx+siny+sin(x+y): fx=cosx+cos(x+y)=0, fy=cosy+cos(x+y)=0⇒cosx=cosy. With x=y, 2cos2x+cosx−1=0⇒cosx=21 or −1. At (π/3,π/3), f=33/2 (maximum); at (−π/3,−π/3), f=−33/2 (minimum); (π,π) is a saddle.
Minimum distance to cone: minimise D2=(x−1)2+(y−2)2+z2 with g=x2+y2−z2=0. The Lagrange equations give λ=−1 (the non-trivial branch), x=21, y=1, z2=45. Thus D2=25 and D=10/2≈1.581.
Highest pressure on a sphere:P=400xyz2, g=x2+y2+z2−1=0. Multiplying ∇P=λ∇g by x,y,z respectively gives x2=y2 and z2=2x2; with the constraint, x=y=21, z=1/2, Pmax=50.
%%{init: {'theme': 'base', 'look': 'handDrawn', 'themeVariables': {'fontFamily': "'Nunito', sans-serif", 'fontSize': '17px', 'primaryColor': '#EFEAD6', 'primaryBorderColor': '#0F766E', 'lineColor': '#23211C'}}}%%
flowchart LR
A["Design variable f(x,y,z)"] --> B{"Constraint g = 0?"}
B -->|No| C["Solve fx = fy = fz = 0<br/>use AC − B² test"]
B -->|Yes| D["Solve ∇f = λ∇g and g = 0"]
D --> E["Evaluate f at each candidate"]
C --> E
E --> F["Maximum / minimum for design"]
Examiner Tip: In a constrained CE optimisation, always check the boundary separately (e.g. z=0 on the cone gives distance 5). The global minimum is the smaller of the interior stationary value and the boundary value; skipping this check loses a mark.
7. Small Errors and Curve Tracing (CE Applications)
7.1 Error Propagation
For R=E/I, logarithmic differentiation gives
RdR=EdE−IdI⇒RΔRmax=EΔE+IΔI.
With 30% and 20% errors, the maximum error in R is 50%. This is the same differential principle used for tolerance estimates in structural measurements.
7.2 Approximate Value by Differentials
For f=x2+y2+z2 at (1,2,2) with (Δx,Δy,Δz)=(−0.02,0.01,−0.06):
For x→∞ no branch exists, so the curve is confined between the asymptote and x=3a.
For the fluid-mechanics curve y2(a2−x2)=x2(a2+x2), symmetry about both axes follows immediately from even powers of x and y; real points satisfy ∣x∣≤a.
8. Solved Exam-Ready Questions
Solved Q1 (2025-26, 7 Marks)
Q:Expand x2y+3y−2 in powers of (x−1) and (y+2) up to 3rd degree using Taylor's series.
Solution: Put h=x−1,k=y+2, so x=1+h, y=−2+k:
(1+h)2(−2+k)+3(−2+k)−2=−10−4h+4k−2h2+2hk+h2k.
Hence x2y+3y−2=−10−4(x−1)+4(y+2)−2(x−1)2+2(x−1)(y+2)+(x−1)2(y+2); terms of degree above 3 are absent.
Solved Q2 (2023-24, 7 Marks)
Q:Expand f(x,y)=excosy about the point (1,π/4) by Taylor's series.
Solution: With h=x−1, k=y−π/4, ex=eeh and cos(π/4+k)=21(cosk−sink). Multiplying the series:
Q:If z=x4y2sin−1(yx)+logx−logy, show that x∂x∂z+y∂y∂z=6x4y2sin−1(yx).
Solution: The first term is homogeneous of degree 4+2=6; sin−1(x/y) is degree 0 because the ratio is unchanged by scaling. By Euler, its contribution is 6x4y2sin−1(x/y). For the second term,
Q:If u=y2ex/y+x2tan−1(xy), show that (i) x∂x∂u+y∂y∂u=2u (ii) x2∂x2∂2u+2xy∂x∂y∂2u+y2∂y2∂2u=2u.
Solution: Each term is homogeneous of degree 2 (y2ex/y: 2, x2tan−1(y/x): 2). By Euler's first theorem, xux+yuy=2u. Differentiating this identity w.r.t. x and y and adding:
which reduces to x2uxx+2xyuxy+y2uyy=2(2u)−2(xux+yuy)=4u−2u=2u.
Solved Q5 (2023-24, 7 Marks)
Q:If y=cos(msin−1x) then prove that (1−x2)yn+2−(2n+1)xyn+1+(m2−n2)yn=0. Also find (yn)0.
Solution: Put θ=sin−1x. Then y′=−msin(mθ)/1−x2 and the base equation is
(1−x2)y′′−xy′+m2y=0.
Differentiate n times; Leibniz gives (1−x2)yn+2−2nxyn+1−n(n−1)yn−xyn+1−nyn+m2yn=0, i.e. the stated recurrence because −n(n−1)−n+m2=m2−n2.
At x=0: yn+2(0)=(n2−m2)yn(0) with y(0)=1, y′(0)=0; hence odd derivatives vanish and y2k(0)=(−1)km2(m2−4)⋯(m2−(2k−2)2).
Solved Q6 (2024-25, 7 Marks)
Q:If u=xyz, v=x2+y2+z2 and w=x+y+z. Find the Jacobian ∂(u,v,w)∂(x,y,z).
Q:Find the maxima and minima of the function sinx+siny+sin(x+y).
Solution:fx=cosx+cos(x+y)=0, fy=cosy+cos(x+y)=0 imply cosx=cosy. Taking x=y gives 2cos2x+cosx−1=0, so cosx=1/2 or −1.
At (π/3,π/3): f=3/2+3/2+3/2=33/2, with A=C=−3, B=−3/2, AC−B2=9/4−3/4>0 and A<0 ⇒ maximum.
At (−π/3,−π/3): f=−33/2 ⇒ minimum. (x,y)=(π,π) gives f=0 and AC−B2=0; it is not an extremum.
Solved Q11 (2025-26, 7 Marks)
Q:Find the minimum distance from the point (1,2,0) to the cone z2=x2+y2.
Solution: Minimise D2=(x−1)2+(y−2)2+z2 subject to g=x2+y2−z2=0. Lagrange:
2(x−1)=2λx,2(y−2)=2λy,2z=−2λz.
If z=0 then λ=−1, giving x=1/2, y=1, z2=5/4; D2=1/4+1+5/4=5/2. The branch z=0 gives x=y=0, D2=5. Hence minimum distance =5/2=10/2.
Solved Q12 (2023-24, 7 Marks)
Q:The pressure P at any point (x,y,z) in space is P=400xyz2. Find the highest pressure at the surface of a unit sphere x2+y2+z2=1 using Lagrange’s method.
Solution:∇P=(400yz2,400xz2,800xyz)=2λ(x,y,z), i.e.
400yz2=2λx,400xz2=2λy,800xyz=2λz.
Multiply these by x,y,z respectively:
400xyz2=2λx2,400xyz2=2λy2,800xyz2=2λz2.
Hence x2=y2, and comparing the first and third equations gives 2λz2=4λx2, so z2=2x2. With x2+y2+z2=1: 4x2=1⇒x=y=1/2, z=1/2. Therefore Pmax=400⋅21⋅21⋅21=50.
Solved Q13 (2025-26, 7 Marks)
Q:Find approximate value of [(0.98)2+(2.01)2+(1.94)2]1/2.
Solution: Let f=x2+y2+z2 and expand about (1,2,2) with Δx=−0.02,Δy=0.01,Δz=−0.06:
df=x2+y2+z2xΔx+yΔy+zΔz=3−0.02+0.02−0.12=−0.04,
so f≈3−0.04=2.96.
Solved Q14 (2023-24, 2 Marks)
Q:Calculate the error in R if E=RI and possible errors in E and I are 30% and 20% respectively.
Solution:R=E/I⇒lnR=lnE−lnI⇒RΔR=EΔE−IΔI. Worst case adds the magnitudes: 30%+20%=50%.
Solved Q15 (2025-26, 7 Marks | from the year's matrix-algebra section)
Q:Find the nth derivative of (2x−1)(2x+3)2x+1.
Solution: Partial fractions: (2x−1)(2x+3)2x+1=21[(2x−1)−1+(2x+3)−1]. Since dxndn(ax+b)−1=(−1)nn!an(ax+b)−n−1,
y(n)=(−1)nn!2n−1[(2x−1)−n−1+(2x+3)−n−1].
Solved Q16 (2024-25, 2 Marks)
Q:If u=exy, find the value of x∂x∂y∂2u−y∂y2∂2u.
Solution: Put t=xy, L=lnx. Then ux=yxy−1u and
νxy=xy−1u[1+yL+ytL],uyy=utL2(t+1).
Therefore
xuxy−yuyy=ut[1+yL+ytL−y(t+1)L2],
i.e. exyxy[1+ylnx+yxylnx−y(xy+1)(lnx)2].
Solved Q17 (2025-26, 2 Marks)
Q:If u(x,y)=(x+y)5, then find the degree of the function u(x,y).
Solution:u(tx,ty)=(tx+ty)5=t5/2u(x,y), so the degree is 5/2.
Solved Q18 (2024-25, 2 Marks)
Q:What is the difference between total derivatives and partial derivatives?
Solution:∂f/∂x varies x while all other variables are held fixed; df/dt=fxx′(t)+fyy′(t) includes every route by which t influences f. The partial derivative is a directional slope on the surface; the total derivative is the rate along a specified path on that surface (e.g. a moving measuring point in a seepage field).
Solution: Symmetry about the x-axis; node at the origin with tangents y=±3x; vertical asymptote x=−a; real branch only for −a<x≤3a; meets the x-axis at x=3a. The curve has two symmetric lobes joined at the origin, one above and one below the axis.
9. Practice Questions (Self-Test)
(2 Marks) State Euler's theorem for a degree-n homogeneous function and give one example from beam theory.
(2 Marks) Find ∂(r,θ,ϕ)∂(x,y,z) for spherical coordinates (r,θ,ϕ). (Ans: r2sinθ.)
(7 Marks) Expand tan−1(y/x)ex+y about (1,1) up to second-degree terms.
(7 Marks) If u=f(x,y) where x=u+v and y=u−v (rename arguments as s,t), show fs+ft=2fx.
(7 Marks — CE) The deflection of a plate is w=3x2y−xy3. Find the slope in the direction (1,2) at (1,1). (Ans: unit vector (1,2)/5; ∇w=(6xy−y3,3x2−3xy2)=(3,0); directional derivative 3/5.)
(7 Marks) Find the greatest value of xyz subject to x+y+z=9 using Lagrange multipliers. (Ans: 27 at (3,3,3).)
(7 Marks) Verify that J=0 when u=x+y+z and v=(x+y+z)2, and state the functional relationship v=u2.