Homogeneous Differential Equation: First Order & Second Order

Arpita Srivastava logo

Arpita Srivastava

Content Writer

A homogeneous differential equation is a differential equation in the form \(\frac{dy}{dx}\)

= F (x,y), where F(x, y) is a homogeneous function of zero degree. A differential equation is a combination of a term/terms, including a dependent variable with respect to an independent variable. 

  • The term homogeneous was first used in differential equation by Johann Bernoulli in section 9 of his 1726 article.
  • It consists of a differentiation operator, a function, and a set of variables.
  • In \(\frac{dy}{dx}\) = f (x) equation, x = an independent variable, and y = a dependent variable.

There are six types of differential equations, namely, partial differential equations, ordinary differential equations, linear and non-linear differential equations, and homogeneous and non-homogeneous differential equations. 

  • It is used in the fields of automobile, medicine, economics, aerospace, and chemical industry.
  • The general form of a homogeneous differential equation is as follows:

f(x, y).dy + g(x, y).dx = 0

Key Terms: Homogeneous Differential Equation, Differential equation, Variable, Homogeneous Function, Linear Differential Equation, Dependent Variable, Non-Homogeneous Differential Equation, Functions, Derivatives


What is a Homogeneous Differential Equation?

[Click Here for Sample Questions]

A differential equation f(x,y) = g(x,y) is called a homogeneous differential equation when the degree of f(x,y) is equal to that of g(x,y). We can write a function (F) in the form F(x,y) = knF(x,y); it is referred to as a homogeneous function with degree n, where k ≠ 0. 

  • Thus, f & g are homogenous functions having equal degrees of x & y. 
  • We write a homogeneous differential equation in general form as follows:

f (x,y) . dy + g (x,y) . dx = 0

In a homogeneous differential equation, there is no constant term. On the other hand, constant terms exist in a linear differential equation. We can find the solution of a linear differential equation if and only if we eliminate the constant term. 

  • After the removal of the term, we can convert a linear differential equation into a homogeneous one.
  • Additionally, variables that have special functions like trigonometric or logarithmic functions are absent in homogeneous differential equations.

Examples of Homogeneous Differential Equations

Example: The following are some of the examples of homogeneous differential equations:

  • \(\frac{dy}{dx}\) = \(\frac{(x+y)}{(x-y)}\)
  • \(\frac{dy}{dx}\) = \(\frac{(3x+y)}{(x-y)}\)
  • \(\frac{dy}{dx}\) = \(\frac{x(x-y)}{y^2}\)
  • \(\frac{dy}{dx}\)\(\frac{x^3+y^3}{xy^2+yx^2}\)
  • \(\frac{dy}{dx}\)= \(\frac{x^2+y^2}{xy}\)

In all the examples listed above, we can replace x = λx and y = λy. Using this, we can prove that the given equation is a homogeneous differential equation. Even more, if the equation is like \(\frac{dy}{dx}\)= f (x,y), where fx,y is a homogeneous function, we can replace \(\frac{x}{y}\)=v, or x=vy. After performing integration, we will get the solution of a homogeneous equation by substituting the variables. 

Homogeneous Differential Equations

Homogeneous Differential Equations

Also Read:


How to solve a Homogeneous Differential Equation?

[Click Here for Sample Questions]

We can obtain general solution for a homogeneous differential equation by integrating the differential equation given. While solving a homogeneous equation in the form firstly, we have to separate variables and derivatives of that variable on at least one of the equations.

  • After that, we need to perform integration as for the variable. 
  • To solve a homogeneous differential equation of the form

\(\frac{dy}{dx}\)= F (x,y) = g (\(\frac{y}{x}\))…….(1)

  • The following steps are to be performed:
  • The first step involves the substitution of variables.

y=v.x …….(2)

  • Second, differentiate equation (2) w.r.t. x, we get the following equation

\(\frac{dy}{dx}\)= v+ x \(\frac{dv}{dx}\)…….(3)

  • Consider equation (1) and (3), substituting the value of dy/dx in equation (1), we have

v + x\(\frac{dv}{dx}\) = g (v)

