Study Notes on Differential Equations of First Order and Higher Degree

Fundamentals of Differential Equations

Equations that are composed of an unknown function and its derivatives are formally called differential equations. These equations play a fundamental role in the field of engineering because many physical phenomena are best formulated mathematically in terms of their rate of change. A primary example is Newton’s second law with drag, where the dynamics are described by variables and constants such as vv (velocity, the dependent variable), tt (time, the independent variable), mm (mass), gg (acceleration due to gravity), and cc (drag co-efficient). In this context, mm, gg, and cc function as constants.

Ordinary and Partial Differential Equations

When a function involves only one independent variable, the equation is identified as an ordinary differential equation (or ODE). Examples of ODEs include expressions where xx is the independent variable and yy is the dependent variable, such as dydx=5x+3\frac{dy}{dx} = 5x + 3, d2ydx23dydx+2y=0\frac{d^2y}{dx^2} - 3\frac{dy}{dx} + 2y = 0, and (dydx)2+y=extsin(x)(\frac{dy}{dx})^2 + y = ext{sin}(x). Conversely, a partial differential equation (or PDE) involves two or more independent variables. For instance, in the equation ux+uy=u\frac{\partial u}{\partial x} + \frac{\partial u}{\partial y} = u, the variable uu is the dependent variable while xx and yy are independent. Similarly, in the wave equation 2ut2=c22ux2\frac{\partial^2 u}{\partial t^2} = c^2 \frac{\partial^2 u}{\partial x^2}, uu is the dependent variable and xx and tt are the independent variables.

Order and Degree of Differential Equations

The order of a differential equation is defined as the order of the highest derivative present in the equation. Differential equations are classified accordingly: a first-order equation includes a first derivative as its highest derivative, a second-order equation includes a second derivative, and so on. Examples of order include dydx=ex\frac{dy}{dx} = e^x (Order 1), d2ydx2+y=0\frac{d^2y}{dx^2} + y = 0 (Order 2), and (d3ydx3)2+(d2ydx2)5+dydx=ex(\frac{d^3y}{dx^3})^2 + (\frac{d^2y}{dx^2})^5 + \frac{dy}{dx} = e^x (Order 3). The degree of a differential equation is the power of the highest order derivative term in the equation. For example, dydx=ex\frac{dy}{dx} = e^x is of Degree 1, d2ydx2+y=0\frac{d^2y}{dx^2} + y = 0 is of Degree 1, and (d3ydx3)3+(d2ydx2)5+dydx=ex(\frac{d^3y}{dx^3})^3 + (\frac{d^2y}{dx^2})^5 + \frac{dy}{dx} = e^x is of Degree 3.

Linearity of Differential Equations

A differential equation is considered linear if it satisfies two specific criteria: (1) every dependent variable and its derivatives are of degree one, and (2) no product of dependent variables and/or their derivatives occurs. For example, d2ydx2+2dydx+y=0\frac{d^2y}{dx^2} + 2\frac{dy}{dx} + y = 0 is linear. However, d2ydx2+2(dydx)2+y=0\frac{d^2y}{dx^2} + 2(\frac{dy}{dx})^2 + y = 0 is non-linear because the second term is not of degree one. The equation d2ydx2+ydydx=ex\frac{d^2y}{dx^2} + y\frac{dy}{dx} = e^x is non-linear because the second term involves the product of yy and dydx\frac{dy}{dx}. Furthermore, d2ydx2+sin(y)=0\frac{d^2y}{dx^2} + \text{sin}(y) = 0 is non-linear because sin(y)\text{sin}(y) is a non-linear term.

Classification and Characteristics Table

Differential equations are categorized based on their type, linearity, variables, order, and degree. For the equation y=x+6yy' = x + 6y, it is an Ordinary, Linear equation of Order 1 and Degree 1, with independent variable xx and dependent variable yy. The equation y=4y+y3y'' = 4y + y^3 is Ordinary, Nonlinear, Order 2, Degree 1, with variables xx and yy. The equation d2ydx2+dydx2y=x3\frac{d^2y}{dx^2} + \frac{dy}{dx} - 2y = x^3 is Ordinary, Linear, Order 2, Degree 1. The equation y+2xy+4y=cos(2x)y'' + 2xy' + 4y = \text{cos}(2x) is Ordinary, Linear, Order 2, Degree 1. The equation d3ydx3+y+4=0\frac{d^3y}{dx^3} + y + 4 = 0 is Ordinary, Linear, Order 3, Degree 1. For partial differential equations, ux+vy+wz=0\frac{\partial u}{\partial x} + \frac{\partial v}{\partial y} + \frac{\partial w}{\partial z} = 0 is Partial, Linear, Order 1, Degree 1, with independent variables x,y,zx, y, z and dependent variables u,v,wu, v, w. The equation 2ux2=c22ut2\frac{\partial^2 u}{\partial x^2} = c^2 \frac{\partial^2 u}{\partial t^2} is Partial, Linear, Order 2, Degree 1, with independent variables x,tx, t and dependent variable uu.

Solution Types and Boundary Conditions

Differential equations can be identified by further characteristics such as homogeneity and boundary conditions. Examples include structures that are 1st order, linear, nonhomogeneous, and part of an Initial Value Problem (IVP). Others may be 2nd order, linear, nonhomogeneous, and characterized as a Boundary Value Problem (BVP). Some equations are 2nd order, linear, and homogeneous (IVP), while others are 2nd order, nonlinear, and homogeneous (IVP). A solution or integral of a differential equation is any relation between the dependent and independent variables that reduces the equation to an identity when substituted. For example, y=ce2xy = ce^{2x} is a solution of y=2yy' = 2y, where cc is a constant. Because this solution is true for all values of cc, it is termed a general solution. When the arbitrary constant takes a unique value, it becomes a particular solution.

