can someone who is more experienced in partial derivatives explain me this equation? Thank you in advance.
$$f(x,y) = (2x+y)^3\times x$$
1) Calculate the value of $$x=1$$
2) Calculate the value of $$y=2$$
Task 1:
$$\frac{\partial f}{\partial x} = 3(2x+y)^2 \color{red}{\times 2x + (2x+y)}$$ Can someone please explain from where do we get $$\color{red}{\times 2x + (2x+y)}$$
Task 2:
$$\frac{\partial f}{\partial y} = 3(2x+y)^2 \color{red}{\times x}$$
Can you please explain why the $$\color{red}{\times x}$$ remains in the equation?
When you take a partial derivative with respect to one variable all work exactly as for the ordinary derivative keeping constant the other variable, for example
$$y=c\implies f(x,c)=g(x)= (2x+c)^3\times x=h(x)\cdot r(x)$$
then
$$\frac{\partial f}{\partial x}=\frac{dg}{dx}=h'(x)\cdot g(x)+h(x)\cdot g'(x)=3\cdot(2x+c)^2\cdot 2\cdot x+(2x+c)^3\cdot 1=\\=6x(2x+y)^2+(2x+y)^3$$