Finding The Divergence Of A Vector Field

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
Baumer8993
Messages
45
Reaction score
0

Homework Statement


Find The Divergence Of The Vector Field:
< ex2 -2xy, sin(y^2), 3yz-2x>


Homework Equations


I know that divergence is ∇ dot F.


The Attempt at a Solution


When I did it by hand I got
2xex2 + 2ycos(y2) + 3y

However wolfram alpha says it should be

2xex2 + 2ycos(y^2) + y

The difference is the last y. So who is right? This is for a divergence theorem problem, but I do not have an answer key.
 
Physics news on Phys.org
When you worked out the first term, you forgot to differentiate the -2xy.
If you include this, your answer will agree with Wolfram.
 
Oh wow, thank you for the help!