# Solve differential a=kxv for x(t) and x(v)

1. Aug 15, 2014

### paalfis

1. The problem statement, all variables and given/known data
If the acceleration of a particle is given by a=k*x*v , where x is position, v is velocity and k is constant and positive, and in t=0: x(t=0)=0 and v(t=0)=vo; find x(t) and x(v).

3. The attempt at a solution

I arrived to dx/dt= k/2*(x2-xo)+vo , (xo=x(t=0)=0). Then I tried to solve the (definite) integral (from 0 to x) ∫1/((k/2)*(x2)+vo)dx that is equal to ∫dt = t. In this integral (which I just couldn't solve) I took vo as a constant. My idea was to solve (result of the integral)=t for x(t).
Is this the right way to do it? If so, how can I solve the integral?

Thanks!

2. Aug 15, 2014

### pasmith

Having obtained $$\frac{d\dot x}{dx} = kx$$ it's easier to set $$\dot x = \tfrac12 k (x^2 + C)$$ where $C = 2v_0/k$ so that $$\int \frac{1}{x^2 + C}\,dx = \tfrac12 kt.$$

To do the integral, you will want to make a suitable substitution so that you can use
$$\int \frac{1}{1 + u^2}\,du = \arctan(u) + D$$

3. Aug 15, 2014

### paalfis

Then for x(v) can we take equation v=k/2*x2+vo and so for x : x(v)=2(v-vo)/k ???

4. Aug 15, 2014

### HallsofIvy

Staff Emeritus
No, x is squared. You should have $$x= \sqrt{2(v- v_0)/k}$$

5. Aug 15, 2014

### paalfis

Oh, of course, silly mistake.. Thanks!