Math Lab
Home/Class XII/Ch 9/Order, degree, and solutions

Order, degree, and solutions

Before solving a differential equation we must classify it. The two basic descriptors are the order (the highest derivative present) and the degree (the power of the highest-order derivative after rationalisation). Together they tell us what kind of solution to expect and which technique to bring.

Definitions

A differential equation is an equation that relates a function yy of an independent variable xx with one or more of its derivatives dydx,d2ydx2,\dfrac{dy}{dx}, \dfrac{d^2y}{dx^2}, \ldots.

Order: the highest-order derivative present.

Degree: the power of the highest-order derivative, after the equation is rationalised , i.e. cleared of fractional and surd expressions involving derivatives.

For example, d2ydx2+3dydx5y=0\dfrac{d^2 y}{dx^2} + 3\dfrac{dy}{dx} - 5y = 0 has order 22, degree 11.

The equation (dydx)3+siny=0\left(\dfrac{dy}{dx}\right)^3 + \sin y = 0 has order 11, degree 33.

The equation dydx=x\sqrt{\dfrac{dy}{dx}} = x has order 11. Degree: squaring both sides gives dydx=x2\dfrac{dy}{dx} = x^2, so degree 11.

The equation d2ydx23=dydx+1\sqrt[3]{\dfrac{d^2 y}{dx^2}} = \dfrac{dy}{dx} + 1 becomes (after cubing) d2ydx2=(dydx+1)3\dfrac{d^2 y}{dx^2} = \left(\dfrac{dy}{dx} + 1\right)^3. Order 22, degree 11.

If after rationalisation the highest-order derivative cannot be brought to a polynomial form (e.g. sin(y)+y=0\sin(y'') + y = 0), the degree is not defined.

What is a solution?

A solution to a differential equation on an interval II is a function y=ϕ(x)y = \phi(x) defined on II such that substituting y=ϕ(x)y = \phi(x) (and its derivatives) into the equation makes it true for every xIx \in I.

For example, y=exy = e^x is a solution of dydx=y\dfrac{dy}{dx} = y on all of R\mathbb{R}. So is y=2exy = 2e^x. So is y=Cexy = Ce^x for any constant CC. The full family y=Cexy = Ce^x is the general solution. Choosing a specific CC (typically via an initial condition like y(0)=3y(0) = 3, which forces C=3C = 3) gives a particular solution.

The general principle: a differential equation of order nn has a general solution with nn arbitrary constants. To pin down a particular solution we need nn pieces of additional information.

Forming a DE from a family of curves

The reverse problem also matters. Given a family of curves with nn arbitrary constants , e.g. y=ax+by = a x + b (two constants), or y=Asin(x+α)y = A \sin(x + \alpha) , find a differential equation, of order nn, that the entire family satisfies.

Procedure. Differentiate the equation nn times. You now have the original equation plus nn derivative equations, in total n+1n + 1 equations involving xx, yy, yy', …, y(n)y^{(n)}, and the nn constants. Eliminate all nn constants , the result is a differential equation of order nn.

Example. Form the DE for y=ax+by = a x + b.

Differentiate: y=ay' = a. Differentiate again: y=0y'' = 0. The second equation contains no constants , it is the DE we want. So the DE is d2ydx2=0\dfrac{d^2 y}{dx^2} = 0.

Example. Form the DE for y=Ae2x+Be2xy = Ae^{2x} + B e^{-2x}.

y=2Ae2x2Be2xy' = 2A e^{2x} - 2B e^{-2x}. y=4Ae2x+4Be2x=4yy'' = 4A e^{2x} + 4B e^{-2x} = 4y. So the DE is d2ydx24y=0\dfrac{d^2 y}{dx^2} - 4y = 0.

Verifying a solution

You can always test a proposed solution by substitution. Given y=ϕ(x)y = \phi(x), compute the derivatives, plug into the equation, and check that it simplifies to 0=00 = 0 (or the appropriate identity).

Worked examples

Example 1. Find the order and degree of (d2ydx2)2+dydx5=0\left(\dfrac{d^2 y}{dx^2}\right)^2 + \dfrac{dy}{dx} - 5 = 0.

Highest derivative: second. Order 22. After rationalisation: already polynomial in yy''. Degree 22.

Example 2. Find the order and degree of 1+(dydx)2=d2ydx2\sqrt{1 + \left(\dfrac{dy}{dx}\right)^2} = \dfrac{d^2 y}{dx^2}.

