I am trying to understand the difference between a partial derivative and a total derivative when one component is defined as a function of another
If I have a function such as $f(x,y(x)) = x+y$
and $y(x) = x^2$
Is it true that the total derivative with respect to $x$ is $1 + 2x$
While the partial with respect to $x$ is $1$
Thanks