Practice a real question • free

Learn faster with bite‑sized practice that actually sticks.

StudyBits turns courses into short lessons + interactive questions. Try one below, then keep going with the full course.

Build your own course
Interactive
Answer, get feedback, and move on.
Personalized
Create courses tailored to your goals.
Track progress
Stay consistent with streaks + goals.
Try a sample question
Answer it, then continue the course

Second-Order Linear ODEs (Constant Coefficients): your friendly pattern-recognition lesson

Second-order linear ODEs with constant coefficients look intimidating… until you realize they’re basically a matching game.

We’ll focus on equations like:
ay+by+cy=0ay'' + by' + cy = 0
where a,b,ca,b,c are constants.

The big idea: try solutions shaped like exponentials. Exponentials are “shape-stable” under derivatives, which makes them perfect for this job.


1) The characteristic equation: turning calculus into algebra

Try:
y=erty = e^{rt}
Then:
y=rert,y=r2erty' = re^{rt}, \quad y'' = r^2 e^{rt}
Plug into:
ay+by+cy=0ay''+by'+cy=0
You get:
ar2ert+brert+cert=0a r^2 e^{rt} + b r e^{rt} + c e^{rt} = 0
Factor out erte^{rt} (never zero):
ar2+br+c=0a r^2 + b r + c = 0
That’s the characteristic equation.

So the calculus problem becomes: solve a quadratic.

Three root “personalities”

Depending on the discriminant Δ=b24ac,\Delta = b^2 - 4ac, you get three behaviors:

A) Two real distinct roots: r1r2r_1 \neq r_2

y(t)=C1er1t+C2er2ty(t)=C_1 e^{r_1 t} + C_2 e^{r_2 t}
Intuition: two independent exponential modes (growth/decay at different rates).

B) One repeated real root: r1=r2=rr_1 = r_2 = r

y(t)=(C1+C2t)erty(t) = (C_1 + C_2 t)e^{rt}
Why the extra tt? Because you need two linearly independent solutions for a second-order equation, and erte^{rt} alone can’t do it twice.

C) Complex conjugate roots: r=α±iβr = \alpha \pm i\beta

y(t)=eαt(C1cos(βt)+C2sin(βt))y(t)=e^{\alpha t}\left(C_1\cos(\beta t)+C_2\sin(\beta t)\right)
Intuition: oscillation (cos,sin\cos,\sin) with an envelope eαte^{\alpha t}.

  • If α<0\alpha<0: decaying oscillation
  • If α=0\alpha=0: pure oscillation
  • If α>0\alpha>0: growing oscillation

2) Complex exponentials: the ultimate shortcut (and why it’s not “cheating”)

When roots are complex, people often ask: “Where did sine and cosine come from?”

They come from this identity (Euler’s formula):
eiβt=cos(βt)+isin(βt)e^{i\beta t} = \cos(\beta t) + i\sin(\beta t)
So if the characteristic roots are α±iβ\alpha \pm i\beta, the exponential solutions are:
e(α+iβ)t=eαt(cosβt+isinβt)e^{(\alpha+i\beta)t} = e^{\alpha t}(\cos \beta t + i\sin \beta t)
e(αiβ)t=eαt(cosβtisinβt)e^{(\alpha-i\beta)t} = e^{\alpha t}(\cos \beta t - i\sin \beta t)

Now here’s the magic: real solutions are made by taking real and imaginary parts.
So instead of guessing trig forms, you can:

  1. solve the characteristic equation normally,
  2. write down erte^{rt} even if rr is complex,
  3. convert to real sines/cosines at the end.

Why this is useful: differentiating erte^{rt} is always easy, even when rr is complex. Trig shows up automatically via Euler.


3) Superposition: why we’re allowed to add solutions

These ODEs are linear and homogeneous.
That means if y1y_1 solves the equation and y2y_2 solves the equation, then:
y=C1y1+C2y2y = C_1 y_1 + C_2 y_2
also solves it.

That’s the superposition principle: solutions form a “mix-and-match” family.

The key requirement: linear independence

A second-order ODE needs two independent solution shapes.

  • er1te^{r_1 t} and er2te^{r_2 t} are independent if r1r2r_1\neq r_2.
  • erte^{rt} and tertt e^{rt} are independent when roots repeat.
  • cos(βt)\cos(\beta t) and sin(βt)\sin(\beta t) are independent.

