Stephanie M. answered 04/29/15
Tutor
5.0
(956)
Private Tutor - English, Mathematics, and Study Skills
When you take the derivative with respect to some variable, all the other variables are treated as constants. So, imagine you're taking this derivative instead:
x + 2 + 2x + x + 3 + 3x - x2
The derivative of that function is:
1 + 0 + 2 + 1 + 0 + 3 - 2x = 7 - 2x
Your function works pretty much the same way. Terms like x2 are just constants, and terms like x1x2 are just your variable with a constant coefficient attached. The derivative of a constant is always 0, and the derivative of a variable with a coefficient attached is just that coefficient. So your derivative is:
1 + 0 + x2 + 1 + 0 + x3 - 2x1 = 2 + x2 + x3 - 2x1
Hope this makes sense!