3 Classifying differential equations

When solving differential equations (either analytically or numerically) it is important to be able to recognise the various kinds that can arise. We therefore need to introduce some terminology which will help us to distinguish one kind of differential equation from another.

Example 2

Classify the differential equations specifying the order and type (linear/non-linear)

  1. d 2 y d x 2 d y d x = x 2
  2. d 2 x d t 2 = d x d t 3 + 3 x
  3. d x d t x = t 2
  4. d y d t + cos y = 0
  5. d y d t + y 2 = 4
Solution
  1. Second order, linear.
  2. Second order, non-linear (because of the cubic term).
  3. First order, linear.
  4. First order, non-linear (because of the cos y term).
  5. First order, non-linear (because of the y 2 term).

Note that in (1) the independent variable is x whereas in the other cases it is t .

In (1), (4) and (5) the dependent variable is y and in (2) and (3) it is x .

Exercises
  1. In this RL circuit the switch is closed at t = 0 and a constant voltage E is applied.

    No alt text was set. Please request alt text from the person who provided you with this resource.

    The voltage across the resistor is i R where i is the current flowing in the circuit and R is the (constant) resistance. The voltage across the inductance is L d i d t where L is the constant inductance.

    Kirchhoff’s law of voltages states that the applied voltage is the sum of the other voltages in the circuit. Write down a differential equation for the current i and state the initial condition.

  2. The diagram below shows the graph of i against t (from Exercise 1). What information does this graph convey?

    No alt text was set. Please request alt text from the person who provided you with this resource.

  3. In the LCR circuit below the voltage across the capacitor is q C where q is the charge on the capacitor, and C is the capacitance. Note that d q d t = i . Find a differential equation for i and write down the initial conditions if the initial charge is zero and the switch is closed at t = 0 .

    No alt text was set. Please request alt text from the person who provided you with this resource.

  4. Find differential equations satisfied by
    1. y = A cos 4 x + B sin 4 x
    2. x = A e 2 t
    3. y = A sin x + B sinh x + C cos x + D cosh x (harder)
  5. Find the family of solutions of the differential equation d y d x = 2 x .  Sketch the curves of some members of the family on the same axes. What is the solution if y ( 1 ) = 3 ?
    1. Find the general solution of the differential equation y = 12 x 2 .
    2. Find the solution which satisfies y ( 0 ) = 2 , y ( 1 ) = 8
    3. Find the solution which satisfies y ( 0 ) = 1 , y ( 0 ) = 2.
  6. Classify the differential equations
    1. d 2 x d t 2 + 3 d x d t = x
    2. d 3 y d x 3 = d y d x 2 + d y d x
    3. d y d x + y = sin x
    4. d 2 y d x 2 + y d y d x = 2 .
  1. L d i d t + R i = E ; i = 0 at t = 0.
  2. Current increases rapidly at first, then less rapidly and tends to the value E R which is what

    it would be in the absence of L .

  3. L d 2 q d t 2 + R d q d t + q C = E ; q = 0 and i = d q d t = 0 at t = 0.
    1. d 2 y d x 2 = 16 y
    2. d x d t = 2 x
    3. d 4 y d x 4 = y
  4. y = x 2 + C

    No alt text was set. Please request alt text from the person who provided you with this resource.

    If 3 = 1 + C then C = 4 and y = x 2 + 4 .

    1. y = x 4 + A x + B
    2. When x = 0 , y = 2 = B ; hence B = 2 . When x = 1 , y = 8 = 1 + A + B = 3 + A

      hence A = 5 and y = x 4 + 5 x + 2 .

    3. When x = 0 y = 1 = B . Hence B = 1 ;   d y d x = y = 4 x 3 + A , so at x = 0 , y = 2 = A .

      Therefore y = x 4 2 x + 1

    1. Second order, linear
    2. Third order, non-linear (squared term)
    3. First order, linear
    4. Second order, non-linear (product term)