Intuition: you need two “knobs” (C1,C2C_1, C_2) to match two initial conditions like y(0)y(0) and y(0)y'(0).


4) A bridge to QM-flavored forms: oscillatory vs decaying

In quantum mechanics (and waves generally), two ultra-famous ODEs appear again and again.

A) Oscillatory: y+k2y=0y'' + k^2 y = 0

Characteristic equation:
r2+k2=0r=±ikr^2 + k^2 = 0 \quad\Rightarrow\quad r = \pm i k
So:
y(t)=C1cos(kt)+C2sin(kt)y(t) = C_1\cos(kt) + C_2\sin(kt)

Intuition: derivatives of sine/cosine keep cycling—nothing “pushes” the solution to blow up or die out.

ASCII sketch (pure oscillation):

y | 1 | /\ /\ /\ 0 |--/ \--/ \--/ \----> t -1 | / \/ \/ \/

In QM language, oscillations often correspond to traveling/standing waves in classically allowed regions.

B) Decaying/growing: yκ2y=0y'' - \kappa^2 y = 0

Characteristic equation:
r2κ2=0r=±κr^2 - \kappa^2 = 0 \quad\Rightarrow\quad r = \pm \kappa
So:
y(t)=C1eκt+C2eκty(t) = C_1 e^{\kappa t} + C_2 e^{-\kappa t}

Intuition: one exponential wants to explode, the other wants to fade away.

ASCII sketch (decay):

y | 1 |\ | \ | \ 0 |---\------------------> t

In QM, decaying exponentials show up in classically forbidden regions (like tunneling), where the wavefunction often must stay finite, so the growing exponential gets rejected by boundary conditions.


Misconceptions (tiny potholes to avoid)

“Is it kk or k2k^2? I keep mixing them up.”

In y+k2y=0,y'' + k^2 y = 0, the characteristic equation is r2+k2=0,r^2 + k^2 = 0, so roots are r=±ik.r=\pm ik.
That means the oscillation frequency is kk, not k2k^2.

“I found one solution. Isn’t that enough?”

Not for a second-order ODE. You need two linearly independent solutions to cover all initial conditions.

“I forgot the constants C1,C2C_1, C_2.”

Those constants aren’t decoration—they’re the dials that let you fit the initial conditions.

“Complex solutions aren’t physical, so I shouldn’t use them.”

Complex exponentials are often just a computational tool. Real solutions come from taking real/imaginary parts (or linear combinations) at the end.


Takeaway (the comforting pattern)

Second-order constant-coefficient ODEs are all about one move:

  1. assume y=erty=e^{rt}
  2. solve the characteristic quadratic for rr
  3. translate roots into shapes:
  • real rr → exponentials
  • repeated rr → add a tt
  • complex α±iβ\alpha\pm i\beta → sines/cosines with envelope eαte^{\alpha t}

And when you meet y+k2y=0y''+k^2 y=0 versus yκ2y=0,y''-\kappa^2 y=0, you can immediately think:
oscillate vs decay/grow—a theme that shows up everywhere from springs to quantum waves.

Course
Introductory Non‑Relativistic Quantum Mechanics: Postulates, Ope
12 units57 lessons
Topics
Quantum Physics (Non-relativistic Quantum Mechanics)Mathematical PhysicsLinear AlgebraDifferential Equations / Boundary-Value ProblemsComplex Analysis (foundational tools)
About this course

Develop an intuition-first, problem-solving mastery of non-relativistic quantum mechanics using the postulates and operator formalism. Core topics include states and representations (kets/bras and wavefunctions), normalization and phase, the Born rule and expectation values, measurement as projectors and spectral decomposition, and unitary time evolution via the Schrödinger equation and U(t)=e^{-iHt/ħ}. Apply commutators and uncertainty relations, switch between position and momentum pictures, and solve standard Hamiltonians: 1D wells and barriers (including tunneling and probability current), the harmonic oscillator (ladder operators), angular momentum and spin-1/2, and the hydrogen atom. Gain moderate facility with approximation methods such as time-independent perturbation theory, the variational principle, and optional WKB.