# Integrating factors or separating the variables

1. Feb 28, 2008

### issisoccer10

[SOLVED] Integrating factors or separating the variables

1. The problem statement, all variables and given/known data
The following equation can be solved by intergrating factors or by separating the variables.

$$\frac{dy}{dx}$$ - $$\frac{y}{4x}$$ = 0

with the initial condition of y(2)=3

2. Relevant equations

3. The attempt at a solution
This problem is the final part of a question in which I am supposed to find the trajectory of a particle if it moves continuously in the directoin of maximum temperature increase. Setting the trajectory so that it is in the direction of the gradient allows me to figure out all the way to the point above. However, I cannot simplify the equation down further into a function of y in terms of x... any help would be greatly appreciated... thanks

2. Feb 28, 2008

### Dick

It looks pretty separable to me. dy/dx=y/(4x), dy/y=dx/(4x). Now just integrate both sides.

3. Feb 28, 2008

### issisoccer10

integrating both sides gives ln(y) = ln(x)/4 = ln(x^1/4)... so y = x^1/4.. as for the inital condition, my inclination would be to plug in (2,3) into the equation... so 3 = 2^1/4 + C.. However, based on what I think it should be, instead of adding C I should be multiplying by C. But I don't know why..

4. Feb 28, 2008

### Dick

You get ln(y)=ln(x^(1/4))+C. That's fine. But to get rid of the logs you exponentiate exp(ln(x^(1/4))+C)=exp(ln(x^(1/4))*exp(C)=x^(1/4)*exp(C). The additive constant becomes multiplicative after you exponentiate.

5. Feb 28, 2008

### issisoccer10

alright thank you.. so the constant has to be added right after the integration occurs.. I forgot about that. thanks a lot