Week 2 Logistic Regression Gradient Descent: Why is dw_1 = xdz in logistic regression?

I just have a question on the Week 2 Logistic Regression Gradient Descent lesson. I am not quite sure why dw_1 = x_1dz in the context of computing gradient descent for logistic regression. Is there a derivation that I do not yet know?

Hi @TomoCoder123, see