Menu Close

Nodal and mesh analysis: UPSC Electrical Engineering Optional PYQ Solutions (2005–2026)

All 15 questions UPSC has asked on nodal and mesh analysis in the Electrical Engineering Optional (Paper I, Circuits—Theory) from 2005 to 2026, solved step by step – latest first.

Try them yourself first: the same questions, without solutions, are on our Circuits—Theory topic-wise PYQs page. Circuit diagrams have been redrawn from the question papers.

How we check these solutions

These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:

  • ✓ Checked by computer the numbers were worked out again independently in code (SymPy and NumPy: circuit equations, power balance, matrices, integrals).

Where a printed question is wrong, unclear or incomplete, we say so and solve the intended version.

Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.

Jump to a question (year · question number):

2026 · 1a 2026 · 2a(ii) 2025 · 1a 2024 · 1a 2024 · 2c 2023 · 2a 2020 · 5e 2018 · 3c 2016 · 2a 2013 · 2b 2010 · 8a(ii) 2009 · 4a(i) 2007 · 1a(i) 2007 · 1a(ii) 2005 · 4a(i)

Cover of the UPSC Prelims Topic-wise PYQ book with detailed explanations

From the Optional Province team

Preparing for Prelims too?

Our UPSC Prelims Topic-wise PYQ Book covers every Prelims question with detailed explanations, so you can see exactly where UPSC asks from. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

For the circuit shown below, if the power loss in 1Ω resistor is 16 W, find the value of k in the dependent source using nodal method:

10 A2 Ωi₀1 Ωki₀−+5 Ω20 VVAVB
Figure redrawn from the question paper.

2026 · Paper I · Q1a · 10 marks

Solution

Take the bottom rail as reference. Since the 20 V source sits between node B and the reference, VB=20 V straight away.

Step 1: current in the 1 Ω resistor. The power in it is 16 W: I2(1)=16⇒I=4 A. We take this current to flow from VA towards VB (the natural direction, with the 10 A source feeding node A).

Step 2: KCL at node A. The 10 A from the source splits into i0 (down through 2 Ω) and the 4 A towards B: 10=i0+4⇒i0=6 A,VA=2i0=12 V.

Step 3: KVL along the branch from A to B. Going from A: drop 1×4=4 V across the 1 Ω, then rise ki0 through the dependent source (− to +): VA−4+ki0=VB⇒12−4+6k=20⇒k=2.

Answer: k=2 (the dependent source is 2i0=12 V).

Note: if the 4 A were taken to flow from B to A, the same steps give i0=14 A, VA=28 V and k=−67. The positive value k=2 is the intended answer.

✓ Checked by computer We solved the circuit in code by nodal analysis with k as an unknown: the 16 W condition gives k = 2 (or k = −6/7 if the 4 A flows from B to A).

↑ Back to the question list

For the circuit shown below, find the value of R, if the power supplied by both the sources is equal:

100 V5 Ω10 Ω20 ΩR10 A12
Figure redrawn from the question paper.

2026 · Paper I · Q2a(ii) · 10 marks

Solution

Let the node voltages be V1 and V2 (reference: bottom rail).

Powers of the two sources.

  • 100 V source: current out of its + terminal =100−V15, so PV=100⋅100−V15=20(100−V1).
  • 10 A source: it pushes 10 A into node 2, so PI=10V2.

Nodal equations. Node 1: V1−1005+V110+V1−V220=0⇒7V1−V2=400 Node 2: V2−V120+V2R=10

Equal powers. 20(100−V1)=10V2⇒V2=200−2V1. Putting this in the node 1 equation: 7V1−(200−2V1)=400⇒9V1=600⇒V1=2003 V,V2=2003 V. So V1=V2 and no current flows in the 20 Ω. Node 2 then gives V2R=10⇒R=200/310=203Ω≈6.67Ω.

Check: PV=20(100−2003)=20003 W and PI=10⋅2003=20003 W, so both sources supply about 666.7 W. ✔

✓ Checked by computer We solved the circuit in code with R as an unknown and set the two source powers equal: R = 20/3 Ω, with each source supplying 2000/3 W.

↑ Back to the question list

In the circuit given below, find the voltages at point A and point B.

12 Ω6 Ω3 A9 Ω3 Ω6 Ω6 V4 Ω4 Ω12 VAB
Figure redrawn from the question paper. Points joined by plain wires in the original (A–P, B–R–Q, M–G) are drawn as single nodes.

