Engineering Mathematics · Intuition Series

What is y, Linear Systems
& Superposition

// first principles · no steps skipped · geometry first
Contents
  1. 01 — What is y(t)?
  2. 02 — What is a Diff. Eq.?
  3. 03 — Superposition
  4. 04 — Why It Works
  5. 05 — When It Breaks
  6. 06 — What "= 0" Means
  7. 07 — Balancing
  8. 08 — Circuit Example
  9. 09 — Why Zero is Special
  10. 10 — Unified Picture
Section 01

🧱 What is y(t)?

Core Idea

\( y(t) \) is the thing changing over time — not a single number, but an entire curve. Each solution is a different story of how the system behaves.

Think of \( y(t) \) like the plot of a movie. At any instant \( t \) you can pause and read one value, but the real meaning is the whole arc from start to finish. Each different solution to a differential equation is a different movie obeying the same genre rules.

Physical examples

🔩 Position of a mass on a spring

🌡️ Temperature in a cooling rod

🌊 Amplitude of a water wave

Electrical (your lane 🔌)

⚡ Voltage across a capacitor

〰️ Current through an inductor

📡 RF signal waveform in time

The geometric picture

Draw \( t \) horizontal, \( y \) vertical. Every solution is a drawable curve. Solving a differential equation means finding which curves are allowed by the rules.

t y oscillates decays grows each curve = one solution = one valid behavior
Lock-in

\( y(t) \) is not a number — it's a whole curve. Each solution is one valid life-story of the system.

Section 02

⚙️ What is a Differential Equation?

Core Idea

A differential equation doesn't give you \( y \) directly — it gives you the law of change. It's a rulebook, not an answer.

Imagine watching a ball roll on a curved surface. You can't see where it is, but you know one rule: wherever it is, gravity pulls it downhill. That rule is the differential equation. Finding the path is solving it.

Example — Simple Oscillator
$$ y'' + y = 0 $$

Read this as: "the curvature of \( y \) equals the negative of its current height." Rearrange to see the geometry:

Rewritten geometrically
$$ y'' = -y $$

curvature = negative of height

When \( y \) is positive, the curve bends downward. When negative, it bends upward. A curve that constantly bends back toward zero traces a sine wave. That's why \(\sin(t)\) and \(\cos(t)\) are the solutions.

Think of a ruler held flat, then bent slightly. The rulebook says: "the more you bend me upward, the more I spring back down." That self-correcting tension is \( y'' = -y \).

General Solution to y'' + y = 0
$$ y(t) = c_1 \cos(t) + c_2 \sin(t) $$

\( c_1 \) and \( c_2 \) are free constants encoding initial conditions.

Lock-in

A differential equation is a rulebook about curvature and change. Solving it means finding every curve that obeys the rules — the full family, not just one.

Section 03

🌊 What is Superposition?

Core Idea

If two separate behaviors each obey the rules, then any weighted mix of them also obeys the rules.

Picture two ripples on a pond. Each ripple by itself follows the laws of water waves. When they meet, they add — and the combined shape also follows the same laws. No new physics needed. That's superposition.

Formal Statement

Let \( L \) be a linear operator. If:

$$ L(y_1) = 0 \quad \text{and} \quad L(y_2) = 0 $$

Then for any constants \( c_1, c_2 \):

$$ L(c_1 y_1 + c_2 y_2) = 0 $$

Why the constants matter

You're not just adding solutions — you can scale them first, then add. Doubling one wave and halving another still gives a valid wave. This scaling freedom is what lets you match any initial condition.

y₁ = cos(t) y₂ = sin(t) + c₁cos(t) + c₂sin(t) — still valid ✓
Lock-in

Superposition: valid behaviors can be freely scaled and added, and the result is still valid. LEGO pieces that fit always snap together.

Section 04

🔥 Why Superposition Works: Linearity

Core Idea

Superposition works because the system treats each input independently — solutions never interact or "see" each other.

Property 1 — Additivity
$$ L(y_1 + y_2) = L(y_1) + L(y_2) $$

Process inputs together OR separately — same result.

Property 2 — Homogeneity (scaling)
$$ L(c \cdot y) = c \cdot L(y) $$

Scaling the input scales the output by exactly the same factor.

The proof in four lines

Full proof — no steps skipped
$$ L(c_1 y_1 + c_2 y_2) $$ $$ = L(c_1 y_1) + L(c_2 y_2) \qquad \leftarrow \text{additivity} $$ $$ = c_1 \, L(y_1) + c_2 \, L(y_2) \qquad \leftarrow \text{homogeneity} $$ $$ = c_1 \cdot 0 \;+\; c_2 \cdot 0 \;=\; 0 \qquad \checkmark $$

