All Exams Test series for 1 year @ ₹349 only
Question

What is the solution of the differential equation x dy – y dx = 0?

This question was previously asked in
NDA I 2018 GAT Previous Year Paper (22-Apr-2018)
The correct answer is

y = cx

Solving the Differential Equation x dy – y dx = 0

The given problem asks us to find the solution to the differential equation \(x \, dy - y \, dx = 0\).

This is a first-order differential equation. We can attempt to solve it using the method of separation of variables.

The equation is:

\(x \, dy - y \, dx = 0\)

To separate the variables \(x\) and \(y\), we can move the term \(y \, dx\) to the right side:

\(x \, dy = y \, dx\)

Now, we want to get all terms involving \(y\) and \(dy\) on one side and all terms involving \(x\) and \(dx\) on the other side. We can divide both sides by \(xy\), assuming \(x \neq 0\) and \(y \neq 0\):

\(\frac{x \, dy}{xy} = \frac{y \, dx}{xy}\)

This simplifies to:

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

Now that the variables are separated, we can integrate both sides of the equation:

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

Integrating \(\frac{1}{y}\) with respect to \(y\) gives \(\ln|y|\), and integrating \(\frac{1}{x}\) with respect to \(x\) gives \(\ln|x|\). We need to add a constant of integration, let's call it \(C'\), to one side (usually the right side):