2025 · Paper I · Q1a · 10 marks

Solution

Step 1: simplify the wiring. A is wired to P, B is wired to R and to Q, and M is wired to G. So the circuit has only three non-reference nodes: A, B and N (the junction of the 12 Ω and 6 Ω). The figure above is drawn with these points merged.

Between the nodes (G = reference):

  • A–N: 12 Ω; N–B: 6 Ω, with the 3 A source driving current from B to N
  • A–B: 9 Ω
  • A–G: 3 Ω, and the 6 Ω in series with the 6 V source (+ towards A)
  • B–G: 4 Ω, and the 4 Ω in series with the 12 V source (− towards B, + towards G), so the bottom of that 4 Ω is at −12 V

Step 2: nodal equations (currents leaving each node): A: VA−VN12+VA−VB9+VA3+VA−66=0 N: VN−VA12+VN−VB6−3=0 B: VB−VN6+3+VB−VA9+VB4+VB+124=0

Step 3: solve. VA=1.6 V,VB=−5.6 V,VN=8.8 V.

Check at node A: 1.6−8.812+1.6+5.69+1.63+1.6−66=−0.6+0.8+0.533−0.733=0. ✔

Answer: VA=1.6 V and VB=−5.6 V (with respect to ground).

✓ Checked by computer We solved the network in code by nodal analysis (all node voltages, then KCL at every node): V_A = 1.6 V, V_B = −5.6 V.

↑ Back to the question list

Find the voltage on points A and B of the given circuit:

10 V2 Ω2 Ω1 Ω2 A5 V2 Ω3 ΩAB
Figure redrawn from the question paper.

2024 · Paper I · Q1a · 10 marks

Solution

Point B. The 5 V source fixes the right-hand node at 5 V. The 2 Ω and 3 Ω in series across it form a voltage divider: VB=5×32+3=3 V.

Point A. The branch from A through the 1 Ω goes into the 2 A current source, so it carries exactly 2 A away from A, whatever the 1 Ω drops. KCL at A: VA−102+VA2+2=0⇒VA−5+2=0⇒VA=3 V.

Answer: VA=3 V and VB=3 V.

Note: a resistor in series with a current source (here the 1 Ω) does not affect the current in that branch. It only changes the voltage across the current source.

✓ Checked by computer We solved the circuit in code by nodal analysis: V_A = V_B = 3 V.

↑ Back to the question list

In the circuit given here, find the value of voltage v1:

12 mAvx/202 kΩ2 mA1 kΩ−5 mA4 kΩ5 V1 kΩ2 mA+ v₁+ vx
Figure redrawn from the question paper. On a phone, swipe sideways to see all of it.

2024 · Paper I · Q2c · 10 marks

Solution

The two parts share only the bottom rail, so no current can flow between them through it. We solve the right part first to get vx, then use it in the left part.

Right part: find vx. The 5 V source fixes node X at 5 V. The 1 kΩ in series with the 2 mA source does not affect node M. KCL at M (using mA and kΩ, so volts): vx1+vx−54=−5⇒4vx+vx−5=−20⇒vx=−3 V.

Left part: find v1. All four elements are in parallel, so KCL at the top node gives the current through the 2 kΩ: v12 kΩ=12 mA+vx20−2 mA. Reading the printed vx20 literally (in amperes, with vx in volts): −320=−0.15 A =−150 mA, so v1=2 kΩ×(12−150−2) mA=−280 V.

Note on the question. The rest of the circuit is in mA and kΩ, and −280 V is far too large for it. The setter most likely meant vx20 in mA (a gain of 0.05 mA/V). Then v1=2×(12−0.15−2)=19.7 V. In the exam, state which reading you take.

✓ Checked by computer We solved both parts in code by nodal analysis: v_x = −3 V; v₁ = −280 V with the gain read as amperes per volt, or 19.7 V if the gain is in mA.

↑ Back to the question list

For the circuit shown in the figure, obtain the value of voltage across 0.5 Ω and 2.5 Ω resistors using nodal current analysis.

0.5 Ω2 Ω2.5 Ω0.2Vy−+12 V−+2 A1 Ω0.5VxV₃V₂V₄V₁ref
Figure redrawn from the question paper.

2023 · Paper I · Q2a · 20 marks

Solution

Take the centre node as reference (0 V). The voltages asked for are Vx=V3−V2(across 0.5Ω),Vy=V1−V2(across 2.5Ω).