Zero absorbs everything. No mixing, no cross-terms, no surprises. The whole argument rests on \( 0 + 0 = 0 \).

Highway analogy: Linearity is like a highway where each lane flows independently. Cars in lane 1 don't affect lane 2. Count each separately, then add. Nonlinearity would be lanes merging and causing pile-ups — the individual counts no longer predict combined traffic.

Lock-in

Linearity = no interaction between solutions. The proof fits in four lines and the entire argument rests on \( 0 + 0 = 0 \).

Section 05

🚫 When It Breaks: Nonlinear Systems

Key Insight

Nonlinear terms create cross-interactions between solutions. The combined behavior is no longer the sum of the parts.

Nonlinear Example
$$ y' + y^2 = 0 $$

Try plugging in \( y_1 + y_2 \) and watch the squared term:

Expanding — where it fails
$$ (y_1 + y_2)^2 = y_1^2 + \underbrace{2y_1 y_2}_{\text{🚨 cross-term}} + y_2^2 $$

This \( 2y_1 y_2 \) is a product of two different solutions — it never appears when processed separately.

Linear ✓

Strangers

Solutions never meet. Add freely. Superposition holds.

Nonlinear ✗

Interacting

Adding solutions changes the system. Superposition fails.

Mixing analogy: Linear is water + water = exactly 2 cups. Nonlinear is baking soda + vinegar — the result is more and different than the sum of parts because the ingredients react with each other.

Lock-in

Nonlinearity introduces cross-terms. These break additivity, which breaks superposition. The whole is no longer the sum of its parts.

Section 06

🧠 What Does "= 0" Really Mean?

Core Idea

Zero doesn't mean nothing is happening. It means there is no outside force — all activity comes from within the system.

❌ Wrong model

"= 0 means y = 0, nothing is moving."

✅ Correct model

"= 0 means no external input is pushing. Motion comes from stored energy."

The swing analogy

🟢 Homogeneous — no one pushing
\[ L(y) = 0 \]

Swing still moves. Gravity + momentum keep it going. "=0" means no new push right now.

🔵 Non-homogeneous — someone pushing
\[ L(y) = f(t) \]

\( f(t) \) is the external push. Energy is being injected continuously.

Electrical translation 🔌

Homogeneous RC
\[ RC\,\frac{dv}{dt} + v = 0 \]

Capacitor discharging. No source. Stored energy bleeding through R.

Driven RC
\[ RC\,\frac{dv}{dt} + v = V_s(t) \]

External source \(V_s(t)\) connected. Energy injected from outside.

Lock-in

"= 0" means self-contained. The system runs on stored energy. It might be oscillating wildly — it's just alone, with no outside driver.

Section 07

⚖️ What Does "Balancing" Mean?

Core Idea

The equation is a dynamic balance — internal forces constantly cancel each other, producing motion in the process.

For \( y'' + y = 0 \), i.e., \( y'' = -y \), trace the geometry through one full cycle:

One full cycle of the balance
$$ y > 0 \;\Rightarrow\; y'' < 0 \;\Rightarrow\; \text{bends down} \;\Rightarrow\; y \text{ decreases} $$ $$ y < 0 \;\Rightarrow\; y'' > 0 \;\Rightarrow\; \text{bends up} \;\Rightarrow\; y \text{ increases} $$ $$ y = 0 \;\Rightarrow\; y'' = 0 \;\Rightarrow\; \text{max speed, crossing straight through} $$
y>0, y''<0 bends down ↓ y<0, y''>0 · bends up ↑ y=0 → max speed

The two terms in \( y'' + y \) represent two competing tendencies: \( y'' \) is inertia (keep going) and \( y \) is restoring force (come back). Setting their sum to zero means these exactly cancel at every instant — producing oscillation.

Lock-in

Balance = internal effects canceling dynamically. Not stillness — active opposition that produces motion.

Section 08

🔌 Full Circuit Example

Core Idea

Let's ground everything in a circuit you'll actually build — the series RLC. Every concept above lives inside this one equation.

KVL around RLC Loop (no source)
$$ L\frac{d^2i}{dt^2} + R\frac{di}{dt} + \frac{1}{C}i = 0 $$

Here \( y(t) = i(t) \) = current. Three terms, three physical effects competing.

Term 1 — \( L\,i'' \)

Inductor's inertia. Opposes any change in current.