Methods for Solving First Order First Degree Equations

There are four primary methods for solving first order and first degree equations. The first is Separation of Variables, applied to equations in the form f(y)dy=g(x)dxf(y)dy = g(x)dx. The method involves converting the equation to standard form and integrating both sides. For the example (x+1)dydx=x(y2+1)(x+1)\frac{dy}{dx} = x(y^2+1), the solution is tan1(y)=xlog(1+x)+c\text{tan}^{-1}(y) = x - \log(1 + x) + c. The second method involves Homogeneous Differential Equations, where dydx=f(x,y)g(x,y)\frac{dy}{dx} = \frac{f(x,y)}{g(x,y)} and every term in ff and gg possesses the same degree. The procedure is to put y=vxy = vx, yielding a variable-separable form in vv and xx. For (2xy+x2)dydx=3y2+2xy(2xy + x^2) \frac{dy}{dx} = 3y^2 + 2xy, the solution is y2+xy=cx3y^2 + xy = cx^3.

The third method targets Linear Differential Equations of the form dydx+Py=Q\frac{dy}{dx} + Py = Q, where PP and QQ are functions of xx or constants. The method requires multiplying by an integrating factor I.F.=ePdxI.F. = e^{\int P\,dx} and integrating. For (x+1)dydx=y+ex(x+1)2(x + 1) \frac{dy}{dx} = y + e^x (x + 1)^2, the solution is yx+1=ex+c\frac{y}{x+1} = e^x + c. The fourth method is for Exact Differential Equations, which take the form Mdx+Ndy=0Mdx + Ndy = 0 and satisfy My=NxM_y = N_x. The solution involves integrating MM with respect to xx (keeping yy constant), integrating xx-deficient terms of NN with respect to yy, and setting the sum to a constant. For (5x4+3x2y22xy3)dx+(2x3y3x2y25y4)dy=0(5x^4 + 3x^2y^2 - 2xy^3)dx + (2x^3y - 3x^2y^2 - 5y^4)dy = 0, the solution is x5+x3y2x2y3y5=cx^5 + x^3y^2 - x^2y^3 - y^5 = c.

Differential Equations of First Order and Higher Degree

This section addresses the set of all first order higher degree ODEs, categorizing them into several solvable types: (1) Equations solvable for pp (where p=dydxp = \frac{dy}{dx}), (2) Equations solvable for yy, (3) Equations solvable for xx, (4) Equations homogeneous in xx and yy, (5) Clairaut equation, and (6) Lagrange equation. For equations solvable for pp, with general form f(x,y,p)=0f(x,y,p) = 0, the goal is to solve for pp first and then integrate. In Example 1, solving x2=1+p2x^2 = 1 + p^2 leads to p=±x21p = \pm \sqrt{x^2 - 1}. Integration results in the solution y=±x2x21+12log(x+x21)+cy = \pm \frac{x}{2}\sqrt{x^2 - 1} + \frac{1}{2}\log(x + \sqrt{x^2 - 1}) + c.

Equations Solvable for y and x

For equations solvable for yy, the method involves differentiating the given ODE with respect to xx, eliminating pp between the original and the new equation, and identifying the eliminant as the solution. In Example 2, solving y=(xa)pp2y = (x - a)p - p^2 involves differentiating to get dydx=p+(xa)dpdx2pdpdx\frac{dy}{dx} = p + (x - a)\frac{dp}{dx} - 2p\frac{dp}{dx}. Simplification yields 0=(xa2p)dpdx0 = (x - a - 2p)\frac{dp}{dx}, which implies dpdx=0\frac{dp}{dx} = 0 and thus p=cp = c. Substituting p=cp = c back into the ODE gives y=(xa)cc2y = (x - a)c - c^2. For equations solvable for xx, the method is to write the ODE in terms of xx, differentiate with respect to yy, solve the resulting equation, and eliminate pp. In Example 3, solving y=2px+yp2y = 2px + yp^2 (rearranged as 2x=ypyp2x = \frac{y}{p} - yp) involves differentiating with respect to yy to eventually find py=cpy = c. Substituting p=cyp = \frac{c}{y} into the ODE results in y2=c(2x+c)y^2 = c(2x + c).

Clairaut’s Equation and Practice Problems

Clairaut’s Equation has the general form y=px+f(p)y = px + f(p). Differentiating with respect to xx yields p=p+xdpdx+f(p)dpdxp = p + x\frac{dp}{dx} + f'(p)\frac{dp}{dx}, leading to (x+f(p))dpdx=0(x + f'(p))\frac{dp}{dx} = 0. This implies dpdx=0\frac{dp}{dx} = 0, so p=ap = a, where aa is a constant. The required solution is obtained by replacing pp with aa: y=ax+f(a)y = ax + f(a). Example 4 demonstrates this with p=log(pxy)p = \log(px - y). Rearranging gives ep=pxye^p = px - y, or y=pxepy = px - e^p. The solution is y=axeay = ax - e^a.

Unsolved examples for practice include:

  1. xp2+x=2ypxp^2 + x = 2yp with the answer 2cy=c2x2+12cy = c^2x^2 + 1.
  2. x(1+p2)=1x(1 + p^2) = 1 with the answer yc=xx2tan1(1xx)y - c = \sqrt{x - x^2} - \text{tan}^{-1}(\sqrt{\frac{1-x}{x}}).
  3. x2p2+xyp6y2=0x^2p^2 + xyp - 6y^2 = 0 with answers y=x3y = x^3 and y=C1x2y = C_1x^2.
  4. y=px+p3y = px + p^3 with the answer y=ax+a3y = ax + a^3.