Order, degree and what a solution is · Mathematics… | StemPy Lab
Course 13.1·Lesson 1 of 3
Order, degree and what a solution is
A differential equation links a function to its own derivatives. Its order is the order of the highest derivative in it. Its degree is the power of that highest derivative, when the equation is a polynomial in the derivatives. A solution is a function that makes the equation true. The general solution has as many arbitrary constants as the order, and a particular solution has them fixed by conditions.
about 25 min1 simulation1 practice question
Lesson 1 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
say what a differential equation is, and find its order and its degree;
check by substitution that a given function is a solution;
tell a general solution from a particular solution, and fix the constants from conditions.
A cup of tea
A cup of tea cools. The hotter it is, the faster it cools. So the rate of change of the temperature depends on the temperature itself. A rule like this does not give the temperature at a time. It gives a link between the temperature and its rate of change. Such a link is a differential equation.
A differential equation is an equation that contains a function of one variable and one or more of its derivatives. Here the function is y and the variable is x. This chapter treats ordinary differential equations, where there is only one independent variable.
Order
The order is the order of the highest derivative in the equation. The derivative dxdy has order 1, and dx2d2y has order 2.
dxdy+y=x has order 1.
dx2d2y+3dxdy+2y=0 has order 2.
dx3d3y+dxdy=ex has order 3.
Degree
The degree is the power of the highest-order derivative, after the equation has been written as a polynomial in its derivatives. Follow three steps.
Clear any root or fraction that contains a derivative.
Find the highest-order derivative.
Read its power. That power is the degree.
The degree is defined only when the equation is a polynomial in the derivatives. If a derivative sits inside sin, cos, e() or ln, the degree is not defined.
(dx2d2y)3+(dxdy)4+y=0 has order 2 and degree 3. The highest derivative is the second, and its power is 3.
dx2d2y=1+(dxdy)3 has order 2. Squaring both sides gives (dx2d2y)2=1+(dxdy)3, so the degree is 2.
sindxdy=x has order 1, and the degree is not defined.
dx2d2y+edy/dx=0 has order 2, and the degree is not defined, because a derivative is in the exponent.
Order and degree are both positive whole numbers, and the order does not depend on the degree. The degree is a term of the Indian syllabus. A-Level, IB and AP speak of the order only, and they say a first-order or second-order equation.
Solutions
A solution is a function y=f(x) that makes the equation true for every x in an interval. To check a solution, put the function and its derivatives into the equation.
Example. Is y=e3x a solution of y′′−5y′+6y=0? Here y′=3e3x and y′′=9e3x. Then 9e3x−15e3x+6e3x=0. Yes, it is.
A first-order equation such as dxdy=2x has a whole family of solutions, y=x2+C. The letter C is an arbitrary constant. The family is the general solution. In general, an equation of order n has a general solution with n independent arbitrary constants.
Seven blue upward-opening parabolas of the same shape, stacked one above another, each the graph of y = x squared plus a constant C, for C from -2 to 4. One of them, with C = 2, is drawn thicker in red, and it passes through the red dot at the point (1, 3). Every curve is a solution of dy/dx = 2x.
A particular solution is one curve of the family. A condition picks it. For dxdy=2x with the condition y=3 when x=1, we get 3=1+C, so C=2 and the particular solution is y=x2+2. A condition of this kind, given at one point, is called an initial condition. In IB it is an initial value problem.
More constants, more conditions
The equation y′′−y′−2y=0 has order 2. Its general solution is y=Ae2x+Be−x, with two constants. Two conditions fix them, for example y(0) and y′(0). Move the sliders. The curve changes, and the equation stays true.
Worked example
The function y=Ae2x+Be−x has y(0)=5 and y′(0)=1. Find A and B.
Write the conditions.y(0)=A+B=5. Next, y′=2Ae2x−Be−x, so y′(0)=2A−B=1.
Add the two equations. The B cancels: 3A=6, so A=2.
Find B.B=5−2=3.
The particular solution is y=2e2x+3e−x.
Practise with new numbers
Try it in Python
The equation is y′′−2y′+y=0. The program estimates y′ and y′′ from nearby points, and prints y′′−2y′+y for four candidates. A solution gives zero.
Common mistakes
Mixing up order and degree. The order counts derivatives. The degree is the power of the highest one.
Reading the degree before clearing roots.y′′=1+y′ has degree 2 after squaring, not 1.
Counting a degree when it is not defined. A derivative inside sin or e() means no degree.
Too few constants. The general solution of an order n equation needs n constants.
Not substituting to check. Put the function and its derivatives into the equation. It takes one minute.
Remember these
The order is the order of the highest derivative. The degree is its power, when the equation is a polynomial in the derivatives.
A solution makes the equation true. The general solution has as many constants as the order.
A particular solution comes from conditions, one for each constant.
Check a solution by substituting it.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
State the order and the degree of (dx3d3y)2+4dx2d2y+y=x.
State the order and the degree of sindxdy=x.
Is y=3x2 a solution of xdxdy=2y?
How many arbitrary constants does the general solution of y′′′−y′′=0 have?
The equation y′′=y has the solution y=Pex+Qe−x. Find the particular solution with y(0)=2 and y′(0)=0.