$Legendre$'s equation is the following: $(1-x^2)y''-2xy'+n(n+1)y=0$. For our purposes, we want to find the general solution when $n = 1$ for $x \in (-1,1)$. The answer should contain one natural logarithm, one square root, and no absolute values. I should use the reduction of order substitution $y = ux^m$ for a strategically chosen $m$.
My attempt: $$(1-x^2)y''-2xy'+2y=0$$ rewrite $$y''-\frac{2xy'}{1-x^2}+\frac{2y}{1-x^2}=0$$ Since I see that $x^2$ and $2x$ appear, I think it is correct to let $m = 2 $
let $y=ux^2 \rightarrow y' = 2ux + u'x^2 \rightarrow y'' = 2u+4u'x+u''x^2$
substitute and find LCD $$\frac{2u(1-x^2)}{1-x^2}+\frac{4u'x(1-x^2)}{1-x^2}+\frac{u''x^2(1-x^2)}{1-x^2}-\frac{2ux^2+2u'x^3}{1-x^2}=0$$ combine like terms $$\frac{2u+4u'x + u''x^2-u''x^4-4ux^2-6u'x^3}{1-x^2}=0$$
So I don't really see a path from here. So I am wondering if I am missing something here, or perhaps my choice of $m$ is incorrect. I am not sure what $m$ would work well though, I feel like I am lacking some sort of intuition here. Any help is appreciated, thank you.