
Samantha B. answered 04/19/14
Tutor
5
(21)
Highly Qualified 7-12 Mathematics Tutor
First, differentiate each side of the equation with respect to x. This means that whenever we differentiate y, we need to multiply the result by dy/dx. Let's do the left side first:
We need to use the Product Rule-- uv' + vu'. Let u=y and v=cos x.
Then, d/dx (y cos x) = y (- sin x) + cos x dy/dx
Simplified, the left side should read: -y sin x + cos x dy/dx
Now for the right side:
The derivative of 1 is 0, so we eliminate that part. You need to use the Chain Rule to find the derivative of sin(xy), and the Product Rule again to get the derivative of xy.
d/dx (sin (xy))= (cos(xy)) (x dy/dx + y)
Simplified right side: x cos(xy) dy/dx + y cos(xy)
Now let's rewrite our equation:
-y sin x + cos x dy/dx = x cos(xy) dy/dx + y cos(xy)
Now all we need to do is solve the equation for dy/dx.
First, add and subtract to get all terms with dy/dx on the same side.
This gives
cos x dy/dx - x cos(xy) dy/dx = y cos(xy) + y sin x
Factor both sides.
dy/dx (cos x - x cos(xy)) = y(cos(xy) + sin x)
Now we can divide to get dy/dx alone.
dy/dx = [y(cos(xy) + sin x)] / [cos x - x cos(xy)]
And that's it. I hope this helps, and that the punctuation wasn't too confusing.
Samantha B.
Nicholas K.
04/19/14