Circuits I · electrical engineering & physics
Circuit problems are lost in the bookkeeping, not the physics.
You know Ohm's law and KCL. The marks go on a sign flipped at one node, a voltage source between two nodes treated like any other branch, or two wires that cross without a dot read as joined. Screenshot the circuit diagram: math.photos reads it into a parts list, solves it with nodal analysis and shows every node equation, so you can find the line where yours went different.
What you get back
When the screenshot is a DC circuit, math.photos does not guess the answer in one pass. It reads the diagram into a parts list — every resistor and source, its value and the two nodes it connects — and computes the answer with circuit laws: Kirchhoff's current law at every node and Ohm's law for every resistor. The steps show the node equations with the values put in, and the answer carries a Checked with circuit laws badge.
Think of it as a circuit analysis calculator that starts from a picture instead of a netlist you type in. It works in the math.photos Chrome extension you may already have — select the diagram as you would a math problem.
Worked example: a supernode
A problem from our internal test set. The 8 V source sits between nodes a and b, and neither of them is ground. That is the setup that most often goes wrong by hand.
- Read the parts. Ground is the bottom wire. The current source pushes 3 A into node a. R1 and R2 go from a and from b to ground. V1 has its + terminal at b. I1 = 3 A → a · R1 = 4 Ω (a–0) · V1 = 8 V (a −, b +) · R2 = 2 Ω (b–0)
- Spot the supernode. The current through V1 is unknown, so KCL at a or at b on its own adds an unknown. Treat a and b as one supernode, and use the source as a constraint: vb − va = 8 V
- Write KCL for the supernode. The currents leaving through R1 and R2 equal the 3 A coming in: va/4 + vb/2 = 3
- Substitute vb = va + 8 and solve: va/4 + (va + 8)/2 = 3 ⇒ ¾·va = −1 ⇒ va = −4/3 V
- Check. The resistor currents out of the supernode must add back to 3 A: (−4/3)/4 + (20/3)/2 = −1/3 + 10/3 = 3 A ✓
Answer: va = −4/3 V ≈ −1.33 V (and vb = 20/3 V ≈ 6.67 V). The negative sign is correct: 1/3 A flows up through R1, from ground into node a. If your answer came out positive, check the sign of the 8 V constraint — writing va − vb = 8 gives +28/3 V.
The circuits it is built for
| Topic | What the course asks | The usual trap |
|---|---|---|
| Series, parallel, ladders | Equivalent resistance, voltage and current dividers | Calling two resistors "parallel" when they do not share both nodes |
| Bridges and delta (Δ–Y) networks | Equivalent resistance, the current in one branch | Forcing a series–parallel reduction where none exists |
| Nodal analysis | Node voltages | Mixing "currents leaving" and "currents entering" in one equation |
| Supernodes | A voltage source between two non-ground nodes | Writing KCL at each node as if the source current were known |
| Mesh analysis | Mesh and branch currents | The sign of a resistor shared by two meshes |
| Voltage and current sources, dependent sources | VCVS, VCCS, CCVS, CCCS | Using the controlling voltage or current as a fixed number |
| Thévenin and Norton equivalents | VTh, RTh, IN | Switching off a dependent source when finding RTh |
| RC and RL circuits at DC steady state | Capacitor voltage, inductor current after a long time | Forgetting that at DC a capacitor is an open circuit and an inductor a short |
Mesh problems are solved with node equations, so the steps show nodal analysis, not your mesh equations. The branch currents are the same either way, so you can check each of your mesh currents against them.
Not covered yet
AC circuits and phasors, op-amps, transients (how a circuit changes over time after a switch moves) and digital logic are not checked with circuit laws yet. They are coming later. Until then, a screenshot of one of those is solved like any other problem, without the circuit-law check — so check it the way you would check any worked solution.
A method that survives the exam
- Pick ground and label every node before you write an equation. A node is all the wire between parts. Two wires that cross without a dot are two nodes, not one.
- Choose one sign convention and keep it: the sum of currents leaving each node is zero. Changing it halfway through is the most common nodal error.
- Box every voltage source between two non-ground nodes as a supernode: one KCL for the box, one constraint for the source.
- For dependent sources, write the controlling variable in node voltages before you solve.
- Check KCL at a node you did not use, usually ground. If the currents do not add to zero, a sign is wrong.
Being straight with you
The answer is only as right as the reading of the picture. Clean textbook and homework-system figures are what it is built for; a blurry photo, or a value hidden under a label, can be read wrong. The node equations show every part and value used, so compare them with your diagram before you trust the number. The circuit-law check proves that the answer follows from those parts. It cannot prove that the parts were read correctly.
This is a homework tool for first circuits courses. It gives no design or safety advice for real wiring, and where your course uses a different convention, follow your course.
Related: how to check circuit homework with nodal analysis walks through the method in more detail, and the calculus helper covers the differential equations behind RC and RL circuits.
Screenshot a circuit diagram and get the node equations and the answer, checked with circuit laws. Same Chrome extension, nothing new to install. Twenty free problems, no card.
InstallFree for your first 20 problems. After that, plans start at $1.99/month — see pricing