1. Home
  2. Explore
  3. Mathematics
  4. Differential Equations Overview

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Differential Equations Overview

Speaker 1Speaker 2

Differential Equations Overview

10:55
0:00-10:55
  1. Corey

    Alright Maria, let's kick off this review of differential equations. We're starting with the basics: what exactly is a differential equation?

  2. Maria

    Right, a differential equation is simply an equation that contains at least one derivative. For example, dy/dx + x = y is a differential equation. The variable x is independent, and y is dependent.

  3. Corey

    Exactly. And if there's only one independent variable, it's an ordinary differential equation, or ODE. If there are more than one, we call it a partial differential equation, or PDE, but that's not our focus here.

  4. Maria

    Good. Now, when we add initial conditions to a differential equation, we get an initial value problem, or IVP. For a first-order equation, we need one initial condition; for second-order, we need two. And if the conditions are given at different points, it's a boundary value problem.

  5. Corey

    Let's look at an example. Suppose we want to verify that x = c1 e^{-3t} + c2 e^{2t} is a solution of x'' + x' - 6x = 0. We don't solve it; we just check by plugging in the derivatives.

  6. Maria

    Right, we compute x' and x'', substitute them, and simplify. If we get zero, it's a solution. In this case, it works. Then we can use initial conditions, like x(0)=0 and x'(0)=-10, to find c1 and c2.

  7. Corey

    And we solve those two equations to get c1=2 and c2=-2, so the solution to the IVP is x = 2 e^{-3t} - 2 e^{2t}.

  8. Maria

    Now, there are four fundamental model equations that show up everywhere. The first is exponential growth: dy/dt = k y, with solution y = A e^{kt}.

  9. Corey

    Then exponential decay: dy/dt = -k y, solution y = A e^{-kt}. These model things like population growth and radioactive decay.

  10. Maria

    Next is simple harmonic motion: y'' = -k^2 y. The solution involves sines and cosines, like y = A cos(kt) + B sin(kt). Think of a mass on a spring.

  11. Corey

    And the hybrid model: y'' = k^2 y. Its solution uses hyperbolic functions or exponentials: y = A e^{kt} + B e^{-kt}. It's a combination of growth and decay.

  12. Maria

    Great. Now we classify ODEs by order, linearity, and homogeneity. The order is the highest derivative. A linear equation has no powers or products of the dependent variable or its derivatives.

  13. Corey

    Constant coefficient means the coefficients are constants, like in ay'' + by' + cy = 0. Homogeneous means the equation equals zero; otherwise it's nonhomogeneous.

  14. Maria

    And autonomous means the equation doesn't depend explicitly on the independent variable. For example, dx/dt = x^2 - 3 is autonomous because there's no t on the right.

  15. Corey

    Now let's talk about basic integration. If dy/dx = f(x), we just integrate both sides to get y = ∫ f(x) dx. If dy/dx = g(y), we flip it to dx/dy = 1/g(y) and integrate with respect to y.

  16. Maria

    For example, dy/dx = 3 cos(2x) - 8 e^{-4x} + 5. Integrating gives y = (3/2) sin(2x) + 2 e^{-4x} + 5x + C. Use initial condition to find C.

  17. Corey

    Then separable equations: dy/dx = f(x)g(y). We separate variables: dy/g(y) = f(x) dx, then integrate both sides.

  18. Maria

    Like dy/dx = x e^{-y}. That becomes e^y dy = x dx, integrate to get e^y = x^2/2 + C, so y = ln(x^2/2 + C).

  19. Corey

    First-order linear equations have the standard form y' + P(x)y = Q(x). We use an integrating factor μ = e^{∫ P dx}, multiply through, and the left side becomes (μ y)'.

  20. Maria

    Then we integrate both sides: μ y = ∫ μ Q dx + C, so y = (1/μ) [∫ μ Q dx + C]. That's the method.

  21. Corey

    There are also substitution methods. For direct substitution, we let u be an inside function. For example, if the equation is dy/dx = (y+4x-3)^2, set u = y+4x-3.

  22. Maria

    Then du/dx = dy/dx + 4, so the equation becomes du/dx = u^2 + 4, which is separable. Solve for u, then back-substitute to find y.

  23. Corey

    Another type is homogeneous equations, which can be written as dy/dx = F(y/x). We let v = y/x, so y = vx, and y' = v + x v'. Substitute to get a separable equation in v.

  24. Maria

    For example, x y dy/dx = x^2 + y^2. Divide by x y to get dy/dx = x/y + y/x = 1/v + v with v = y/x. Then solve for v.

  25. Corey

    Bernoulli equations are of the form y' + P(x)y = Q(x) y^n. For n ≠ 0,1, we divide by y^n, then substitute v = y^{1-n}. This reduces to a linear equation in v.

  26. Maria

    Like 2x y' - y = 6 x^2 y^3. Divide by x y^3, get 2 y^{-3} y' - (1/x) y^{-2} = 6x. Substitute v = y^{-2}, then solve the resulting linear equation for v.

  27. Corey

    Exact equations are of the form M(x,y) dx + N(x,y) dy = 0, where ∂M/∂y = ∂N/∂x. If exact, there exists a function F such that F_x = M and F_y = N, and the solution is F(x,y)=C.

  28. Maria

    We find F by integrating M with respect to x, adding a function of y, then differentiating with respect to y and comparing to N to find that function.

  29. Corey

    If the equation is not exact, we can sometimes find an integrating factor to make it exact. For example, if (M_y - N_x)/N is a function of x only, the integrating factor is μ(x)=e^{∫ (M_y - N_x)/N dx}.

  30. Maria

    Similarly, if (N_x - M_y)/M is a function of y only, we use μ(y)=e^{∫ (N_x - M_y)/M dy}.

  31. Corey

    Now, for numerical methods, we have Euler's method: y_{n+1} = y_n + h f(x_n, y_n). It's simple but not very accurate.

  32. Maria

    Improved Euler and Runge-Kutta methods are more accurate. Runge-Kutta fourth-order uses four slopes per step and is very reliable.

  33. Corey

    Directional fields, or slope fields, give a geometric view. At each point, we draw a small line with slope given by the ODE. Solutions follow these arrows.

  34. Maria

    Existence and uniqueness: for y' = f(x,y) with y(x0)=y0, if f and ∂f/∂y are continuous near (x0,y0), there is a unique solution near that point.

  35. Corey

    Autonomous equations have constant solutions called critical points where the derivative is zero. We classify them as stable, unstable, or semi-stable by analyzing sign of the derivative nearby.

  36. Maria

    Moving on to second-order linear ODEs. The general form is y'' + p(x)y' + q(x)y = f(x). For homogeneous (f=0), the superposition principle holds: if y1 and y2 are solutions, then any linear combination is also a solution.

  37. Corey

    Two solutions are linearly independent if their Wronskian is not zero. If they are independent, the general solution is y = c1 y1 + c2 y2.

  38. Maria

    For nonhomogeneous equations, the general solution is y = y_c + y_p, where y_c is the complementary solution (homogeneous) and y_p is a particular solution.

  39. Corey

    Reduction of order: if we know one solution y1, we assume y2 = y1 u, substitute, and get a first-order equation for u'. Then integrate to find u.

  40. Maria

    Constant coefficient equations: ay'' + by' + cy = 0. Assume y = e^{λt}, leading to characteristic equation a λ^2 + b λ + c = 0. Solutions depend on the roots: real distinct, repeated, or complex.

  41. Corey

    For real distinct roots λ1 and λ2, the solution is y = c1 e^{λ1 t} + c2 e^{λ2 t}. For repeated roots, y = (c1 + c2 t) e^{λ t}. For complex roots λ = α ± iβ, y = e^{α t}(c1 cos βt + c2 sin βt).

  42. Maria

    Cauchy-Euler equations: a x^2 y'' + b x y' + c y = 0. Assume y = x^λ, leading to a characteristic equation in λ. The solution forms are similar: powers of x, times ln x for repeated roots, etc.

  43. Corey

    Higher-order constant coefficient ODEs: same idea, but the characteristic equation is a polynomial. The solution is built from exponentials, sines, cosines, and polynomials times them, depending on the roots.

  44. Maria

    For nonhomogeneous equations, undetermined coefficients works when f(x) is a combination of exponentials, sines/cosines, or polynomials. We guess a form for y_p with unknown coefficients, plug in, and solve.

  45. Corey

    But if f(x) is something like sec x or ln x, we use variation of parameters. For a second-order ODE in standard form y'' + p(x)y' + q(x)y = f(x), we find y_p = -y1 ∫ (y2 f / W) dx + y2 ∫ (y1 f / W) dx, where W is the Wronskian.

  46. Maria

    Series solutions are used when no closed-form solution exists. We assume y = Σ c_n x^n, substitute into the ODE, and find a recurrence relation for the coefficients. Sometimes we can sum the series to a known function.

  47. Corey

    Laplace transforms are powerful for solving ODEs with initial conditions. The transform converts derivatives into algebraic equations in s. We solve for Y(s), then take the inverse transform.

  48. Maria

    Common transforms: L{1}=1/s, L{t}=1/s^2, L{e^{at}}=1/(s-a), L{sin ωt}=ω/(s^2+ω^2), L{cos ωt}=s/(s^2+ω^2). And the shifting theorems: L{e^{at} f(t)} = F(s-a), and L{u(t-a) f(t-a)} = e^{-as} F(s).

  49. Corey

    Convolution: L{f * g} = F(s) G(s), where (f*g)(t) = ∫_0^t f(τ) g(t-τ) dτ. This is useful for finding inverse transforms of products.

  50. Maria

    The Dirac delta function δ(t-a) models an impulse. Its Laplace transform is L{δ(t-a)} = e^{-as}. We can use it to solve ODEs with impulsive forcing.

  51. Corey

    Finally, systems of ODEs can be solved by elimination, Laplace transforms, or eigenvalue methods. For linear systems x' = A x, we find eigenvalues and eigenvectors of A. The general solution is x = c1 v1 e^{λ1 t} + ... + cn vn e^{λn t}.

  52. Maria

    If eigenvalues are repeated but there are enough linearly independent eigenvectors, the same form works. Otherwise, we may need generalized eigenvectors, but that's for another time.

  53. Corey

    That covers a lot of ground! We've gone from the very definition of a differential equation to systems and advanced methods. I hope this review helps solidify the key concepts.

  54. Maria

    Absolutely, Corey. Now go ace that final exam!

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent