# The directional derivative

Series | Geophysical References Series |
---|---|

Title | Digital Imaging and Deconvolution: The ABCs of Seismic Exploration and Processing |

Author | Enders A. Robinson and Sven Treitel |

Chapter | 2 |

DOI | http://dx.doi.org/10.1190/1.9781560801610 |

ISBN | 9781560801481 |

Store | SEG Online Store |

Given the function of a single variable, the chain rule is

**(**)

The chain rule can be extended to functions of several variables. For example, the chain rule for is

**(**)

The directional derivative is a generalization of a partial derivative (Robinson and Clark, 2005a^{[1]}). The partial derivatives give the rate of change of the traveltime in the directions of the axes. The directional derivative gives the rate of change in any specified direction. The traveltime depends on both coordinate axes *x*, *y*. We might hold *y* constant and consider the curve that gives the variation of *t* with *x* alone. The slope of this curve is called the partial derivative of *t* with respect to *x*. We define the partial derivative similarly.

In general, we want to know the slope in some arbitrary direction. Recall that a unit vector is a vector with length, or magnitude, of one. We can convert any vector into a unit vector in the same direction by dividing the vector by its magnitude. Hence, the unit vector for direction angle (as measured from the horizontal) can be represented by . If we let represent distance in the direction of the vector **w**, then

**(**)

The slope of in the direction of this unit vector is called the directional derivative. The directional derivative is the weighted average of the two partial derivatives, the weights being the component of the unit directional vector. Thus, the directional derivative is given by the chain rule

**(**)

This shows that The directional derivative is the dot product

**(**)

The first vector in the dot product is the gradient of traveltime. The second vector is the unit vector in the desired direction. The partial derivatives are special cases of The directional derivatives. For instance, is the directional derivative in the *x*-direction. The directional derivative can be written as

**(**)

where is the angle between the gradient and the directional vector. The maximum value of the directional derivative is obtained when the direction vector points in the same direction as the gradient, that is, when . This maximum value is equal to the magnitude of the gradient. In other words, the gradient gives the direction of maximum slope. Suppose the directional vector points along a contour line. Because the contour line is level, the directional derivative in the direction of a contour line must be zero. Thus, must be zero, so is . Therefore, the gradient vector is orthogonal (or perpendicular) to the contour line.

Let us now introduce the important concept of a flow line. A vector field is a rule that assigns a vector to each point (*x*,*y*). An important case is the vector field defined by the gradient. In visualizing such a vector field, we imagine that the vector grad *t* is attached to each point. Thus, the vector field assigns a direction and a magnitude to each point. If a hypothetical particle moves in such a manner that its direction at any point coincides with the direction of the gradient at that point, then the curve traces out a so-called flow line. Because the direction of the flow line is determined uniquely by the vector field, it is impossible to have two directions at the same point. Therefore, it is impossible to have two flow lines cross each other. The contour lines and the associated flow lines are important tools in understanding seismic wave motion (Robinson and Clark, 2007^{[2]}).

## References

## Continue reading

Previous section | Next section |
---|---|

The gradient | The principle of least time |

Previous chapter | Next chapter |

Wave Motion | Visualization |

## Also in this chapter

- Reflection seismology
- Digital processing
- Signal enhancement
- Migration
- Interpretation
- Rays
- The unit tangent vector
- Traveltime
- The gradient
- The principle of least time
- The eikonal equation
- Snell’s law
- Ray equation
- Ray equation for velocity linear with depth
- Raypath for velocity linear with depth
- Traveltime for velocity linear with depth
- Point of maximum depth
- Wavefront for velocity linear with depth
- Two orthogonal sets of circles
- Migration in the case of constant velocity
- Implementation of migration
- Appendix B: Exercises