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

If $k$ is an arbitrary constant, then what is the general solution of the equation $(x + y)^2 \frac{dy}{dx} = k^2$?

This question was previously asked in
NDA 2 2025 GAT Question Paper (14-Sep-2025)
The correct answer is
$x+y=k\tan\left(\frac{y-c}{k}\right)$

Finding the General Solution for $(x + y)^2 \frac{dy}{dx} = k^2$

This problem asks for the general solution to a first-order ordinary differential equation. The equation is $(x + y)^2 \frac{dy}{dx} = k^2$, where $k$ is a known constant. We can solve this type of equation effectively using a substitution method.

Step 1: Perform the Substitution

To simplify the equation, let's introduce a new variable $v$ such that $v = x + y$. Now, we need to express $\frac{dy}{dx}$ in terms of $v$ and $x$. Differentiating $v = x + y$ with respect to $x$, we get:

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

\frac{dv}{dx} = 1 + \frac{dy}{dx}$

Rearranging this, we find:

\frac{dy}{dx} = \frac{dv}{dx} - 1$

Now substitute $v = x + y$ and $\frac{dy}{dx} = \frac{dv}{dx} - 1$ into the original differential equation:

$v^2 \left(\frac{dv}{dx} - 1\right) = k^2$

Step 2: Rearrange the Equation

Let's expand and rearrange the equation to isolate the derivative term:

$v^2 \frac{dv}{dx} - v^2 = k^2$

Add $v^2$ to both sides:

$v^2 \frac{dv}{dx} = k^2 + v^2$

This is now in a form where we can separate the variables $v$ and $x$. Divide both sides by $k^2 + v^2$ and multiply by $dx$:

\frac{v^2}{k^2 + v^2} dv = dx$

Step 3: Integrate Both Sides

The equation is now separable. We need to integrate both sides. The right side is straightforward:

\int dx = x + C_1$

where $C_1$ is the constant of integration. For the left side, we can rewrite the fraction $\frac{v^2}{k^2 + v^2}$ to make integration easier:

\frac{v^2}{k^2 + v^2} = \frac{(k^2 + v^2) - k^2}{k^2 + v^2} = 1 - \frac{k^2}{k^2 + v^2}$

Now, integrate the left side:

\int \left(1 - \frac{k^2}{k^2 + v^2}\right) dv$

This integral splits into two parts:

  • \int 1 dv = v$
  • \int \frac{k^2}{k^2 + v^2} dv$

Recall the standard integral form \int \frac{a^2}{a^2 + x^2} dx = a \arctan\left(\frac{x}{a}\right)$. Here, $a = k$ and the variable is $v$. So, the integral becomes:

\int \frac{k^2}{k^2 + v^2} dv = k \arctan\left(\frac{v}{k}\right)$

Combining the parts, the left side integral is:

$v - k \arctan\left(\frac{v}{k}\right)$

Equating the integrals of both sides:

$v - k \arctan\left(\frac{v}{k}\right) = x + C_1$

Step 4: Substitute Back

Now, substitute $v = x + y$ back into the integrated equation:

$(x+y) - k \arctan\left(\frac{x+y}{k}\right) = x + C_1$

Simplify the equation by subtracting $x$ from both sides:

$y - k \arctan\left(\frac{x+y}{k}\right) = C_1$

Rearrange the terms to match the format of the options:

$y - C_1 = k \arctan\left(\frac{x+y}{k}\right)$

Divide by $k$ (assuming $k \neq 0$):

\frac{y-C_1}{k} = \arctan\left(\frac{x+y}{k}\right)$

Take the tangent of both sides:

$\tan\left(\frac{y-C_1}{k}\right) = \frac{x+y}{k}$

Finally, multiply by $k$:

$x+y = k \tan\left(\frac{y-C_1}{k}\right)$

Conclusion: The General Solution

The constant of integration $C_1$ is an arbitrary constant. We can rename it to $c$ to match the notation in the options. Therefore, the general solution of the differential equation $(x + y)^2 \frac{dy}{dx} = k^2$ is:

$x+y = k \tan\left(\frac{y-c}{k}\right)$

Was this answer helpful?

Similar Questions

  1. If \(\frac{dy}{dx} = 2e^x y^3\), \(y(0) = \frac{1}{2}\) then what is \(4y^2(2-e^x)\) equal to ?
  2. What are the order and degree respectively of the differential equation?
  3. What is the solution of the differential equation?
  4. Let \(y_1(x)\) and \(y_2(x)\) be two solutions of the differential equation \(\frac{dy}{dx} = x\). If \(y_1(0) = 0\) and \(y_2(0) = 4\), then what is the number of points of intersection of the curves \(y_1(x)\) and \(y_2(x)\) ?
  5. The differential equation, representing the curve \(y = e^x(a \cos x + b \sin x)\) where \(a\) and \(b\) are arbitrary constants, is
  6. What are the order and degree respectively of the differential equation
    \(\left\{2 - \left(\frac{dy}{dx}\right)^2\right\}^{0.6} = \frac{d^2y}{dx^2}\) ?
  7. What is the degree of the differential equation \(\left(\frac{d^2y}{dx^2}\right)^2 - \left(\frac{dy}{dx}\right)^\frac{5}{2} = 0\)?
  8. Consider the following statements :

    I. \(y = xe^{2x}\) is the solution of \(\frac{dy}{dx} = y\left(2+\frac{1}{x}\right)\)
    II. \(y = x\ln|x|+cx\) is the solution of \(\frac{dy}{dx} = \frac{x + y}{x}\)

    Which of the statements given above is/are correct?

  9. What is the solution of the differential equation \(\cos \left( \frac{dy}{dx} \right) = p\) when \(y(0) = q\) ?
  10. What is the solution of the differential equation with \(y(0) = 0\) ?

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