Differential Equations Intro


Differential Equations Intro

Anna
So, differential equations—I've heard the term, but what exactly are they? Are they just equations with derivatives in them?

Corey
Exactly! A differential equation, or DE, is an equation that involves an unknown function and one or more of its derivatives. For example, y double prime plus y equals zero. That's a DE.

Anna
Okay, so the unknown function is y, and we have its second derivative. But what's the solution? It's not just a number like in regular equations, right?

Corey
Right! In a regular equation like x + 2 = 0, the solution is just x = -2, a number. But in a DE, the solution is a function. For y'' + y = 0, the solution is y = c1 cos(x) + c2 sin(x). That's a family of functions, depending on the constants.

Anna
So DEs model things like waves or springs? I've heard they're used in physics, biology, even finance.

Corey
Absolutely. That spring model you mentioned is a classic example. In finance, the Black-Scholes equation models stock option prices—it's so famous it won a Nobel Prize. DEs are everywhere because they describe change.

Anna
So there are different types of DEs? I've heard of ordinary and partial differential equations.

Corey
Yes! An ordinary differential equation, or ODE, has ordinary derivatives like dy/dx. A partial differential equation, or PDE, has partial derivatives with respect to multiple variables. For example, the Laplace equation: ∂²u/∂x² + ∂²u/∂y² = 0 is a PDE.

Anna
So in our class, we focus on ODEs? But what about the order of a DE? I've seen that term.

Corey
The order is simply the order of the highest derivative. For instance, dy/dx + 3y = e^(6x) is first order. y'' + 3xy' + x³y = 0 is second order. Easy.

Anna
Okay, that's straightforward. But then there's linear versus nonlinear. That sounds trickier.

Corey
It can be, but here's the rule: a DE is linear if y and all its derivatives appear to the first power and are multiplied only by functions of x (the independent variable). No products of y with itself or its derivatives, no functions like sin(y) or y².

Anna
So like x² dy/dx + y = 7 is linear because dy/dx and y are to the first power and the coefficients are pure functions of x. But something like y''' + 3y y'' = e^x is nonlinear because of that y times y''.

Corey
Exactly! And nonlinear DEs are much harder to solve. Often you need numerical methods or series. Linear ones are nicer—they have a general solution.

Anna
Speaking of solutions, we have explicit and implicit, right? And then particular, general, trivial, singular...

Corey
Right! An explicit solution is solved for y, like y = 3x² + C. Implicit is when y is defined by an equation, like ln(x+y) = e^y + x² + C. A particular solution comes from choosing a specific constant using an initial condition.

Anna
And the general solution is the whole family? But then there's the trivial solution y=0, and singular solutions that you can't get by picking constants.

Corey
Exactly! For example, the DE dy/dx = x√y has a one-parameter family y = (¼x² + C)², but also the singular solution y=0. That's because you can't get y=0 from the family—it's separate.

Anna
And the interval of definition—that's the largest interval where the solution is defined, not just the domain? I remember a tricky example with y = 1/x.

Corey
Yes! The domain of y = 1/x is all real numbers except 0, but that's not an interval because intervals are connected. So the interval of definition is either (-∞,0) or (0,∞). When you have an initial condition, that picks the interval containing that point.

Anna
So for the DE xy' + y = 0, with solution y = 1/x, the interval depends on the initial condition? If y(0) = -1, that's impossible because the function isn't defined at 0.

Corey
Right! You'd have to choose an interval that avoids 0. For initial condition y(0) = -1, the solution would be y = 1/x, but since it's not defined at 0, there's no solution. Actually, the DE's solution y = 1/x doesn't work for x=0, so the IVP has no solution. But sometimes you get a singular solution.

Anna
Like in the example with y = 1/(x²+C) and initial condition y(5)=0? That gave y=0 as a singular solution with interval (-∞,∞).

Corey
Exactly! That's a classic tricky example. So when you have an IVP, you find the constant if possible, but if not, check for singular solutions. The interval of definition is determined by the initial condition and where the solution is valid.

Anna
This is a lot of terminology, but it makes sense when you put it together. So in class, we'll solve these DEs and apply all these concepts?

Corey
Yes, that's the plan. Today we covered the basics—types, order, linearity, and types of solutions. Next time we'll start solving first-order DEs. But understanding these definitions is crucial for the test.

Ask anything
We've read this whole study set, so questions about it get the best answers.