\(\ln|y| = \ln|x| + C'\)

To solve for \(y\), we can exponentiate both sides of the equation:

\(e^{\ln|y|} = e^{\ln|x| + C'}\)

\(|y| = e^{\ln|x|} \cdot e^{C'}\)

\(|y| = |x| \cdot e^{C'}\)

Let \(e^{C'} = A\), where \(A\) is a positive constant. So, \(|y| = A|x|\). This means \(y = \pm Ax\). Let \(C = \pm A\). Since \(A\) is a positive constant, \(C\) can be any non-zero real number. If we also consider the case where \(y=0\) is a solution (substituting \(y=0\) into the original equation gives \(x(0) - 0(dx) = 0\), which is true), the solution \(y=Cx\) includes the case \(y=0\) when \(C=0\). Therefore, the general solution can be written as:

\(y = Cx\)

Where \(C\) is an arbitrary constant.

Comparing Solution with Options

Let's compare our derived solution \(y = Cx\) with the given options:

  • Option 1: \(xy = c\). This is not in the form \(y = Cx\). Dividing by \(x\) gives \(y = c/x\).
  • Option 2: \(y = cx\). This matches our derived general solution, where \(c\) is the arbitrary constant.
  • Option 3: \(x + y = c\). This is a linear equation, not matching our solution.
  • Option 4: \(x – y = c\). This is also a linear equation, not matching our solution.

The solution that matches our result is \(y = cx\).

The final answer is the one that represents the general solution \(y = Cx\).

Differential Equation Method Used General Solution Form
\(x \, dy - y \, dx = 0\) Separation of Variables \(y = Cx\)

Revision Table: Key Concepts

Concept Description Relevance to Problem
Differential Equation An equation involving an unknown function and its derivatives. The problem is to solve a given differential equation.
First-Order Differential Equation A differential equation involving only the first derivative of the unknown function. \(x \, dy - y \, dx = 0\) is a first-order equation.
Separation of Variables A method for solving differential equations where terms involving each variable can be isolated on opposite sides of the equation. This method was successfully applied to solve \(x \, dy - y \, dx = 0\).
Integration The process of finding the antiderivative of a function. Used to find the solution after separating variables.
Constant of Integration An arbitrary constant added when finding an indefinite integral. Represents the family of solutions to the differential equation.

Additional Information: Types of First-Order Differential Equations

Besides separation of variables, first-order differential equations can often be solved using other methods, depending on their form. Some common types include:

  • Exact Differential Equations: Equations of the form \(M(x, y) \, dx + N(x, y) \, dy = 0\) where \(\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}\).
  • Linear First-Order Equations: Equations of the form \(\frac{dy}{dx} + P(x)y = Q(x)\). These are solved using an integrating factor.
  • Homogeneous Equations: Equations that can be written in the form \(\frac{dy}{dx} = f\left(\frac{y}{x}\right)\). These can be solved using the substitution \(y = vx\).
  • Bernoulli Equations: Equations of the form \(\frac{dy}{dx} + P(x)y = Q(x)y^n\). These can be transformed into linear equations using a suitable substitution.

The equation \(x \, dy - y \, dx = 0\) can be rewritten as \(x \, dy = y \, dx\), or \(\frac{dy}{dx} = \frac{y}{x}\). This form shows it is also a homogeneous differential equation, solvable using the substitution \(y=vx\), which would yield the same general solution \(y=Cx\).

Was this answer helpful?

Similar Questions

  1. What is the general solution of the differential equation ydx – (x + 2y 2) dy = 0?

  2. If xdy = y(dx + ydy) ; y(1) = 1 and y(x) > 0, then what is y(-3) equal to?

  3. A particle starts from origin with a velocity (in m/s) given by the equation \(\rm \frac{dx}{dt}=x+1\) . The time (in seconds) taken by the particle to traverse a distance of 24 m is:

  4. If \(\frac{d}{d x}\left(\frac{1+x^4+x^8}{1−x^2+x^4}\right)\)  = ax + bx 3 , then which one of the following is correct?
  5. What is the solution of the differential equation (dy − dx) + cos x(dy + dx) = 0 ?

  6. What is the solution of the following differential equation?

    \(\rm \ln\left(\frac{dy}{dx}\right)+y = x\)

  7. The solution of the differential equation \(\frac{{dy}}{{dx}} = \cos \left( {y - x} \right) + 1\) is

  8. What is the general solution of the differential equation \(\frac{{dy}}{{dx}} + \frac{x}{y} = 0\) ?

  9. What is the solution of the differential equation \(\ln \left( {\frac{{{\rm{dy}}}}{{{\rm{dx}}}}} \right) - {\rm{a}} = 0?\)

  10. What is the solution of the differential equation.

    \(\frac{{ydx - xdy}}{{{y^2}}} = 0\) ?

    Where c is an arbitrary constant.


Important Questions from Solution of Differential Equations

  1. The solution of the differential equation \(\rm\left(\frac{dy}{dx}\right)^2−\frac{d^2y}{dx^2}\)  = e y , with the boundary conditions y(0) = 0 and y'(0) = −1, is
  2. The equation of motion of a one-dimensional forced harmonic oscillator in the presence of a dissipative force is described by \(\frac{{{{\rm{d}}^{\rm{2}}}{\rm{x}}}}{{{\rm{d}}{{\rm{t}}^{\rm{2}}}}}\,{\rm{ + }}\,{\rm{10}}\frac{{{\rm{dx}}}}{{{\rm{dt}}}}\,{\rm{ + }}\,{\rm{16x}}\,{\rm{ = }}\,{\rm{6t}}{{\rm{e}}^{{\rm{ - 8t}}}}{\rm{ + }}\,{\rm{4}}{{\rm{t}}^{\rm{2}}}{{\rm{e}}^{{\rm{ - 2t}}}}\) The general form of the particular solution, in terms of constants A, B etc., is

  3. What is the general solution of the differential equation ydx – (x + 2y 2) dy = 0?

  4. If xdy = y(dx + ydy) ; y(1) = 1 and y(x) > 0, then what is y(-3) equal to?

  5. If y(x) is a solution of the differential equation \(\frac{{dy}}{{dx}} + 4xy = {x^3},y(0) = 0\) then \(\mathop {\lim }\limits_{x \to 0} y(x)\) is

Need Expert Advice?
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
503 Tests 1 Tests Free
1066 Attempts
4.6(137)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App