0
$\begingroup$

I have an exercise where I have to calculate the potential energy function $U(x)$ of this force $F$. I know the function is given by integrating $-F$, but how do I do this? $c$ is a constant, and a and $x$ are both variables, expressed in meters.

Do I just integrate $F$ in function of $x$, because they specifically ask the function $U(x)$?

the formula of F

$\endgroup$
1
  • 3
    $\begingroup$ It is highly unlikely that $a$ is a variable so this is elementary calculus. $\endgroup$
    – my2cts
    Commented Jan 4, 2021 at 11:33

1 Answer 1

2
$\begingroup$

Yes! If they ask you $U(x)$ you simply have to integrate in the variable $x$. So you can consider $a$ as a constant.
If they had asked you $U(x,a)$; you know that: $$\vec{F}(x,a)=-\vec{\nabla}U(x,a)$$ so you would have two variables in the integration.
Also, it wouldn't be so easy to evaluate the integral: $$\int sin\bigg(\frac{1}{a}\bigg)da=asin\bigg(\frac{1}{a}\bigg)-Ci\bigg(\frac{1}{a}\bigg)+const$$Where $Ci(x)$ is the cosine integral (a particular function). This is a solution I found using a calculator. So it's normal that they have asked you only $U(x)$.

$\endgroup$
2
  • 1
    $\begingroup$ Potential energy does not have components. It's not a vector. $\endgroup$
    – nasu
    Commented Jan 4, 2021 at 14:21
  • $\begingroup$ Yes, you are right! I correct it immediately $\endgroup$ Commented Jan 4, 2021 at 14:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.