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^2 - t\) (c) \(ty' + y = e^t\) (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^2\) 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' = 2e^{\sin x}\cos x = y\cos x\) โ and \(y(0) = 2e^0 = 2\) โ
Note the solution oscillates between \(2e^{-1} \approx 0.74\) and \(2e \approx 5.44\) โ bounded and periodic, never reaching zero.
Solve \(dy/dx = 3x^2(1 + y)\), \(y(0) = 2\).
Solution
\(y(0) = 2\): \(2 = A - 1\), so \(A = 3\).
Verify: \(y' = 3e^{x^3}(3x^2) = 9x^2e^{x^3}\), and \(3x^2(1+y) = 3x^2(3e^{x^3}) = 9x^2e^{x^3}\) โ
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^2\) for \(x > 0\).
Solution
Standard form first โ divide through by \(x\):
Verify: \(y' = 2x + C\), so \(xy' - y = 2x^2 + Cx - x^2 - Cx = x^2\) โ
Two places to lose points: not dividing by \(x\) first (which gives \(P = -1\) and the wrong \(\mu\)), 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\): \(C_1 = 1\).
Differentiate (product rule โ both factors depend on \(t\)):
At \(t = 0\): \(y'(0) = 2C_1 + 3C_2 = 2\). With \(C_1 = 1\), that gives \(C_2 = 0\).
Stability: no. The real part of the roots is +2, so the envelope \(e^{2t}\) 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 \implies C_1 = 2\).
At \(t = 0\): \(C_2 - 3(2) = 1\), so \(C_2 = 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 \(\tau/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) \(\tau\), (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\tau\):
(d) Time to 90%:
Worth internalizing: \(t = \tau\ln 10 \approx 2.3\tau\) to reach 90% of anything exponential, regardless of the circuit. Likewise \(\ln 2 \approx 0.69\tau\) 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: \(\tau = RC\) versus \(\tau = 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) \(\omega_0\) and \(f_0\), (b) the resistance for critical damping, (c) classify \(R = 100\,\Omega\) and find the ringing frequency.
Solution
(a) Resonant frequency:
(b) Critical resistance:
(c) Classify \(R = 100\,\Omega\). Well below 800 Ω, so underdamped. Quantitatively:
\(\alpha = 12\,500 < \omega_0 = 100\,000\) โ underdamped.
That is 0.8% below \(\omega_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 = \omega_0/2\alpha = 100\,000/25\,000 = \mathbf{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 \(\mu\) (Q5); omitting the \(t\) in the repeated-root solution (Q7); confusing \(\tau = RC\) with \(\tau = L/R\) (Q9); and forgetting the product rule when differentiating \(e^{\alpha 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.