Solution:
Key idea: The function is a product of x2 and sin(x1), so we use the product rule (uv)′=uv′+vu′. The factor sin(x1) needs the chain rule, because its angle x1=x−1 has derivative −x21 (x=0).
Step 1 — Name the factors and differentiate them.
We let u=x2 and v=sinx1; then u′=2x, and by the chain rule
v′=cosx1×(−x21)
Step 2 — Apply the product rule.
We substitute into dxdy=uv′+vu′.
dxdy=x2×cosx1×(−x21)+sinx1×2x
Step 3 — Simplify.
In the first term x2 cancels with x21.
dxdy=−cosx1+2xsinx1
Therefore, dxdy=2xsinx1−cosx1.