- #1
kostoglotov
- 234
- 6
Homework Statement
[/B]
A shark will in the direction of the most rapidly increasing concentration of blood in water.
Suppose a shark is at a point [itex]x_0,y_0[/itex] when it first detects blood in the water. Find an equation for the path that the shark will follow by setting up and solving a differential equation.
Homework Equations
[itex]C(x,y) = e^{-(x^2+2y^2)/10^4}[/itex]: blood conc. in ppm at (x,y)
The Attempt at a Solution
[itex]\nabla C(x,y) = \left<-xe^{-(x^2+2y^2)/5\times 10^7},-ye^{-(x^2+2y^2)/2.5\times 10^7}\right>[/itex] will give the vector in the direction of greatest increase of [blood] at any given (x,y).
Thus [itex]\frac{dy}{dx} = \frac{\frac{\partial C}{\partial y}}{\frac{\partial C}{\partial x}}[/itex] will be the tangent to the curve of the path of the shark at any given point (x,y), which we can set up as our differential equation and solve by separation of variables.
[tex]\frac{dy}{dx} = \frac{y}{x}e^{-(x^2+2y^2)/5\times 10^7}[/tex]
[tex]\frac{dy}{dx} = \frac{y}{x}e^{-x^2/5\times 10^7}e^{-2y^2/5\times 10^7}[/tex]
[tex]\frac{1}{y}e^{2y^2/5\times 10^7}dy = \frac{1}{x}e^{-x^2/5\times 10^7}dx[/tex]
[tex]\int \frac{1}{y}e^{2y^2/5\times 10^7}dy = \int \frac{1}{x}e^{-x^2/5\times 10^7}dx[/tex]
I can't solve this last equation. I can't figure out how to do the integration, and CASs (like Matlab and Mathematica) show me something called ei() and series expansions that I don't understand, and that I'm fairly sure are not the answer the textbook intended.
I've tried parametrizing the dy/dx function as per elliptic parametrization which gives
[tex]m(t) = \frac{1}{2} \tan{t} e^{-(2\cos^2{t}+\sin^2{t})/10^8}[/tex]
But integrating that wrt t is just as problematic.
Is there something with taking the natural logs of both sides that I can do to eliminate that exponential function?
How do I solve this?