OR

x\(\frac{dv}{dx}\) = g (v) – v …….(4)

  • Now, separate the variables in equation (4), we have

\(\frac{dv}{g(v)– v}\) = \(\frac{dx}{x}\) …….(5)

  • By integrating both, L.H.S. and R.H.S. of equation (5), we have

\(\int \frac{dv}{g(v)– v}\)= \(\int \frac{1}{x}\)dx + C…….(6)

Thus, we have got general solution of the homogeneous differential equation (1), after replacingv by \(\frac{y}{x}\)


Non-Homogeneous Differential Equation

[Click Here for Sample Questions]

Non-Homogeneous Differential Equation is a type of equation that is not homogeneous. The general equation of the non-homogeneous differential equation of second order is of the form:

y”+p(t)y’+q(t)y = g(t)

  • where g(t) is considered a non-zero function.
  • It can be converted to a homogeneous differential equation, which is represented as:

y”+a(t)y’+b(t)y = 0

  • The above equation is also known as a complementary equation to the given non-homogeneous differential equation.

Things to remember

  • An equation is considered a homogeneous differential equation if it has a homogeneous function and its derivatives. 
  • It also consists of a function and a group of variables.
  • There is no constant term in a homogeneous differential equation.
  • We can obtain the solution of a linear differential equation by removing constants from the equation. 
  • We can solve a homogeneous equation by substituting y=ux, which results in a separable differential equation. 

Also Read:


Sample Questions

Ques. A curve is passing via the point \((2, \frac{\pi} {3})\). Find equation for the given curve when the tangent at any point makes an angle tan-1\(\frac{y}{x}\)-sin2\(\frac{y}{x}\) . (5 Marks)

Ans. Φ = tan-1\(\frac{y}{x}\) – sin2\(\frac{y}{x}\) or \(\frac{dy}{dx}\)= tanΦ = \(\frac{y}{x}\) – sin2 \(\frac{y}{x}\)…….(1)

Since, this equation illustrates a homogeneous type of differential equation, by substituting y=vx in equation (1), we have

v + x \(\frac{dv}{dx}\) = v - sin2 v

x\(\frac{dv}{dx}\) = – sin2v

\(\frac{dx}{x}\) = – cosec2vdv

By integrating both sides with respect to x and v, we have

\(\int \frac{dx}{x}\) =\(\int \) – cosec2 vdv

ιnx = \(\frac{1}{tanv}\) + C…….(2)

When the curve passes through given point i.e., \((2, \frac{\pi} {3})\), for (x,y). We know, v =\(\frac{y}{x}\), thus 

v = \(\frac{\pi}{3}\) ÷ 2 = \(\frac{\pi}{6}\)

Putting the values of v and x in equation (2), we have

ln2 = \(\sqrt{3}\) + C

Or lnx = \(\frac{1}{tanv}\) + ln2 – \(\sqrt{3}\) or lnx = \(\frac{1}{tan \frac{y}{x}}\) + ln2 – \(\sqrt{3}\) which is the solution for given equation. 

Ques. Solve the given homogeneous differential equation and give the solution \(x Cos (\frac{y}{x}) . \frac{dy}{dx} = yCos (\frac{y}{x}) + x\)(5 Marks)

Ans. The given equation is \(x Cos (\frac{y}{x}) . \frac{dy}{dx} = yCos (\frac{y}{x}) + x\)

Here by separating the variables on either side of the equal-to symbol, we get

Here by separating the variables on either side of the equal-to symbol, we get

x . \(\frac{dy}{dx}\) = \(\frac{1}{Cosv}\)

Cos v.dv = \(\frac{dx}{x}\)

Integrating this expression on both sides, we get 

\(\int \)Cosv.dv = \(\int \)1x.dx \(\int \)Cosv.dv = 1x.dx

Siny = Logx + C

Again, putting y/x = v.

Sin\(\frac{y}{x}\) = Logx + C

Thus, the solution of the given equation is Sin\(\frac{y}{x}\) = Logx + C.

Ques. Solve x dy = (x + y) dx. (3 Marks)

