Differential-Equations · Unit 11 · Video 4 · Interactive Practice

Uniqueness: Why c₁y₁ + c₂y₂ Is Every Solution

IKey Formulas

FormulaNameWhat it says
y=y0 Y1+y0′ Y2y = y_0\,Y_1 + y_0'\,Y_2IVP at 00 in one lineSolves y(0)=y0y(0) = y_0, y′(0)=y0′y'(0) = y_0': the constants are the initial values
p,qp, q continuous ⇒\Rightarrow exactly one yy with y(x0)=A, y′(x0)=By(x_0) = A,\ y'(x_0) = BExistence and uniquenessA value and a slope at one point pin down the solution
u=u0 Y1+u0′ Y2u = u_0\,Y_1 + u_0'\,Y_2Every solution is in the familyuu and the combination share initial values, so they are equal

Key Insight: Superposition (linearity) puts every c1y1+c2y2c_1y_1 + c_2y_2 among the solutions; uniqueness (continuous p,qp, q) leaves no solution outside them.

IIVisualization 1 — Read the Constants off the Initial Values

For y′′−y=0y'' - y = 0 the solution with y(0)=y0y(0) = y_0, y′(0)=y0′y'(0) = y_0' is y0cosh⁡x+y0′sinh⁡xy_0\cosh x + y_0'\sinh x, with nothing to solve.

IIIVisualization 2 — Uniqueness Catches Any Solution

A solution uu, written any way at all, coincides with c1Y1+c2Y2c_1Y_1 + c_2Y_2 exactly when c1=u(0)c_1 = u(0) and c2=u′(0)c_2 = u'(0).

IVQuiz Questions

Problem 1 · Writing Down the Answer

Given: y′′+y=0y'' + y = 0, y(0)=3y(0) = 3, y′(0)=−2y'(0) = -2 — find the solution.

✅ Correct! Y1=cos⁡xY_1 = \cos x, Y2=sin⁡xY_2 = \sin x, so y=y0Y1+y0′Y2=3cos⁡x−2sin⁡xy = y_0Y_1 + y_0'Y_2 = 3\cos x - 2\sin x.
❌ Not quite. The value y0y_0 goes with Y1Y_1 (value 11 at 00) and the slope y0′y_0' with Y2Y_2 — you swapped them.
❌ Check the sign. The coefficient of Y2=sin⁡xY_2 = \sin x is y′(0)=−2y'(0) = -2 itself.
❌ Not quite. cosh⁡\cosh and sinh⁡\sinh are the normalized pair of y′′−y=0y'' - y = 0. For y′′+y=0y'' + y = 0 it is cos⁡x\cos x, sin⁡x\sin x.
Show solution

The normalized solutions of y′′+y=0y'' + y = 0 at 00 are Y1=cos⁡xY_1 = \cos x and Y2=sin⁡xY_2 = \sin x, so

y=3cos⁡x+(−2)sin⁡x=3cos⁡x−2sin⁡x.y = 3\cos x + (-2)\sin x = 3\cos x - 2\sin x.

Check: y(0)=3y(0) = 3, and y′=−3sin⁡x−2cos⁡xy' = -3\sin x - 2\cos x gives y′(0)=−2y'(0) = -2.

Problem 2 · From cosh and sinh to Exponentials

Given: y′′−y=0y'' - y = 0, y(0)=1y(0) = 1, y′(0)=3y'(0) = 3 — write the solution as c1ex+c2e−xc_1e^x + c_2e^{-x}.

✅ Correct! cosh⁡x+3sinh⁡x=ex+e−x2+3ex−3e−x2=2ex−e−x\cosh x + 3\sinh x = \frac{e^x + e^{-x}}{2} + \frac{3e^x - 3e^{-x}}{2} = 2e^x - e^{-x}.
❌ Not quite. The initial values are the coefficients of cosh⁡x\cosh x and sinh⁡x\sinh x, not of exe^x and e−xe^{-x}: this one has y′(0)=1−3=−2y'(0) = 1 - 3 = -2.
❌ Not quite. You swapped the coefficients: this has y(0)=1y(0) = 1 but y′(0)=−1−2=−3y'(0) = -1 - 2 = -3.
❌ Not quite. cosh⁡\cosh and sinh⁡\sinh carry a factor 12\frac{1}{2}: this function has y(0)=2y(0) = 2.
Show solution
y=1⋅cosh⁡x+3sinh⁡x=ex+e−x2+3ex−3e−x2=4ex−2e−x2=2ex−e−x.y = 1\cdot\cosh x + 3\sinh x = \frac{e^x + e^{-x}}{2} + \frac{3e^x - 3e^{-x}}{2} = \frac{4e^x - 2e^{-x}}{2} = 2e^x - e^{-x}.

