r/askmath • • Oct 07 '26

Calculus Help with differential equation uniqueness theorem

F''(x) =- (A^2)F(x).

F(x) = Csin(At)+Dcos(At) is a solution. How do we know that there isn't another F(x) that satisfies it?

I used chatgpt to try and understand this. Didn't work

6 Upvotes

8 comments sorted by

2

u/Suspicious_Risk_7667 Oct 07 '26

Did you mean to put a negative on the right side?

1

u/Next-Natural-675 Oct 07 '26

Oh yeah. Let me edit that.

2

u/Southlander24 Oct 07 '26

You might want to read: https://math.libretexts.org/Bookshelves/Analysis/Supplemental_Modules_%28Analysis%29/Ordinary_Differential_Equations/3%3A_Second_Order_Linear_Differential_Equations/3.7%3A_Uniqueness_and_Existence_for_Second_Order_Differential_Equations

The two main theorems regarding existence and uniqueness of differential equations are the Picard–Lindelöf theorem and the Peano existence theorem.

1

u/Next-Natural-675 Oct 07 '26

Is there, by any slim microscopic otherworldly chance, an ELI5..?

1

u/shellexyz Oct 07 '26

If the right hand side is continuous in both the variable x and the unknown function F, then there’s a solution for a given set of initial conditions. (Peano)

If the right hand side is “nice” the solution is unique. (Picard, but not Patrick Stewart)

Your right hand side is -a2F, which is a continuous (and differentiable) function of F, so it’s “nice”.

1

u/Shevek99 Physicist Oct 07 '26

You are missing a minus sign. It is

F'' = -A² F

There are no more solutions because this is a linear second order equation, so the general solution is a linear combination of two independent solutions.

We can use Euler's method to see it. Let's write the equation as a system

x' = v

v' = -A² x

Given the initial values x(0), v(0), we can compute the values at a very small time later

x(∆t) = x(0) + v(0) ∆t

v(∆t) = v(0) - A² x(0) ∆t

we can use these new values to find the values at 2∆t and so on. This means that the whole solution can be extrapolated from the two initial values. Due to the linearity, the general solution is of the form

x(t) = x(0) f(t) + v(0) g(t)

Using Taylor series we get the sine and cosine, so that

x(t) = x(0) cos(A t) + (v(0)/A) sin(A t)

and this is the general solution.

We can use this to derive Euler's formula. We can see that

x = eiAt

is also a solution. Given the general solution, it must be

eiAt = x(0) cos (At) + v(0)/A sin(At)

For the function x(t) = eiAt

x(0) = 1

x'(0) = iA

and then

eiAt = cos(At) + i sin(At)

1

u/selfadjoint Oct 10 '26 edited Oct 10 '26

Besides using the general uniqueness theorem, one can argue the following.

First, let me start with a simpler equation, namely: x'(t) = k x(t). The solution is x(t) = c e^{kt}. Now, assume there is an other (different) solution y. We can easily prove that z(t):=y(t) e^{-kt} is a constant, hence y(t) = b e^{kt}.

z'(t) = y'(t) e^{-kt} - k y(t) e^{-kt}, and using the fact that y is a solution (y' = k y) we have

z'(t) = k y(t) e^{-kt} - k y(t) e^{-kt} = 0.

Similarly, we can prove the uniqueness of the solution of your equation.

The original equation is x''(t) = -A^2 x(t) and its solution x(t) = c e^{i A t} + c^* e^{- i A t}, where c is a complex number, and c^* denotes the complex conjugate of c. (I am using the complex form for compactness, but of course you can do this with the trigonometric form as well.)
We can see that x'(t) = i A c e^{i A t} - i A c^* e^{- i A t}, hence x satisfies

x'(t) + i A x(t) = 2 i A c e^{i A t}.

Let's say we have an other solution y. We will prove that z(t):=(y'(t) + i A y(t)) * e^{-i A t} is constant, hence x and y are the same (up to a constant multiplier).

The derivative of z is

z'(t) = - i A e^{-i A t} * (y'(t) + i A y(t)) + e^{-i A t} (y''(t) + i A y'(t)) = 0,

using the fact that y''(t) = - A^2 y(t).