• Foundation
  • About 14 min
  • 5 practice questions

What a differential equation is: order and degree

Recognise a differential equation, find its order, and find its degree when the equation is a polynomial in its derivatives - and say when the degree is not defined.

If something looks wrong, please tell us.

Many quantities in science and everyday life are described not by a formula for the quantity itself but by a rule for how fast it changes. A population grows at a rate proportional to its size; a hot cup of tea cools at a rate that depends on how much hotter it is than the room. Equations that connect a function with its derivatives are called differential equations, and they are one of the most useful ideas in higher mathematics. This first lesson teaches you to recognise them and to describe them with two numbers: the order and the degree.

What counts as a differential equation

A differential equation is an equation that involves an unknown function and at least one of its derivatives. In this course the unknown function is usually y, a function of the independent variable x, and its derivatives are written dy/dx (also y′), d²y/dx² (also y″) and so on. For example, dy/dx = 3x², x dy/dx + y = 0 and d²y/dx² + y = 0 are all differential equations. An equation such as y = x² + 1 is not a differential equation, because no derivative appears in it; it is simply a formula for y.

All the equations in this course involve one independent variable, so their derivatives are ordinary derivatives. Such equations are called ordinary differential equations. Equations with partial derivatives exist too, but they are beyond this course.

Order: the highest derivative present

The order of a differential equation is the order of the highest derivative that appears in it. To find it, scan the equation for every derivative, note the order of each, and pick the largest. Powers of derivatives do not matter for the order: (dy/dx)⁵ is still a first derivative. So dy/dx + y = eˣ has order 1, d²y/dx² + 5(dy/dx)³ = 0 has order 2, and d³y/dx³ − y = sin x has order 3. The order is always a positive whole number.

Degree: the power of that highest derivative

The degree is defined only when the equation is a polynomial equation in its derivatives, that is, when every derivative appears only with whole-number powers and is not inside a function such as sin, cos, log or eˣ. When this is so, the degree is the highest power to which the highest-order derivative is raised, once the equation is written as such a polynomial. The function y itself and the variable x may appear inside any function; only the derivatives must appear polynomially. So (dy/dx)² + sin y = x is a polynomial in dy/dx, and its degree is 2.

If a derivative appears inside sin, cos, log, an exponential or a similar function, the equation is not a polynomial in its derivatives and its degree is not defined. For example, d²y/dx² + sin(dy/dx) = 0 has order 2, but its degree is not defined. Many students wrongly answer 1 here: always check the whole equation before naming a degree.

Order = the order of the highest derivative present. Degree = the highest power of that highest-order derivative, defined only when the equation is a polynomial in its derivatives.

Order and degree at a glance
EquationOrderDegree
dy/dx = 3x²11
(d²y/dx²)³ + (dy/dx)⁴ + y = 023
(dy/dx)² + sin y = x12
d²y/dx² + sin(dy/dx) = 02not defined

Worked example 1

Find the order and degree of (d³y/dx³)² + 4(d²y/dx²)⁵ + y = x. The derivatives present are of order 3 and order 2. The highest is the third derivative, so the order is 3. Every derivative appears with a whole-number power, so the equation is a polynomial in its derivatives. The third derivative is raised to the power 2, so the degree is 2. Notice that the larger power 5 belongs to the second derivative, which is not the highest-order one, so it does not decide the degree. This is the most common trap in such questions.

Worked example 2

Find the order and degree of x²(dy/dx) + e^(dy/dx) = 0. The only derivative is dy/dx, so the order is 1. However, dy/dx appears as an exponent inside e^(dy/dx), so the equation is not a polynomial in dy/dx. Therefore the degree is not defined. Compare this with x² dy/dx + eʸ = 0: there y, not a derivative, sits in the exponent, the equation is a polynomial in dy/dx, and its order and degree are both 1.

Key takeaways

A differential equation links a function with its derivatives. Its order is the order of the highest derivative present, whatever its power. Its degree is the power of that highest derivative, but only when every derivative appears polynomially; if any derivative sits inside sin, cos, log or an exponential, the degree is not defined. In the next lesson you will see what it means to solve a differential equation.

Check your understanding

  1. 1. What is the order of the differential equation d³y/dx³ + 4(dy/dx)² − y = 0?

    1. 3
    2. 2
    3. 1
    4. 4
    Show answer

    Answer: A. The derivatives present are of order 3 and order 1. The highest is d³y/dx³, so the order is 3. The power 2 on dy/dx does not affect the order.

  2. 2. What is the degree of the differential equation (d²y/dx²)³ + (dy/dx)⁴ + y = 0?

    1. 4
    2. 2
    3. 3
    4. 7
    Show answer

    Answer: C. The equation is a polynomial in its derivatives. The highest-order derivative is d²y/dx², raised to the power 3, so the degree is 3. The power 4 belongs to dy/dx, a lower-order derivative.

  3. 3. For which of these differential equations is the degree NOT defined?

    1. d²y/dx² + sin y = 0
    2. d²y/dx² + sin(dy/dx) = 0
    3. dy/dx + x² = cos x
    4. (dy/dx)² = y
    Show answer

    Answer: B. In d²y/dx² + sin(dy/dx) = 0 the derivative dy/dx sits inside sin, so the equation is not a polynomial in its derivatives and the degree is not defined. In the other three, only y or x appear inside functions; their degrees are 1, 1 and 2.

  4. 4. What are the order and degree of (dy/dx)² + 5y = x?

    1. Order 2, degree 1
    2. Order 1, degree 1
    3. Order 2, degree 2
    4. Order 1, degree 2
    Show answer

    Answer: D. The only derivative is dy/dx, so the order is 1. It is raised to the power 2 and the equation is a polynomial in it, so the degree is 2.

  5. 5. Which of these is a differential equation?

    1. y = x² + 1
    2. x² + y² = 4
    3. y = sin x + cos x
    4. x dy/dx + y = 0
    Show answer

    Answer: D. Only x dy/dx + y = 0 contains a derivative of the unknown function. The others are ordinary formulas or equations linking x and y with no derivative.

Sign in to keep track of the lessons you finish.

Next lesson → Solutions: general and particular

Privacy · Terms · Refunds · Delivery