Answer
$x$ and $y$ are independent. But $z$ is dependent.
Work Step by Step
In the function defined by $$z=x^2y-xy^2$$
one can see that $x$ and $y$ are free to take any values so they are independent. But $z$ is dependent.
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.