Check: y(0)=2−1=1y(0) = 2 - 1 = 1 and y′(0)=2+1=3y'(0) = 2 + 1 = 3. Solving c1+c2=1c_1 + c_2 = 1, c1−c2=3c_1 - c_2 = 3 directly gives the same c1=2c_1 = 2, c2=−1c_2 = -1.

Problem 3 · Zero Value, Zero Slope

Given: uu solves y′′+p(x) y′+q(x) y=0y'' + p(x)\,y' + q(x)\,y = 0 with p,qp, q continuous for all xx, and u(2)=0u(2) = 0, u′(2)=0u'(2) = 0 — what is uu?

✅ Correct! The zero function is a solution with value 00 and slope 00 at 22, and uniqueness allows only one such solution.
❌ Not quite. (x−2)2(x - 2)^2 has the right value and slope at 22, but uniqueness says only one solution does — and 00 already does.
❌ Not quite. Y2Y_2 has slope 11 at its normalization point, so a nonzero multiple of it cannot have slope 00 there.
❌ Not quite. Whatever continuous pp and qq are, y=0y = 0 solves the equation, and uniqueness then forces u=0u = 0.
Show solution

The function y≡0y \equiv 0 solves every homogeneous linear equation and has y(2)=0y(2) = 0, y′(2)=0y'(2) = 0. By the existence and uniqueness theorem (with x0=2x_0 = 2, A=B=0A = B = 0) there is only one such solution, so u≡0u \equiv 0.

A solution that touches the axis with zero slope therefore cannot be a nonzero solution — the graph of a nonzero solution crosses the axis with nonzero slope.

Problem 4 · Initial Values at x0=πx_0 = \pi

Given: y′′+y=0y'' + y = 0, y(π)=2y(\pi) = 2, y′(π)=−1y'(\pi) = -1 — find the solution, using the pair normalized at π\pi: cos⁡(x−π)\cos(x - \pi) and sin⁡(x−π)\sin(x - \pi).

✅ Correct! 2cos⁡(x−π)−sin⁡(x−π)=−2cos⁡x+sin⁡x2\cos(x - \pi) - \sin(x - \pi) = -2\cos x + \sin x; check y(π)=2y(\pi) = 2, y′(π)=2sin⁡π+cos⁡π=−1y'(\pi) = 2\sin\pi + \cos\pi = -1.
❌ Not quite. cos⁡x\cos x and sin⁡x\sin x are normalized at 00, not at π\pi: this function has y(π)=−2y(\pi) = -2.
❌ Check a sign. sin⁡(x−π)=−sin⁡x\sin(x - \pi) = -\sin x, so −sin⁡(x−π)=+sin⁡x-\sin(x - \pi) = +\sin x.
❌ Not quite. The value goes with cos⁡(x−π)\cos(x - \pi) and the slope with sin⁡(x−π)\sin(x - \pi); this function has y(π)=−1y(\pi) = -1.
Show solution

Y1=cos⁡(x−π)Y_1 = \cos(x - \pi) has value 11, slope 00 at π\pi; Y2=sin⁡(x−π)Y_2 = \sin(x - \pi) has value 00, slope 11 at π\pi. So

y=2cos⁡(x−π)+(−1)sin⁡(x−π)=−2cos⁡x+sin⁡x,y = 2\cos(x - \pi) + (-1)\sin(x - \pi) = -2\cos x + \sin x,

using cos⁡(x−π)=−cos⁡x\cos(x - \pi) = -\cos x and sin⁡(x−π)=−sin⁡x\sin(x - \pi) = -\sin x. Check: y(π)=−2(−1)+0=2y(\pi) = -2(-1) + 0 = 2 and y′=2sin⁡x+cos⁡xy' = 2\sin x + \cos x, so y′(π)=−1y'(\pi) = -1.

Solved: 0 / 4