Second-order first-degree autonomous differential equation

From Calculus

Definition

Following the convention for autonomous differential equations, we denote the dependent variable by x and the independent variable by t.

Form of the differential equation

A (one-dimensional and degree one) second-order autonomous differential equation is a differential equation of the form:

d2xdt2=F(x,dxdt)

Solution method and formula

We set a variable v=dx/dt Then, we can rewrite dt=(dx)/v. In particular, d2x/dt2=(d/dt)(dx/dt)=dv/dt=dv/((dx)/v)=vdv/dx. Plug this in:

vdvdx=F(x,v)

Solve this to obtain the general solution for v in terms of x. Plug this expression in:

dxdt=v(x)

and solve this first-order differential equation. Note that if v is not expressible as an explicit function of x, but we instead have a relational solution R(x,v)=0, then solve the first-order differential equation:

R(x,dxdt)=0

Particular cases

Case where the function on the right depends only on x and not on dx/dt

Consider a situation of the form:

d2xdt2=g(x)

We do the same substitution v=dx/dt and obtain:

vdvdx=g(x)

This is now a separable differential equation relating x and v. Integrate and obtain:

vdv=g(x)dx

We thus get:

v22=g(x)dx

In particular, if G is an antiderivative for g, then we get:

v=±2G(x)+C1

where C1R is a parameter. Each choice of C1 gives a different solution.

Plug this back in and get:

dxdt=±2G(x)+C1

(The ± indicates that there are in fact two differential equations and we need to take the union of their solution sets).

This is a first-order autonomous differential equation, and in particular a separable differential equation. Rearrange and get:

±dx2G(x)+C1=dt

An additional constant, C2, arises from this indefinite integration. The upshot is that the general solution relates x to t and has two parameters C1,C2, as we might expect from the degree of the equation.

Case where the function on the right is multiplicatively separable

Consider a situation of the form:

d2xdt2=g(x)h(dxdt)

We do the same substitution v=dx/dt and obtain:

vdvdx=g(x)h(v)

This is a separable differential equation and we can rearrange it to obtain:

vdvh(v)=g(x)dx

We now perform the integration both sides. Suppose H(v)=vdvh(v) and G(x)=g(x)dx. We get:

H(v)=G(x)+C1

If H can locally be inverted, we can write v as an explicit function of x We now plug this into the original differential equation and get:

H(dx/dt)=G(x)+C1

This is now a first-order differential equation. If H can locally be inverted, we can write dx/dt as an explicit function of x (locally) and then solve the resultant separable differential equation. Otherwise, there may be some other method available.

Example

Separable example

Consider the following differential equation:

d2xdt2=2xdxdt

We describe how to solve this using the technique discussed here. First, set v=dx/dt. We get:

vdvdx=2xv

Thus, we get:

v=0 or dvdx=2x

The case v=0 solves to gives x=C0,C0R

The case:

dvdx=2x

solves to give:

v=x2+C1

Now, we plug back the original substitution to get:

dxdt=x2+C1

We now make cases based on the sign of C1.

Case C1=0

In this case, the differential equation becomes:

dxdt=x2

This has a stationary solution x=0 (which, incidentally, is already included in the prior solution family of all constant solutions) and the general solution can be obtained as:

dxx2=dt

This gives:

1x=t+C2

This solves to give:

x=1t+C2

To verify that this is a solution, we compute, using the chain rule for differentiation and differentiation rule for power functions:

dxdt=1(t+C2)2

and:

d2xdt2=2(t+C2)3

We can now plug these into the original differential equation and verify.

Case C1>0

Let k=C1. The differential equation becomes:

dxdt=x2+k2

There are no stationary solutions. The general solution is given by:

dxx2+k2=dt

This solves to give:

1karctan(xk)=t+C2

Rearranging, we get:

x=ktan(k(t+C2)),k>0,C2R

Note that a priori, applying tan to both sides causes us to lose the information that

k(t+C2)

is in the range of

arctan

. However, this constraint is "artificial" anyway and can be got rid of by readjusting the value of

C2

. Note that arc tangent constraints are artificial, but arc sine constraints are genuine, because the sine function repeats itself within a period but the tangent function does not.

To verify that this is a solution, we can compute:

dxdt=k2sec2(k(t+C2))

d2xdt2=2k3sec2(k(t+C2))tan(k(t+C2))

We can now plug in and verify the original differential equation.

Case C1<0

Let l=C1. The differential equation becomes:

dxdt=x2l2

There are stationary solutions corresponding to x=l and x=l. However, all stationary solutions are already included in another solution family, so we can ignore these. We continue solving:

dxx2l2=dt

We get:

12lln|xlx+l|=t+C2

This rearranges to gives:

ln|xlx+l|=2l(t+C2)

Exponentiate both sides to get:

xlx+l=exp(2l(t+C2)) or xlx+l=exp(2l(t+C2))

The solutions are respectively:

x=l(1+exp(2l(t+C2))1exp(2l(t+C2))) or x=l(1exp(2l(t+C2))1+exp(2l(t+C2)))

All cases

The following are the solution families:

  • x=C0,C0R (this is a singular solution family)
  • x=1t+C2,C2R
  • x=ktan(k(t+C2)),k>0,C2R
  • x=l(1+exp(2l(t+C2))1exp(2l(t+C2))),l>0,C2R
  • x=l(1exp(2l(t+C2))1+exp(2l(t+C2))),l>0,C2R