Topper Copies

Using the method variation of parameters, solve the differential equation $(x-1)D^2y - xDy + y = (x-1)^2$, where $D \equiv d/dx$.

Akshit Bhardwaj, AIR 12, 2025

It can be re-written as

First considering the homogenous part to find complementary function

By inspection we can see that $y = e^x$ is a solution.

Also comparing with $D^2y + PDy + Q = R$

Let $U = e^x$ & $v$ be other part of complementary function, then

putting $t = \dfrac{dv}{dx}$

By Integration by parts,

Now using variation of parameters let particular integral $y_p = Ax + Be^x$

where $u_1 = x$ & $v_1 = e^x$

Also $u_1v_1' - u_1'v_1 = xe^x - e^x = (x-1)e^x$

by Integration by parts

General soln