Practice Exam 6
Introduction to Differential Equations
For each, give the order and say whether it is linear:
(a) y″ + 3y′ − 4y = sin t (b) y′ = y² − t (c) ty′ + y = et (d) y′y″ = t
Solution
| Order | Linear? | Why | |
|---|---|---|---|
| (a) | 2 | Yes | y and derivatives appear to the first power only. The sin t is fine — linearity is about y, not t. |
| (b) | 1 | No | y² is a nonlinear term. |
| (c) | 1 | Yes | A variable coefficient t multiplying y′ is still linear. |
| (d) | 2 | No | A product of two derivatives. |
The test: linearity means y and its derivatives appear only to the first power, never multiplied by each other, never inside a function like sin or exp. Coefficients may be any functions of the independent variable. It matters because linear equations have a complete solution theory and nonlinear ones generally do not.
Solve dy/dx = y cos x, y(0) = 2.
Solution
Separate (noting y = 0 is an equilibrium solution, but not ours):
y(0) = 2: since sin 0 = 0, A = 2.
Verify: y′ = 2esin xcos x = y cos x ✓ and y(0) = 2e0 = 2 ✓
Note the solution oscillates between 2e−1 ≈ 0.74 and 2e ≈ 5.44 — bounded and periodic, never reaching zero.
Solve dy/dx = 3x²(1 + y), y(0) = 2.
Solution
y(0) = 2: 2 = A − 1, so A = 3.
Verify: y′ = 3ex³(3x²) = 9x²ex³, and 3x²(1+y) = 3x²(3ex³) = 9x²ex³ ✓
Also note: y = −1 is an equilibrium solution (it makes the right side zero). Our solution never reaches it, but a different initial condition would have landed exactly there.
Solve y′ + 2y = e−x, y(0) = 0.
Solution
Already in standard form, with P = 2:
y(0) = 0: 0 = 1 + C, so C = −1.
Recognize the shape: this is exactly the form that came out of the partial-fraction problem in Exam 1, Q10 — a sum of decaying exponentials, starting at zero, rising to a peak, then decaying. It is the step response of a second-order overdamped system, and you have now produced it from both directions.
Solve xy′ − y = x² for x > 0.
Solution
Standard form first — divide through by x:
Verify: y′ = 2x + C, so xy′ − y = 2x² + Cx − x² − Cx = x² ✓
Two places to lose points: not dividing by x first (which gives P = −1 and the wrong μ), and mis-simplifying e−ln x as −x instead of 1/x.
Solve y″ − 4y′ + 13y = 0 with y(0) = 1, y′(0) = 2. Is this system stable?
Solution
Apply y(0) = 1: C1 = 1.
Differentiate (product rule — both factors depend on t):
At t = 0: y′(0) = 2C1 + 3C2 = 2. With C1 = 1, that gives C2 = 0.
Stability: no. The real part of the roots is +2, so the envelope e2t grows without bound. The solution oscillates at 3 rad/s with exponentially increasing amplitude — a growing oscillation, which is what an unstable feedback loop does in practice.
The general criterion: a linear system is stable exactly when every characteristic root has a negative real part. Here the y′ coefficient is −4, i.e. negative damping — energy is being pumped in rather than dissipated. In a circuit that requires an active element; passive RLC always has positive R and therefore cannot do this.
Solve y″ + 6y′ + 9y = 0, y(0) = 2, y′(0) = 1.
Solution
y(0) = 2 ⇒ C1 = 2.
At t = 0: C2 − 3(2) = 1, so C2 = 7.
Behavior: the linear factor initially wins, so y rises to a maximum before the exponential takes over and drives it to zero. This is the critically damped case — no oscillation, but a single overshoot-free hump. Setting y′ = 0 gives the peak at t = 1/21 s.
A 470 µF capacitor charged to 9.0 V discharges through a 22 kΩ resistor. Find (a) the time constant, (b) v(t), (c) the time to fall to 1.0 V, (d) the total energy dissipated in the resistor.
Solution
(a) Time constant:
(b) Natural response — no source, so it decays from the initial value:
(c) Time to 1.0 V:
(d) Energy. Everything stored in the capacitor ends up in the resistor:
Confirm by integrating the power, which is the honest route:
The improper integral from Unit 1 and the energy formula from Unit 2 agree. Note the τ/2 — squaring the exponential halves the effective time constant, which is the same reason the energy of a decaying signal settles in half the time the signal does.
A 50 mH inductor in series with 100 Ω is connected to 24 V at t = 0. Find (a) τ, (b) the final current, (c) i at t = 1.0 ms, (d) the time to reach 90% of final.
Solution
(a) For an RL circuit the time constant is L/R, not RC:
(b) After a long time the inductor is a short circuit, so the resistor alone sets the current:
(c) At t = 1.0 ms, that is exactly 2τ:
(d) Time to 90%:
Worth internalizing: t = τ ln 10 ≈ 2.3τ to reach 90% of anything exponential, regardless of the circuit. Likewise ln 2 ≈ 0.69τ for 50%. These two constants save real time.
Contrast with RC: increasing R makes an RC circuit slower but makes an RL circuit faster. The reason is structural: τ = RC versus τ = L/R. Mixing these up is the most common error on RL problems.
A series RLC circuit has L = 4.0 mH and C = 25 nF. Find (a) ω0 and f0, (b) the resistance for critical damping, (c) classify R = 100 Ω and find the ringing frequency.
Solution
(a) Resonant frequency:
(b) Critical resistance:
(c) Classify R = 100 Ω. Well below 800 Ω, so underdamped. Quantitatively:
α = 12 500 < ω0 = 100 000 ✓ underdamped.
That is 0.8% below ω0 — the ringing is essentially at the resonant frequency. The damping mostly controls how long it rings, not how fast.
Quality factor summarizes it in one number: Q = ω0/2α = 100 000/25 000 = 4. Roughly, the oscillation persists for about Q cycles. High Q means a sharp, long-ringing resonance; Q = 0.5 is critical damping.
Scoring
| Score | Where you are |
|---|---|
| 90–100 | You are ready for a full differential equations course — and for circuits. |
| 75–89 | Method selection is fine; the losses are in applying initial conditions. Always verify by substitution. |
| 60–74 | Drill the standard-form step and the three characteristic-root cases until they are automatic. |
| < 60 | Re-read the unit, focusing on RC and RL. Those two circuits are 80% of what a first circuits course asks. |
Not dividing into standard form before computing μ (Q5); omitting the t in the repeated-root solution (Q7); confusing τ = RC with τ = L/R (Q9); and forgetting the product rule when differentiating eαt(cos + sin) to apply the second initial condition (Q6).
Worth noticing how much of it converged. Partial fractions from Unit 1 factors the same polynomial that Unit 6 calls the characteristic equation. Euler’s formula from Unit 4 is what turns Unit 6’s complex roots into real oscillations, and what turns Unit 5’s complex numbers into phasors. The improper integral that defines the Laplace transform is Unit 1; the region where it converges is Unit 3.
Every one of those threads ends in the same place: a circuit with a capacitor or an inductor in it. That is not a coincidence in how the course was arranged — it is why this material is required for your degree.