An equation for the path that the shark will swim on

Click For Summary
SUMMARY

The discussion centers on deriving the path of a shark swimming towards the highest concentration of blood in water, modeled by the concentration function C(x,y) = e^{-(x^2+2y^2)/10^4}. The gradient vector, ∇C(x,y), is calculated to determine the direction of maximum increase, leading to the differential equation dy/dx = (y/x)e^{-(x^2/5\times 10^7)}. The user struggles with integrating the resulting equation, seeking assistance with integration techniques and potential simplifications, including the use of natural logarithms.

PREREQUISITES
  • Understanding of differential equations and their applications
  • Familiarity with gradient vectors and their significance in multivariable calculus
  • Knowledge of integration techniques, particularly involving exponential functions
  • Experience with computational algebra systems (CAS) like Matlab and Mathematica
NEXT STEPS
  • Study methods for solving differential equations using separation of variables
  • Learn about gradient vectors and their applications in optimization problems
  • Explore integration techniques for exponential functions, including series expansions
  • Investigate the use of natural logarithms in simplifying complex integrals
USEFUL FOR

Students and professionals in mathematics, physics, or engineering who are interested in differential equations, optimization, and the application of calculus in real-world scenarios.

kostoglotov
Messages
231
Reaction score
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 x_0,y_0 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



C(x,y) = e^{-(x^2+2y^2)/10^4}: blood conc. in ppm at (x,y)

The Attempt at a Solution



\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> will give the vector in the direction of greatest increase of [blood] at any given (x,y).

Thus \frac{dy}{dx} = \frac{\frac{\partial C}{\partial y}}{\frac{\partial C}{\partial x}} 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.

\frac{dy}{dx} = \frac{y}{x}e^{-(x^2+2y^2)/5\times 10^7}

\frac{dy}{dx} = \frac{y}{x}e^{-x^2/5\times 10^7}e^{-2y^2/5\times 10^7}

\frac{1}{y}e^{2y^2/5\times 10^7}dy = \frac{1}{x}e^{-x^2/5\times 10^7}dx

\int \frac{1}{y}e^{2y^2/5\times 10^7}dy = \int \frac{1}{x}e^{-x^2/5\times 10^7}dx

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

m(t) = \frac{1}{2} \tan{t} e^{-(2\cos^2{t}+\sin^2{t})/10^8}

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?
 
Physics news on Phys.org
Something went wrong with your derivatives. That makes the integral harder than it should be.
 
  • Like
Likes   Reactions: kostoglotov
mfb said:
Something went wrong with your derivatives. That makes the integral harder than it should be.

I found the derivatives using Matlab's gradient() function.

I'll take them manually. See how I go...thanks :)
 
mfb said:
Something went wrong with your derivatives. That makes the integral harder than it should be.
Such a stupid oversight...thanks again!
 

Similar threads

  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
2K
Replies
3
Views
2K
Replies
3
Views
2K
Replies
5
Views
2K
Replies
3
Views
2K