๐Ÿฆ– Bellaziraptor

Practice Exam 6

Introduction to Differential Equations

Questions10
Time90 min
Points100
RuleVerify every solution
CoversUnit 6
1Classification8 pts

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
OrderLinear?Why
(a)2Yes\(y\) and derivatives appear to the first power only. The \(\sin t\) is fine โ€” linearity is about \(y\), not \(t\).
(b)1No\(y^2\) is a nonlinear term.
(c)1YesA variable coefficient \(t\) multiplying \(y'\) is still linear.
(d)2NoA 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.

2Separable8 pts

Solve \(dy/dx = y\cos x\), \(y(0) = 2\).

Solution

Separate (noting \(y = 0\) is an equilibrium solution, but not ours):

\[ \frac{dy}{y} = \cos x\,dx \implies \ln|y| = \sin x + C \]
\[ y = Ae^{\sin x} \] where \(A = \pm e^C\) absorbs the constant and the absolute value.

\(y(0) = 2\): since \(\sin 0 = 0\), \(A = 2\).

\[ y = \boldsymbol{2e^{\sin x}} \]

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.

3Separable IVP10 pts

Solve \(dy/dx = 3x^2(1 + y)\), \(y(0) = 2\).

Solution
\[ \frac{dy}{1 + y} = 3x^2\,dx \implies \ln|1 + y| = x^3 + C \]
\[ 1 + y = Ae^{x^3} \implies y = Ae^{x^3} - 1 \]

\(y(0) = 2\): \(2 = A - 1\), so \(A = 3\).

\[ y = \boldsymbol{3e^{x^3} - 1} \]

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.

4Integrating factor10 pts

Solve \(y' + 2y = e^{-x}\), \(y(0) = 0\).

Solution

Already in standard form, with \(P = 2\):

\[ \mu = e^{\int 2\,dx} = e^{2x} \]
\[ e^{2x}y' + 2e^{2x}y = e^{2x}e^{-x} = e^x \implies (e^{2x}y)' = e^x \]
\[ e^{2x}y = e^x + C \implies y = e^{-x} + Ce^{-2x} \]

\(y(0) = 0\): \(0 = 1 + C\), so \(C = -1\).

\[ y = \boldsymbol{e^{-x} - e^{-2x}} \]

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.

5Integrating factor ยท variable coefficient10 pts

Solve \(xy' - y = x^2\) for \(x > 0\).

Solution

Standard form first โ€” divide through by \(x\):

\[ y' - \frac{1}{x}y = x \implies P = -\frac{1}{x} \]
\[ \mu = e^{\int(-1/x)\,dx} = e^{-\ln x} = \frac{1}{x} \]
\[ \frac{y'}{x} - \frac{y}{x^2} = 1 \implies \left(\frac{y}{x}\right)' = 1 \]
\[ \frac{y}{x} = x + C \implies y = \boldsymbol{x^2 + Cx} \]

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\).

6Second order ยท complex roots12 pts

Solve \(y'' - 4y' + 13y = 0\) with \(y(0) = 1\), \(y'(0) = 2\). Is this system stable?

Solution
\[ r^2 - 4r + 13 = 0 \implies r = \frac{4 \pm \sqrt{16 - 52}}{2} = \frac{4 \pm 6i}{2} = 2 \pm 3i \]
\[ y = e^{2t}(C_1\cos 3t + C_2\sin 3t) \]

Apply \(y(0) = 1\): \(C_1 = 1\).

Differentiate (product rule โ€” both factors depend on \(t\)):

\[ y' = 2e^{2t}(C_1\cos 3t + C_2\sin 3t) + e^{2t}(-3C_1\sin 3t + 3C_2\cos 3t) \]

At \(t = 0\): \(y'(0) = 2C_1 + 3C_2 = 2\). With \(C_1 = 1\), that gives \(C_2 = 0\).

\[ y = \boldsymbol{e^{2t}\cos 3t} \]

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.

7Second order ยท repeated root10 pts

Solve \(y'' + 6y' + 9y = 0\), \(y(0) = 2\), \(y'(0) = 1\).

Solution
\[ r^2 + 6r + 9 = (r+3)^2 = 0 \implies r = -3\ \text{(repeated)} \]
\[ y = (C_1 + C_2t)e^{-3t} \] The \(t\) is mandatory. Writing \(C_1e^{-3t} + C_2e^{-3t}\) gives only one independent solution, and you cannot satisfy two initial conditions with it.

\(y(0) = 2 \implies C_1 = 2\).

\[ y' = C_2e^{-3t} - 3(C_1 + C_2t)e^{-3t} \]

At \(t = 0\): \(C_2 - 3(2) = 1\), so \(C_2 = 7\).

\[ y = \boldsymbol{(2 + 7t)e^{-3t}} \]

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.

8RC discharge ยท EE12 pts

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:

\[ \tau = RC = (22\,000)(470\times10^{-6}) = \boldsymbol{10.3\ \text{s}} \]

(b) Natural response โ€” no source, so it decays from the initial value:

\[ v(t) = \boldsymbol{9.0\,e^{-t/10.3}\ \text{V}} \]

(c) Time to 1.0 V:

\[ 1.0 = 9.0e^{-t/\tau} \implies e^{-t/\tau} = \frac{1}{9} \implies t = \tau\ln 9 \]
\[ t = 10.3(2.197) = \boldsymbol{22.7\ \text{s}} \]

(d) Energy. Everything stored in the capacitor ends up in the resistor:

\[ W = \frac12 CV^2 = \frac12(470\times10^{-6})(9.0)^2 = \boldsymbol{19.0\ \text{mJ}} \]

Confirm by integrating the power, which is the honest route:

\[ W = \int_0^{\infty} \frac{v^2}{R}\,dt = \frac{81}{22\,000}\int_0^{\infty} e^{-2t/\tau}\,dt = \frac{81}{22\,000}\cdot\frac{\tau}{2} \]
\[ = \frac{81(10.3)}{44\,000} = \boldsymbol{19.0\ \text{mJ}}\quad\checkmark \]

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.

9RL circuit ยท EE10 pts

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\):

\[ \tau = \frac{L}{R} = \frac{0.050}{100} = 5.0\times10^{-4}\ \text{s} = \boldsymbol{0.50\ \text{ms}} \]

(b) After a long time the inductor is a short circuit, so the resistor alone sets the current:

\[ I_\infty = \frac{24}{100} = \boldsymbol{0.24\ \text{A}} \]
\[ i(t) = 0.24\left(1 - e^{-t/0.5\ \text{ms}}\right)\ \text{A} \]

(c) At \(t = 1.0\) ms, that is exactly \(2\tau\):

\[ i = 0.24(1 - e^{-2}) = 0.24(0.8647) = \boldsymbol{0.208\ \text{A}} \]

(d) Time to 90%:

\[ 0.90 = 1 - e^{-t/\tau} \implies e^{-t/\tau} = 0.10 \implies t = \tau\ln 10 = \boldsymbol{1.15\ \text{ms}} \]

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.

10RLC damping ยท EE10 pts

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:

\[ LC = (4.0\times10^{-3})(25\times10^{-9}) = 1.0\times10^{-10} \]
\[ \omega_0 = \frac{1}{\sqrt{LC}} = \frac{1}{1.0\times10^{-5}} = \boldsymbol{1.0\times10^{5}\ \text{rad/s}} \]
\[ f_0 = \frac{\omega_0}{2\pi} = \boldsymbol{15.9\ \text{kHz}} \]

(b) Critical resistance:

\[ R_{\text{crit}} = 2\sqrt{L/C} = 2\sqrt{4.0\times10^{-3} / 25\times10^{-9}} = 2\sqrt{1.6\times10^{5}} = \boldsymbol{800\ \Omega} \]

(c) Classify \(R = 100\,\Omega\). Well below 800 Ω, so underdamped. Quantitatively:

\[ \alpha = \frac{R}{2L} = \frac{100}{8.0\times10^{-3}} = 1.25\times10^{4}\ \text{s}^{-1} \]

\(\alpha = 12\,500 < \omega_0 = 100\,000\) โœ“ underdamped.

\[ \omega_d = \sqrt{\omega_0^2 - \alpha^2} = \sqrt{1.0\times10^{10} - 1.56\times10^{8}} = \boldsymbol{9.92\times10^{4}\ \text{rad/s}} \]

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

ScoreWhere you are
90–100You are ready for a full differential equations course โ€” and for circuits.
75–89Method selection is fine; the losses are in applying initial conditions. Always verify by substitution.
60–74Drill the standard-form step and the three characteristic-root cases until they are automatic.
< 60Re-read the unit, focusing on RC and RL. Those two circuits are 80% of what a first circuits course asks.
Where the points usually go

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).

You have finished the course

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.

Review← Unit 6 notes BackCourse overview