- Learn
- Mathematics
- University Math
- Differential Equations
- Nonhomogeneous Differential Equations
Nonhomogeneous Differential Equations: Forced Oscillations
IntermediateLesson 4 of 8 in Differential Equations Course
What you will learn
- Build the general solution of a nonhomogeneous linear equation from the complementary solution and one particular solution, and find that particular solution for constant-coefficient equations whose forcing term is a polynomial, exponential, sine, cosine or a combination of these.
- Combine a complementary and a particular solutionExplain why every solution of a nonhomogeneous linear equation is the complementary solution plus one particular solution, split a forcing term into parts by superposition, and fit initial conditions to the complete solution.
- Choose trial forms for polynomial, exponential and sinusoidal forcingGuess a particular solution with the same shape as the forcing term, substitute it into the equation and match coefficients to find the unknown constants.
- Adjust the trial form when it repeats a homogeneous solutionRecognize when a trial term already solves the homogeneous equation, multiply the trial form by t or t² as needed, and write correct trial forms for sums of forcing terms without solving for every constant.
- Use complex exponentials for exponential and sinusoidal forcingApply the exponential response formula and complex replacement to find particular solutions quickly, read off amplitude and phase, and handle the case where the forcing matches a characteristic root.
- Combine a complementary and a particular solution
- Find a particular solution for any continuous forcing term once two independent solutions of the homogeneous equation are known, including equations with variable coefficients, and choose between the two methods.
- Derive and apply the variation of parameters formulasReplace the constants of the complementary solution with functions, solve for their derivatives with the Wronskian, and integrate to get a particular solution.
- Handle variable coefficients and choose a methodPut an equation in standard form before using the formulas, work with a given pair of homogeneous solutions, use the integral form for initial value problems, and decide which method fits a problem.
- Derive and apply the variation of parameters formulas
- Build the spring–mass–dashpot equation from physical data in SI units and describe how damping changes the motion of a system with no external force.
- Set up the spring–mass model and describe undamped motionTurn a physical description into an initial value problem with consistent units and signs, and describe simple harmonic motion by its amplitude, phase, natural frequency and period.
- Classify damping and describe damped motionUse the characteristic equation to decide whether a damped system is underdamped, critically damped or overdamped, and describe each motion by its decay, quasi-frequency and crossings of equilibrium.
- Set up the spring–mass model and describe undamped motion
- Predict the motion of a spring–mass system driven by a periodic force: separate transient and steady-state behavior, explain beats and resonance, and describe how the response depends on the forcing frequency.
- Separate transient and steady-state responseSolve damped systems driven by a sinusoidal force, identify the part that dies out and the part that persists, and describe the long-term motion by its amplitude and phase lag.
- Explain beats and pure resonance in undamped systemsSolve undamped systems forced near or at their natural frequency, explain the beat pattern, and explain why forcing at the natural frequency makes the amplitude grow without bound in the model.
- Read frequency response, gain and practical resonanceDescribe how the steady-state amplitude and phase lag change with the forcing frequency, find the frequency of largest response, and compare gain curves for different amounts of damping.
- Separate transient and steady-state response
- Write the differential equation of a series RLC circuit, translate between circuit and spring–mass quantities, and analyze free and driven circuits with the methods of the earlier goals.
- Write the circuit equation and analyze the free responseApply Kirchhoff's voltage law to a series RLC circuit, match each circuit quantity with its mechanical counterpart, and classify and solve the circuit's free response.
- Analyze a driven RLC circuit and its resonanceFind the steady-state charge and current of a circuit driven by a sinusoidal voltage, and explain why the current is largest when the driving frequency equals the natural frequency.
- Write the circuit equation and analyze the free response
Nonhomogeneous Differential Equations study guide
1Find a particular solution
A forcing term changes the family of solutions, but the homogeneous equation still supplies its two arbitrary constants. Finding one particular solution is the new task. For constant coefficients, many useful inputs stay in a small family when differentiated. You can use that pattern to choose a trial form, fix any overlap with the homogeneous solution, and turn the differential equation into algebra. Complex exponentials offer a shorter route for sinusoidal inputs.
1.1 The complete solution and initial conditions
A nonhomogeneous linear equation has a forcing term that is not identically zero:
Setting the right side to zero gives its complementary equation. If two independent solutions of that equation are and , its general solution is . A particular solution is one function that produces the required forcing, with no arbitrary constants.
Why the two parts add
Write the left side as the linear operator . Linearity means that differentiation and multiplication by the coefficients preserve sums and constant multiples. Thus
This gives a solution, and it gives every solution. If is any other solution with the same forcing, then . The difference belongs to the complementary family. Therefore the complete family is
Two particular solutions can look different and both be right. Their difference solves the complementary equation, so changing the particular solution only changes the constants used to describe the same family.
Split a forcing term into manageable pieces
For the same operator, if and , then . This lets you handle each term of a sum separately.
For , take and . Substitution gives
So handles the full forcing. Adding particular solutions works because the operator is linear; multiplying two solutions has no corresponding rule.
Fit the complete motion
Solve with .
- The characteristic equation is , giving .
- A trial gives , so .
- Add both parts before applying the data: .
- Evaluate the function and its derivative at zero:
Adding the equations gives . Hence and , so
The initial values are and . Fitting the data to the complementary part alone would set both constants to zero. Adding the particular solution afterward would give and spoil the prescribed initial position.
Keep the interval with the solution
If are continuous on an open interval containing the initial time, the initial value problem has exactly one solution throughout that interval. For , an interval such as keeps the forcing continuous. A formula involving that forcing is not a solution through its singularities.
Key Takeaways
- Every solution has the form .
- Particular solutions for separate forcing terms add by linearity.
- Apply initial conditions to the complete solution and its derivative.
- Keep solutions on intervals where the normalized coefficients and forcing are continuous.
1.2 Trial forms and coefficient matching
Undetermined coefficients finds a particular solution by choosing a family of functions with unknown constants. It works for constant-coefficient equations forced by polynomials, exponentials, sines, cosines, and their sums and products. Their derivatives stay within a finite family, so substitution produces a finite linear system.
Choose enough terms
These are basic trial forms; first check whether they overlap the complementary solution.
| Forcing | Basic trial |
|---|---|
| A degree- polynomial | |
| or |
For a polynomial multiplying an exponential or sinusoid, use a complete polynomial of that degree in every needed slot. For example, calls for . Differentiation can create constant terms and exchange sine with cosine.
A polynomial needs its lower powers
For , use . Its second derivative is , so substitution gives
The coefficients of the independent functions must agree separately:
Therefore and . Trying only would leave a constant that the forcing cannot match. A zero coefficient is something you discover by matching, not a reason to omit that term in advance.
A cosine input can produce a sine term
For , choose
Then and . Collecting coefficients gives
The second equation gives ; the first becomes . Thus . The first-derivative term couples sine and cosine, even though the input contains only cosine. Use the forcing frequency in the trial: an input uses and .
Exponential and product inputs
For , the trial gives , so . A constant input is the case with exponent zero: forcing 7 in the same equation gives the constant solution .
For , choose . Applying the operator gives
Matching yields and . Hence
The constant in the polynomial is needed because differentiating the product creates an extra exponential term. Substitution into the original equation checks both the coefficients and derivative signs. Inputs such as or do not have the finite derivative family used by this method; variation of parameters handles them.
Key Takeaways
- Use undetermined coefficients for constant coefficients and finite derivative families.
- Include every polynomial power down to the constant term.
- Use both sine and cosine at the forcing frequency.
- For products, give each sinusoidal slot a complete polynomial of the needed degree.
- Substitute, collect independent functions, and match their coefficients.
1.3 When a trial repeats the complementary solution
A trial cannot produce a nonzero forcing if every function in it is killed by the differential operator. For , the characteristic roots are 2 and −1. Since is already a homogeneous solution, substituting gives zero for every value of .
Use the root multiplicity
Multiply the whole basic trial by , where is the multiplicity of the corresponding characteristic root. An exponent corresponds to the root ; a family corresponds to . In a second-order equation, is 0, 1, or 2.
| Root status | Multiplier |
|---|---|
| Not a root | |
| Simple root | |
| Double root |
This test uses the characteristic roots of the actual equation. A matching frequency alone does not establish duplication when an exponential factor is also present.
A simple root needs one factor of time
Return to . Try . The product rule gives
Substitution leaves
Thus and . The time-dependent terms cancel, leaving exactly the required exponential.
A double root needs two factors
For , the polynomial is . Both and belong to the complementary solution, so multiplying by just still fails. Use . Applying the operator gives , hence
For , the roots are . The trial is , giving . The solution has a growing envelope: this algebraic overlap is the source of pure resonance in an undamped oscillator.
Modify a family without collapsing it
For , begin with . Since 1 is a simple root, multiply the whole family:
Substitution gives , so . If only the constant slot were multiplied by , the two terms would merge into and lose the independent coefficient needed to match the forcing.
For sums, perform the test separately. In , the sinusoidal family overlaps but the exponential does not. A suitable trial is
Finally, overlaps for because its roots are . It does not overlap for , whose roots are . The exponential factor is part of the root test.
Key Takeaways
- Check the characteristic roots before substituting a trial.
- Multiply the entire trial family by , using the corresponding root multiplicity.
- A repeated real root can require .
- Check each independent forcing family separately.
- The exponential factor and the sinusoidal frequency both enter the duplication test.
- Resonant sinusoidal forcing introduces a time factor and a growing envelope.
1.4 Complex exponentials and the response formula
For a constant-coefficient operator , define its characteristic polynomial . Since each derivative of supplies a factor of ,
This identity holds for real and complex values of . It turns exponential forcing into polynomial evaluation.
Divide by the characteristic polynomial
For forcing with , the exponential response formula is
For , , so . The leading coefficient stays inside ; dividing the equation by it is optional only if you divide the forcing too.
Replace a sinusoid with a complex exponential
Euler's formula gives . For real coefficients, the operator acts separately on real and imaginary parts. Solve
Take the real part for a cosine input and the imaginary part for a sine input. Perform the division before taking either part, since the denominator itself is complex.
For ,
Multiplication gives
The cosine-forced solution is . The same complex calculation supplies for input . Evaluating instead of would miss the negative sign from and lose the phase information.
Read amplitude and phase
Write . Division reduces the magnitude and subtracts the angle:
For the example, , so the amplitude is and rad. Use the signs of both real and imaginary parts to choose the quadrant. The equality with follows from the cosine subtraction identity.
Handle a zero denominator
When , the ordinary response formula cannot be used. The modification rule supplies the replacement:
- Simple root: .
- Double root: .
For and input , , giving . For and input , , giving . The same rule works at complex roots; taking the final real or imaginary part produces the resonant sinusoidal response.
Key Takeaways
- For , divide by .
- Use for sinusoidal forcing.
- Take the real part for cosine and imaginary part for sine after complex division.
- The denominator magnitude sets amplitude; its argument sets the phase shift.
- At a characteristic root, use the derivative formula with the required time factor.
2Solve with variation of parameters
Some forcing terms do not fit a finite trial family, and variable coefficients can break the algebra behind undetermined coefficients. Variation of parameters starts from two known homogeneous solutions and changes their constants into functions. The resulting integrals describe the forced response. Normalizing the equation, preserving the Wronskian's sign, and choosing a valid interval are the main decisions that keep this method reliable.
2.1 Turn constants into functions
Suppose form a fundamental set for . Variation of parameters looks for a particular solution of the forced equation in the form
The functions let the size of each homogeneous component change over time. The method works for any continuous forcing on a regular interval once the fundamental set is known.
Derive two equations for two unknown derivatives
There are two unknown functions, so impose the simplifying condition
Then . Differentiating again introduces , but no second derivatives of the unknown functions. Substitution into the equation makes the terms multiplying vanish because are homogeneous solutions. What remains is
Solve these two equations using their determinant, the Wronskian:
A fundamental set has nonzero Wronskian throughout the working interval. Keep its order consistent with the formulas; reversing the determinant alone reverses the computed forcing.
Work through a nonpolynomial input
Solve on . The homogeneous solutions are and , giving
The forcing is , so
On this interval . Integration gives and . Multiply each result by its own homogeneous function:
The general solution is
Reporting would omit the factors that make this construction work. Undetermined coefficients cannot use a finite standard trial family for ; repeated derivatives keep producing new products of secant and tangent.
Why integration constants may be omitted
A constant added to contributes a multiple of ; a constant added to contributes a multiple of . Both contributions are already present in . For the same reason, you can remove any homogeneous term from a particular solution without changing the forcing.
For on , choose . Here , so . Integration and multiplication give
The first term is homogeneous, so alone is also a particular solution.
The method can also handle exponential inputs. For , the pair has . The integrals give , whose contributions sum to . The algebraic response formula reaches that result faster, but both methods solve the same equation.
Key Takeaways
- Use with a known fundamental set.
- The chosen condition simplifies differentiation.
- Compute in the same order as the formulas.
- Integrate and , then restore the homogeneous factors.
- Integration constants and homogeneous terms can be absorbed into the complementary solution.
2.2 Normalize, integrate, and choose a method
The variation formulas use an equation whose leading coefficient is 1. For
divide every term by on an interval where it is nonzero. The forcing used in the formulas is . Leaving the original right side unchanged solves a different equation.
A variable-coefficient example
Consider for , with homogeneous solutions . They satisfy the original homogeneous equation: and .
- Normalize to , so .
- Compute the determinant:
- Find and integrate the unknown derivatives:
- Restore the factors: . Thus
Check in the original equation: . If the unnormalized forcing were used, the calculation would produce , whose original left side is . Checking before normalization reveals the error clearly.
An integral can be the finished answer
Choose a fixed lower limit equal to the initial time . The particular solution
has . The integral vanishes at the lower limit; the kernel at is also zero, which gives the zero initial derivative. Add a homogeneous solution carrying the desired nonzero initial values.
For , choose . The kernel becomes . With zero initial data at time zero,
This is an exact solution even when no elementary antiderivative is available. The variable runs over the earlier forcing times; is the time where the response is evaluated.
Select the method from the equation
| Equation and forcing | Efficient choice |
|---|---|
| Constant coefficients; polynomial, exponential, or sinusoidal family | Undetermined coefficients |
| A single exponential or sinusoid with constant coefficients | Exponential response or complex replacement |
| Other continuous forcing, such as or | Variation of parameters |
| Variable coefficients and a known fundamental set | Variation of parameters |
Variable coefficients may still admit a simple particular solution by inspection, but the standard undetermined-coefficients trial table is built for constant coefficients. State an interval where the leading coefficient is nonzero and all normalized coefficients and forcing are continuous. An integral formula cannot carry a solution through a singular point of the equation.
Key Takeaways
- Normalize the entire equation and use .
- Variation of parameters works with variable coefficients when a fundamental set is known.
- A definite-integral particular solution can enforce zero initial position and derivative.
- Choose algebraic trials for suitable constant-coefficient inputs and integrals for more general inputs.
3Model free motion and damping
A spring, a mass, and a damper translate directly into the coefficients of a second-order equation. Measuring displacement from equilibrium removes the constant gravity term in a vertical system. Initial position and velocity set the size and phase of the motion, while the physical parameters set its frequency and decay. The characteristic roots then distinguish oscillations with a shrinking envelope from returns to equilibrium without repeated crossings.
3.1 Spring forces and simple harmonic motion
Let be displacement from equilibrium in meters. A mass is measured in kilograms, the spring constant in N/m, and the damping coefficient in N·s/m. Hooke's law gives restoring force , and the damper gives force . Newton's law becomes
Each term has units of newtons. A positive displacement gives a negative restoring force because the spring pulls toward equilibrium; the damping force opposes velocity.
Locate equilibrium before measuring motion
For a vertical spring, choose downward as positive and let be its stretch at equilibrium. Then . At an extra displacement , the net gravity and spring force is
Gravity remains physically present, but its constant contribution cancels the force from the equilibrium stretch. A 2 kg mass stretching a spring by 9.8 cm gives
Convert lengths to meters first. Also distinguish mass from weight: a weight of 19.6 N corresponds to a mass of 2 kg when .
Translate the initial description
With downward positive, “pulled 5 cm below equilibrium and released” gives m and . An upward initial velocity of 0.4 m/s at equilibrium gives m/s. The word “released” specifies rest, while “at equilibrium” specifies position; these describe different initial quantities.
Undamped motion
When and , division by the mass gives
The natural angular frequency is in rad/s. The ordinary frequency and period are
For the 2 kg mass and 200 N/m spring, rad/s, Hz, and s. Released 5 cm below equilibrium, the motion is .
Find amplitude and phase from the data
Write . At zero, and . Therefore
with and when . For m and m/s at , the coefficients are 0.03 and 0.04 m. Thus m and rad.
Use both signs when choosing the phase. For , the amplitude is 5 and the phase lies in quadrant II: rad. A plain arctangent of the ratio would choose the wrong quadrant.
The frequency depends on , while the initial data set amplitude and phase. With no damping or forcing, the total energy stays constant as kinetic and spring energy exchange.
Key Takeaways
- Measure displacement from equilibrium and state the positive direction.
- Use with consistent SI units.
- An equilibrium stretch gives .
- The natural angular frequency is ; divide by to obtain hertz.
- Initial position and velocity set amplitude and phase, not the natural frequency.
- Choose phase from both sine and cosine signs.
3.2 Three damping regimes
For free damped motion, with positive . The characteristic roots are
Their real parts are negative, so every free motion tends to equilibrium. The discriminant decides how it gets there.
Classify before solving
| Regime | Condition | Solution form |
|---|---|---|
| Overdamped | , distinct negative roots | |
| Critically damped | ||
| Underdamped |
Here is the decay rate and is the quasi-frequency. The critical coefficient and damping ratio are
For positive damping, means underdamped, critical, and overdamped. Also , so damping lowers the free oscillation frequency below .
Solve an underdamped initial value problem
Take kg, N/m, and N·s/m. The normalized characteristic equation is , with roots . Thus
Release from rest at m. Position gives . Differentiating the exponential as well as the sinusoid gives
so . The result is
Its envelope is . Successive positive maxima are separated by the quasi-period s and shrink by the factor . The motion is not periodic: the sinusoid repeats its phase while the envelope shrinks. Using the undamped frequency 10 in this solution would fail the equation.
Critical and overdamped returns
For the same mass and spring, N·s/m. At the repeated root is −10. With and ,
It crosses equilibrium once, at 0.1 s, and then approaches from the other side. “Does not oscillate” permits this single crossing.
At , the roots are −5 and −20. Releasing from rest at 0.05 m gives
This motion decreases toward zero. For a nonzero critical or overdamped motion, equilibrium can be crossed at most once; there is no sustained back-and-forth motion.
Increasing damping beyond critical does not guarantee faster settling. The overdamped solution can contain the slower tail , while the critical solution decays with times a linear factor. Near-critical damping is useful when a mechanism must settle quickly without repeated swings.
Key Takeaways
- The discriminant separates the three damping regimes.
- Positive damping makes all free solutions decay to zero.
- Underdamped motion has decay rate and quasi-frequency below .
- Differentiate the exponential envelope when fitting initial velocity.
- Critical and overdamped motion can cross equilibrium once without oscillating.
- Excess damping can introduce a slower return than critical damping.
4Predict forced motion and resonance
A periodic input adds a second frequency to the oscillator: the driving frequency set by the force. With damping, the free response fades and a forced oscillation remains. Without damping, the two frequencies can produce beats, and an exact match produces growing motion. Comparing amplitudes across driving frequencies gives the gain curve, which shows how damping controls the height and location of a resonance peak.
4.1 Transient and steady-state motion
A sinusoidally driven spring satisfies
The driving frequency comes from the external force. The natural frequency comes from the mass and spring. With positive damping, the complementary response decays, while a sinusoidal particular response persists. These are the transient and the steady state.
Find the steady amplitude and lag
Complex replacement uses
Let . The steady state is
where
For positive , choose . If is negative, the phase is in quadrant II. A calculator's single-argument arctangent of then needs a quadrant correction. The time lag is , since a phase shift in radians must be divided by angular frequency to become seconds.
For kg, N·s/m, N/m, N, and rad/s, the real and imaginary parts are 72 and 192. Thus
The response is about m, delayed by about 0.15 s.
Include the transient to fit a start
Consider , starting at rest at equilibrium. The characteristic roots are , so
Undetermined coefficients gives . Apply the initial data to their sum. Position gives . The derivative at zero gives
Hence and
The transient adjusts the particular solution to the chosen start. Initial data change its coefficients but leave the steady state unchanged. Applying zero initial data to alone would reject the steady state for failing conditions it does not need to satisfy by itself.
Read the long-term motion
The transient envelope in this example is m. At 5 s it is about 0.017 m, while the steady amplitude is m. This gives a quantitative way to decide when the steady state is a good approximation.
The transient oscillates at 2 rad/s, but the persistent response oscillates at 1 rad/s, the driving frequency. In an underdamped system a few decay times often make the transient small; the required waiting time depends on the initial transient size and the accuracy needed. The split into a decaying free response and a persistent forced response also holds for critical and overdamped systems.
Key Takeaways
- With positive damping, the complementary response is transient.
- The steady state oscillates at the driving frequency.
- Initial conditions change the transient but not the steady-state amplitude or phase.
- Steady amplitude is .
- Choose the phase quadrant from both real and imaginary parts.
4.2 Beats and pure resonance
Without damping, the free oscillation does not fade. For with , a particular solution is
The full response also contains sine and cosine terms at . Calling those terms a transient would suggest decay that the undamped equation does not have.
Two nearby frequencies make beats
Starting at rest at equilibrium forces the complementary cosine to cancel the initial particular displacement. The result is
The cosine-difference identity rewrites this as
When the frequencies are close, one factor changes slowly and acts as an envelope around the fast oscillation. The visible envelope uses the absolute value of the slow factor. Its swells repeat every
In hertz the beat frequency is . Two tones at 440 and 443 Hz produce three swells per second. The signed slow sine has twice the envelope's repetition period; counting its full signed cycle would undercount the beats.
For a 2 kg mass on a 200 N/m spring, rad/s. A force N, with zero initial data, gives
The fast factor has angular frequency 9 rad/s, and the envelope swells every seconds. Its maximum height is m; the actual displacement follows the fast factor inside it.
Exact matching changes the solution form
At , the nonresonant denominator vanishes. Return to the equation and apply the duplicated-trial rule. The particular solution is
Its envelope grows linearly. With the same mass and spring but force N,
The envelope reaches 0.6 m at 2 s. That does not mean the displacement equals 0.6 m at that instant; the sine factor still sets the position. This is pure resonance, an unbounded response in the undamped linear model.
It is also the limit of the zero-initial-data beat solution, since
The beat swells become taller and farther apart as the frequencies approach one another.
Connect the model to physical motion
Positive damping keeps this linear system's sinusoidal response bounded, although light damping can permit large, damaging amplitudes. At large displacements, a real spring can cease to follow the linear force law. A swing gains energy from well-timed pushes; a glass can respond strongly to a tone near a vibration frequency.
The Tacoma Narrows Bridge collapse is a different mechanism: aeroelastic flutter fed energy from steady wind into the deck's twisting motion. It was self-excited motion, not periodic gusts simply matching a natural frequency.
Key Takeaways
- An undamped free component persists alongside the forced component.
- Nearby frequencies produce beats with period .
- At exact undamped resonance, the envelope grows as .
- Positive damping bounds the sinusoidal response in the linear model.
4.3 Gain curves and practical resonance
The gain is steady displacement amplitude per unit force amplitude:
It has units m/N, and the actual amplitude is . Some references use the dimensionless ratio , comparing motion with the static displacement . Multiplying by changes the vertical scale, not the peak frequency.
Read the ends and center of the response
For positive damping, slow forcing gives and phase lag : the mass nearly tracks the static displacement. At , the real part of is zero, so
At high frequency, and . The displacement is small and almost opposite in phase to the force. The phase increases continuously from zero toward , with a sharper transition when damping is light.
Find the displacement peak
Maximizing gain means minimizing its squared denominator,
Differentiate:
A positive-frequency minimum exists exactly when . For positive damping this gives the practical resonance frequency
Its peak gain is , using the free quasi-frequency . If , gain decreases from its static value and has no peak at positive frequency. Underdamping requires only , so an underdamped system can still lack a displacement resonance peak.
Compare two damping values
Let kg and N/m. With N·s/m,
For a 40 N force, the peak amplitude is about 0.208 m. The slow-force amplitude is 0.200 m, while driving at gives about 0.167 m.
With , the peak shifts to rad/s and its gain rises to about 0.0251 m/N, roughly 5.03 times the static gain. Reduced damping makes the peak taller and narrower. As damping tends to zero, the peak approaches and grows without bound.
Distinguish the three frequencies
The natural frequency describes the undamped system. The quasi-frequency describes decaying free oscillations. The frequency gives the largest driven displacement when that positive-frequency peak exists. For positive damping with a peak, .
Velocity amplitude is and peaks exactly at for every . The quality factor is . It is 5 for and about 0.83 for . Convert rad/s to hertz by dividing by ; 5.29 rad/s is about 0.84 Hz.
Key Takeaways
- Gain is amplitude per unit force; multiply it by for displacement amplitude.
- A positive displacement peak exists only when .
- Practical resonance lies below for positive damping.
- At , the phase lag is and the amplitude remains finite for positive damping.
- Velocity amplitude peaks at .
- Natural, quasi-, and practical-resonance frequencies describe different behaviors.
- The quality factor is .
5Solve series RLC circuit models
Charge in a series circuit follows the same second-order equation as displacement on a spring. Inductance supplies the mass-like term, resistance removes energy, and inverse capacitance supplies the restoring term. This analogy transfers the solution methods and damping tests to circuits. Differentiating charge gives current, which changes both the forcing equation and the frequency at which the measured response is greatest.
5.1 The circuit equation and free response
A series RLC circuit contains a resistor, an inductor, and a capacitor in one loop. Let be capacitor charge in coulombs and the current in amperes. Use inductance in henrys, resistance in ohms, capacitance in farads, and source voltage in volts.
Add voltage drops around the loop
The resistor drop is , the inductor drop is , and the capacitor drop is . Kirchhoff's voltage law sets their sum equal to the source:
Replacing current by the derivative of charge gives
Differentiating every term gives the current equation
A constant source has zero derivative in the current equation. To recover consistent initial data for that equation, use the original loop law: . Differentiation does not remove the original physical relation.
Transfer the mechanical model
| Mechanical quantity | Circuit quantity |
|---|---|
| Displacement | Charge |
| Velocity | Current |
| Mass | Inductance |
| Damping coefficient | Resistance |
| Stiffness | Inverse capacitance |
| Force | Voltage |
A larger capacitance acts like a softer spring, lowering the natural frequency
For positive resistance, compare with to classify the free response: greater means overdamped, equal means critical, and smaller means underdamped.
Solve a source-free example
Let H, Ω, and F. With no source,
The roots are . Thus rad/s, the quasi-frequency is 80 rad/s, and
Take initial charge 0.01 C and initial current zero. Position gives , while current gives . Hence and
Differentiate both factors to find current:
The charge and current oscillate while resistance converts stored electrical energy into heat.
Track units and stored energy
Convert prefixes before calculating. One millihenry is H, and one microfarad is F. For mH and μF, the product is in SI units, giving rad/s, about 1592 Hz.
With no source and , the LC circuit oscillates indefinitely in this ideal model. Its energy
is constant, exchanging between the capacitor's electric field and the inductor's magnetic field. The circuit's undamped and damped behavior therefore follows the same mathematics as the corresponding spring system.
Key Takeaways
- Kirchhoff's law gives .
- Current is , so its differentiated equation has forcing .
- Inverse capacitance plays the role of stiffness.
- Classify damping by comparing with .
- Convert prefixes before evaluating .
5.2 Driven charge, current, and resonance
For a source , the series circuit satisfies
With positive resistance, its free response decays, leaving a sinusoidal steady-state charge. The spring analogy gives the charge amplitude directly:
The charge lags the source by the argument of . Initial charge and current determine the transient added to this steady state.
Differentiate to measure current
If , then . The current amplitude is therefore
The expression in the square is zero when . Therefore current peaks at
This is a finite maximum for every positive resistance. The current is then in phase with the voltage. The result applies at this frequency; away from it the extra square in the denominator makes the current smaller.
Compute the resonant steady state
Take H, Ω, F, and V. Since rad/s,
Complex replacement gives
Differentiating produces A. Its amplitude is A, and its peaks occur with those of the voltage.
At 50 rad/s, . The current amplitude is A. At 200 rad/s the corresponding difference is , so squaring gives the same amplitude. Equal response at two frequencies does not mean they are equally far from resonance on a linear frequency scale.
Charge and current have different peaks
Charge amplitude is proportional to the capacitor voltage amplitude, since . Its positive-frequency peak exists when , at
For this circuit, rad/s. Charge peaks there, while current peaks at 100 rad/s. The factor of introduced by differentiation changes the maximum; the same distinction separates displacement and velocity peaks in mechanics.
Changing or changes , allowing a tuned circuit to favor a chosen frequency. Smaller resistance gives a sharper current peak. When the source is first switched on, use the full transient-plus-steady solution to satisfy the initial data; the steady-state formulas describe the persistent response after the free part has faded.
Key Takeaways
- Charge amplitude follows the mechanical displacement formula.
- Current amplitude equals angular frequency times charge amplitude.
- For positive resistance, current peaks at with amplitude .
- Charge has a lower positive-frequency peak only if .
- The steady-state current is in phase with the voltage at .
- Initial conditions apply to charge and current from the complete solution.
Nonhomogeneous Differential Equations examples
1From forcing term to complete solution
18 steps
- 1IntroductionOne forced response unlocks the family
A nonhomogeneous equation asks for a response to an input. Its complementary equation still gives the adjustable part of the solution.
You will first fit an exponential input, then choose richer trial families and repair overlaps. Complex exponentials will connect these algebraic methods to the amplitude and phase of a sinusoidal response.
- 2ExplanationAdd a particular solution
If and , linearity gives . Every solution has this form, since subtracting two responses to the same input cancels their forcing.
The two arbitrary constants stay in . A particular solution supplies one forced response; it need not satisfy the initial conditions on its own.
- 3ExampleFind the complementary part
Solve with .
First solve the homogeneous equation. The characteristic polynomial factors as
The roots give . Leave the constants free until the particular solution has been included, because its initial value and derivative will contribute to the data.
- 4ExampleFind the forced part
For the same equation, try . Each derivative supplies a factor of 3, so substitution gives
Thus . The complete solution is now . This expression has the right forcing for every pair of constants; the initial conditions will choose one pair.
- 5ExampleUse both initial conditions
Position at zero gives . Differentiating the complete solution gives the second equation
Adding yields , then . The initial data have selected one member of the forced family. Setting the complementary constants to zero before adding would give initial position 1 instead of zero.
- 6ChallengeAdjust the initial contribution
A solution family is . Find its member with and .
---reveal---
The conditions give and , so both constants are −1. Therefore . The constant particular part contributes to position but has zero derivative.
- 7ExplanationChoose a complete family
With constant coefficients, polynomial, exponential, and sinusoidal inputs stay in finite derivative families. Use a complete polynomial down to its constant term, and include both sine and cosine for sinusoidal input.
For product input , begin with . The constant slot can cancel the extra exponential term created when the product is differentiated.
- 8ExampleMatch a polynomial
For , choose . Substitution gives
Match the three powers separately: , , and . Thus . The constant is needed to cancel the second derivative of the quadratic, even though the forcing has no constant term.
- 9ChallengeKeep the missing lower powers
Find a polynomial particular solution of .
---reveal---
Use . Matching gives , , and , so
The second derivative contributes 6, canceled by twice the constant −3. Dropping that constant would leave an extra forcing term.
- 10Key InsightA repeated trial produces zero
If a forcing family already solves the homogeneous equation, its ordinary trial cannot create the input. Multiply the entire trial by , where is the matching characteristic root's multiplicity.
A simple root needs ; a double root needs . For a damped sinusoid, check the full number , including exponential rate and frequency.
- 11ExampleRepair a simple-root trial
For , the root 2 is simple. Try .
Its derivatives are and . Applying the operator cancels the terms containing and leaves . Hence and . The added time factor makes the operator produce a nonzero response.
- 12ChallengeCheck multiplicity and products
Choose a trial for without finding its coefficients.
---reveal---
The characteristic polynomial is . The basic trial needs two extra powers of time:
A single factor would still leave a homogeneous slot. Multiplying the whole family preserves two independent unknown coefficients.
- 13ExplanationEvaluate the operator on an exponential
Let . Since , the response to is when the denominator is nonzero.
A cosine input can be replaced by . Divide by , then take the real part. For a sine input take the imaginary part instead.
- 14ExamplePerform the complex division
For ,
Multiplying by and taking the real part gives . The denominator magnitude gives amplitude ; its quadrant-I argument gives phase lag . Taking a real part before dividing would lose this phase information.
- 15ChallengeRecover a sine-forced response
Find a particular solution of using complex replacement.
---reveal---
Here , so . The imaginary part after multiplication by is
The real part of the same complex expression would correspond to cosine forcing.
- 16TipReplace a zero denominator
At a characteristic root, division by fails. For a simple root use ; for a double root use .
These are the response formulas behind the time-multiplier rule. They also hold for complex roots, so a resonant sinusoid can be handled before taking the final real or imaginary part.
- 17ChallengeCombine two forcing families
Find one particular solution of .
---reveal---
The cosine resonates: its response is , since . The exponential uses , giving . By superposition,
Only the resonant family needs the time factor. The homogeneous sine and cosine may be added to form the complete family.
- 18RecapChoose, check, and complete
Build a particular response from the input's family, then check it against the characteristic roots. Multiply overlapping families by the time power their root multiplicity requires.
Complex replacement uses the same polynomial at and recovers real or imaginary responses after division. Add the complementary solution before fitting initial position and derivative.
2Build an integral response
12 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionUse the homogeneous solutions as building blocks
- 2ExplanationChoose a simplifying condition
- 3ExplanationSolve with the Wronskian
- 4ExampleUse a secant forcing
- 5ExampleRestore the homogeneous factors
- 6ChallengeFind and simplify a particular response
- 7TipNormalize the forcing too
- 8ExampleCompute a variable-coefficient response
- 9ChallengeDiagnose a normalization error
- 10Key InsightBuild zero initial data into the integrals
- 11ChallengeCombine normalization and an integral
- 12RecapMatch the method to the input
3From spring data to damped motion
13 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionTurn forces into a motion equation
- 2ExplanationMeasure from equilibrium
- 3ExampleConvert the physical data
- 4ExplanationRead frequency and amplitude
- 5ChallengeRead the direction and phase
- 6ExplanationClassify the roots
- 7ExampleFind decay and quasi-frequency
- 8ExampleFit release from rest
- 9Key InsightA shrinking oscillation is not periodic
- 10ChallengeSeparate frequency from decay
- 11ConnectionCritical damping is a boundary
- 12ChallengeCombine modeling and the root test
- 13RecapRead the complete motion
4Follow a forced oscillator across frequencies
16 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionA second frequency enters the motion
- 2ExplanationFind amplitude and lag together
- 3ExampleBuild a steady response
- 4ExampleFit the starting motion
- 5ChallengeChoose the phase quadrant
- 6ExplanationKeep the undamped free response
- 7ExampleExpose the beat envelope
- 8ChallengePredict a beat interval
- 9ExampleMatch the natural frequency exactly
- 10ExplanationMeasure amplitude per unit force
- 11ExplanationLocate a positive-frequency peak
- 12ExampleCompare the three frequencies
- 13ChallengeDoes underdamping guarantee a peak?
- 14ConnectionVelocity changes the maximum
- 15ChallengeChoose a frequency for the measured response
- 16RecapName the response before naming resonance
5Solve an RLC oscillator
13 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionThe oscillator equation also describes charge
- 2ExplanationAdd the three voltage drops
- 3ExampleClassify the free circuit
- 4ExampleFit initial charge and current
- 5ChallengeTransfer the damping test
- 6TipDifferentiate the voltage source too
- 7ExplanationCurrent amplitude includes frequency
- 8Key InsightCurrent peaks at the natural frequency
- 9ExampleCompute the resonant charge and current
- 10ChallengeFind a response away from resonance
- 11ConnectionCharge peaks at a lower frequency
- 12ChallengeUse the analogy in reverse
- 13RecapKeep charge and current distinct
Nonhomogeneous Differential Equations practice questions
Set 1: Build and check particular solutions10 Practice Questions
Question 1 of 10
Show answerHide answer
Question 2 of 10
Show answerHide answer
Question 3 of 10
Show answerHide answer
Question 4 of 10
Show answerHide answer
Question 5 of 10
Show answerHide answer
Question 6 of 10
Show answerHide answer
Question 7 of 10
Show answerHide answer
Question 8 of 10
Show answerHide answer
Question 9 of 10
Show answerHide answer
Question 10 of 10
Show answerHide answer
Set 2: Choose methods and use integral solutions10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 3: Model motion and interpret damping10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 4: Infer resonance and frequency response10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 5: Transfer oscillator reasoning to circuits10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Stuck on your own question? Homework Help
Key Terms
A
Amplitude
Argument
Auxiliary condition
B
Beat frequency
Beats
C
Capacitance
Characteristic polynomial
Charge
Charge resonance
Coefficient matching
Complementary equation
Complementary solution
Complete polynomial
Complex replacement
Critical damping
Current
Current resonance
D
Damping coefficient
Damping ratio
Decay rate
Dimensionless gain
Driving frequency
Duplication
E
Envelope
Equilibrium position
Exponential response formula
F
Finite derivative family
Forcing term
Frequency response
Fundamental set
G
Gain
H
Homogeneous contribution
I
In-phase response
Inductance
Integral solution
K
Kirchhoff’s voltage law
M
Modification rule
N
Natural angular frequency
Nonhomogeneous equation
O
Overdamping
P
Particular solution
Period
Phase
Phase lag
Practical resonance
Pure resonance
Q
Quality factor
Quasi-frequency
R
Resistance
Resonant trial
Root multiplicity
S
Singular point
Spring constant
Standard form
Static gain
Steady-state response
Superposition of forcing terms
T
Transient response
Trial form
Tuning
U
Underdamping
Undetermined coefficients
V
Variable coefficient
Variation of parameters
W
Wronskian
About this lesson
Make your own Study Materials
Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.