Calculating the directional derivative of a function of two variables

Click For Summary

Homework Help Overview

The problem involves calculating the directional derivative of the function z = f(x,y) = log(x^2 + y^2) at the point (1,1) in the direction of the vector (1,2). The original poster expresses confusion regarding the interpretation of the direction vector and its application in the calculation.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to compute the unit vector from (1,1) to (1,2) and calculates the gradient of the function. They express uncertainty about their result and the expected answer.
  • Some participants question the misunderstanding of the direction vector, clarifying that (1,2) represents a direction rather than a point.
  • Others suggest reconsidering the use of the direction vector in the calculation.

Discussion Status

The discussion includes attempts to clarify the concept of direction vectors and their role in calculating the directional derivative. Some participants provide guidance on interpreting the direction correctly, while the original poster expresses initial confusion but later indicates a better understanding after additional explanation.

Contextual Notes

There is mention of lecture notes that may have contributed to the original poster's misunderstanding, as well as a reference to the notation used in a textbook that helped clarify the concept.

wshfulthinker
Messages
8
Reaction score
0
Homework Statement

Consider the function:
z=f(x,y)= log(x^2 + y^2) (x,y)=/=(0,0)

Calculate the directional derivative of f(x,y) at (x,y)=(1,1) in the direction of the vector (1,2)


The attempt at a solution

When i tried to work out the unit vector from the point (1,1) to (1,2) i got (0,1).

I got partial derivative df/dx = 2x/(x^2 + y^2)
and partial derivative df/dy = 2y/(x^2 + y^2)

Then, for gradf at (1,1) i got (1,1)..

so, for directional derivative i got:

(gradf at (1,1)) x unit vector = (1,1).(0,1) = 1

But the answer is 3/root5

Does anyone know what i have done wrong? Thankyou
 
Physics news on Phys.org
Welcome to PF!

Hi wshfulthinker! Welcome to PF! :smile:

(have a curly d: ∂ and a square-root; √ and a grad: ∇ and try using the X2 tag just above the Reply box :wink:)
wshfulthinker said:
Calculate the directional derivative of f(x,y) at (x,y)=(1,1) in the direction of the vector (1,2)

When i tried to work out the unit vector from the point (1,1) to (1,2) i got (0,1).

Nooo … you're msunderstanding "the direction of the vector (1,2)" …

it's not the point (1,2) (which is in direction (0,1) from (1,1), as you say) …

(1,2) is the actual direction that you're taking the derivative along.

(otherwise, your method is ok :wink:)
 
Hi, thanks for the welcome and showing me the symbols!

I don't really get it though! where do i use the point (1,2). I'm not even sure what i worked out, i followed the method that were in my lecture notes which were worded almost the exact same way as my actual question (except it said find instead of calculate - i don't know if that means it's different)
 
wshfulthinker said:
I don't really get it though! where do i use the point (1,2).

grrr! it's not a point! :rolleyes:

it's a direction … use it instead of your (0,1). :smile:
 
Okay okay... so i am pretty crap with vectors! But i got the answer finally! :D I found a book which wrote the direction in the i + j form which made more sense to me and didn't make me think it was a point. And yes, i got the answer so i think i kind of understand it now... Thankyou! :)
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
26
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K