Step 1: what the voltage sources fix.

  • 12 V source (− at V2, + at the centre): V2=−12 V.
  • Dependent source (+ at V4): V4−V1=0.2Vy=0.2(V1+12), so V4=1.2V1+2.4. So V1 and V4 form a supernode.

Step 2: KCL at V3 (the 2 A source feeds V3): V3−V20.5+V3−V42=2.

Step 3: KCL at the supernode {V1, V4} (the 0.5Vx source feeds V4): V1−V22.5+V11+V4−V32−0.5(V3−V2)=0.

Step 4: solve with V2=−12 and V4=1.2V1+2.4: V1=−5211 V,V3=−10411 V,V4=−3611 V.

Answer. Vx=V3−V2=−10411+12=2811≈2.55 V (across 0.5 Ω) Vy=V1−V2=−5211+12=8011≈7.27 V (across 2.5 Ω)

✓ Checked by computer We solved the network in code by nodal analysis and checked KCL at V₃ and at the supernode: Vx = 28/11 V and Vy = 80/11 V.

↑ Back to the question list

Find the values of branch currents Ia, Ib and Ic as indicated in the circuit of Figure 5(e).

10.6∠0° A10 ΩIa1 Ωj2 Ω−j5 ΩIc5 Ω20IxIxIb
Figure redrawn from the question paper.

2020 · Paper I · Q5e · 10 marks

Solution

Let V1 be the top-left node and V2 the middle node (reference: bottom wire). The branch currents are Ia=V110,Ix=V1−V21+j2,Ic=V2−j5,Ib=V2−20Ix5.

Nodal equations. Node 1: Ia+Ix=10.6Node 2: Ix=Ib+Ic

Solving these two complex equations: V1=68.4−j16.8 V,V2=68−j26 V,Ix=3.76+j1.68 A.

Branch currents. Ia=V110=6.84−j1.68=7.04∠−13.8∘ A Ib=V2−20Ix5=−1.44−j11.92=12.01∠−96.9∘ A Ic=V2−j5=5.2+j13.6=14.56∠69.1∘ A

Check: Ia+Ix=(6.84+3.76)+j(−1.68+1.68)=10.6 A ✔, and Ib+Ic=3.76+j1.68=Ix ✔.

✓ Checked by computer We solved the phasor nodal equations in code and checked KCL: Iₐ + Iₓ = 10.6 A and Iₓ = I_b + I_c.

↑ Back to the question list

Cover of the UPSC Mains Topic-wise and Year-wise PYQs book (2013–2026)

From the Optional Province team

Strengthen your GS papers

Our UPSC Mains Topic-wise & Year-wise PYQ Book (2013–2026) maps every GS question to the syllabus, so you know what UPSC asks and how often. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

In the circuit shown in Figure 3(c), find the voltage vo across the 8 Ω resistor.

4 Ω3 A2 Ω8 Ω3 Ω12 V+ vo
Figure redrawn from the question paper.

2018 · Paper I · Q3c · 10 marks

Solution

Take the bottom rail as reference. Call the top-left node VL and the middle node vo. The right branch (3 Ω and the 12 V battery) connects the middle node to a point held at 12 V.

Nodal equations. Left node: VL4+3+VL−vo2=0⇒3VL−2vo=−12 Middle node: vo−VL2+vo8+vo−123=0⇒−12VL+23vo=96

Solve. From the first, VL=2vo−123. Substituting: −4(2vo−12)+23vo=96⇒15vo=48⇒vo=3.2 V (and VL=−2815 V).

Answer: vo=3.2 V.

✓ Checked by computer We solved the two node equations in code: v_o = 3.2 V.

↑ Back to the question list

For the circuit shown in Fig. 2(a), find the value of V, if the power dissipation in the load resistance RL is 36 watts:

V5 Ω2 Ω4 Ω2V₁10 Ω2 Ω5 ΩRL = 4 Ω+−V₁
Figure redrawn from the question paper. On a phone, swipe sideways to see all of it.

2016 · Paper I · Q2a · 20 marks

Solution

Step 1: the load. P=IL2RL=36 with RL=4Ω gives IL=3 A, so the voltage across RL is 12 V.

Step 2: work back through the right section.

  • The 5 Ω between Q and S carries the same 3 A, so VQ=12+5×3=27 V.
  • The 2 Ω at Q carries 27/2=13.5 A.
  • KCL at Q: the 10 Ω brings in 13.5+3=16.5 A. This current comes straight from the dependent source, because node P has nothing else attached. So 2V1=16.5⇒V1=8.25 V.

