Team is working on this chapter. Loading soon.

Team is working on this chapter. Loading soon.

Team is working on this chapter. Loading soon.

Team is working on this chapter. Loading soon.

Team is working on this chapter. Loading soon.

Team is working on this chapter. Loading soon.

Team is working on this chapter. Loading soon.

Team is working on this chapter. Loading soon.

Differential Equations

Orange OGCDDA Mathematics chapter banner for Differential Equations, introducing order, degree, formation and basic solution methods.
  • An equation involving independent variable \(x\), dependent variable \(y\) and the differential coefficients \(\frac{dy}{dx},\frac{d^2y}{dx^2}\ldots\ldots\) is called differential equation.

OR

  • A differential equation is an equation involving an unknown function and its derivatives.For Examples:(i) \(\displaystyle\frac{dy}{dx}=1+x+y\)(ii) \(\displaystyle\frac{dy}{dx}+xy=x^2\)(iii) \(\displaystyle\frac{d^2y}{dx^2}-5\frac{dy}{dx}+6y=x^2\)(iv) \(\displaystyle x^2\frac{d^2y}{dx^2}+\sqrt{1+\left(\frac{dy}{dx}\right)^2}=0\)(v) \(\displaystyle\frac{dy}{dx}=\sin x+\cos x\)
  • A differential equation is an ordinary differential equation if the unknown function depends on only one independent variable.e.g. \(\displaystyle\frac{d^2y}{dx^2}-2\frac{dy}{dx}+\cos x=0\)
  • A differential equation is said to be partial if it involves partial derivatives of an unknown function of two or more independent variables.e.g., \(\displaystyle\frac{\partial u}{\partial x}+\frac{\partial u}{\partial y}+\frac{\partial u}{\partial z}=0\)

Order of a Differential Equation

The order of a differential equation is the order of the highest derivative occurring in the differential equation.

(i) In the equation \(\displaystyle\frac{d^2y}{dx^2}+5\frac{dy}{dx}+3y=\sin x\), the order of highest derivative is 2. So, it is a differential equation of order 2.

(ii) The order of differential equation \(\displaystyle\left(\frac{d^2y}{dx^2}\right)^6+\frac{d^4y}{dx^4}+\frac{dy}{dx}+5y=0\) is 4.

Important Point

  • The order of a differential equation is a positive integer.

Degree of a Differential Equation

  • The degree of a differential equation is the degree of the highest order derivative, when differential coefficients are made free from radicals and fractions.
  • In other words, the degree of a differential equation is the power of the highest order derivative occurring in differential equation when it is written as a polynomial in differential coefficients.For Example:

In the equation \(\displaystyle\frac{d^3y}{dx^3}-3\left(\frac{dy}{dx}\right)^2-5y=0\), the power of highest order derivative \(\displaystyle\frac{d^3y}{dx^3}\) is 1. So, it is a differential equation of degree 1.

Important Point

(i) The exponents of all the differential coefficients should be free from radicals and fractions.

(ii) The degree is always a positive natural number.

(iii) The degree of a differential equation may or may not exist

  • Formulating a differential equation from a given equation representing a family of curves means finding a differential equation whose solution is the given equation.
  • Consider a family of curves \(f(x,y,a_1,a_2,\ldots\ldots a_n)=0\) … (i)where \(a_1,a_2,\ldots\ldots a_n\) are \(n\) independent parameters.Equation (i) is known as an \(n\) parameter family of curves. If we differentiate equation (i) \(n\) times w.r.t. \(x\), we will get \(n\) more relations between \(x,y,a_1,a_2,\ldots\ldots,a_n\) and derivatives of \(y\) w.r.t. \(x\). By eliminating \(a_1,a_2,\ldots\ldots,a_n\) from these \(n\) relations and equation (i), we get a differential equation. Clearly, the order of this differential equation will be \(n\) i.e. equal to the number of independent parameters in the family of curves.For example, consider a two-parameter family of curves given by\[y=A\cos 2x+B\sin 2x\tag{i}\]where \(A\) and \(B\) are arbitrary constants.Differentiating (i) w.r.t. \(x\), we get\[\frac{dy}{dx}=-2A\sin 2x+2B\cos 2x\tag{ii}\]Differentiating (ii) w.r.t. \(x\), we get\[\frac{d^2y}{dx^2}=-4A\cos 2x-4B\sin 2x\tag{iii}\]Eliminating \(A\) and \(B\) from equations (i), (ii) and (iii), we get \(\displaystyle\frac{d^2y}{dx^2}=-4y\Rightarrow\frac{d^2y}{dx^2}+4y=0\)

