Directional Derivatives: the maximum rate of change of f.

In summary: But don't doubt yourself so much you go in circles. In summary, the maximum rate of change of f at the given point is 4√2 and it occurs in the direction of <-1,1>.
  • #1
DavidAp
44
0
The maximum rate of change of f at the given point and the direction in which it occurs.
f(x,y)=(y^2)/x, (2,4)

Answer: 4√2, <-1,1>

_________________________

For this problem, since I couldn't find the upside down triangle, I am going to use delta to represent the gradient of a function.

f(x,y) = (y^2)/x

Δf(x,y)
= <-(y^2)/(x^2), (2yx)/(x^2)>
=<-(y^2)/(x^2), (2y)/(x)>

Δf(2,4)
=<-(4^2)/(2^2), (2*4)/(2)>
=<-16/4, 4>
=<-4,4> and since Δf is a vector i can divide this by the scalar 4 to get,
=<-1,1>

However, I have no idea on how to approach the problem when it comes to finding the maximum rate of change (which, in this problem, is 4√2). I tried finding the unit vector of Δf and multiplying it by Δf in hopes that it will give me the maximum rate of change but it didn't. Also, I found that this approach is the wrong approach, not only because it gave me the wrong answer but, because the answer this would give me would depend on whether or not I changed Δf by the scalar 4.

Can somebody guide me in the right direction! I found that the direction of the maximum rate of change is the gradient of the function but to find that rate of change vexes me!

Thank you for taking the time to review my problem.
 
Physics news on Phys.org
  • #2
Have a "nabla" ▽
 
  • #3
You are doing ok so far. The gradient is <-4,4>. The maximum rate of change is the dot product of a unit vector pointing in the direction of <-4,4> with <-4,4>. What's the unit vector? What's the dot product?
 
  • #4
Dick said:
You are doing ok so far. The gradient is <-4,4>. The maximum rate of change is the dot product of a unit vector pointing in the direction of <-4,4> with <-4,4>. What's the unit vector? What's the dot product?
The maximum rate of change would be the direction derivative, (thank you SammyS for the "nabla!") Du▽f(2,4) = <-4,4>*u

Does it matter if it's <-4,4> or <-1,1> since they are the same vector? What doing you mean pointing in the direction of <-4,4> with <-4,4>? Isn't that a zero vector which is basically a dot?

Give me another hint! How do I find u! (Haha)
 
  • #5
DavidAp said:
The maximum rate of change would be the direction derivative, (thank you SammyS for the "nabla!") Du▽f(2,4) = <-4,4>*u

Does it matter if it's <-4,4> or <-1,1> since they are the same vector? What doing you mean pointing in the direction of <-4,4> with <-4,4>? Isn't that a zero vector which is basically a dot?

Give me another hint! How do I find u! (Haha)

The gradient is <-4,4>. Not <-1,1>. They aren't the same vector. You can't change that. What's a unit vector in the direction of <-4,4>? Answer that first. Then take the dot product of it with <-4,4>.
 
Last edited:
  • #6
Dick said:
The gradient is <-4,4>. Not <-1,1>. They aren't the same vector. You can't change that. What's a unit vector in the direction of <-4,4>? Answer that first. Then take the dot product of it with <-4,4>.
"I tried finding the unit vector of Δf and multiplying it by Δf in hopes that it will give me the maximum rate of change but it didn't" :/

u
= <-4,4>/sqrt((-4)^2 + 4^2)
= <-4,4>/sqrt(16+16)
= <-4,4>/sqrt(16)sqrt(2)
= <-4,4>/4sqrt(2)
=<-1/√2, 1/√2>

which you would also get if you changed the vector <-4,4> to <-1,1>.

Du▽f(2,4)
= <-4,4><-1/√2, 1/√2>
= 4/√2 + 4/√2
= 8/√2

However, the answer is 4√2. What did I do wrong?! Is that not how you find the unit vector?
 
  • #7
DavidAp said:
"I tried finding the unit vector of Δf and multiplying it by Δf in hopes that it will give me the maximum rate of change but it didn't" :/

u
= <-4,4>/sqrt((-4)^2 + 4^2)
= <-4,4>/sqrt(16+16)
= <-4,4>/sqrt(16)sqrt(2)
= <-4,4>/4sqrt(2)
=<-1/√2, 1/√2>

which you would also get if you changed the vector <-4,4> to <-1,1>.

Du▽f(2,4)
= <-4,4><-1/√2, 1/√2>
= 4/√2 + 4/√2
= 8/√2

However, the answer is 4√2. What did I do wrong?! Is that not how you find the unit vector?

All is good. 8/sqrt(2) is the same as 4*sqrt(2). Isn't it?
 
  • #8
Dick said:
All is good. 8/sqrt(2) is the same as 4*sqrt(2). Isn't it?
*checks with WolfraAlpha*
It... it is! >< I had the right answer the whole time! I swear, I check that in my calculator earlier and it said they weren't the same... must have plugged it in incorrectly.

Oh man, I feel silly. This entire halt in my life to solve this one problem and I had it right the whole time!

Thank you for your patience! I greatly appreciate it!
 
  • #9
DavidAp said:
*checks with WolfraAlpha*
It... it is! >< I had the right answer the whole time! I swear, I check that in my calculator earlier and it said they weren't the same... must have plugged it in incorrectly.

Oh man, I feel silly. This entire halt in my life to solve this one problem and I had it right the whole time!

Thank you for your patience! I greatly appreciate it!

Don't worry. We've all had the same lack of faith in our correctness. It's good to doubt.
 

Related to Directional Derivatives: the maximum rate of change of f.

1. What is a directional derivative?

A directional derivative is a measure of the rate of change of a function in a specific direction. It tells us how much the function changes as we move along a particular direction from a given point. It is represented by the symbol ∇vf, where ∇ is the gradient operator and v is the direction vector.

2. How is the directional derivative calculated?

The directional derivative is calculated by taking the dot product of the gradient of the function and the unit vector in the direction of interest. It can be expressed mathematically as ∇vf = ∇f ⋅ v.

3. What is the significance of the directional derivative?

The directional derivative provides important information about the behavior of a function at a specific point. It tells us the direction in which the function changes the most rapidly and the rate of change in that direction. This information is useful in optimizing functions and understanding the behavior of real-world systems.

4. Can the directional derivative be negative?

Yes, the directional derivative can be negative. A negative value indicates that the function is decreasing in the direction of interest. This could be due to the function having a local minimum in that direction or because the direction is opposite to the direction of steepest ascent.

5. How is the maximum rate of change of a function determined using directional derivatives?

The maximum rate of change of a function is determined by finding the direction in which the directional derivative is the highest. This can be done by finding the unit vector that maximizes the dot product ∇f ⋅ v. The maximum rate of change in that direction is then equal to the magnitude of the directional derivative at that point.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
640
Replies
9
Views
900
  • Calculus and Beyond Homework Help
Replies
4
Views
668
  • Calculus and Beyond Homework Help
Replies
2
Views
627
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
421
  • Calculus and Beyond Homework Help
Replies
5
Views
3K
  • Calculus and Beyond Homework Help
Replies
23
Views
1K
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
730
Back
Top