Step 3: the left section. The 5 Ω carries V1/5=1.65 A into the parallel pair 2Ω∥4Ω=43Ω: V=V1+1.65×43=8.25+2.2=10.45 V.

Answer: V=10.45 V.

✓ Checked by computer We solved the circuit in code with V as an unknown and imposed 36 W in R_L: V = 10.45 V.

↑ Back to the question list

Determine the current I in Fig. 4 using the ladder method.

Vg=10 V2 Ω200 Ω1 Ω1 Ω50 Ω2 Ω100 Ω1 Ω10 ΩIabca′b′c′
Figure redrawn from the question paper.

2013 · Paper I · Q2b · 20 marks

Solution

Ladder method. Assume a convenient value for the output current, work back to the source, then scale.

Step 1: assume I=1 A in the 10 Ω.

  • Voltage across the last branch (1 Ω + 10 Ω): Vcc′=1×(1+10)=11 V.
  • 100 Ω current: 11/100=0.11 A. Current in the 2 Ω from b to c: 1+0.11=1.11 A.
  • Vbb′=11+2×1.11=13.22 V (b′ to c′ is a plain wire).
  • 50 Ω current: 13.22/50=0.2644 A. Current in the two 1 Ω resistors (top and bottom): 1.11+0.2644=1.3744 A.
  • Vaa′=13.22+(1+1)×1.3744=15.969 V.
  • 200 Ω current: 15.969/200=0.0798 A. Source current: 1.3744+0.0798=1.4542 A.
  • Source voltage needed: Vg=15.969+2×1.4542=18.877 V.

Step 2: scale. The network is linear, so all currents scale with Vg. The actual source is 10 V: I=1×1018.877=0.530 A.

Answer: I≈0.53 A.

✓ Checked by computer We solved the ladder in code by nodal analysis: I = 0.530 A, the same as the ladder method gives.

↑ Back to the question list

Write the node equations for the network shown in Fig. 11. Assume node ② as a reference node:

50∠0°−+5 Ωj2 Ω4 Ω−j2 Ω2 Ω50∠90°−+①②③
Figure redrawn from the question paper.

2010 · Paper I · Q8a(ii) · 10 marks

Solution

Take node ② as reference (V2=0). The unknowns are V1 and V3.

The branches, written with currents leaving each node:

  • ①–③ through the 5 Ω and the 50∠0∘ source (+ towards ①): current from ① =V1−V3−505.
  • ①–③ through j2: V1−V3j2.
  • ①–②: V14.
  • ③–②: V3−j2, and the 2 Ω with the 50∠90∘ source (+ towards ②): current from ③ =V3+j502.

Node ①: V1−V3−505+V1−V3j2+V14=0 ⇒(0.45−j0.5)V1−(0.2−j0.5)V3=10

Node ③: V3−V1+505+V3−V1j2+V3−j2+V3+j502=0 ⇒−(0.2−j0.5)V1+0.7V3=−10−j25

These two equations are the required node equations. In matrix form: [0.45−j0.5−0.2+j0.5−0.2+j0.50.7][V1V3]=[10−10−j25]

Solving them (not asked, but it checks the set): V1=−13.21−j3.77=13.74∠−164.1∘ V,V3=−20.75−j27.36=34.34∠−127.2∘ V.

✓ Checked by computer We solved the two node equations in code and checked them against a full nodal solution of the network.

↑ Back to the question list

For the circuit shown below, determine the numerical value of i1, using nodal analysis.

2 V0.5 Ω1 Ω0.5 Ω1 A1 Ω2 Ω1 Ω2 VABCi₁
Figure redrawn from the question paper.

2009 · Paper I · Q4a(i) · 12 marks

Solution

Take the bottom line as reference. The 2 V source at C fixes VC=2 V, so only VA and VB are unknown.

Node A (branches: 0.5 Ω with 2 V source, 1 Ω to B, 2 Ω to C): VA−20.5+VA−VB1+VA−22=0⇒3.5VA−VB=5

Node B (branches: 1 Ω to A, 0.5 Ω to ground, 1 A source in, 1 Ω to C): VB−VA1+VB0.5−1+VB−21=0⇒−VA+4VB=3

Solve. From the first, VB=3.5VA−5. Then −VA+14VA−20=3: VA=2313 V,VB=3126 V.