Algorithm for formation of differential equations

Step (I) : Write the given equation involving independent variable \(x\) (say), dependent variable \(y\) (say) and the arbitrary constants.

Step (II) : Obtain the number of arbitrary constants in step (i). Let there be \(n\) arbitrary constants.

Step (III) : Differentiate the relation in step (i) \(n\) times with respect to \(x\).

Step (IV) : Eliminate arbitrary constants with the help of \(n\) equations involving differential coefficients obtained in step (iii) and the equation in step (i). The Equation so obtained is the desired differential equation.

  • Solving a differential equation is an inverse process of forming a differential equation of a family of curves by integrating the given differential equation to obtain a general relation between the independent and dependent variables.
  • A solution or integral of a differential equation is a relation between the variables that does not involve the differential coefficients, such that the relation and its derivatives satisfy the given differential equation. The solution of a differential equation is also called its primitive.
  • For example, \(y=e^x\) is a solution of the differential equation \(\displaystyle\frac{dy}{dx}=y\).

General Solution

  • The solution which contains as many arbitrary constants as the order of the differential equation is called the general solution of the differential equation.
  • Let the equation involving the variables \(x,y\) and \(n\) independent arbitrary constants be\[f(x,y,C_1,C_2,\ldots C_n)=0\tag{i}\]and the differential equation obtained from (i) be\[F\left(x,y,\frac{dy}{dx},\frac{d^2y}{dx^2},\ldots,\frac{d^ny}{dx^n}\right)=0\tag{ii}\]Then (i) is called the general solution of (ii).For example,(a) \(y=A\cos x+B\sin x\) is the general solution of the differential equation \(\displaystyle\frac{d^2y}{dx^2}+y=0\).(b) \((x-k)^2+y^2=r^2\) is the general solution of the differential equation \(\displaystyle y^2\left\{1+\left(\frac{dy}{dx}\right)^2\right\}=r^2\).

Particular Solution

  • A solution obtained by giving particular values to the arbitrary constants in the general solution of a differential equation is called a particular solution.For example,(a) \(y=3\cos x+2\sin x\) is a particular solution of the differential equation \(\displaystyle\frac{d^2y}{dx^2}+y=0\)(b) \((x-1)^2+y^2=r^2\) and \((x+2)^2+y^2=r^2\) etc. are particular solutions of the differential equation \(\displaystyle y^2\left\{1+\left(\frac{dy}{dx}\right)^2\right\}=r^2\).
  • Geometrically, the primitive (general solution) is the equation of a family of curves and a particular solution is the equation of some one of the curves. These curves are called integral curves of the differential equation.

Important Point

  • The order of a differential equation of a primitive is equal to the number of essential arbitrary constants in the primitive.
  • The general solution of a differential equation will contain as many arbitrary constants as the order of the equation.
  • To solve this type of differential equations we integrate both sides to obtain the general solution as discussed following :\[\begin{aligned}\frac{dy}{dx}&=f(x)\\\Rightarrow dy&=f(x)\,dx\end{aligned}\]Integrating both sides, we get,\[\begin{aligned}\int dy&=\int f(x)\,dx+C\\\Rightarrow y&=\int f(x)\,dx+C\end{aligned}\]
  • To solve this type of differential equation, we integrate both sides to obtain the general solution as discussed following :\[\begin{aligned}\frac{dy}{dx}&=f(y)\\\Rightarrow dx&=\frac{1}{f(y)}\,dy\end{aligned}\]The displayed separation requires \(f(y)\ne0\); constant solutions \(y=y_0\) satisfying \(f(y_0)=0\) must be checked separately.Integrating both sides, we obtain,\[\begin{aligned}\int dx&=\int\frac{1}{f(y)}\,dy+C\\\Rightarrow x&=\int\frac{1}{f(y)}\,dy+C\end{aligned}\]
  • If the differential equation of the form\[f(x)\,dx=g(y)\,dy\tag{i}\]Then we say that the variables are separable in the differential equation.Thus, integrating both sides of (i), we get its solution as\[\int f(x)\,dx=\int g(y)\,dy+C\]where \(C\) is an arbitrary constant.There is no need to introduce arbitrary constants to both sides, as they can be combined to give just one.

