Read · 1 min

0=y′′+ay′+by0 = y'' + ay' + by

To solve this equation, we look at the characteristic polynomial, which for this equation is r2+ar+b=0.r^2 + ar + b = 0. The reason this polynomial matters is that if we consider a solution of the form y=erxy = e^{rx}, and plug it in to the differential equation (in order to solve for rr), we get 0=r2erx+arerx+berx=(r2+ar+b)erx0 = r^2e^{rx} + are^{rx}+be^{rx} = (r^2+ar+b)e^{rx} so it is quite natural that the solutions of the differential equation are tied up with the roots of r2+ar+b=0.r^2 + ar + b = 0.

As with all quadratics, we have three cases:

  1. The roots, r1r_1 and r2r_2, are real and different. Then the solutions are given by y=c1er1x+c2er2x.y=c_1e^{r_1x}+c_2e^{r_2x}. Notice that we can add individual solutions and multiply them by constants to get the general solution only because the equation is homogenous.

  2. The roots are real and the same. Then if rr is the common root, the solutions are given by y=c1erx+c2xerx.y = c_1 e^{rx} + c_2 xe^{rx}. The reader is encouraged to verify that this does indeed work.

  3. The roots are nonreal (and therefore conjugates). They are then of the form r1,2=λ±μir_{1,2} = \lambda \pm \mu i for some real λ\lambda and μ\mu. Just as in the real case, the solutions are given by y=c1er1x+c2er2x.y=c_1e^{r_1x}+c_2e^{r_2x}. However, since the r1,2r_{1,2} are nonreal, this is not a good form to leave it in; the solution to a differential equation in reals ought to be real. By Euler's Formula, we can transform these solutions into the result y=eλx(c1cos⁡(μx)+c2sin⁡(μx)).y = e^{\lambda x}\left(c_1\cos(\mu x) + c_2 \sin(\mu x)\right).

Read · 1 min

This is a 2nd order linear homogeneous differential equation with constant coefficients.

Let's look at those properties one at a time. Each term with yy or its derivatives is of the form c(x)y(n)c(x)y^{(n)}. (The notation y(n)y^{(n)} means the nth derivative of yy.) That makes this equation linear.

The c(x)c(x) here are constants, namely 1, aa, and bb; hence "constant coefficients".

Furthermore, if y(x)y(x) is a solution, then k⋅y(x)k\cdot y(x) is also a solution; hence "homogenous."

Interactive · 2 questions

We now know the solution for this second-order differential equation, which depends on the solutions to the characteristic polynomial ar2+br+c=0ar^2+br+c=0. These are repeated below for convenience.

If the characteristic polynomial has two different real roots r1r_1 and r2r_2, then the solutions are y=c1er1x+c2er2xy=c_1 e^{r_1x}+c_2e^{r_2x}, for any real c1,c2c_1,c_2. Here's an example: y′′+5y′+6y=0y''+5y'+6y=0.

If the characteristic polynomial has a repeated real root rr, then the solutions are given by y=c1erx+c2xerxy=c_1e^{rx}+c_2xe^{rx}, for any real c1,c2c_1,c_2. Here's an example: y′′+6y′+9y=0y''+6y'+9y=0.

If the characteristic polynomial has two complex roots (which must be conjugates) given by λ±μi\lambda \pm \mu i, then the solutions are y=c1eλxcos⁡(μx)+c2eλxsin⁡(μx)y=c_1 e^{\lambda x}\cos(\mu x)+c_2 e^{\lambda x} \sin(\mu x), for any real c1,c2c_1,c_2. Here's an example: y′′+4y=0y''+4y=0.

For each of the examples given, take a moment to find the solutions described above. Plug the solutions back into the differential equation and verify that they indeed work.

The goal of this article is to answer the question: how do we know we have all of the solutions? How do we know that, in addition to the above solutions, there aren't any more?

To do this, we will be using a specific case of the ** Existence and Uniqueness** theorem, a cornerstone of differential equations. For our problem, the statement is that there exists a unique solution to the differential equation ay′′+by′+cy=0ay''+by'+cy=0 along with the two initial conditions y(x0)=y0y(x_0)=y_0 and y′(x0)=y0′y'(x_0)=y_0'. Here, y0y_0 and y0′y_0' are real constants.

Now, suppose we have two solutions to our differential equation, y1y_1 and y2y_2. Which of the following are also solutions to our differential equation (don't worry about initial conditions for now)?

Choose all correct answers

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems