Why Is There a Discrepancy in My Potential Function Calculation?

  • Thread starter athrun200
  • Start date
  • Tags Tags
    Potential
12 replies · 2K views · last reply
athrun200
Messages
275
Reaction score
0

Homework Statement



Printed textbook exercise list titled 'Verify that each of the following force fields is conservative', problems 8 to 15 giving vector fields F written in i, j, k components.


Homework Equations





The Attempt at a Solution


The answer should be [itex]-(x^{2}-1)cos^{2}\theta[/itex]
But I get a constant -1.
Why?

Handwritten work labelled Version 1: an xy-axis sketch with points (0,0), (x,0) and (x,y) and paths 1 and 2, then line integrals w1 = integral of 2x dx from 0 to x = x^2, and w2 = integral of -(x^2+1)sin2y dy from 0 to y = (x^2+1)(cos^2 y - 1), giving total w.p. = (x^2+1)cos^2 y - 1.


 
Attachments
  • Handwritten work titled Version 1 showing a path from (0,0) to (x,0) to (x,y) on axes, with work integrals w1 = integral of 2x dx giving x^2, and w2 = integral of -(x^2+1) sin 2y dy giving (x^2+1)(cos^2 y - 1), then total W.P. = w1 + w2 = (x^2+1)cos^2 y - 1.
    1.jpg
    21.6 KB · Views: 478
  • Textbook page listing vector force fields F to verify as conservative and find scalar potentials for, numbered 8 to 15, including F = 2x cos^2 y i - (x^2 + 1) sin 2y j for item 15.
    2.jpg
    18.6 KB · Views: 473
can you explain what you are attempting to do? I would approach as follows

say phi exists then you know
[tex]F_x = \frac{\partial\phi}{\partial x}[/tex]
[tex]F_y = \frac{\partial\phi}{\partial y}[/tex]

so integrating the first gives
[tex]\phi = \int F_x dx= \int 2x cos^2y dx =?[/tex]
 
lanedance said:
can you explain what you are attempting to do? I would approach as follows
Sorry that I skip some steps and forget to give explanation.

Handwritten derivation of a potential function: F = -grad(phi), F dot dr = -d(phi), phi = -integral of F dot dr = -integral of (2x cos^2 y) dx - (x^2 + 1) sin 2y dy, then along the x-axis with dy = 0 and y = 0, integral of 2x dx.


This is my approach.


lanedance said:
say phi exists then you know
[tex]F_x = \frac{\partial\phi}{\partial x}[/tex]
[tex]F_y = \frac{\partial\phi}{\partial y}[/tex]

so integrating the first gives
[tex]\phi = \int F_x dx= \int 2x cos^2y dx =?[/tex]

This yields [tex]x^2 cos^2y+C[/tex]

But how to find the constant?
 
Attachments
  • Handwritten derivation of a potential function: F = -grad(phi), F·dr = -dphi, phi = -∫F·dr = -∫(2x cos²y)dx - (Cx²+1)sin2y dy, then along the x-axis with dy = 0, w1 = ∫2x cos²0 dx = ∫2x dx.
    1.jpg
    31.9 KB · Views: 490
not quite as you are only integrating w.r.t. to x, so c could be a function of y
[tex]\phi = \int F_x dx= \int 2x cos^2y dx = x^2cos^2y + c(y)[/tex]

now also do it from the other direction
[tex]\phi = \int F_y dy= ?[/tex]
 
lanedance said:
not quite as you are only integrating w.r.t. to x, so c could be a function of y
[tex]\phi = \int F_x dx= \int 2x cos^2y dx = x^2cos^2y + c(y)[/tex]

now also do it from the other direction
[tex]\phi = \int F_y dy= ?[/tex]

[itex](x^2+1)\frac{cos2y}{2}+C(x)[/itex]

it can then simplfied as
[itex](x^2+1)\frac{2cos^2y-1}{2}+C(x)[/itex]
 
i can't quite follow your simplification, you should equate
[tex]\phi = \int F_x dx = \int F_y dy[/tex]

also I would use a different constant function for the 2nd integral (say c(y) for first and d(x) for the second)

and from there you should be able to deduce withther it is possible to to solve c(x) & d(y)
 
lanedance said:
and from there you should be able to deduce withther it is possible to to solve c(x) & d(y)

It's my first time to solve the problem like this.
So I stuck in here
Handwritten derivation: (x^2+1)(2cos^2y-1)/2 + d = x^2cos^2y + c, then (x^2+1)(cos^2y - 1/2) - x^2cos^2y = c - d, then cos^2y - (x^2+1)(1/2) = c - d.



I would like to ask, what's wrong with my method above?
I have solved a lot of problems by using that method.(I learn it from mathematical methods in the physical sciences Chapter 6 sec8)
 
Attachments
  • Handwritten derivation: (x^2+1)(2cos^2 y - 1)/2 + d = x^2 cos^2 y + c, then (x^2+1)(cos^2 y - 1/2) - x^2 cos^2 y = c - d, then cos^2 y - (x^2+1)(1/2) = c - d.
    1.jpg
    12 KB · Views: 453
athrun200 said:
It's my first time to solve the problem like this.
So I stuck in here

I would like to ask, what's wrong with my method above?
I have solved a lot of problems by using that method.(I learn it from mathematical methods in the physical sciences Chapter 6 sec8)

stick to whatever you're comfortable with... took me awhile to figure out what you're doing as there's a few jumps (also the big pics are difficult to read on a laptop screen), but i think you set phi=0 at the origin and do a path interval over F to find the form of phi if it exists, in essence i think they're the same thing though yours has the advantage of setting one value to zero in the integral
 
Last edited:
also note the potential is only unique upto a scalar additive constant ie (phi) or (phi +1) give the same force field
 
this is how i would approach it using my method (i re-named c & d as f & g to be clear they are functions)
[tex]\phi(x,y) = \int F_x dx = \int 2x cos^2(y) = x^2cos^2(y) + f(y)[/tex]
[tex]\phi(x,y) = \int F_y dx = \int -(x^2+1) sin(2y) dy = (x^2+1) \frac{1}{2}cos(2y) +g(x) = (x^2+1) (cos^2(y)-\frac{1}{2})+g(x)[/tex]

in the last line we may as well group all the x only terms in a function, so let
[tex]h(x) = +\frac{1}{2}(x^2-1)+g(x)[/tex]

equating and re-arranging a little gives
[tex]x^2cos^2(y)+ cos^2(y)+h(x) = x^2cos^2(y) + f(y)[/tex]

then we can read off (up to an additive constant)
[tex]h(x) = 0[/tex]
[tex]f(y) = cos^2(y)[/tex]

so we get
[tex]\phi(x,y) = (x^2+1)cos^2(y)+ c[/tex]

where c is any constant
 
after all that... and re-reading the posts i think it was only post 11 you needed!

you can only ever determine phi upto a additive scalar constant, as the constant will always be sent to zero in the differentiation to get the field