So I know $\mathrm{Div}(F)=∇·F$ and $$ ∇=\frac{\partial \:}{\partial \:x}i+\frac{\partial \:}{\partial \:y}j+\frac{\partial \:}{\partial \:z}k$$ So for example, if $$ F=(2x-\cos z)i+(x^2+z)j+(x\sin z+y)k $$
My intuition was to find the gradient: $$ ∇=2i+0j+(x\cos z)k $$
and then do the dot product of this with F so my final answer would be: $$ \mathrm{Div}(F)=(2x\cos z)(2)+(x^2+z)(0)+(x\sin z+y)(x\cos z) $$
Now I know this is wrong and that the real answer is actually just $$ \mathrm{Div}(F)=2+0+(x\cos z) $$
but I am confused as to why because isn't that just the gradient? and If that is the answer then what is the gradient? or are they the same?
The Divergence operator applied to a vector field $F = (F_x,F_y,F_z)$, is defined by
$$ Div(F) := \partial_x F_x + \partial_y F_y + \partial_z F_z. $$
The notation $\nabla\cdot F$ is just a way of remembering the definition. (Strictly speaking, the dot product of an operator and a vector is undefined.)
How did you take the gradient of a vector and get another vector?