Let $X:=\big\{f\in \mathcal{C}^1[0,1]\,\big|\,f(0)=0\text{ and } f(1)=1\big\}$, $0<a<1$, and $I_a(f):=\displaystyle\int _0 ^1 x^a \left(\frac{\text{d}}{\text{d}x}\,f(x)\right)^2 dx$. Then prove that $$\inf_{f\in X}\,I_a(f)=1-a\,.$$
I know that $\inf\limits_{f\in X}\, I_a(f)\leq 1-a$ by taking $f(x)=x^{1-a}$ for all $x\in[0,1]$, but I don't know how to prove $\inf\limits_{f\in X}\, I_a(f)\geq 1-a$.
Let $f\in X$. Using the Cauchy-Schwarz Inequality and the Triangle Inequality, we have $$\begin{align}\left(\int_0^1\,x^{-a}\,\text{d}x\right)^{\frac12}\,\left(\int_0^1\,x^a\,\big(f'(x)\big)^2\,\text{d}x\right)^{\frac12}&\geq \int_0^1\,\big|f'(x)\big|\,\text{d}x \\&\geq\left| \int_0^1\,f'(x)\,\text{d}x\right|=\big|f(1)-f(0)\big|=1\,.\end{align}$$ This shows that $$I_a(f)\geq \frac{1}{\displaystyle\int_0^1\,x^{-a}\,\text{d}x}=1-a\,.\tag{*}$$
Note that the inequality becomes an equality if and only if $x^a\,\big|f(x)\big|=1$ for almost every $x\in[0,1]$ (in the Lebesgue sense). Since $f$ is a continuously differentiable function, the only equality case must happen when $x^a\,f'(x)=k$ for some constant $k$, but this cannot happen as $f'(x)$ will not be defined at $x=0$. Thus, (*) is in fact a strict inequality.
However, we can take an arbitrary sequence $\left(f_n\right)_{n\in\mathbb{Z}_{>0}}$ of functions $f_n\in\mathcal{C}^1\big([0,1]\to\mathbb{R}\big)$ that converge uniformly on compact sets to $g:[0,1]\to\mathbb{R}$, where $g(x):=x^{1-a}$ for $x\in[0,1]$. (For example, take $f_n:=\chi_{\left[0,\frac1n\right]}\,g$ for $n=1,2,3,\ldots$. Here, for a given $\epsilon\in(0,1)$, $\chi_{[0,\epsilon]}:[0,1]\to[0,1]$ is a smooth function equaling $1$ on $[\epsilon,1]$ and vanishing on $\left[0,\frac{\epsilon}{2}\right]$.) By doing so, we conclude that (*) is sharp, whence $$\inf_{f\in X}\,I_a(f)=1-a\,.$$