Topper Copies

Apply the method of variation of parameters to solve the differential equation $y_2-y=2/(1+e^x)$

Aryan Yadav, AIR 31, 2025

Consider $(D^2-1)y=0$

Let soln be $y=ue^x+ve^{-x}\qquad -(2)$

$u,v$ being functions of $x$

such that

($u'$ being $\frac{du}{dx}$ & so on)

take derivative of (2) wrt $x$

take derivative wrt $x$

Put (2) & (4) in original Eqn

From (3) $\Rightarrow$

Put in (5)

Integrating

take $e^{-x}=t$

Using (6) & (7)

Integrating

Put (8) & (9) in (2)

combine with (1)

Soln is