Directional Derivatives and Gradients Guide
Directional Derivatives and Gradients Guide
Two vectors are perpendicular if their dot product is zero, indicating a 90-degree angle between them. For instance, vectors ⃗a = ⟨1, −3, −1⟩ and ⃗b = ⟨1, 1, 2⟩ are perpendicular if (1*1 + (-3)*1 + (-1)*2) = 0. Vectors are parallel if one is a scalar multiple of the other, meaning they have the same or exact opposite direction .
The gradient vector of a scalar field f(x, y, z) consists of the partial derivatives with respect to each variable and points in the direction of maximum increase. For example, ∇f(x, y) = (∂f/∂x, ∂f/∂y). The value of the gradient at a point indicates the rate of change of the field at that point. The directional derivative of a function in the direction of a unit vector ⃗u is given by ∇f · ⃗u, which projects the gradient vector onto the unit vector and indicates the rate of change in that particular direction .
Using contour diagrams, the positivity of a directional derivative depends on whether the direction vector moves across contours of increasing values. At a point, the derivative f⃗u is positive if moving in the direction ⃗u crosses to higher values. This involves evaluating ∇f · ⃗u with the contour representation in mind; if the result is positive, the derivative is positive .
Level curves are curves along which a scalar field f(x, y) has constant values. They represent locations in space where the function f has the same output value, similar to contour lines on a map. For a given level curve f(x, y) = c, the function value equals c for all points (x, y) along the curve, indicating equal potential or property value .
To find a normal vector to a curve at a specific point, calculate the gradient of the scalar field defining the contour. The gradient vector ∇f at any point (x, y) is normal to the curve f(x, y) = c at that point. For instance, if the curve x² + y² = 13, and the point is (2, 3), compute the gradient for f(x, y) = x² + y² and evaluate it at (2, 3), yielding a normal vector .
The dot product between a gradient vector ∇f and a unit vector ⃗u gives the directional derivative in the direction of ⃗u. This product informs us about the rate of increase of the function in that direction; if it is positive, the function increases, if zero, it is level, and if negative, it decreases .
The temperature distribution can be expressed as level curves of the function T(x, y) = 100/(x² + y² + 1). These curves are circular, centered at the origin, decreasing in temperature away from the center. To find the direction and magnitude of change in temperature, compute the gradient, ∇T(x, y) = (-200x/(x² + y² + 1)², -200y/(x² + y² + 1)²), which gives the direction of greatest increase. Magnitude at (3, 2) is the length ||∇T(3, 2)|| .
To find a unit vector in the same direction as a given two-dimensional vector ⃗v = ⟨2, 3⟩, divide each component by the magnitude of the vector: ||⃗v|| = √(2^2 + 3^2) = √13, so the unit vector is ⟨2/√13, 3/√13⟩. To find a vector perpendicular to ⃗v, interchange and negate one of the components: a perpendicular vector could be ⟨-3, 2⟩ .
To find the angle θ between two vectors ⃗u and ⃗v, use the formula cos(θ) = (⃗u · ⃗v) / (||⃗u|| ||⃗v||), where ||⃗u|| and ||⃗v|| are the magnitudes of the vectors. Calculate the dot product and the magnitudes separately, then divide as per the formula. Use the inverse cosine function to find the angle θ .
To find the tangent line to a curve at a given point viewed as a contour of f(x, y), first find the gradient vector ∇f at the point, giving the normal direction. The tangent is perpendicular, so use this to form the tangent line equation. If ∇f(x, y) is ⟨a, b⟩, the line is b(x - x₀) - a(y - y₀) = 0 at (x₀, y₀).