Answer: i1=VA−VB1=46−3126=1526≈0.577 A.

✓ Checked by computer We solved the circuit in code by nodal analysis: i₁ = 15/26 A ≈ 0.577 A.

↑ Back to the question list

Determine the power delivered by 6 A source.

1 Ω2 Ω4 Ω3 Ω5 V6 ALR
Figure redrawn from the question paper.

2007 · Paper I · Q1a(i) · 10 marks

Solution

Take the left node L as reference. Call the upper middle node U, the lower middle node D, and the right node R. The 6 A source drives current from L to R through the outer loop.

Step 1: supernode. The 5 V source fixes VU−VD=5.

Step 2: KCL at R (6 A comes in from the source): VR−VU2+VR−VD3=6

Step 3: KCL at the supernode {U, D}: VU1+VU−VR2+VD4+VD−VR3=0

Step 4: solve. VU=5.8 V,VD=0.8 V,VR=11 V.

Power delivered. The 6 A leaves the source at R, which is 11 V above L: P=VRL×6=11×6=66 W.

Check at R: 11−5.82+11−0.83=2.6+3.4=6 A. ✔

✓ Checked by computer We solved the bridge in code by nodal analysis: the 6 A source has 11 V across it and delivers 66 W.

↑ Back to the question list

For the circuit shown in the figure determine V0/Is using nodal analysis.

IsRsR₁IbR₂μIbR₃VV₀
Figure redrawn from the question paper.

2007 · Paper I · Q1a(ii) · 10 marks

Solution

Take the bottom wire as reference. The unknowns are the node voltage V (top of R1) and V0. The controlling current is Ib=V/R1.

Nodal equations. Node V:VRs+VR1+V−V0R2=Is Node V0:V0−VR2+μIb+V0R3=0

With R1=R2=R3=Rs=1 and μ=3 (so Ib=V): 3V−V0=Is,V0−V+3V+V0=0⇒V0=−V. Then 3V+V=Is, so V=Is4 and V0=−Is4⇒V0Is=−14=−0.25Ω.

The minus sign comes from the dependent source: it pulls μIb=3V out of the output node, which is more than R2 can supply, so the output goes negative.

General result: V0Is=RsR3(R1−μR2)R1R2+R1R3+R1Rs+R2Rs+(1+μ)R3Rs.

✓ Checked by computer We solved the circuit in code symbolically and with the given values: V₀/I_s = −1/4.

↑ Back to the question list

For the network shown below, Find the current ratio transfer function given by α=I2/I1.

I₁1 Ω2I₁−+1 ΩIc2 ΩIc/21 ΩI₂
Figure redrawn from the question paper. The label of the dependent source next to the 2 Ω is unclear in the paper.

2005 · Paper I · Q4a(i) · 10 marks

Solution

Take the bottom wire as reference, with nodes 1 (after I1), 2 (after the 2I1 source) and 3 (the right end). Ic flows up through the middle 1 Ω, so Ic=−V2. I2 flows from the right-hand 1 Ω into node 3, so I2=−V3.

So that we can see what the printed (unclear) label does, we let the dependent source be βIc, pointing up into node 3. The printed label is Ic/2, i.e. β=12.

Equations. V2=V1+2I1(series dependent source) Node 3: V2−V32+βIc−V3=0⇒V3=(1−2β)V23 Nodes 1 and 2 (one supernode): I1=V1+V2+V2−V32

Solving: α=I2I1=3(2β−1)β+7.

With the printed value β=12: V3=0, so I2=0 and α=0. The dependent source exactly cancels the current arriving through the 2 Ω, so nothing reaches the right-hand 1 Ω.

Note on the question. The label on the dependent source is unclear in the paper. A zero transfer ratio is an unusual intended answer, so the source may have been meant to point down, i.e. β=−12. In that case α=3(−2)6.5=−1213≈−0.923. The formula above gives α for whichever value is intended.

✓ Checked by computer We solved the network in code for a general gain β (source βI_c): α = 3(2β−1)/(β+7), which is 0 for the printed β = 1/2.

↑ Back to the question list

More on Circuits—Theory

Questions: UPSC Civil Services (Main) Examination, Electrical Engineering Paper I, 2005–2026. Solutions: Optional Province. Found an error? Tell us.

Spotted an error? Tell us.

We classify every PYQ with care, but mistakes can slip in. If a question is in the wrong topic, has a typo, the wrong year, or is missing, let us know. We review every report and update the page.

Report an Error
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted