Ordinary differential equations (ODEs) are fundamental in modeling dynamic electrical systems where quantities change with respect to time or space. Electrical engineers in Kenya often encounter ODEs when analyzing circuits containing inductors, capacitors, and resistors, where voltage and current vary continuously. Mastery of forming and solving these equations enables engineers to predict system behavior, design stable control systems, and optimize performance in applications such as power electronics and signal processing. This chapter focuses on first and second order differential equations relevant to electrical engineering contexts.
3.1 Formation and solution of 1st and 2nd order differential equations
In electrical engineering, differential equations describe relationships between electrical quantities and their rates of change. For example, the voltage-current relationship in an RL or RC circuit results in first order differential equations, while RLC circuits yield second order equations. Understanding how to form these equations from circuit laws and solve them accurately is crucial for analyzing transient and steady-state responses. This section develops methods to handle various forms of first order equations and introduces second order equations encountered in practical electrical systems.
3.1.1 1st order variable separable
First order variable separable differential equations are common in circuits where variables can be separated and integrated independently, such as charging and discharging capacitors.
Formation of variable separable equations
- Circuit analysis leads to differential relationships: Applying Kirchhoff’s voltage law (KVL) to simple RC or RL circuits yields equations involving derivatives of voltage or current.
- Variables can be isolated on each side: The equation is expressed as a product of a function of one variable and the derivative of another, enabling separation.
- Example: RC circuit voltage: \( \frac{dV}{dt} = -\frac{1}{RC} V \) where \(V\) is voltage across the capacitor.
- Initial conditions specify the constant of integration: These conditions reflect the system’s state at \(t=0\), necessary for unique solutions.
- Physical interpretation: Separation implies the rate of change depends solely on the current state, typical for first order linear systems.
Solution method for variable separable equations
- Step 1: Rewrite the differential equation: Express as \( \frac{dy}{dx} = g(x) h(y) \).
- Step 2: Separate variables: Rearrange to \( \frac{1}{h(y)} dy = g(x) dx \).
- Step 3: Integrate both sides: Perform indefinite integrals \( \int \frac{1}{h(y)} dy = \int g(x) dx \).
- Step 4: Include integration constant: Add \(C\) after integration.
- Step 5: Apply initial conditions: Substitute known values to solve for \(C\).
- Step 6: Express explicit solution: Write \(y\) as a function of \(x\) if possible.
Example application in electrical engineering
- Given: Voltage across a discharging capacitor in an RC circuit follows \( \frac{dV}{dt} = -\frac{1}{RC} V \).
- Known: \(R = 1 k\Omega\), \(C = 10 \mu F\), initial voltage \(V_0 = 5 V\).
- Form the equation: \( \frac{dV}{dt} = -100 V \) (since \(1/RC = 1/(1000 \times 10 \times 10^{-6}) = 100\)).
- Separate variables: \( \frac{1}{V} dV = -100 dt \).
- Integrate: \( \int \frac{1}{V} dV = \int -100 dt \).
- Result: \( \ln |V| = -100 t + C \).
- Apply initial condition: At \( t=0\), \( V = 5 \), so \( \ln 5 = C \).
- Final solution: \( V = 5 e^{-100 t} \).
Importance of initial conditions in solutions
- Uniqueness of solution: Initial values ensure one specific solution among infinite possible.
- Physical relevance: Reflects actual starting state of electrical system.
- Affects transient response: Determines how quickly voltage or current changes.
- Critical in control systems: Initial states influence system stability assessments.
- Measurement verification: Engineers can validate models by comparing predicted and measured initial conditions.
3.1.2 1st order homogeneous
First order homogeneous differential equations appear in electrical engineering when the equation can be expressed as a function of the ratio of variables, often representing self-similar or scaling behaviors.
Definition and identification of homogeneous equations
- Form: \( \frac{dy}{dx} = F(\frac{y}{x}) \) where the right side is a function of the ratio \(y/x\).
- Homogeneity implies: The equation’s structure remains unchanged under scaling of variables.
- Common in circuit analysis: For example, when current and voltage scale proportionally in some nonlinear devices.
- Recognition: Can be tested by substituting \(y = vx\) where \(v\) is a function of \(x\).
- Reduction to separable form: Substitution simplifies the equation for integration.
Solution technique through substitution
- Step 1: Substitute \( y = vx \), hence \( dy/dx = v + x dv/dx \).
- Step 2: Rewrite the equation: Replace \(dy/dx\) and \(y/x\) terms with \(v\) and \(dv/dx\).
- Step 3: Rearrange to isolate \(dv/dx\): Obtain an equation in terms of \(v\) and \(x\).
- Step 4: Separate variables: Express \(dv/dx\) as a product of a function of \(v\) and a function of \(x\).
- Step 5: Integrate both sides: Integrate with respect to \(v\) and \(x\).
- Step 6: Back-substitute \(v = y/x\): Write solution in original variables.
Example in electrical circuits
- Given: \( \frac{dy}{dx} = \frac{x + y}{x} \).
- Rewrite RHS: \( \frac{x + y}{x} = 1 + \frac{y}{x} \).
- Substitute: \( y = vx \), so \( dy/dx = v + x dv/dx \).
- Replace: \( v + x dv/dx = 1 + v \).
- Simplify: \( x dv/dx = 1 + v, v = 1 \).
- Separate: \( dv = \frac{1}{x} dx \).
- Integrate: \( \int dv = \int \frac{1}{x} dx \).
- Result: \( v = \ln |x| + C \).
- Back-substitute: \( y = x (\ln |x| + C) \).
Physical interpretation in electrical engineering
- Scaling behavior: Voltage and current may scale proportionally, as in some semiconductor devices.
- Homogeneous response: Systems respond similarly at different scales of input.
- Nonlinear device modeling: Useful in analyzing devices with variable resistance.
- Signal processing: Helps in analyzing waveforms that maintain shape but change amplitude.
- Power system modeling: Homogeneous equations assist in load flow and stability studies.
3.1.3 1st order linear
First order linear differential equations are prevalent in electrical engineering, especially in transient analysis of circuits with resistors, inductors, and capacitors.
Structure and characteristics of 1st order linear equations
- General form: \( \frac{dy}{dx} + P(x) y = Q(x) \).
- Linearity implies: The dependent variable and its derivative appear to the first power.
- Superposition applies: Solutions can be combined linearly.
- Common in RL and RC circuits: Describes voltage or current with time-varying sources.
- Solution requires integrating factor: A standard technique to solve.
Integrating factor method for solution
- Step 1: Identify \(P(x)\) and \(Q(x)\) from the equation.
- Step 2: Calculate integrating factor \( \mu(x) = e^{\int P(x) dx} \).
- Step 3: Multiply entire equation by \( \mu(x) \) to make LHS exact derivative.
- Step 4: Express LHS as \( \frac{d}{dx} [\mu(x) y] = \mu(x) Q(x) \).
- Step 5: Integrate both sides with respect to \(x\).
- Step 6: Solve for \(y\) and apply initial conditions if available.
Example in electrical engineering context
- Given: \( \frac{di}{dt} + \frac{R}{L} i = \frac{V}{L} \) for an RL circuit, \(R = 10 \Omega\), \(L = 2 H\), \(V = 20 V\).
- Identify: \(P(t) = \frac{10}{2} = 5\), \(Q(t) = \frac{20}{2} = 10\).
- Integrating factor: \( \mu(t) = e^{\int 5 dt} = e^{5t} \).
- Multiply equation: \( e^{5t} \frac{di}{dt} + 5 e^{5t} i = 10 e^{5t} \).
- Rewrite LHS: \( \frac{d}{dt} (e^{5t} i) = 10 e^{5t} \).
- Integrate: \( \int \frac{d}{dt} (e^{5t} i) dt = \int 10 e^{5t} dt \).
- Result: \( e^{5t} i = 2 e^{5t} + C \).
- Solve for \(i\): \( i = 2 + C e^{-5t} \).
- Apply initial condition: If \(i(0) = 0\), then \( 0 = 2 + C \Rightarrow C = -2 \).
- Final solution: \( i = 2 (1 - e^{-5t}) \) amperes.
Practical importance in circuit design
- Transient analysis: Predicts how current or voltage changes after switching.
- Control system design: Models system response to inputs.
- Signal filtering: Describes charging and discharging in capacitive filters.
- Power electronics: Helps in designing converters and inverters.
- Fault analysis: Assists in understanding circuit response during faults.
Practice Questions
-
A capacitor with \(C = 20 \mu F\) is charged through a resistor \(R = 2 k\Omega\). If the initial voltage is 10 V, find the voltage across the capacitor at time \(t = 0.01\) seconds. (5 marks)
-
Solve the differential equation \( \frac{dy}{dx} = \frac{x + y}{x} \) given \( y(1) = 2 \). (6 marks)
-
An RL circuit has \(R = 5 \Omega\), \(L = 1 H\), and is connected to a 15 V source. If the initial current is zero, find the expression for current \(i(t)\) for \(t > 0\). (7 marks)
-
Find the general solution to the first order differential equation \( \frac{dy}{dx} + 3y = 6 \). (5 marks)
-
A resistor and capacitor are connected in series with a voltage source of 12 V. The resistor is \(1 k\Omega\) and capacitor is \(5 \mu F\). Determine the voltage across the capacitor after 2 ms if initially uncharged. (7 marks)
The rest of this chapter
🔒Create a free account to open more of this chapter.
Free: practical guides, quick cards, workplace scenarios and more.
Create a free account 🔒3.2 2nd order by the determination of coefficients
In electrical engineering, second-order differential equations model phenomena such as RLC circuit responses, control systems, and signal processing. These equations often describe voltage, current, or charge variations over time. A common method to solve them…
🔒3.3 D-operator method
The D-operator method is a powerful algebraic tool for solving linear differential equations with constant coefficients, frequently encountered in electrical engineering problems such as transient analysis of circuits and control systems. It simplifies the pro…
🔒3.4 Applications of differential equations
In Electrical Engineering in Kenya, differential equations are fundamental in modeling and analyzing dynamic systems such as circuits, control systems, and signal processing. Understanding how differential equations describe electrical phenomena enables engine…
Chapter Summary
This chapter focused on ordinary differential equations, beginning with the formation and solution of first and second order differential equations. It covered first order equations including variable separable, homogeneous, and linear types, demonstrating methods to solve each. The chapter then addressed second order differential equations through the determination of coefficients, explaining how to find particular and complementary solutions. The D-operator method was introduced as a powerful tool for solving differential equations, including its application to simultaneous differential equations and series solutions. Finally, practical applications of differential equations in engineering contexts were explored to show their relevance and use in solving real-world problems. Throughout, emphasis was placed on step-by-step solution techniques to build strong problem-solving skills.
Self-Assessment
🔒 PDFDownload this self-assessment, with answers
Written Assessment
-
Solve the first-order differential equation representing the current decay in an RL circuit:
\(\frac{di}{dt} + 5i = 0\), where \(i\) is the current in amperes and \(t\) is the time in seconds. Find \(i\) when \(t = 2\) s if \(i(0) = 10\) A. (3 marks)
-
An electrical signal \(y(t)\) obeys the equation \(\frac{dy}{dt} = \frac{3y}{t}\) for \(t > 0\). Find \(y\) when \(t = 4\) given that \(y(1) = 2\). (3 marks)
🔒18 more in this section.
Chapter Examination Questions
🔒 PDFDownload these examination questions, with worked answers
SECTION A (40 Marks) - Answer ALL Questions
- A resistive-inductive (RL) circuit in a Nairobi power substation is modeled by the differential equation \(\frac{di}{dt} + 5i = 10\). Solve the equation using the first order linear method. (4 marks)
- Determine the general solution of the first order differential equation \(\frac{dy}{dx} = \frac{x+y}{x}\) using the first order homogeneous method. (4 marks)
🔒18 more in this section.