Equations Reducible to Variable Separable Form

  • Differential equations of the form \(\displaystyle\frac{dy}{dx}=f(ax+by+c)\) can be reduced to variable separable form by the substitution \(ax+by+c=v\)
  • A function \(f(x,y)\) is called a homogeneous function of degree \(n\) if \(f(\lambda x,\lambda y)=\lambda^n\cdot f(x,y)\)For examples,(a) \(f(x,y)=x^2+y^2-7xy\) is a homogeneous function of degree 2, because \(f(\lambda x,\lambda y)=\lambda^2x^2+\lambda^2y^2-7\lambda^2xy=\lambda^2f(x,y)\).(b) \(f(x,y)=x^3+xy^2+x^2y+y^3\) is a homogeneous function of degree 3, because \(f(\lambda x,\lambda y)=\lambda^3x^3+\lambda^3xy^2+\lambda^3x^2y+\lambda^3y^3=\lambda^3f(x,y)\).
  • A homogeneous function \(f(x,y)\) of degree \(n\) can always be written as\[f(x,y)=x^nf\!\left(1,\frac{y}{x}\right)\quad\text{or}\quad f(x,y)=y^nf\!\left(\frac{x}{y},1\right)\]where \(x\ne0\) or \(y\ne0\), respectively.
  • If a first-order first-degree differential equation is expressible in the form\[\frac{dy}{dx}=\frac{f(x,y)}{g(x,y)}\]where, \(f(x,y)\) and \(g(x,y)\) are homogeneous functions of the same degree, then it is called a homogeneous differential equation.
  • The given differential equation can be written as\[\frac{dy}{dx}=\frac{x^nf(1,y/x)}{x^ng(1,y/x)}=\frac{f(1,y/x)}{g(1,y/x)}=F\!\left(\frac{y}{x}\right)\tag{i}\]for \(x\ne0\) and \(g(1,y/x)\ne0\).For solving such equations, put \(y=vx\Rightarrow\displaystyle\frac{dy}{dx}=v+x\frac{dv}{dx}\), we get

\[v+x\frac{dv}{dx}=F(v)\Rightarrow\frac{dv}{F(v)-v}=\frac{dx}{x}\]

The displayed division requires \(F(v)\ne v\); also check constant \(v=v_0\) with \(F(v_0)=v_0\), giving \(y=v_0x\).

On integration,

\[\int\frac{1}{F(v)-v}\,dv=\int\frac{dx}{x}+C\]

where \(C\) is an arbitrary constant of integration. After integration, \(v\) will be replaced by \(\displaystyle\frac{y}{x}\) in complete solution.

Algorithm for Solving Homogeneous Differential Equation

Step (I) : Put the differential equation in the form \(\displaystyle\frac{dy}{dx}=\frac{\phi(x,y)}{\psi(x,y)}\)

Step (II) : Put \(y=vx\) and \(\displaystyle\frac{dy}{dx}=v+x\frac{dv}{dx}\) in the equation in Step (i) and cancel out \(x\) from the right-hand side. The equation reduces to the form \(\displaystyle v+x\frac{dv}{dx}=F(v)\).

Step (III) : Shift \(v\) on RHS and separate the variables \(v\) and \(x\).

Step (IV) : Integrate both sides to obtain the solution in terms of \(v\) and \(x\).

Step (V) : Replace \(v\) by \(\displaystyle\frac{y}{x}\) in the solution obtained in Step (iv) to obtain the solution in terms of \(x\) and \(y\).

  • A differential equation is said to be linear differential equation of the first order, when the dependent variable and its first derivative occur linearly, without products or nonlinear functions of them.
  • The general form of a linear differential equation of first order is :\[\frac{dy}{dx}+Py=Q\tag{i}\]where \(P\) and \(Q\) are functions of \(x\) (or constants)
  • To solve this type of differential equation, multiply both sides by a factor called an integrating factor\[\text{I.F.}=e^{\int P\,dx}\]So, on multiplying both sides of (i) by I.F., we get,\[e^{\int P\,dx}\left(\frac{dy}{dx}+Py\right)=Q\cdot e^{\int P\,dx}\]\[\Rightarrow\frac{d}{dx}\left\{y\cdot e^{\int P\,dx}\right\}=Q\cdot e^{\int P\,dx}\]On integrating both sides w.r.t. \(x\), we get;\[y\cdot e^{\int P\,dx}=\int Qe^{\int P\,dx}\,dx+C\tag{ii}\]Or , \(\displaystyle y\cdot(\text{I.F.})=\int Q\cdot(\text{I.F.})\,dx+C\)which is the required solution, where \(C\) is the constant of integration.

Algorithm for Solving a Linear Differential Equation

