All 13 questions UPSC has asked on circuit elements, network graphs, KCL and KVL in the Electrical Engineering Optional (Paper I, Circuits—Theory) from 1995 to 2022, 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).
- ✓ Proof checked step by step or ✓ Derivation checked step by step for “prove” and “derive” questions, every step was checked against the definitions and standard results.
- ✓ Answer checked step by step for theory and descriptive questions, every point was checked against the standard theory.
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):
2022 · 1a 2016 · 1a 2014 · 1a 2011 · 1a 2009 · 1a(i) 2006 · 3a(i) 2006 · 8a(i) 2005 · 1a(ii) 2001 · 7a 2000 · 5a 1999 · 4c 1997 · 1a 1995 · 1b
For the circuit shown in Figure 1(a), find the , and power supplied by the dependent source.
Solution
Take the bottom wire as the reference (0 V). Call the top middle node M.
Step 1: find by KCL at M. The 2 A current comes into M from the left and the 8 A current comes into M from the right (its arrow points towards M). The only way out is down through the 3 Ω branch:
Step 2: voltage of M from the right branch. The dependent source holds the top-right node at V. The 8 A flows from this node through the 2 Ω resistor into M, so M is lower by V:
Step 3: from the middle branch. Going down from M: we drop V across the 3 Ω, then pass through from its − terminal to its + terminal, which is a rise of . We arrive at the reference:
Step 4: from the left branch. Going from the top of to M: we drop V across the 5 Ω, then rise 60 V through the source (− to +):
Step 5: power of the dependent source. It has 40 V across it (+ at the top), and the 8 A leaves its + terminal. So it delivers
Check (power balance).
| Element | Power |
|---|---|
| V, 2 A out of + | supplies W (it actually absorbs 52 W) |
| 60 V source, 2 A from − to + | supplies 120 W |
| V, 10 A from − to + | supplies 60 W |
| Dependent source | supplies 320 W |
| Resistors: | absorb W |
Supplied: W, which equals the power absorbed. ✔
Answer: V, V, and the dependent source supplies 320 W.
✓ Checked by computer We solved the four circuit equations again in code (SymPy) and checked the power balance: the sources supply 448 W and the resistors absorb 448 W.
The reduced incidence matrix of an oriented graph is given as (i) Draw the graph. (ii) How many trees are possible for this graph? (iii) Write the tie-set matrix.
Solution
Reading the matrix. The reduced incidence matrix has one row for each node except the reference node, and one column for each branch. An entry is if the branch leaves the node, if it enters it, and otherwise. There are 3 rows and 5 columns, so the graph has nodes and 5 branches.
We recover the row of the reference node (node 4) from the fact that every column of the complete incidence matrix adds up to 0: Reading each column (where it leaves, where it enters):
| Branch | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| From → to | 4 → 3 | 4 → 1 | 1 → 2 | 4 → 2 | 3 → 2 |
(i) The graph.
(ii) Number of trees. The number of trees is : So 8 trees are possible. (This graph is the complete graph on 4 nodes with the branch between nodes 1 and 3 missing. has 16 trees, and exactly half of them use that branch.)
(iii) Tie-set matrix. Choose the tree formed by twigs 2, 3 and 5 (shown in bold). The links are branches 1 and 4. Each link closes one fundamental loop, which we orient in the direction of its link.
- Link 1 (4 → 3): loop 4 → 3 → 2 → 1 → 4, using branch 5 in its own direction and branches 3 and 2 against theirs.
- Link 4 (4 → 2): loop 4 → 2 → 1 → 4, using branches 3 and 2 against their direction.
The tie-set matrix has one row per link (loop) and one column per branch:
| Loop Branch | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| Loop of link 1 | 1 | −1 | −1 | 0 | 1 |
| Loop of link 4 | 0 | −1 | −1 | 1 | 0 |
Check: , as it must be, because every loop enters and leaves each node equally often.
✓ Checked by computer We rebuilt the graph from the matrix in code, counted the trees both by det(AAᵀ) and by listing every set of three branches (8 both ways), and checked that A·Bᵀ = 0.
Find the values of and in the circuit shown in Fig. 1.
Solution
We work backwards from the known current, from right to left.
Node 2. The 4 Ω carries 2 A, so The 2 Ω in parallel with it then carries A. The series 2 Ω between nodes 1 and 2 therefore carries
Node 1. The 6 Ω carries A.
The current (KCL at node 1):
The source voltage :
Answer: V and A.
✓ Checked by computer We recomputed every node voltage and branch current in code: E = 116/3 V and I = 28/3 A.
A storage battery has a no-load terminal voltage of 6 V. When the current through the battery is 100 A, the terminal voltage drops to 5 V. Show a pictorial representation of the battery as a constant current source.
Solution
Step 1: model the battery as a voltage source. A practical battery is an ideal emf in series with an internal resistance :
- On no load (): V.
- At A: , so .
Step 2: convert it to a current source (source transformation). A voltage source in series with is equivalent, at its terminals, to a current source in parallel with the same resistance (a conductance of 100 S).
Step 3: check that the two models agree.
- Open circuit: all 600 A flows through the 0.01 Ω, so V. ✔
- Load current 100 A: the 0.01 Ω carries A, so V. ✔
- Short circuit: both models give A.
Points to note. The two models are equivalent only at the terminals. Inside, they are different: on open circuit the current-source model dissipates kW in its resistor, while the real battery dissipates nothing. The arrow of the current source points towards the + terminal.
✓ Checked by computer We checked in code that both models give 6 V on open circuit and 5 V at 100 A.
The current is passed through a capacitor of 0.5 farad. Find the expression for the voltage across the capacitor in the time interval .
Solution
For a capacitor, We take the capacitor to be uncharged at , so (the question does not give an initial voltage).
Interval :
Interval :
Check: at this gives V, which matches the first interval (the voltage of a capacitor cannot jump). At it gives V. After that the current is zero, so the voltage stays at 4 V.
✓ Checked by computer We integrated the current piecewise again in code (SymPy): v(t) = −2t² + 8t − 4 on 1 ≤ t ≤ 2, with v(1) = 2 V and v(2) = 4 V.
For the circuit given below draw the network graph and draw any three possible trees of the network. Prove that for the network graph L = B − (N − 1) where L = no. of links B = no. of branches N = no. of nodes.
Solution
Network graph. We replace each element by a line segment (a branch) and keep the four junctions as nodes. Following the usual practice, the 10 Ω resistor and the 10 V source in series on the side T–BL count as a single branch. This gives nodes (T, BL, BR, O) and branches (a to f):
The graph is the complete graph on 4 nodes, so it has trees. Three of them are shown below (twigs bold, links dotted). Each has twigs, touches all four nodes and contains no loop.
Tree 1: a, b, d
Tree 2: d, e, f
Tree 3: a, c, f
To prove: .
Step 1: a tree on nodes has exactly branches. We use induction on . For the tree has no branch. For a tree with nodes, there is a node with only one branch attached: start anywhere and keep walking along new branches; since there are no loops, the walk never returns to a node already visited, so it must stop at such an end node. Remove this node and its one branch. What is left is still connected and has no loop, so it is a tree on nodes. By the induction hypothesis it has branches, so the original tree has .
Step 2: count the links. For a chosen tree, every branch of the graph is either a twig (in the tree) or a link (not in the tree). So
Check on this network: . Each tree above has 3 dotted links, which give 3 independent loop (mesh) equations.
✓ Proof checked step by step Proof checked step by step; we also counted the trees of this graph in code (16, as Cayley’s formula 4⁴⁻² gives).
Define the following terms related to electrical circuits An ideal filter SPICE Network graph d.
Solution
An ideal filter. A filter that passes every frequency in its passband with no attenuation and no distortion, and completely blocks every frequency in its stopband, with a sudden (brick-wall) change at the cut-off frequency. For an ideal low-pass filter with cut-off : The linear phase only delays the signal by without changing its shape. Its impulse response is a sinc function, , where . It starts before the impulse is applied (it is non-zero for ). So an ideal filter is non-causal and cannot be built exactly. Practical filters (Butterworth, Chebyshev and others) only approximate it.
SPICE. Simulation Program with Integrated Circuit Emphasis, a general-purpose circuit simulator first developed at the University of California, Berkeley. The circuit is described as a list of elements (a netlist). SPICE then forms the network equations (by modified nodal analysis) and solves them numerically for:
- DC operating point and DC sweep,
- AC (small-signal frequency response),
- transient (time-domain) analysis,
- noise, distortion and sensitivity.
It has built-in models for diodes, BJTs, MOSFETs and other devices. PSpice and LTspice are well-known versions.
Network graph. The skeleton of a network: each element (or each series combination treated as one) is replaced by a line segment called a branch, and each junction becomes a node. Values and types of the elements are ignored; only how they are connected is kept. If the branches are given current directions, it is an oriented (directed) graph. Trees, cut-sets, loops and the incidence, tie-set and cut-set matrices are all defined on it, and they give the KCL and KVL equations in a systematic way.
Note on the question: the printed question ends with “d.”, so a fourth term seems to have been lost from the paper. We have answered the three terms that are printed.
✓ Answer checked step by step Each definition was checked against the standard texts on network theory, filters and circuit simulation.
For the circuit shown below, find , , and .
Solution
Step 1: see what the short-circuit wires do. The four curved wires join A, C and E into one node, and B, D and F into another. So the whole circuit has only two nodes: X = {A, C, E} and Y = {B, D, F}. All five elements sit between X and Y. Since A is in X and B is in Y,
Step 2: KCL at X. Currents leaving X through each element:
- 25 Ω (A → B):
- 10 Ω (C → D):
- 100 Ω (E → F):
- 25 A source (it drives current from E to D, out of X):
- dependent source (it drives from B into C, into X):
So the 25 Ω carries 20 A (A → B), the 10 Ω carries 50 A (C → D), the 100 Ω carries 5 A (E → F), and the dependent source carries A (B → C).
Step 3: currents in the wires (KCL at each original node).
- Node A: only the 25 Ω and wire meet here. 20 A leaves through the resistor, so A.
- Node B: 20 A comes in from the 25 Ω, 100 A leaves through the dependent source, and leaves: , so A.
- Node C: and 100 A come in, 50 A (10 Ω) and leave: , so A.
- Node D: 50 A, 25 A and come in, leaves: A.
Check at the two remaining nodes:
- E: in ; out: 25 A (source) + 5 A (100 Ω) . ✔
- F: in: 5 A (100 Ω) + A, total 0. ✔
Answer: A, A, A, A. A minus sign means the actual current flows opposite to the arrow in the figure.
✓ Checked by computer We solved the two-node equation in code and checked KCL at all six nodes A to F.
What is cut-set in linear graph theory? Explain with an example. In the graph.
check if the sets of branches {1, 3, 4, 6} {1, 2, 3}, {1, 2, 3, 5} constitute cut-sets.
Solution
Cut-set. A cut-set is a set of branches of a connected graph such that
- removing all of them splits the graph into exactly two separate parts, and
- it is minimal: if any one branch of the set is put back, the graph becomes connected again.
A cut-set can be pictured as a closed line (a “cut”) that divides the nodes into two groups. The branches it crosses form the cut-set. Example: the branches attached to any single node form a cut-set, because removing them isolates that node. KCL applies to every cut-set: the algebraic sum of the branch currents crossing it is zero.
The given graph. It has 4 nodes and 6 branches. Each branch joins:
| Branch | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| Nodes | 4–1 | 1–2 | 1–5 | 5–2 | 4–5 | 2–4 |
(The directions of the branches do not matter for deciding whether a set is a cut-set.)
{1, 3, 4, 6}. Removing these leaves only branches 2 (1–2) and 5 (4–5). The graph splits into two parts, {1, 2} and {4, 5}. The removed set is exactly the set of branches running between these two groups, so putting any one back reconnects the graph. It is a cut-set.
{1, 2, 3}. These are all the branches at node 1. Removing them isolates node 1, and the rest ({2, 4, 5} joined by branches 4, 5 and 6) stays connected: two parts. Putting back any one of 1, 2 or 3 reconnects node 1. It is a cut-set.
{1, 2, 3, 5}. Removing these leaves branches 4 and 6. Node 1 is isolated and {2, 4, 5} is still connected through 4 and 6: two parts. But the set is not minimal. If we put branch 5 back, the graph is still in two parts, because branch 5 joins nodes 4 and 5, which are already connected. It is not a cut-set. (It contains the cut-set {1, 2, 3} plus an extra branch.)
✓ Checked by computer We checked all three sets in code: removing each one leaves two parts, and only the first two are minimal.
A non-sinusoidal current i(t) as shown in the above figure is passed through a capacitance C = 100 μF. Determine the voltage across the capacitance when ω = 1000 rad/sec.
Solution
Step 1: the current as a function of .
Step 2: the capacitor equation in terms of . Since ,
Step 3: integrate. The current has zero average over a cycle, so in the steady state the voltage is also periodic. We take it to have no DC part. (This is the same as taking at , as the working below shows.)
For : For (starting from ): The two halves are mirror images, so the average is zero, as assumed.
Step 4: describe the waveform. The voltage is made of parabolic arcs. It lags the current by a quarter cycle () and peaks where the current crosses zero: and at .
Answer: a wave of parabolic arcs with peak V. (The question gives no number for the peak current , so the answer is in terms of .)
✓ Checked by computer We integrated the current again in code (SymPy): the voltage has zero average and a peak of 2.5πI ≈ 7.85I volts at θ = π/2.
Determine the resistance across the terminals A and B of the network shown in the above figure.
Solution
Step 1: recognise the network. The twelve 10 Ω resistors are the edges of a cube, and A and B are diagonally opposite corners (no path from A to B is shorter than three edges).
Step 2: use symmetry. Inject a current at A and take it out at B.
- From A, the current splits equally into the 3 edges at A (the cube looks the same from A along each of them): each.
- Those 3 edges lead to 3 corners, which are all at the same potential by symmetry. From these corners there are 6 edges to the next 3 corners, carrying each.
- Finally 3 edges carry each into B.
Step 3: add the voltage drops along any path from A to B. With :
✓ Checked by computer We solved the cube network in code (nodal analysis on all 8 corners): R_AB = 8.33 Ω = 5R/6.
Fig. 1 (a) shows a network of resistors each of R ohms. Find the resistance between the terminals P and Q.
Solution
Step 1: use symmetry. Each resistor is . The inner node P is joined to A and to B by equal resistors, and Q is joined to A and to B by equal resistors. So the network is symmetric about the line through P and Q, and A and B are at the same potential when a voltage is applied between P and Q.
Step 2: remove the balanced resistor. Since , no current flows in the resistor A–B, and we can remove it (or join A and B).
Step 3: combine. Joining A and B:
- From P to the joined node: two resistors in parallel, .
- From the joined node to Q: two resistors in parallel, .
Answer: the resistance between P and Q is .
✓ Checked by computer We solved the network in code (nodal analysis): R_PQ = 1.00 R.
Fig. Q. 1(b) shows the details of a portion of a d.c. network. Evaluate the voltage V.
Solution
Note on the question. In the printed figure, some values are marked as unclear and the polarity of the 4 V battery cannot be read. We solve the network as shown in the figure above, and give the answer for both polarities of the battery.
Step 1: the key idea, KCL for a whole network. Draw a closed surface around network . KCL holds for any closed surface: the net current crossing it is zero. Through the two wires to , 3 A leaves and 2 A comes back, a net 1 A out. So the third wire must carry 1 A into , from the top corner of the bridge. In the same way, 1 A leaves and enters the bridge at its bottom corner. We do not need to know anything inside or .
Step 2: nodal analysis of the bridge. Take the bottom corner as reference (0 V). Let the top, left and right corners be at , and . The middle branch (1 Ω and the 4 V battery) carries from left to right. The sign is if the battery’s + terminal is on the right.
Step 3: solve.
- Battery + towards the right corner: V (and , ).
- Battery + towards the left corner: V (and , ).
Answer: , so The minus sign means the bottom line is at the higher potential. Whatever the battery’s polarity, the method is the same: KCL around gives the 1 A, and nodal analysis of the bridge gives .
✓ Checked by computer We solved the bridge by nodal analysis in code, for both possible battery polarities.
More on Circuits—Theory
- All Electrical Engineering PYQ solutions, topic by topic
- Circuits—Theory topic-wise PYQs (questions only, for practice)
- Electrical Engineering PYQ analysis: which units carry the marks year by year
- Year-wise question papers
- Electrical Engineering booklist
Questions: UPSC Civil Services (Main) Examination, Electrical Engineering Paper I, 1995–2022. Solutions: Optional Province. Found an error? Tell us.

