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

What is the solution of the differential equation \(\frac{{dx}}{{dy}} = \frac{{x\; + {\rm{\;}}y\; + {\rm{\;}}1}}{{x\; + {\rm{\;}}y\; - {\rm{\;}}1}}?\)

Where c is the arbitrary constant

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

y – x + ln(x + y) = c

Solving Differential Equations: Using Substitution Method

Let's find the solution to the given differential equation \(\frac{{dx}}{{dy}} = \frac{{x\; + {\rm{\;}}y\; + {\rm{\;}}1}}{{x\; + {\rm{\;}}y\; - {\rm{\;}}1}}\).

The structure of this differential equation, where the numerator and denominator involve the same linear combination of \(x\) and \(y\) (\(x+y\)), suggests using a substitution method.

Applying Substitution for the Differential Equation

Let us introduce a new variable, say \(v\), such that \(v = x + y\). This substitution is chosen because the term \(x+y\) appears multiple times in the equation.

Now, we need to find \(\frac{dx}{dy}\) in terms of \(v\) and \(\frac{dv}{dy}\). Differentiating the substitution \(v = x + y\) with respect to \(y\), we get:

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

\(\frac{dv}{dy} = \frac{dx}{dy} + 1\)

From this, we can express \(\frac{dx}{dy}\) as:

\(\frac{dx}{dy} = \frac{dv}{dy} - 1\)

Substituting into the Differential Equation

Now, we replace \(\frac{dx}{dy}\) and the expressions involving \(x+y\) in the original differential equation with their equivalents in terms of \(v\):

Original equation: \(\frac{{dx}}{{dy}} = \frac{{x\; + {\rm{\;}}y\; + {\rm{\;}}1}}{{x\; + {\rm{\;}}y\; - {\rm{\;}}1}}\)

Substitute \(\frac{dx}{dy} = \frac{dv}{dy} - 1\) and \(x+y = v\):

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

Now, we isolate \(\frac{dv}{dy}\):

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

Combine the terms on the right-hand side by finding a common denominator:

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

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

\(\frac{dv}{dy} = \frac{2v}{v - 1}\)

Separating Variables and Integrating

The equation \(\frac{dv}{dy} = \frac{2v}{v - 1}\) is now a variable separable differential equation. We can rearrange it to group terms involving \(v\) with \(dv\) and terms involving \(y\) with \(dy\):

\(\frac{v - 1}{2v} dv = dy\)

We can split the fraction on the left-hand side:

\(\left(\frac{v}{2v} - \frac{1}{2v}\right) dv = dy\)

\(\left(\frac{1}{2} - \frac{1}{2v}\right) dv = dy\)

Now, we integrate both sides of the equation:

\(\int \left(\frac{1}{2} - \frac{1}{2v}\right) dv = \int dy\)

Integrating the left side with respect to \(v\) and the right side with respect to \(y\):

\(\frac{1}{2}v - \frac{1}{2}\ln|v| = y + C'\) (where \(C'\) is the constant of integration)

Substituting Back to Original Variables

Now, we substitute back \(v = x + y\) into the integrated equation:

\(\frac{1}{2}(x + y) - \frac{1}{2}\ln|x + y| = y + C'\)

To simplify and rearrange, we can multiply the entire equation by 2:

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

Now, move all terms to one side to match the form of the given options. Let's gather the \(y\) terms:

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

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

We can move the term with \(\ln\) to the other side or rearrange differently. Let's aim for the form \(y - x + \ln(x+y) = c\).

From \(x - y - \ln|x + y| = 2C'\), we can multiply by -1:

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

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

Let the new constant \(-2C'\) be \(c\).

\(y - x + \ln|x + y| = c\)

Assuming \(x+y\) is such that \(\ln(x+y)\) is defined and the absolute value can be omitted, the solution is:

\(y - x + \ln(x + y) = c\)

Summary of Steps:

  1. Identify the structure of the differential equation.
  2. Apply the substitution \(v = x+y\).
  3. Differentiate the substitution with respect to \(y\) to find \(\frac{dx}{dy}\).
  4. Substitute into the original differential equation.
  5. Simplify the equation in terms of \(v\) and \(y\).
  6. Separate the variables \(v\) and \(y\).
  7. Integrate both sides.
  8. Substitute back \(v = x+y\) to get the solution in terms of \(x\) and \(y\).
  9. Rearrange the terms to match the options.
Step Description Equation
1 Original Equation \(\frac{{dx}}{{dy}} = \frac{{x\; + {\rm{\;}}y\; + {\rm{\;}}1}}{{x\; + {\rm{\;}}y\; - {\rm{\;}}1}}\)
2 Substitution \(v = x + y\)
3 Derivative of Substitution \(\frac{dx}{dy} = \frac{dv}{dy} - 1\)
4 Substitute & Simplify \(\frac{dv}{dy} = \frac{2v}{v - 1}\)
5 Separate Variables \(\frac{v - 1}{2v} dv = dy\)
6 Integrate \(\frac{1}{2}v - \frac{1}{2}\ln|v| = y + C'\)
7 Substitute Back \(\frac{1}{2}(x + y) - \frac{1}{2}\ln|x + y| = y + C'\)
8 Final Solution Form \(y - x + \ln|x + y| = c\)

Revision Table: Differential Equation Concepts

Understanding the different types of differential equations and methods to solve them is crucial.

  • First-Order Differential Equation: An equation involving only the first derivative of the dependent variable.
  • Variable Separable Method: A method where the equation can be rearranged so that all terms involving the dependent variable are on one side and all terms involving the independent variable are on the other side.
  • Substitution Method: Used when a specific combination of variables appears repeatedly in the equation. Choosing the right substitution simplifies the equation.
  • Constant of Integration: An arbitrary constant introduced when performing indefinite integration. It represents the family of solutions to the differential equation.

Additional Information: Homogeneous and Non-Homogeneous Equations

Differential equations can be classified based on their structure. The given differential equation, after the substitution \(v=x+y\), transforms into a variable separable form.

Some differential equations are classified as homogeneous or non-homogeneous. A first-order equation \(\frac{dy}{dx} = f(x, y)\) is homogeneous if \(f(tx, ty) = f(x, y)\) for some constant \(t\). The given equation is not directly homogeneous, but the form \(\frac{dx}{dy} = f(x+y)\) is a specific type solvable by the substitution \(v=x+y\).

The solution \(y - x + \ln(x + y) = c\) represents a family of curves. The specific value of the constant \(c\) depends on initial or boundary conditions, if provided.

Was this answer helpful?

Similar Questions

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

  2. What does the equation \(x \frac{dy}{dx}-2y= 0\) represent ?

  3. What is the solution of (1 +2x) dy – (1 – 2y) dx = 0?

  4. Which one of the following differential equations has a periodic solution?

  5. The general solution of \(\frac{{dy}}{{dx}} = \frac{{ax + h}}{{by + k}}\) represents a circle only when

  6. The differential equation of minimum order by eliminating the arbitrary constants A and C in the equation y = A [sin (x + C) + cos (x + C)] is

  7. What is the degree of the differential equation ?

  8. What is the differential equation of all parabolas of the type y2 = 4a (x - b)?

  9. The solution of the differential equation \(\frac{{{\rm{dy}}}}{{{\rm{dx}}}} = \frac{{{\rm{y}}\phi '\left( {\rm{x}} \right) - {{\rm{y}}^2}}}{{\phi \left( {\rm{x}} \right)}}\) is

  10. If y = (x x ) x , then which one of the following is correct ?

Important Questions from Differential Equations

  1. Given a differential equation $\frac{d^2x}{dt^2} + x = 0$ with $x(0) \neq 0$. 

    Which of the following statements is/are true?

  2. An ordinary differential equation is given below.
    $$x^2 \frac{d^2 y}{dx^2} = 6y$$
    Considering $a$ and $b$ as arbitrary constants, the general solution of the equation is
  3. If x dy = y dx + y 2dy, y > 0 and y (1) = 1, then what is y (-3) equal to?

  4. The degree of the differential equation $\frac{d^2x}{dt^2} + 2x^3 = 0$ is _______________  .

  5. If \(\frac{dy}{dx} = 2e^x y^3\), \(y(0) = \frac{1}{2}\) then what is \(4y^2(2-e^x)\) equal to ?
Need Expert Advice?
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
526 Tests 1 Tests Free
1202 Attempts
4.7(163)
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