• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Hire Me | Contact | Calculators-online
You are here: Home / Electronics Theory / Ohm’s Law/Kirchhoff’s Law using Linear First-Order Differential Equations

Ohm’s Law/Kirchhoff’s Law using Linear First-Order Differential Equations

Last Updated on May 20, 2026 by Swagatam Leave a Comment

In this article I have explained Ohm's Law and Kirchhoff's Law through standard engineering formulas and explanations, and by applying linear first-order differential equation to solve example problem sets.

Table of Contents
  • What's an Electric Circuit
  • What's an Inductor
  • What's a Capacitor
  • Understanding Kirchhoff's Law (KVL)

What's an Electric Circuit

A simplest electric circuit is generally in the form of a series circuit having an energy source or electromotive force input, like from a battery, or a DC generator, and a resistive load which consumes this energy, for example an electric bulb, as shown in the diagram below:


 


Referring to the diagram, when the switch is closed, current I passes through the resistor, causing a voltage to generate across the resistor. Meaning, when measured, the potential differences at the two end points of the resistor will show different values. This can be confirmed using a voltmeter.


From the above explained situation the standard Ohm's law can be deduced as:

The voltage drop ER across a resistor is proportional to the instantaneous current I, and may be expressed as:

ER = RI  (Equation#1)

In the above expression, R is defined as the constant of proportionality and is called resistance of the resistor.

Here we measure the voltage ER in Volts, the resistance R in Ohms, and the current I in amperes.

This explains Ohm's law in its most basic form within a simple electric circuit.
In more complex circuits, two more essential elements are included in the form of capacitors and inductors.

What's an Inductor

An inductor may be defined as an element that opposes a change in current, creating an inertia like effect in the flow of electricity, just like a mass does in mechanical systems. Experiments have yielded the following for inductors:

The voltage drop EL  across an inductor is proportional to the instantaneous time rate of change of the current I. This may be expressed as:

EL = L dl / dt (Equation#2)

where L becomes the constant of proportionality and is termed as the inductance of the Inductor, and is measured in henrys. Time t is given in seconds.

What's a Capacitor

A capacitor is simply a device that stores electrical energy. Experiments enable us to get the following explanation:

The voltage drop across a capacitor is proportional to the instantaneous electric charge Q on the capacitor, this may be expressed as:

EC = 1/C x Q (Equation#3)

where C is termed as the capacitance, and is measured in farads; the charge Q is measured in Coulombs.

However since  I(C) = dQ / dt, we can write the above equation as:



The value of current I(t) can be solved in a given circuit by solving the equation produced by the application of the following physical law:

Understanding Kirchhoff's Law (KVL)

Gustav Robert Kirchhoff (1824-1887) was a German physicist, his popular laws may be understood as narrated below:

Kirchhoff's Current Law (KCL) states that:

At any point of a circuit the sum of the inflowing currents is equal to the sum of the outflowing current.

Kirchhoff's  Voltage Law (KVL) states that:

The algebraic sum of all the instantaneous voltage drops around any closed loop is zero, or the voltage impressed on a closed loop is equal to the sum of the voltage drops in the rest of the loop.

Example#1: Referring to the RL diagram below, and by combining the Equation#1,2 and the Kirchhoff's voltage we are able to derive the following expression:

Equation:4



Let's Consider this case A with a constant electromotive force:



In the above described equation#4 if E = E0 = constant, then we are able to drive the following equation:

Equation: 5

Here the last term nears zero as t tends to proceed to infinity, such that I(t) tends to the limiting value E0/R. After  an adequately long delay, I will get to a practically constant, without depending on the value of c, which also implies that this will be independent of an initial condition that may be forced by us.

Considering the initial condition to be, I(0) = 0, we get:

Equation: 5*




Case B (Periodic Electromotive Force):




Considering E(t) = Eo sin ωt, then by taking Equation#4 into account the general solution for Case B can be written as:
(∝ = R / L)


Integrating it by parts gives us:





This can be further derived as:
ઠ = arc tan ωL / R

Here the exponential term tends to approach zero as t tends to reach infinity. This implies that once adequately long period of time has passed, the current I(t) attains a practically harmonic oscillations.

You'll also like:

  • Making a Time Machine – Concept Explored
  • Transistorcircuit 2Transistor Stray pickup False Triggering Problem
  • Calculating Filter Capacitor for Smoothing Ripple
  • IC4060PinOutIC 4060 Pinouts Explained

Filed Under: Electronics Theory Tagged With: Differential, Equations, First, Kirchhoff, Linear, Order

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

Previous Post: « What is Transistor Saturation
Next Post: Load-Line Analysis in BJT Circuits »

Reader Interactions

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

My YouTube Channel

Circuit Simulator: Draw and Simulate Schematics

circuit simulator image

Categories

  • Arduino Projects (95)
  • Audio and Amplifier Projects (134)
  • Automation Projects (18)
  • Automobile Electronics (104)
  • Battery Charger Circuits (90)
  • Datasheets and Components (109)
  • Electronics Theory (151)
  • Energy from Magnets and Earth (43)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (98)
  • Lamps and Lights (161)
  • Meters and Testers (72)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (30)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Security and Alarm (65)
  • Sensors and Detectors (107)
  • SMPS and Converters (46)
  • Solar Controller Circuits (62)
  • Temperature Controllers (44)
  • Timer and Delay Relay (51)
  • Voltage Control and Protection (44)
  • Water Controller (37)
  • Wireless Circuits (31)

Subscribe to get New Circuits in your Email

Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Recent Comments

  • Swagatam on How to Design a Buck Converter Circuit: Formulas and Calculations
  • martin on How to Design a Buck Converter Circuit: Formulas and Calculations
  • Swagatam on Touch Dimmable LED Light Bar Circuit
  • Swagatam on DC to DC Converter Circuits using SG3524 [Buck, Boost Designs]
  • Swagatam on 3 Best Joule Thief Circuits

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin

Calculators

  • ZVS Induction Heater + Tank Calculator Tool
  • Zener Diode Calculator
  • Wire Current and Thickness Calculator (Ampacity Calculator)
  • Voltage Divider Calculator
  • Transistor Base Resistor Calculator
  • Transistor Astable Multivibrator Calculator
  • TL431 Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Ferrite Core Air Gap Calculator Tool
  • Parallel MOSFET Calculator Tool: How to Connect MOSFETs in Parallel Safely
  • LC Resonance Calculator for EV Battery Charger Circuits
  • LED String Series Resistor Calculator
  • PFC (Power Factor Correction) Calculator Tool: 3kW
  • Passive Power Factor Correction (PFC) Calculator
  • LM567 IC Calculator Tool
  • SMPS Flyback Boost Converter Calculator
  • Shunt Resistor Calculator for Ammeters
  • SCR and Triac Gate Resistor Calculator
  • Battery Back up Time Calculator
  • Boost Converter Calculator (Non-Isolated)
  • Bootstrap Capacitor Calculator
  • Buck Converter Calculator
  • Buck-Boost Converter Calculator
  • Capacitance Reactance Calculator
  • DCM Flyback Transformer & Wire Gauge Wire Size Calculator Tool
  • Filter Capacitor Calculator
  • IC 4047 Calculator (Frequency and PWM)
  • IC 4060 Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • IC SG3525, SG3524 Calculator
  • Inductance Calculator
  • Induction Heater Inductor and Resonant Frequency Calculator
  • Induction Heater Work Coil Calculator
  • Inverter LC Filter Calculator
  • LC Resonance Calculator
  • LED Current Calculator
  • LM317, LM338, LM396 Calculator
  • NAND/NOT Gate RC Values Calculator
  • NOT, NAND Gate Frequency Calculator
  • Notch Filter Calculator Tool
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • RC Filter Calculator
  • Reactance Calculator
  • Sine Table Calculator for SPWM Arduino Code
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • SMPS Calculator for Toroidal Ferrite Transformers
  • SMPS Flyback Transformer Calculator – Design by Target Duty Cycle
  • TL431 Calculator
  • Op-Amp Hysteresis Resistor Calculator

© 2026 · Swagatam Innovations