How do you integrate vectors, given vector components?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 4K views
jaguar7
Messages
41
Reaction score
0

Homework Statement



We're trying to integrate a vector, E, with components, Ex = 6x^2y, Ey = 2x^3 + 2y and Ez = 0, from the origin to x = -0.4, y = 6.1, z = 0.0.



Homework Equations



integral E dot dr = V



The Attempt at a Solution



i don't know how
 
Physics news on Phys.org
[tex]\int \vec{E} \bullet \vec{dr}[/tex]

start by parameterising (in terms of say t) the line you want to integrate along and find the form of dr(t), and infinitesimal line elemnt. then when you take the dot product it should reduce to a normal integral over t.
 
jaguar7 said:

Homework Statement



We're trying to integrate a vector, E, with components, Ex = 6x^2y, Ey = 2x^3 + 2y and Ez = 0, from the origin to x = -0.4, y = 6.1, z = 0.0.
My first thought was "Along what path"? Generally, the integral of a vector between two points depends upon the particular path you take between the two points. You have to choose a parameterization for the particular path you want to use as landance said.

However, for some special vector functions, that is not true. And this is an example.
What happens here is that
[itex]\vec{E}\cdot d\vec{r}= \left((6x^2y)\vec{i}+ (2x^3+ 2y)\vec{j}+ 0\vec{k}\right)[/tex][tex]\left(dx\vec{i}+ dy\vec{j}+ 0\vec{k}\right)= 6x^2ydx+ (2x^3+ y)dy[/tex]<br /> <br /> is an "exact" differential (some texts use "phyics" terminology and say it is "conservative" as a conservative force field is such a vector function).<br /> <br /> That is because there exists a function, F(x,y), such that <br /> [tex]dF= \frac{\partial F}{\partial x}dx+ \frac{\partial F}{\partial y}dy= 6x^2ydx+ (2x^3+ 2y)dy[/tex]<br /> <br /> Whenever there exist such a function, then differentiating the part multiplying dx with respect to y, and the part multiplying dy by x we get<br /> [tex]\frac{\partial }{\partial y}\left(\frac{\partial F}{\partial x}\right)= \frac{\partial^2 F}\partial y\partial x}[/tex]<br /> and<br /> [tex]\frac{\partial}{\partial x}\left(\frac{\partial F}{\partial y}\right)= \frac{\partial^2 F}{\partial x\partial y}[/tex]<br /> and for well behaved functions, those "mixed" second derivatives must be equal. Here<br /> [tex]\frac{\partial 6x^2y}{\partial y}= 6x^2= \frac{\partial (2x^3+ 2y)}{\partial x}[/tex]. One method of finding the integral, since it is "independent of the path" is to choose whatever path you want, say the straight line between (0, 0, 0) and (-0.4, 6.1, 0.0) or the "broken line" from (0, 0, 0) to (-0.4, 0, 0) and then to (0.4, 6.1, 0).<br /> <br /> But when we have such an "exact" differential, we can integrate in exactly the way we do in Calculus I- find an "anti-derivative" (the "F" above) and evalulate between the two endpoints.<br /> <br /> That is, we want to find F(x,y) such that<br /> [tex]\frac{\partial F}{\partial x}= 6x^2y[/tex]<br /> and<br /> [tex]\frac{\partial F}{\partial y}= 2x^3+ 2y[/tex]<br /> <br /> Integrating <br /> [tex]\frac{\partial F}{\partial x}= 6x^2y[/tex]<br /> gives<br /> [tex]F(x,y)= 2x^3y+ C[/tex]<br /> <b>except</b> that, since the derivative is with respect to x only, treating y as a constant, that "constant of integration" might be a function of y. We really have <br /> [tex]F(x,y)= 2x^3y+ g(y)[/tex]<br /> where g can be any function of y. <br /> From that<br /> [tex]\frac{\partial F}{\partial y}= 2x^3+ g'(y)[/tex]<br /> Note that, since g is a function of y only, g'(y) is the ordinary derivative.<br /> But we must have<br /> [tex]\frac{\partial F}{\partial y}= 2x^3+ g'(y)= 2x^3+ 2y[/tex]<br /> so that the "[itex]2x^3[/itex]" terms cancel (that happens precisely because the mixed second derivatives are equal) and we are left with <br /> [tex]g'(y)= 2y[/tex]<br /> so that <br /> [tex]g(y)= y^2+ C[/tex]<br /> where "C" now really is a constant.[/itex]
 
Last edited by a moderator:
Watch out... the problem actually states 2x3+2y, not +y. Also, I think your power for y in the final solution is too high.

Also, we're not supposed to give out full solutions like that, are we?
 
Char. Limit said:
Watch out... the problem actually states 2x3+2y, not +y. Also, I think your power for y in the final solution is too high.
Right. Fortunately, it is still "exact:" so I ducked that bullet. I have gone back and edited to correct those.

Also, we're not supposed to give out full solutions like that, are we?
Well, I didn't! I left the evaluation to be done.
(And, when I edited, I removed the last part of what I did.)
 
Excellent, just fact-checking a few things.