Finding Line Integral of Vector Field

In summary: The Attempt at a SolutionI believe I did the first part correctly and I got (16/3)k. I am getting confused on the second part though. My value for dl ended up being 2d(phi)phi. This is as far as I could get though.So the integrand is equal to\vec{A}\cdot d\vec{l} = (kx^2\,\hat{x})\cdot(s\,d\phi\,\hat{\phi}) = kx^2s\,d\phi\,(\hat{x}\cdot\hat{\phi})
  • #1
xxbigelxx
82
0

Homework Statement


You are given a vector field A= kx2 x.
a. First, calculate the line integral of A from x=-2 to x=2 along the x axis.
b. Next, calculate the line integral of A between the same 2 points, but use
a semicircular path with a center at the origin. Recall that in cylindrical
coordinates, dl= ds s + sdφ φ + dz z.
c. Are the 2 results the same? Explain.


Homework Equations





The Attempt at a Solution



I believe I did the first part correctly and I got (16/3)k. I am getting confused on the second part though. My value for dl ended up being 2d(phi)phi. This is as far as I could get though.
 
Physics news on Phys.org
  • #2
So the integrand is equal to

[tex]\vec{A}\cdot d\vec{l} = (kx^2\,\hat{x})\cdot(s\,d\phi\,\hat{\phi}) = kx^2s\,d\phi\,(\hat{x}\cdot\hat{\phi})[/tex]

What is [tex]\hat{x}\cdot\hat{\phi}[/tex] equal to?
 
Last edited:
  • #3
I'm not sure. Should I change the 'x' into cylindrical form? That would make x=rcos(theta).
 
  • #4
Is x the "position vector" <x, y>? On the x-axis, of course, that is <x, 0> so the vector field, restricted to the x-axis is <kx^3, 0>. The integral, then, from x=-2 to 2 is
[tex]\int_{-2}^2 kx^3dx= \frac{k}4}x^4\right|_{-2}^2= 0[/tex]