Term 2 — \( R\,i' \)

Resistor's drag. Dissipates energy as heat.

Term 3 — \( \frac{1}{C}i \)

Capacitor's restoring force. Pushes current back.

Setting the sum to zero IS KVL. Three competing internal effects balance out with no external source.

Three behaviors from one equation

Underdamped (R small)

Oscillations slowly dying. Energy bouncing between L and C, R bleeding it off.

\[ i = e^{-\alpha t}(A\cos\omega_d t + B\sin\omega_d t) \]
Critically damped

Returns to zero fastest without oscillating. Used in galvanometers, door closers.

\[ i = (A + Bt)e^{-\alpha t} \]
Overdamped (R large)

Sluggish decay. Energy burned in R before L-C can exchange it.

\[ i = Ae^{s_1 t} + Be^{s_2 t} \]

Each case is a superposition of two basis solutions. The constants \( A, B \) are chosen to match initial conditions.

Now add a source

Driven RLC
$$ L\frac{d^2i}{dt^2} + R\frac{di}{dt} + \frac{1}{C}i = \frac{dV_s}{dt} $$

Right side non-zero. Decompose:

$$ i(t) = \underbrace{i_h(t)}_{\text{natural response}} + \underbrace{i_p(t)}_{\text{forced response}} $$

The homogeneous part uses superposition of basis solutions. The particular part matches the source. This decomposition is only possible because the system is linear.

Lock-in

RLC = three terms balancing = \( L(i)=0 \). Add a source → right side \( \neq 0 \). Superposition splits the answer into "what the circuit does naturally" + "what the source forces it to do."

Section 09

💥 Why Zero is Special

Core Idea

Zero is the only value that survives addition unchanged — and that's exactly why it's the pivot point for superposition.

Homogeneous — zero is stable
$$ L(y_1) = 0, \quad L(y_2) = 0 $$ $$ \Rightarrow\; L(y_1 + y_2) = 0 + 0 = 0 \quad \checkmark $$

Zero added to zero stays zero. The solution set is closed.

Non-homogeneous — fails immediately
$$ L(y_1) = f(t), \quad L(y_2) = f(t) $$ $$ \Rightarrow\; L(y_1 + y_2) = f(t) + f(t) = 2f(t) \neq f(t) $$

The combined solution solves a different equation — one with 2× the forcing.

Geometric interpretation

All solutions to \( L(y) = 0 \) form a vector space — a flat subspace through the origin. You can add any two members and scale any member and stay inside. Solutions to \( L(y) = f \) do NOT form such a space — they form a shifted copy, and adding two of them shifts you off it.

Shadows analogy: Two shadows from separate lights can overlap — the combined shadow is still a shadow (= 0 light). But combine two lit regions and you get twice the light. Homogeneous = working with shadows. Forced = working with light.

Lock-in

\( 0 + 0 = 0 \) always. Solutions to \( L(y)=0 \) form a closed vector space. Any combination stays inside it. Solutions to \( L(y)=f \) do not.

Section 10

🧠 The Full Unified Picture

Core Idea

Everything we've covered is one connected idea. Here's how it locks together.


Ultimate mental model

🟢 Linear Homogeneous

No external force. Solutions don't interact. Combine freely.

LEGO pieces — always snap together perfectly.

🔴 Nonlinear or Forced

External input OR interactions. Combining changes the rules.

Pieces melt into something new.

Where this leads

Wronskian = independence test
Basis solutions → general solution
Fourier = superposition of sinusoids
Eigenfunctions = modes (EMAG)
Laplace = superposition in s-domain
Normal modes in coupled systems

A linear homogeneous system is one where all behavior comes from the system itself, and because nothing interacts or is added externally, solutions can be combined freely without changing the rules.


Test Your Intuition

Q1 — Is  \( y'' + 3y' + 2y = 0 \)  linear and homogeneous?
Yes. Only \( y \) and its derivatives to the first power — no \( y^2 \), no \( y \cdot y' \), no \(\sin(y)\). Right side is zero so it's homogeneous. Superposition holds. The general solution is a linear combination of two basis solutions.
Q2 — Is  \( y' + y^2 = 0 \)  linear?
No. The \( y^2 \) term is nonlinear. Plugging in \( y_1 + y_2 \) produces the cross term \( 2y_1 y_2 \) which breaks additivity. Superposition fails entirely.
Q3 — For  \( RC\,v' + v = V_s \),  can you superpose two particular solutions?
Not directly. Linear but NOT homogeneous. Two particular solutions satisfy \( L(v_i) = V_s \). Adding them: \( L(v_1+v_2) = 2V_s \neq V_s \). However — a homogeneous solution + a particular solution IS still a particular solution. That's why the full answer is \( v_h + v_p \).
Q4 — In underdamped RLC, where exactly is superposition being used?
Right here: \( i(t) = e^{-\alpha t}(A\cos\omega_d t + B\sin\omega_d t) \). The two basis solutions are \( e^{-\alpha t}\cos\omega_d t \) and \( e^{-\alpha t}\sin\omega_d t \). Superposition says take \( A \) of one and \( B \) of the other and add — still a valid solution. The constants \( A, B \) are then chosen to match whatever initial current and voltage you started with.