When we're given some function, say y = $\sin^2\theta$ and x = $\cos^2\theta$, to find $\frac{dy}{dx}$, we use the following way:
$\frac{dy}{d\theta}$ = $2\sin\theta\cos\theta$ $\frac{dx}{d\theta}$ = -$2\sin\theta\cos\theta$
giving us:
$\frac{\frac{dy}{d\theta}}{\frac{dx}{d\theta}} = \frac{dy}{dx} = -1$
Then, to find $\frac{d^2y}{dx^2}$ we use chain rule giving us 0.
Instead of doing that, can we differentiate y and x with respect to theta twice and divide those to get $\frac{d^2y}{dx^2}$? Why or why not?
My point of confusion is that if we can't, then why is this wrong:
We assume $\frac{dy}{d\theta} = k$ and $\frac{dx}{d\theta} = l$ as new functions and then differentiate those again and divide the results, plug the aforementioned in and arrive at $\frac{d^2y}{dx^2}$.