Ans. x dy= (x + y) dx…….(1)

By rearranging the given equation, we get

\(\frac{dy}{dx}\)=  \(\frac{x + y}{x}\)

\(\frac{dy}{dx}\)= 1 + \(\frac{y}{x}\)

\(\frac{dy}{dx}\) = f (\(\frac{y}{x}\))

The differential equation given is a homogeneous equation, substituting y = vx, we get 

\(\frac{dy}{dx}\) = v + x\(\frac{dv}{dx}\)

v + x \(\frac{dv}{dx}\)  = 1 + \(\frac{vx}{x}\)

x\(\frac{dv}{dx}\) = 1 + v-v

x\(\frac{dv}{dx}\) = 1

\(\frac{dv}{dx}\) = \(\frac{dx}{x}\)

By integrating both sides we get, 

\(\int \)dv =\(\int \) \(\frac{dx}{x}\) = C

v = ln \(\mid\)x\(\mid\) + C

Substituting v =\(\frac{y}{x}\), we get

\(\frac{y}{x}\)= In \(\mid\)x\(\mid\) + C

y = x In\(\mid\)x\(\mid\) + cx

∴ We have got the solution for given equation. 

Ques. Solve the given equation and find its solution (x+ 3xy + y2) dx – x2dy=0. (5 Marks)

Ans. By re-arranging the given equation, we get 

\(\frac{dy}{dx}\)= \(\frac{x^2 +3xy+y^2}{ x^2}\)

\(\frac{dy}{dx}\) = f (\(\frac{y}{x}\))

As the given equation is homogeneous equation, substitute y=vx, we have

\(\frac{dy}{dx}\) = v + x \(\frac{dv}{dx}\)

v + x\(\frac{dv}{dx}\)= 1 + 3 \(\frac{vx}{x}\) + x \(\frac{(vx)^2}{x^2}\)

x\(\frac{dv}{dx}\) = 1 + 3v + v2 = 1 + 2v + v2

=\(\frac{dv} {1+ 2v + v^2}\)

= \(\frac{dx}{x}\)

By integrating both sides, we have

\(\int \frac{dv} {1+ 2v + v^2}\) = \(\frac{dx}{x}\) + c'

\(\int \frac{dv}{(v+1)^2}\) = \(\frac{dx}{x}\) + c'

xy+x+lnx=c, is the solution for given homogeneous equation.

\(\frac{x}{y+x}\) + ln\(\mid\) x \(\mid\)= c, is the solution for given homogeneous equation.

Ques. Show that the given equation is homogeneous equation (x – y) \(\frac{dy}{dx}\) = x + 2y. (5 Marks)

Ans. We can rewrite the given equation as \(\frac{dy}{dx}\)= \(\frac{x+2y}{x-y}\) …….(1)

equation is homogeneous equation

Thus, we have solved the given equation and got the general solution for the same. 

Thus, we have solved the given equation and got the general solution for the same. 

Ques. Solve \(\frac{dy}{dx}\) – y = \(\sqrt{x^2 + y^2}\) ? (5 Marks)

Ans. The given equation can be written as 

The given equation can be written as 

Now, cancel v on both sides, we have

y+1+v2=C1x2, which is the solution after substituting the value of v = y/x.

y + \(\sqrt{1 + v^2}\) = C1x2, which is the solution after substituting the value of v = y/x.

Ques. What Is the Difference Between Homogeneous and Non-Homogeneous Differential Equation? (2 Marks)

Ans. In a homogeneous differential equation there is a homogeneous function, say f(x,y), such that 

f (λx,λy) = λ n f (x,y), for any non-zero constant λ. Whereas, in a non-homogeneous differential equation, there is no homogeneous function. Example, linear differential equation of the form \(\frac{dy}{dx}\) + Py = Q is a non-homogeneous differential equation. 

Ques. Solve (x (\(\sqrt{x^2+y^2}\)– y2) (dx + xy) dy) = 0. (2 Marks)

Ans. We can re-write the given equation as:

Thus we have obtained the required solution for the given equation after substituting the value of v = y/x.

