Integration Involving Dot Product?

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
5 replies · 6K views
Messages
436
Reaction score
13
Hello;

How do I solve an integral involving the dot product?

For example, imagine I have two vectors A and B, and I want to calculate;

[tex]\int \vec{A}\cdot\vec{B}[/tex]

How do I do this?

I am asking because, I read somewhere that I have to evaluate the dot product first:

[tex]\int |A||B|\cos\theta[/tex]

But I have no idea where to go from here. I know integrating [tex]\cos\theta[/tex] gives me [tex]\sin\theta[/tex], but don't know what to do about the two magnitudes of vectors A and B.

Thanks
 
Physics news on Phys.org
Hello,

Your question seems ill-posed. Are [itex]\vec A, \vec B[/itex] constant vectors? I assume that they must be functions. If so, how are they parameterized?

As for the second part of your question, if you're are lucky and the vectors are parameterized in such a way that they have constant magnitude, then |A| and |B| are just constants. However, in this case it is likely the relative angle will be a complicated expression.
 
FeDeX_LaTeX said:
Hello;

How do I solve an integral involving the dot product?

For example, imagine I have two vectors A and B, and I want to calculate;

[tex]\int \vec{A}\cdot\vec{B}[/tex]

How do I do this?

I am asking because, I read somewhere that I have to evaluate the dot product first:

[tex]\int |A||B|\cos\theta[/tex]

But I have no idea where to go from here. I know integrating [tex]\cos\theta[/tex] gives me [tex]\sin\theta[/tex], but don't know what to do about the two magnitudes of vectors A and B.
You have omitted the differential in your integral, so it's impossible to say what the antiderivative is. You would integrate cos(theta) as you showed only if integration was being done with respect to theta. That is, if the differential was [itex]d\theta[/itex].
 
The dot product is a number so the integral of [itex]\vec{A}\cdot\vec{B}[/itex] is just the integral of that numerical function, no different from what you learned in Calculus I. To integrate the dot product of the vector functions [itex]\vec{A}= 2x\vec{i}+ 3\vec{j}+ e^x\vec{k}[/itex] and [itex]\vec{B}= x^2\vec{i}+ x^2\vec{j}+ 2\vec{k}[/itex] you take their dot product, [itex](2x)(x^2)+ 3(x^2)+ e^x(2)= 2x^3+ 3x^2+ 2e^x[/itex] and integrate that:
[tex]\int \vec{A}\cdot\vec{B}dx= \int 2x^3+ 3x^2+ 2e^x dx[/tex]

As others have pointed out, your failure to write "dx" or "dy" or whatever the variable of integration is makes it impossible to specify more. You should NOT use "[itex]\vec{A}\cdot\vec{B}= |\vec{A}||\vec{B}|cos(\theta)[/itex]" unless you know how the angle between the vectors, [itex]\theta[/itex], and the lengths of the vectors [itex]|\vec{A}|[/itex] and [itex]\vec{B}[/itex] vary with what ever the variable of integration.

Perhaps if you were to give a specific integral, we could say more.
 
That's a bit more complicated since the cross product of two vectors is a vector, not a number. In that case you could have either:
[tex]\int \vec{A}\times\vec{B}\cdot d\vec{S}[/tex]
which would be a "standard" numerical integral or you could have
[tex]\int \vec{A}\times\vec{B} dx[/itex] <br /> which would indicate a "component by component" integration and would yield a vector.[/tex]