Square both sides: 1+(y)2=(y)21 + (y')^2 = (y'')^2. Order 22, degree 22.

Example 3. Form the DE for the family y=mxy = mx, where mm is an arbitrary constant.

Differentiate: y=my' = m. Substitute back: y=yxy = y' \cdot x, i.e. xdydxy=0x \dfrac{dy}{dx} - y = 0.

Example 4. Verify that y=acosx+bsinxy = a \cos x + b\sin x satisfies d2ydx2+y=0\dfrac{d^2 y}{dx^2} + y = 0.

y=asinx+bcosxy' = -a \sin x + b \cos x, y=acosxbsinx=yy'' = -a \cos x - b \sin x = -y. So y+y=0y'' + y = 0. Confirmed.

Example 5. Find the DE of all circles passing through the origin with centres on the xx-axis.

Family: (xa)2+y2=a2(x - a)^2 + y^2 = a^2, expanding to x22ax+y2=0x^2 - 2ax + y^2 = 0. One constant aa, so order 11 expected. Differentiate: 2x2a+2yy=02x - 2a + 2yy' = 0, giving a=x+yya = x + yy'. Substitute into the original: x22(x+yy)x+y2=0x^2 - 2(x + yy')x + y^2 = 0, simplifying to x22xyy+y2=0-x^2 - 2xyy' + y^2 = 0, or y2x2=2xydydx.y^2 - x^2 = 2xy \dfrac{dy}{dx}.

Example 6. Find the DE of the family of ellipses x2a2+y2b2=1\dfrac{x^2}{a^2} + \dfrac{y^2}{b^2} = 1, considering bb a function of aa, both parameters arbitrary. (Two constants, so order 22.)

Differentiate: 2xa2+2yyb2=0\dfrac{2x}{a^2} + \dfrac{2yy'}{b^2} = 0, so xa2=yyb2\dfrac{x}{a^2} = -\dfrac{yy'}{b^2}, hence xyy=a2b2\dfrac{x}{y y'} = -\dfrac{a^2}{b^2}. Differentiate again to eliminate the second constant: (yy)(1)x(y2+yy)(yy)2=0\dfrac{(yy')(1) - x(y'^2 + y y'')}{(yy')^2} = 0, so yy=x(y2+yy)yy' = x(y'^2 + yy''), i.e. xyy+x(y)2yy=0xyy'' + x(y')^2 - yy' = 0.

Try it yourself

  1. Find the order and degree: y+5y=cosxy' + 5y = \cos x.
  2. Find the order and degree: (y)3+4y2=0(y'')^3 + 4 y' - 2 = 0.
  3. Find the order and degree: d3ydx3+y3=0\dfrac{d^3 y}{dx^3} + y^3 = 0.
  4. Find the order and degree: (dydx)2/3=x\left(\dfrac{dy}{dx}\right)^{2/3} = x.
  5. Form the DE for y=cx2y = c x^2, cc arbitrary.
  6. Form the DE for y=asin(x+b)y = a \sin(x + b), aa, bb arbitrary.
  7. Form the DE for y=c1ex+c2e2xy = c_1 e^x + c_2 e^{2x}.
  8. Verify y=sinxy = \sin x satisfies y+y=0y'' + y = 0.
  9. Verify y=e2xy = e^{2x} satisfies y4y=0y'' - 4y = 0.
  10. Form the DE of the family x2+y2=r2x^2 + y^2 = r^2 (circles centred at origin).
  11. Find a particular solution of y=2xy' = 2x satisfying y(1)=3y(1) = 3.
  12. Verify y=xlogxy = x \log x satisfies xyy=x2x y' - y = x^2.
  13. Form the DE for the family y=Ae3x+By = A e^{3x} + B.
  14. State why y=y+1y' = |y'| + 1 has no real-valued solution.

Pitfalls and tricks

  • Order is always defined; degree sometimes isn't. When the equation contains a transcendental function of derivatives (like siny\sin y'), the degree is undefined.
  • Rationalise before reading degree. Always clear fractions, radicals, and exponents involving derivatives.
  • Number of constants = order. When forming a DE, the order equals the number of arbitrary constants in the family.
  • Verify by substitution. Mathematics is the only subject where you can check your own answer cold.
  • Eliminate constants by sequential differentiation. Each derivative reduces the problem by one constant.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Order, degree, solutions
6 questions · pick the best answer
Q1

Order of d2ydx2+siny=0\frac{d^2y}{dx^2} + \sin y = 0 is

Q2

Degree of d2ydx2+sin(y)=0\frac{d^2y}{dx^2} + \sin(y') = 0 is

Q3

The general solution of a 2nd-order DE has

Q4

Is y=sinxy = \sin x a solution of y+y=0y'' + y = 0?

Q5

Form the DE for y=Ax2+Bx+Cy = Ax^2 + Bx + C

Q6

Form the DE for y=cexy = ce^x, cc arbitrary