[guided]The purpose of introducing $w=v^2/u$ is that it converts the equation for $u$ into a perfect square. This is the Picone square computation; we prove the needed identity directly, so no external theorem is being invoked without hypotheses. Throughout the integrals below, $\mathcal{L}^1$ denotes one-dimensional Lebesgue measure on $\mathbb{R}$.
Define the comparison quotient $w: [c_1,c_2] \to \mathbb{R}$ by
\begin{align*}
w(x)=\frac{v(x)^2}{u(x)}.
\end{align*}
Because $u \in C^1([a,b];\mathbb{R})$, $v \in C^1([a,b];\mathbb{R})$, and $u(x)>0$ on $[c_1,c_2]$, the quotient rule gives $w \in C^1([c_1,c_2];\mathbb{R})$. The endpoint zeros of $v$ imply
\begin{align*}
w(c_1)=w(c_2)=0.
\end{align*}
Since $c_1,c_2 \in (a,b)$, choose an open interval $I \subset (a,b)$ such that $[c_1,c_2] \subset I$. The hypothesis $P_1u' \in C^1((a,b);\mathbb{R})$ implies $P_1u' \in C^1(I;\mathbb{R})$, so the product $(P_1u')'w$ is continuous on $[c_1,c_2]$ and integration by parts is valid on $[c_1,c_2]$. Multiplying
\begin{align*}
-(P_1u')'+Q_1u=0
\end{align*}
by $w$ and integrating over $[c_1,c_2]$ with respect to $\mathcal{L}^1$ gives
\begin{align*}
0
&=\int_{c_1}^{c_2}\left(P_1(x)u'(x)w'(x)+Q_1(x)u(x)w(x)\right)\,d\mathcal{L}^1(x).
\end{align*}
Here the boundary term is $[-P_1u'w]_{c_1}^{c_2}$, and it vanishes because $w(c_1)=w(c_2)=0$.
Now compute the derivative of the quotient:
\begin{align*}
w'(x)=\frac{2v(x)v'(x)u(x)-v(x)^2u'(x)}{u(x)^2}.
\end{align*}
Substituting this expression into the integrand gives
\begin{align*}
P_1(x)v'(x)^2-P_1(x)u'(x)w'(x)
&=P_1(x)\left(v'(x)^2-2\frac{v(x)v'(x)u'(x)}{u(x)}+\frac{v(x)^2u'(x)^2}{u(x)^2}\right) \\
&=P_1(x)\left(v'(x)-\frac{v(x)u'(x)}{u(x)}\right)^2.
\end{align*}
Since $u(x)w(x)=v(x)^2$, rearranging the integrated equation for $u$ yields
\begin{align*}
\int_{c_1}^{c_2} P_1(x)\left(v'(x)-\frac{v(x)u'(x)}{u(x)}\right)^2\,d\mathcal{L}^1(x)
= \int_{c_1}^{c_2}\left(P_1(x)v'(x)^2+Q_1(x)v(x)^2\right)\,d\mathcal{L}^1(x).
\end{align*}[/guided]