Or is x the unit vector in the x direction? (I would use [itex]\vec{i}[/itex] for that. If so, then the vector field is just <kx^2, 0> and the integral is
[tex]\int_{-2}^2 kx^2 dx= \frac{k}{3}x^3\right|_{-2}^2= \frac{16k}{3}[/tex].

I would NOT change to cylindrical form. In Cartesian coordinates, the upper semi circle from -2 to 2 can be written in parametric form as x= 2cos(t), y= 2sin(t), t going from [itex]-\pi[/itex] to 0. [itex]d\vec{s}= (-2sin(t)\vec{i}+ 2cos(t)\vec{j}) dt.

With x= <x, y>, [itex]kx^2[/itex]x is [itex]<x^3, x^2y>[/itex] and on the upper semi-circle that is [itex]8sin^3(t)\vec{i}+ 8sin(t)cos^2(t)\vec{j}[/itex]

The integral would be
[tex]16\int_{-\pi}^0 -sin^4(t)+ sin(t)cos^3(t) dt[/tex]
For the first,[itex]sin^4(t)[/itex], use the trig identity [itex]sin^2(t)= (1/2)(1- cos(2t)[/itex]. For the second, [itex]sin(t)cos^3(t)[/itex], use the substitution u= cos(t), du= -sin(t)dt. When [itex]t= -\pi[/itex], u= -1 and when t= 0, u= 1.
 
  • #5
xxbigelxx said:
I'm not sure. Should I change the 'x' into cylindrical form? That would make x=rcos(theta).
If you're referring to the variable [itex]x[/itex] and not the unit vector [itex]\hat{x}[/itex], then yes, you need to express it in terms of the cylindrical variables in the integrand. You're going to be integrating with respect to [itex]\phi[/itex], so any quantity that varies with [itex]\phi[/itex] has to be expressed in terms of it.

In your textbook or in your notes, you have probably been told what [tex]\hat{\phi}[/tex] is equal to. Use it to evaluate the dot product.
 
  • #6
HallsofIvy: I see what you are saying, but I think the teacher wants us to convert to cylindrical coordinates. I think that's why he put 'dl' in terms of cylindrical coordinates in the problem.
Vela: I don't have anything in my notes, but I found this online...Phi-hat= -sin(phi)(x-hat) + cos(phi)(y-hat). Is that the appropriate form?
If so, if I dot that value with x-hat, I just get -sin(phi)?
 
  • #7
Yes, that's exactly what you want. [tex]\hat{\phi}[/tex] points in the direction a point would move if you increase φ infinitesimally. If you try evaluate [tex]\hat{\phi}[/tex] for a few values of φ, you should see that expression is correct.
 
  • #8
Ok so I plugged x=Rcos(phi) and Phi-hat= -sin(phi)(x-hat) + cos(phi)(y-hat) into what I had. Shouldn't I have a dPhi somewhere though?
 
  • #9
Yes. What did you do with it?
 
  • #10
Ohhh I found it. Ok so here is my work. I think I got it. Also for part C, I just stated that they were supposed to be equal since line integrals are path independent.
 

Attachments

  • photo.jpg
    photo.jpg
    35.6 KB · Views: 388
  • #11
I couldn't read part of it, but the set-up looked fine. For part (c), remember that line integrals aren't always path-independent. You should show that this vector field satisfies the condition required for path independence.
 
  • #12
Well I ended up getting 16k/3 for both part A and B, so I hope it's correct. And for part C, I know that independence requires a line integral of a vector field to be equal to the gradient of a scalar field.
 
  • #13
I didn't mean to cast any doubt on your work. I just didn't want to imply that I had checked all of it carefully. I think you did everything correctly.

Can you guess a scalar field Φ that satisfies [itex]\vec{A} = \nabla \phi[/itex]?
 
  • #14
Oh ok.

And I honestly am not sure how you even got that to start with. I understand the general format, but I don't see why it's the gradient of Phi. Phi is the angle that the particle travels, but I am still confused on the relation that allowed you to write gradientPhi
 
  • #15
Oops, I'm sorry. I should have used a different symbol. I meant just some scalar function (phi is common notation for such a function). It has nothing to do with the angle.
 
  • #16
Ohhh ok. I understand it now, but I still don't know what the function would be. Would it be
(kx^3)/3?
 
  • #17
Yes, that works.
 
  • #18
So should I say something like this...


As long as the relationship of A=gradient((kx^3)/3) holds, then the line integral is path independent.
 
  • #19
It would be better to say, "Because the vector field A can be expressed as a gradient of the scalar function kx3/3, blah blah blah."
 
  • #20
Ok I see what you are saying. I wrote this...


Yes because the vector filed A can be expressed as a gradient of the scalar function kx^3/3. We know that if the line integral of a vector field is equal to the gradient of a scalar field, the line integral is path independent.
 
  • #21
The first sentence/fragment is fine, but the second one isn't. It isn't the case that the line integral of a vector field is equal to the gradient of a scalar field; it's that the vector field itself is the gradient of a scalar field.
 
  • #22
Ok so how about this...
Yes because the vector field A can be expressed as a gradient of the scalar function kx^3/3. We know that the vector field is equal to the gradient of a scalar field, so the line integral is path independent.

I feel like I am not really explaining why though. Is it just because that's one of the requirements for path independence?
 
  • #23
You're explaining why the two results in this problem should be equal. By showing the vector field is of the right form, you've explained why the two results have to be equal. The problem isn't asking you to explain why, in general, if a vector field can be written as the gradient of a scalar field, the line integral between two points is path-independent.

If you feel like you need to explain more, you could calculate

[tex]\int_C \vec{A}\cdot d\vec{l} = \int_C (\nabla f)\cdot d\vec{l} = \cdots[/tex]

where f=kx3/3 and show it only depends on the endpoints and gives the same result 16k/3.
 
  • #24
Oh ok I understand it now. Ok I will just put what I said in my last message, and I think it will be good. Thank you so much again for your help.
 

1. What is a line integral of a vector field?

A line integral of a vector field is a mathematical tool used to calculate the amount of work done by a force along a specific path. It takes into account both the magnitude and direction of the force at each point along the path.

2. How is a line integral calculated?

A line integral is calculated by multiplying the magnitude of the vector field at each point along the path by the length of the path and taking the sum of these values. This can be done using integration techniques such as the Riemann Sum or the Fundamental Theorem of Calculus.

3. What is the significance of finding a line integral?

Finding a line integral allows us to quantify the amount of work done by a force along a specific path. This can be useful in real-world applications such as calculating the amount of energy required to move an object along a certain path, or in understanding the flow of a fluid through a certain region.

4. What are the different types of line integrals?

There are two main types of line integrals: path integrals and line integrals of the second kind. A path integral is used to calculate the work done by a force along a specific path, while a line integral of the second kind is used to calculate the flux of a vector field through a closed curve.

5. What are some common applications of line integrals?

Line integrals are commonly used in physics, engineering, and other branches of science to calculate quantities such as work, energy, and flow. They are also used in the study of electromagnetic fields, fluid mechanics, and other areas of applied mathematics.

Similar threads

  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
12
Views
2K
  • Calculus and Beyond Homework Help
Replies
12
Views
980
  • Calculus and Beyond Homework Help
Replies
6
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
375
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
249
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
Back
Top