Thus we have obtained the required solution for the given equation after substituting the value of v = y/x.

Ques. Solve the equation \(\frac{dy}{dx}\)\(\frac{y^2 – x^2}{2xy}\). (2 Marks)

Ans. As each of the functions (y2 – x2) and 2xy is a homogeneous function of degree 2, the given equation is homogeneous.

Substituting y = vx and dy/dx = v + x dy/dx, we get

Putting the value of v=y/x, we have

Putting the value of v=y/x, we have

x (\(\frac{1+y^2}{x^2}\)) = C1

(x2 + y2)= x C1, is the solution for the given equation. 

Ques. Solve (x cos(\(\frac{y}{x}\))) (ydx + x dy) = (y sin (\(\frac{y}{x}\))) (x dy - y dx). (3 Marks)

Ans. We can re-write the given equation as,

We can re-write the given equation as,

By taking ± C = C1, we get

By taking ± C = C1, we get

x2 v cos cos v = C1

xy cos( \(\frac{y}{x}\)) = C1

Thus, we have got the required solution after substituting the actual value of v as y/x. 

Ques. What are different types of differential equation. (2 marks)

Ans. The different types of differential equation are as follows:

  • Ordinary differential equations 
  • Partial differential equations 
  • Linear differential equations 
  • Nonlinear differential equations 
  • Homogeneous differential equations 
  • Nonhomogeneous differential equations 

Ques. What is the general equation of Homogeneous Differential Equation and Non-Homogeneous Differential Equation. (2 marks)

Ans. The general equation of Homogeneous Differential Equation is as follows:

f(x, y).dy + g(x, y).dx = 0

The general equation of Non-Homogeneous Differential Equation is as follows:

y”+p(t)y’+q(t)y = g(t)

For Latest Updates on Upcoming Board Exams, Click Here: https://t.me/class_10_12_board_updates


Check-Out: 

CBSE CLASS XII Related Questions

  • 1.
    Find:

    If the function \[ f(x)= \begin{cases} \frac{\sin x}{x}+\cos x, & x\neq0\\ k, & x=0 \end{cases} \] is continuous at \(x=0\), then find the value of \(k\).

      • \(0\)
      • \(-2\)
      • \(-1\)
      • \(2\)

    • 2.
      Find:

      The principal value of \[ \sec^{-1}(\sqrt{2})+2\csc^{-1}(-2) \] is:

        • \(-\frac{\pi}{2}\)
        • \(-\frac{\pi}{4}\)
        • \(\frac{\pi}{4}\)
        • \(\frac{\pi}{2}\)

      • 3.
        Find: \[ \int \frac{x^2}{(x^2-1)(x^2+4)}\,dx \]


          • 4.
            Find:

            The shortest distance between the lines: \[ \vec{r}=(4+\lambda)\hat{i}+(2\lambda-1)\hat{j}-3\lambda\hat{k} \] and \[ \vec{r}=(1+2\mu)\hat{i}+(4\mu-1)\hat{j}+(2-5\mu)\hat{k} \]


              • 5.

                Evaluate:
                \[ \int_{0}^{1} \frac{x \tan^{-1}x}{(1+x^2)^{3/2}}\,dx \]


                  • 6.

                    Find:
                    Let \(A=[a_{ij}]\) be a \(2\times2\) matrix whose elements are given by \[ a_{ij}=\frac{(2i-j)^2}{3} \] Find the transpose matrix \(A'\).

                      • \(\begin{bmatrix} \frac{1}{3} & 3 \\ 0 & \frac{4}{3} \end{bmatrix}\)
                      • \(\begin{bmatrix} \frac{1}{3} & 0 \\ 3 & \frac{4}{3} \end{bmatrix}\)
                      • \(\begin{bmatrix} \frac{4}{3} & 3 \\ 1 & 0 \end{bmatrix}\)
                      • \(\begin{bmatrix} \frac{4}{3} & 0 1 & \frac{3}{3} \end{bmatrix}\)
                    CBSE CLASS XII Previous Year Papers

                    Comments


                    No Comments To Show