Home / Courses / GATE Physics / Practice / Partial derivatives and Jacobians

Partial derivatives and Jacobians

Mathematical methods · 24 questions and templates for GATE Physics, in order from warm-up to top rank. Check each answer, then read the full solution.

Loading questions… (they need JavaScript; nothing you type is sent anywhere)

Written questions with solutions

The same questions as a list, so you can print them or read without the practice box. Templates (fresh numbers) appear only in the practice box above.

  1. MCQStandard

    Three variables are linked by one equation F(x,y,z)=0. The product (∂x∂y)z(∂y∂z)x(∂z∂x)y equals
    1. 1
    2. 0
    3. it depends on F
    4. −1
    Answer and solution

    Answer: D

    Each factor is minus a ratio of partial derivatives of F: (∂x/∂y)z=−Fy/Fx, (∂y/∂z)x=−Fz/Fy, (∂z/∂x)y=−Fx/Fz. The product is (−1)3=−1 for every F. Check with PV=nRT: (∂P/∂V)T(∂V/∂T)P(∂T/∂P)V=(−P/V)(nR/P)(V/nR)=−1.

    Why people get this wrong: Cancelling the "differentials" like fractions gives +1. Partial derivatives held at different constants do not cancel like that.

  2. MCQExam level

    From dU=TdS−PdV, the equality of mixed partial derivatives gives
    1. (∂T∂V)S=(∂P∂S)V
    2. (∂T∂V)S=−(∂P∂S)V
    3. (∂T∂V)S=(∂S∂P)V
    4. (∂T∂V)S=−(∂V∂T)S
    Answer and solution

    Answer: B

    U(S,V) has (∂U/∂S)V=T and (∂U/∂V)S=−P. Since ∂2U/∂V∂S=∂2U/∂S∂V: (∂T/∂V)S=(∂(−P)/∂S)V=−(∂P/∂S)V.

    Why people get this wrong: Losing the minus sign that comes with −PdV.

  3. MCQExam level

    With new variables u=x+y and v=x−y, the operator ∂2f∂x2−∂2f∂y2 becomes
    1. 2∂2f∂u∂v
    2. ∂2f∂u2−∂2f∂v2
    3. 0
    4. 4∂2f∂u∂v
    Answer and solution

    Answer: D

    Chain rule: ∂x=∂u+∂v and ∂y=∂u−∂v. So fxx=fuu+2fuv+fvv and fyy=fuu−2fuv+fvv. The difference is 4fuv. This is how the wave equation is solved by d'Alembert: fuv=0 means f=F(u)+G(v).

    Why people get this wrong: Forgetting the cross term 2fuv in each square, or getting a factor 2.

  4. MCQExam level

    Using (∂U/∂V)T=T(∂P/∂T)V−P, find (∂U/∂V)T for one mole of a van der Waals gas, (P+a/V2)(V−b)=RT.
    1. 0
    2. −a/V2
    3. RT/(V−b)
    4. a/V2
    Answer and solution

    Answer: D

    P=RTV−b−aV2, so (∂P/∂T)V=RV−b. Then TRV−b−P=RTV−b−RTV−b+aV2=aV2. Positive: pulling the molecules apart against their attraction raises the internal energy.

    Why people get this wrong: 0 is the ideal-gas answer; the b term drops out but the a term does not.

  5. MSQExam level

    Which statements are true?
    1. ∂2f/∂x∂y=∂2f/∂y∂x whenever both mixed partials are continuous.
    2. ∂2f/∂x∂y=∂2f/∂y∂x for every function whose first partials exist.
    3. Equality of mixed partials is why ∇×(∇ϕ)=0.
    4. In a simply connected region, Mdx+Ndy is exact exactly when ∂M/∂y=∂N/∂x.
    Answer and solution

    Answer: A, C, D

    Clairaut's (Schwarz's) theorem needs continuity of the second partials; without it there are counterexamples, so the second statement is false. Each component of ∇×∇ϕ is a difference of two mixed partials, which cancel. The exactness test works in a region with no holes.

    Why people get this wrong: In a region with a hole (like the plane without the origin) the field (−ydx+xdy)/(x2+y2) passes the test but is not exact.

  6. MCQExam level

    For u=rn with r=x2+y2+z2 (r≠0), ∂2u∂x2+∂2u∂y2+∂2u∂z2 equals
    1. n(n+1)rn−2
    2. n(n−1)rn−2
    3. n2rn−2
    4. 3nrn−2
    Answer and solution

    Answer: A

    ∂r/∂x=x/r, so ux=nrn−1xr=nxrn−2. Then uxx=nrn−2+nx(n−2)rn−3xr=nrn−2+n(n−2)x2rn−4. Adding the y and z versions: 3nrn−2+n(n−2)(x2+y2+z2)rn−4=nrn−2(3+n−2)=n(n+1)rn−2. Check: n=−1 gives 0, the familiar fact that 1/r is harmonic.

    Why people get this wrong: n(n−1)rn−2 is just d2u/dr2; the Laplacian also has the 2rdudr term.

  7. MCQExam level

    For a function of r=x2+y2 only, u=f(r), the two-dimensional Laplacian ∂2u∂x2+∂2u∂y2 equals
    1. f′′(r)
    2. f′′(r)+2rf′(r)
    3. f′′(r)−1rf′(r)
    4. f′′(r)+1rf′(r)
    Answer and solution

    Answer: D

    ux=f′xr, so uxx=f′′x2r2+f′(1r−x2r3). Add uyy (same with y): f′′x2+y2r2+f′(2r−x2+y2r3)=f′′+1rf′. Check: f=ln⁡r gives −1r2+1r2=0, the 2D harmonic function.

    Why people get this wrong: 2rf′ belongs to three dimensions; in d dimensions the coefficient is d−1r.

  8. MCQExam level

    The Helmholtz free energy F=U−TS has dF=−SdT−PdV. Equality of its mixed second partial derivatives gives
    1. (∂S∂P)T=−(∂V∂T)P
    2. (∂S∂V)T=(∂P∂T)V
    3. (∂S∂V)T=−(∂P∂T)V
    4. (∂T∂V)S=−(∂P∂S)V
    Answer and solution

    Answer: B

    From dF: (∂F∂T)V=−S and (∂F∂V)T=−P. Then ∂2F∂V∂T=−(∂S∂V)T=−(∂P∂T)V, so (∂S∂V)T=(∂P∂T)V. The other two true-looking relations come from G and from U.

    Why people get this wrong: Both minus signs cancel; keeping only one gives the wrong sign.

  9. NATHard

    The general relation CP−CV=TVβ2κT is applied to one mole of an ideal gas (take R=8.314 J/(mol K)). The result is ______ J/K.
    Answer and solution

    Answer: 8.314 J/K (±0.01)

    For an ideal gas β=1/T and κT=1/P. Then TV(1/T)21/P=PVT=R=8.314 J/K for one mole: Mayer's relation.

    Why people get this wrong: Using β=1/P (the compressibility) in place of 1/T.

  10. MCQHard

    The enthalpy H=U+PV is a Legendre transform of U(S,V). Its natural variables are
    1. (S,V)
    2. (T,V)
    3. (T,P)
    4. (S,P)
    Answer and solution

    Answer: D

    dH=dU+PdV+VdP=TdS−PdV+PdV+VdP=TdS+VdP. So H changes with dS and dP: its natural variables are S and P.

    Why people get this wrong: (T,P) belongs to the Gibbs energy G=H−TS, which swaps S for T as well.

  11. MCQHard

    For x,y>0 let u=xy and v=y/x. The Jacobian ∂(x,y)∂(u,v) is
    1. 2v
    2. 1/(2v)
    3. v/2
    4. 2u
    Answer and solution

    Answer: B

    It is easier to find the inverse: ∂(u,v)∂(x,y)=|yx−y/x21/x|=yx+yx=2yx=2v. The Jacobian of the inverse map is the reciprocal: 1/(2v).

    Why people get this wrong: Stopping at 2v, which is the Jacobian the other way round.

  12. MSQHard

    For one mole of an ideal gas, đQ=CVdT+RTVdV. Which statements are true?
    1. đQ is an exact differential.
    2. 1/T is an integrating factor of đQ.
    3. PdV+VdP is exact.
    4. ∮PdV=0 for every closed cycle.
    Answer and solution

    Answer: B, C

    Test: ∂CV/∂V=0 but ∂(RT/V)/∂T=R/V: not exact, so heat depends on the path. Dividing by T: (CV/T)dT+(R/V)dV passes the test; it is dS. PdV+VdP=d(PV) is exact. ∮PdV is the net work of a cycle, the area enclosed on a PV diagram: not zero in general (that is how engines work).

    Why people get this wrong: Mixing up ∮d(PV)=0 (exact) with ∮PdV (not exact).

  13. NATHard

    For f(x,y)=(x2+y2)3/2, the value of x2fxx+2xyfxy+y2fyy at (3,4) is ______.
    Answer and solution

    Answer: 750

    f is homogeneous of degree n=3. Applying Euler's operator twice gives x2fxx+2xyfxy+y2fyy=n(n−1)f. At (3,4): f=53=125, so the answer is 3×2×125=750.

    Why people get this wrong: Using n2f instead of n(n−1)f: the second application of x∂x+y∂y also acts on the first derivatives.

  14. MCQHard

    From dG=−SdT+VdP, the entropy change with pressure at constant temperature, (∂S/∂P)T, for n moles of an ideal gas is
    1. nR/P
    2. −nR/P
    3. −V/T2
    4. 0
    Answer and solution

    Answer: B

    Mixed partials of G(T,P): (∂S/∂P)T=−(∂V/∂T)P. For an ideal gas (∂V/∂T)P=nR/P, so (∂S/∂P)T=−nR/P. Squeezing a gas at constant temperature lowers its entropy.

    Why people get this wrong: Missing the minus sign that comes from −SdT.

  15. MSQHard

    Let f(x,y)=xyx2+y2 for (x,y)≠(0,0) and f(0,0)=0. Which statements are true?
    1. fx(0,0) and fy(0,0) both exist and equal 0
    2. f is continuous at the origin
    3. f is differentiable at the origin
    4. The limit of f along the line y=mx depends on m
    Answer and solution

    Answer: A, D

    On the x-axis f(x,0)=0, so fx(0,0)=0; likewise fy(0,0)=0. Along y=mx: f=mx2x2(1+m2)=m1+m2, which depends on m (0 on the axes, 12 on y=x). So the limit at the origin does not exist: f is not continuous there, and therefore not differentiable either.

    Why people get this wrong: Existence of both partial derivatives does not imply continuity in two variables; they only test two directions.

  16. MCQHard

    The internal energy U(S,V,N) of a simple system is extensive: U(λS,λV,λN)=λU(S,V,N). With T=∂U/∂S, P=−∂U/∂V and μ=∂U/∂N, Euler's theorem gives
    1. U=TS+PV−μN
    2. U=TS−PV
    3. U=TS−PV+μN
    4. U=2(TS−PV+μN)
    Answer and solution

    Answer: C

    For a function homogeneous of degree 1, S∂U∂S+V∂U∂V+N∂U∂N=1⋅U. Substituting the definitions: U=TS+V(−P)+Nμ=TS−PV+μN. (Differentiating it and comparing with dU=TdS−PdV+μdN then gives the Gibbs-Duhem relation.)

    Why people get this wrong: Sign of the PV term: P is minus the derivative, so V∂U/∂V=−PV. A factor 2 would need degree 2.

  17. MSQHard

    For f(x,y)=x4+y4 at the origin, which statements are true?
    1. The origin is a saddle point
    2. The origin is a stationary point
    3. The second-derivative (Hessian) test is inconclusive there
    4. The origin is a strict local minimum
    Answer and solution

    Answer: B, C, D

    fx=4x3 and fy=4y3 both vanish at the origin, so it is stationary. All second derivatives (12x2, 12y2, 0) vanish there, so D=0 and the test says nothing. But f>0 everywhere except the origin, where f=0, so it is a strict minimum, not a saddle.

    Why people get this wrong: D=0 means "test fails", not "saddle". Look at the function itself.

  18. MSQHard

    Let f(x,y)=x2yx2+y2 for (x,y)≠(0,0) and f(0,0)=0. Which statements are true?
    1. f is continuous at the origin
    2. fx(0,0)=fy(0,0)=0
    3. f is differentiable at the origin
    4. The directional derivative at the origin along (1,1)/2 is 122
    Answer and solution

    Answer: A, B, D

    |f|≤|y| because x2/(x2+y2)≤1, so f→0: continuous. On the axes f=0, so both partials are 0 at the origin. Along (t,t)/2: f=(t2/2)(t/2)t2=t22, so the directional derivative is 122. If f were differentiable this would equal ∇f⋅uˆ=0; it does not, so f is not differentiable at the origin, even though it is continuous and has both partials.

    Why people get this wrong: Existence of the partial derivatives (even with continuity) does not make a function differentiable.

  19. NATTop rank

    For a gas with V=RTP+b−aRT (one mole), the Joule-Thomson coefficient is μ=1CP[T(∂V∂T)P−V]. With a=0.14 Pa m6 mol−2, b=3.9×10−5 m3 mol−1 and R=8.314 J/(mol K), μ changes sign at ______ K (to the nearest kelvin).
    Answer and solution

    Answer: 864 K (±3)

    (∂V/∂T)P=RP+aRT2. Then T(∂V/∂T)P−V=RTP+aRT−RTP−b+aRT=2aRT−b. It vanishes at T=2aRb=0.288.314×3.9×10−5=864 K. Below it the gas cools on throttling; above it, it warms.

    Why people get this wrong: Missing the second a/(RT) (from −V) gives half the temperature.

  20. MCQTop rank

    With κT=−1V(∂V∂P)T and κS=−1V(∂V∂P)S, the ratio γ=CP/CV equals
    1. κS/κT
    2. 1+κT/κS
    3. κT/κS
    4. βT
    Answer and solution

    Answer: C

    In Jacobian notation CP/CV=∂(S,P)/∂(T,P)∂(S,V)/∂(T,V). Rearranging the Jacobians: =∂(S,P)∂(S,V)⋅∂(T,V)∂(T,P)=(∂P/∂V)S(∂P/∂V)T=κTκS. Since γ>1, a gas is harder to compress adiabatically than isothermally: for an ideal gas κT=1/P and κS=1/(γP).

    Why people get this wrong: Inverting the ratio. Check with the ideal gas: the adiabat PVγ is steeper, so κS is smaller.

  21. MSQTop rank

    For f(x,y)=(x2+y2)e−(x2+y2), which statements are true?
    1. The origin is a local minimum.
    2. Every point of the circle x2+y2=1 is a local maximum.
    3. The largest value of f is 1/e.
    4. At points of that circle, fxxfyy−fxy2>0.
    Answer and solution

    Answer: A, B, C

    Write f=g(ρ)=ρe−ρ with ρ=x2+y2≥0. g(0)=0 and g>0 elsewhere: the origin is a minimum. g′(ρ)=(1−ρ)e−ρ=0 at ρ=1, where g=1/e is the maximum, reached on the whole circle. Along the circle f is constant, so the curvature in that direction is zero and D=0: the Hessian test is inconclusive there, even though each point is a (non-strict) maximum.

    Why people get this wrong: Expecting D>0 at every maximum. D=0 means the test says nothing, not that there is no extremum.

  22. NATTop rank

    One mole of a gas obeys P(V−b)=RT with constant b. Using CP−CV=−T(∂P/∂T)V2(∂P/∂V)T, the value of CP−CV is ______ J/(mol K) (take R=8.314 J/(mol K)).
    Answer and solution

    Answer: 8.314 J/(mol K) (±0.01)

    P=RTV−b gives (∂P∂T)V=RV−b and (∂P∂V)T=−RT(V−b)2. So CP−CV=−T⋅R2/(V−b)2−RT/(V−b)2=R=8.314 J/(mol K), the same as an ideal gas: an excluded volume alone does not change it (an attraction term would).

    Why people get this wrong: The (V−b) factors cancel exactly; it is not RV/(V−b).

← All topics · Timed mock test →