Step (I) : Write the differential equation in the form \(\displaystyle\frac{dy}{dx}+Py=Q\) and obtain \(P\) and \(Q\).

Step (II) : Find the integrating factor (I.F.) given by \(\displaystyle(\text{I.F.})=e^{\int P\,dx}\)

Step (III) : Multiply both sides of the equation in Step (i) by (I.F.)

Step (IV) : Integrate both sides of the equation obtained in Step (iii) w.r.t. \(x\) to obtain

\[y\cdot(\text{I.F.})=\int Q\cdot(\text{I.F.})\,dx+C\]

This gives the required solution.

Important Point

  • If the linear differential equation of first order in \(x\) is \(\displaystyle\frac{dx}{dy}+Rx=S\)where \(R\) and \(S\) are functions of \(y\) alone (or constants), then \((\text{I.F.})=e^{\int R\,dy}\) and solution is given by\[x\cdot(\text{I.F.})=\int S\cdot(\text{I.F.})\,dy+C\]Here, \(x\) becomes the dependent variable and \(y\), the independent variable.
  • If we can write the differential equation in the form \(f(f_1(x,y))\cdot d(f_1(x,y))+\phi(f_2(x,y))\cdot d(f_2(x,y))+\cdots\ldots=0\), then each term can be easily integrated separately.For this, the following results must be memorised.

(i) \(\displaystyle d(x+y)=dx+dy\)

(ii) \(\displaystyle d(xy)=x\,dy+y\,dx\)

(iii) \(\displaystyle d\!\left(\frac{x}{y}\right)=\frac{y\,dx-x\,dy}{y^2}\)

(iv) \(\displaystyle d\!\left(\frac{y}{x}\right)=\frac{x\,dy-y\,dx}{x^2}\)

(v) \(\displaystyle d\!\left(\frac{x^2}{y}\right)=\frac{2xy\,dx-x^2\,dy}{y^2}\)

(vi) \(\displaystyle d\!\left(\frac{y^2}{x}\right)=\frac{2xy\,dy-y^2\,dx}{x^2}\)

(vii) \(\displaystyle d\!\left(\frac{x^2}{y^2}\right)=\frac{2xy^2\,dx-2x^2y\,dy}{y^4}\)

(viii) \(\displaystyle d\!\left(\frac{y^2}{x^2}\right)=\frac{2x^2y\,dy-2xy^2\,dx}{x^4}\)

(ix) \(\displaystyle d\!\left(\tan^{-1}\frac{x}{y}\right)=\frac{y\,dx-x\,dy}{x^2+y^2}\)

(x) \(\displaystyle d\!\left(\tan^{-1}\frac{y}{x}\right)=\frac{x\,dy-y\,dx}{x^2+y^2}\)

(xi) \(\displaystyle d[\ln(xy)]=\frac{x\,dy+y\,dx}{xy}\)

(xii) \(\displaystyle d\!\left[\ln\!\left(\frac{x}{y}\right)\right]=\frac{y\,dx-x\,dy}{xy}\)

(xiii) \(\displaystyle d\!\left[\frac{1}{2}\ln(x^2+y^2)\right]=\frac{x\,dx+y\,dy}{x^2+y^2}\)

(xiv) \(\displaystyle d\!\left[\ln\!\left(\frac{y}{x}\right)\right]=\frac{x\,dy-y\,dx}{xy}\)

(xv) \(\displaystyle d\!\left(-\frac{1}{xy}\right)=\frac{x\,dy+y\,dx}{x^2y^2}\)

(xvi) \(\displaystyle d\!\left(\frac{e^x}{y}\right)=\frac{ye^x\,dx-e^x\,dy}{y^2}\)

(xvii) \(\displaystyle d\!\left(\frac{e^y}{x}\right)=\frac{xe^y\,dy-e^y\,dx}{x^2}\)

(xviii) \(\displaystyle d(x^my^n)=x^{m-1}y^{n-1}(my\,dx+nx\,dy)\)

(xix) \(\displaystyle d\!\left(\sqrt{x^2+y^2}\right)=\frac{x\,dx+y\,dy}{\sqrt{x^2+y^2}}\)

(xx) \(\displaystyle d\!\left(\frac{1}{2}\log\frac{x+y}{x-y}\right)=\frac{x\,dy-y\,dx}{x^2-y^2}\)

(xxi) \(\displaystyle\frac{d\!\left([f(x,y)]^{1-n}\right)}{1-n}=\frac{d[f(x,y)]}{[f(x,y)]^n},\qquad n\ne1\)