MCQMediumJEE 2025Separation of Variables

JEE Mathematics 2025 Question with Solution

Let a curve y=f(x)y = f(x) pass through the points (0,5)(0,5) and (log2,k)(\log 2, k). If the curve satisfies the differential equation:

2(3+y)e2xdx(7+e2x)dy=02(3+y)e^{2x}dx - (7+e^{2x})dy = 0

then kk is equal to:

  • A

    1616

  • B

    88

  • C

    3232

  • D

    44

Answer

Correct answer:B

Step-by-step solution

Standard Method

Given: The curve y=f(x)y = f(x) passes through (0,5)(0,5) and (log2,k)(\log 2, k) and satisfies

2(3+y)e2xdx(7+e2x)dy=02(3+y)e^{2x}dx - (7+e^{2x})dy = 0

Find: The value of kk.

Rearrange the differential equation and separate variables:

2(3+y)e2xdx=(7+e2x)dy2(3+y)e^{2x} \, dx = (7+e^{2x}) \, dy dy2(3+y)=e2xdx7+e2x\frac{dy}{2(3+y)} = \frac{e^{2x} \, dx}{7+e^{2x}}

Integrate both sides:

dy2(3+y)=e2x7+e2xdx\int \frac{dy}{2(3+y)} = \int \frac{e^{2x}}{7+e^{2x}} \, dx

Hence,

12ln3+y=e2x7+e2xdx\frac{1}{2} \ln|3+y| = \int \frac{e^{2x}}{7+e^{2x}} \, dx

For the right side, use the substitution t=7+e2xt = 7 + e^{2x}. Then

dt=2e2xdxdt = 2e^{2x} \, dx

so

e2xdx=12dte^{2x} \, dx = \frac{1}{2}dt

Therefore,

e2x7+e2xdx=121tdt=12lnt=12ln7+e2x\int \frac{e^{2x}}{7+e^{2x}} \, dx = \frac{1}{2} \int \frac{1}{t} \, dt = \frac{1}{2}\ln|t| = \frac{1}{2}\ln|7+e^{2x}|

So the integrated equation is

12ln3+y=12ln7+e2x+C\frac{1}{2} \ln|3+y| = \frac{1}{2} \ln|7+e^{2x}| + C

Multiplying by 22,

ln3+y=ln7+e2x+C\ln|3+y| = \ln|7+e^{2x}| + C

Exponentiating,

3+y=A7+e2x|3+y| = A|7+e^{2x}|

where A=eCA = e^C.

Use the point (0,5)(0,5):

3+5=A7+e0|3+5| = A|7+e^0| 8=A(8)8 = A(8)

So,

A=1A = 1

Thus,

3+y=7+e2x3+y = 7+e^{2x}

which gives

y=4+e2xy = 4 + e^{2x}

Now substitute x=log2x = \log 2:

k=y=4+e2log2=4+22=8k = y = 4 + e^{2\log 2} = 4 + 2^2 = 8

Therefore, the value of kk is 88 and the correct option is B.

Alternative Method from Linear Form

Given:

2(3+y)e2xdx(7+e2x)dy=02(3+y)e^{2x}dx - (7+e^{2x})dy = 0

Find: The value of kk.

Write the equation in derivative form:

dydx=2(3+y)e2x7+e2x\frac{dy}{dx} = \frac{2(3+y)e^{2x}}{7+e^{2x}}

This can be rewritten as

dydx2e2x7+e2xy=6e2x7+e2x\frac{dy}{dx} - \frac{2e^{2x}}{7+e^{2x}}y = \frac{6e^{2x}}{7+e^{2x}}

Treating it as a linear differential equation, the integrating factor used in the provided solution is

I.F.=e2e2xdx7+e2x=17+e2xI.F. = e^{-\int \frac{2e^{2x}dx}{7+e^{2x}}} = \frac{1}{7+e^{2x}}

Multiplying through by the integrating factor:

y7+e2x=6e2xdx(7+e2x)2\frac{y}{7+e^{2x}} = \int \frac{6e^{2x}dx}{(7+e^{2x})^2}

Integrating gives

y7+e2x=37+e2x+C\frac{y}{7+e^{2x}} = \frac{-3}{7+e^{2x}} + C

Apply the condition (0,5)(0,5):

58=38+C\frac{5}{8} = \frac{-3}{8} + C

So,

C=1C = 1

Hence,

y=3+7+e2x=e2x+4y = -3 + 7 + e^{2x} = e^{2x} + 4

At x=log2x = \log 2,

k=e2log2+4=4+4=8k = e^{2\log 2} + 4 = 4 + 4 = 8

Therefore, the correct option is B.

Common mistakes

  • Students often fail to separate variables correctly and may write dy3+y=e2xdx7+e2x\frac{dy}{3+y} = \frac{e^{2x}dx}{7+e^{2x}}, missing the factor 22. This gives an incorrect constant relationship. Keep the factor by writing dy2(3+y)=e2xdx7+e2x\frac{dy}{2(3+y)} = \frac{e^{2x}dx}{7+e^{2x}}.

  • A common mistake is handling e2log2e^{2\log 2} as 2log42\log 4 or some other logarithmic simplification. This is wrong because eloga=ae^{\log a} = a, so e2log2=elog4=4e^{2\log 2} = e^{\log 4} = 4.

  • Some students ignore the point (0,5)(0,5) while determining the constant of integration. Without applying the boundary condition, the family of curves remains incomplete. Always substitute the given point before evaluating kk.

Practice more Separation of Variables questions

Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.

Related questions