Skip to content
Question

Q.Solve the following differential equation: (1+ey/x)dy+ey/x(1−yx)dx=0(x≠0)\left(1 + e^{y/x}\right) dy + e^{y/x}\left(1 - \dfrac{y}{x}\right) dx = 0 \quad (x \ne 0).

CBSECBSE Class XII Board 2020Subjective· 4mImportance★★★★★
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The given differential equation is homogeneous, which we solve by substituting y=vxy=vx to transform it into a separable equation. The final solution is xey/x+y=K\boxed{x e^{y/x} + y = K}.

The given differential equation is (1+ey/x)dy+ey/x(1−yx)dx=0\left(1 + e^{y/x}\right) dy + e^{y/x}\left(1 - \dfrac{y}{x}\right) dx = 0.

Our first step in solving any differential equation is to identify its type. Let's rearrange it into the standard form dydx=f(x,y)\frac{dy}{dx} = f(x,y):

(1+ey/x)dy=−ey/x(1−yx)dx\left(1 + e^{y/x}\right) dy = - e^{y/x}\left(1 - \dfrac{y}{x}\right) dx

dydx=−ey/x(1−yx)1+ey/x\frac{dy}{dx} = - \frac{e^{y/x}\left(1 - \dfrac{y}{x}\right)}{1 + e^{y/x}}

Notice that the right-hand side, f(x,y)f(x,y), depends only on the ratio y/xy/x. This is the defining characteristic of a homogeneous differential equation.

A first-order differential equation dydx=f(x,y)\frac{dy}{dx} = f(x,y) is homogeneous if f(x,y)f(x,y) can be expressed as a function of yx\frac{y}{x} alone, i.e., f(x,y)=g(yx)f(x,y) = g\left(\frac{y}{x}\right).

The intuition behind solving homogeneous equations is that if the function f(x,y)f(x,y) only cares about the ratio y/xy/x, we can simplify the problem by introducing a new variable that is this ratio. This substitution effectively "normalizes" the variables, allowing us to separate them.

We use the substitution y=vxy = vx, where vv is a function of xx.

Differentiating y=vxy = vx with respect to xx using the product rule gives:

dydx=v⋅1+xdvdx\frac{dy}{dx} = v \cdot 1 + x \frac{dv}{dx}

Now, we substitute y=vxy=vx and dydx=v+xdvdx\frac{dy}{dx} = v + x \frac{dv}{dx} into our differential equation.

  1. Substitute y=vxy=vx and dydx=v+xdvdx\frac{dy}{dx} = v + x \frac{dv}{dx} into the equation.

    The original equation is dydx=−ey/x(1−yx)1+ey/x\frac{dy}{dx} = - \frac{e^{y/x}\left(1 - \dfrac{y}{x}\right)}{1 + e^{y/x}}.

    Substituting y/x=vy/x = v:

    v+xdvdx=−ev(1−v)1+evv + x \frac{dv}{dx} = - \frac{e^{v}(1 - v)}{1 + e^{v}}

  2. Separate the variables vv and xx.

    First, isolate xdvdxx \frac{dv}{dx}:

    xdvdx=−ev(1−v)1+ev−vx \frac{dv}{dx} = - \frac{e^{v}(1 - v)}{1 + e^{v}} - v

    To combine the terms on the right, find a common denominator:

    xdvdx=−ev(1−v)−v(1+ev)1+evx \frac{dv}{dx} = \frac{-e^{v}(1 - v) - v(1 + e^{v})}{1 + e^{v}}

    xdvdx=−ev+vev−v−vev1+evx \frac{dv}{dx} = \frac{-e^{v} + v e^{v} - v - v e^{v}}{1 + e^{v}}

    xdvdx=−ev−v1+evx \frac{dv}{dx} = \frac{-e^{v} - v}{1 + e^{v}}

    xdvdx=−ev+v1+evx \frac{dv}{dx} = - \frac{e^{v} + v}{1 + e^{v}}

    Now, we can separate the variables by moving all vv terms to one side with dvdv and all xx terms to the other side with dxdx:

    1+evev+vdv=−1xdx\frac{1 + e^{v}}{e^{v} + v} dv = - \frac{1}{x} dx

  3. Integrate both sides.

    ∫1+evev+vdv=∫−1xdx\int \frac{1 + e^{v}}{e^{v} + v} dv = \int - \frac{1}{x} dx

    For the left-hand side integral, let u=ev+vu = e^{v} + v. Then, differentiating uu with respect to vv gives du=(ev+1)dvdu = (e^{v} + 1) dv. This is exactly the numerator.

    So, the left integral becomes:

    ∫1udu=ln⁡∣u∣+C1=ln⁡∣ev+v∣+C1\int \frac{1}{u} du = \ln|u| + C_1 = \ln|e^{v} + v| + C_1

    For the right-hand side integral:

    ∫−1xdx=−ln⁡∣x∣+C2\int - \frac{1}{x} dx = - \ln|x| + C_2

    Combining these results, we get:

    ln⁡∣ev+v∣=−ln⁡∣x∣+C\ln|e^{v} + v| = - \ln|x| + C (where C=C2−C1C = C_2 - C_1 is an arbitrary constant)

  4. Simplify the expression and substitute back v=y/xv = y/x. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.