Directional Derivative

  • Thread starter Destroxia
  • Start date
  • #1
204
7

Homework Statement



Find the directional derivative of ##f## at ##P## in the direction of ##a##.

## f(x,y) = 2x^3y^3 ; P(3,4) ; a = 3i - 4j ##

Homework Equations



## D_u f(x_0, y_0, z_0) = f_x(x_0, y_0, z_0)u_1 + f_y(x_0, y_0, z_0)u_2 ##

The Attempt at a Solution



## f_x (x,y) = 6x^2y^3##
## f_y (x,y) = 6x^3y^2##

## f_x (3,4) = 3456 ##
## f_y (3,4) = 2592 ##

## D_u f(x_0, y_0) = 3456u_1 +2592 u_2 ##

##u = \frac {a} {||a||} = \frac {\langle 3,4 \rangle} {5} = \langle \frac {3} {5}, \frac {4} {5} \rangle##

##D_u f(x_0, y_0) = 3456(\frac {3} {5}) + 2592(\frac {4} {5}) ##

##D_u f(x_0, y_0) = \frac {20736} {5}##

Now, my program wants this an exact number, no tolerance. It won't accept division either, so I don't know how to put in 20736/5. Just wondering if I made a mishap somewhere within the solution.
 

Answers and Replies

  • #2
SteamKing
Staff Emeritus
Science Advisor
Homework Helper
12,798
1,670

Homework Statement



Find the directional derivative of ##f## at ##P## in the direction of ##a##.

## f(x,y) = 2x^3y^3 ; P(3,4) ; a = 3i - 4j ##

Homework Equations



## D_u f(x_0, y_0, z_0) = f_x(x_0, y_0, z_0)u_1 + f_y(x_0, y_0, z_0)u_2 ##

The Attempt at a Solution



## f_x (x,y) = 6x^2y^3##
## f_y (x,y) = 6x^3y^2##

## f_x (3,4) = 3456 ##
## f_y (3,4) = 2592 ##

## D_u f(x_0, y_0) = 3456u_1 +2592 u_2 ##

##u = \frac {a} {||a||} = \frac {\langle 3,4 \rangle} {5} = \langle \frac {3} {5}, \frac {4} {5} \rangle##

##D_u f(x_0, y_0) = 3456(\frac {3} {5}) + 2592(\frac {4} {5}) ##

##D_u f(x_0, y_0) = \frac {20736} {5}##

Now, my program wants this an exact number, no tolerance. It won't accept division either, so I don't know how to put in 20736/5. Just wondering if I made a mishap somewhere within the solution.
You can't enter in a decimal number?
 
  • #3
204
7
You can't enter in a decimal number?

Wouldn't that not be exact, but approximate form though? Or if I decimal isn't repeating is it considered exact?
 
  • #4
SteamKing
Staff Emeritus
Science Advisor
Homework Helper
12,798
1,670
Wouldn't that not be exact, but approximate form though? Or if I decimal isn't repeating is it considered exact?
So, you're saying that (1/2) = 0.5 is only an approximation and not an exact representation? Interesting.
 
  • #5
204
7
So, you're saying that (1/2) = 0.5 is only an approximation and not an exact representation? Interesting.

So, I'm guessing it's not an approximation? Makes sense, good to learn something new. I will attempt to insert my answer.
 
  • #6
204
7
So, you're saying that (1/2) = 0.5 is only an approximation and not an exact representation? Interesting.

I attempted the answer of 4147.2, and it was incorrect. Therefore, my work must be incorrect somewhere.
 
  • #7
SteamKing
Staff Emeritus
Science Advisor
Homework Helper
12,798
1,670
I attempted the answer of 4147.2, and it was incorrect. Therefore, my work must be incorrect somewhere.
What if the wrong answer has been programmed into the software you're using?
 
  • #8
204
7
What if the wrong answer has been programmed into the software you're using?

I've spoken to other students who have the same problem, but with different numbers, so I'm pretty positive that the programs solution is correct, but now that I am at home I don't have access to see any of their solutions.
 
  • #9
Ray Vickson
Science Advisor
Homework Helper
Dearly Missed
10,706
1,722

Homework Statement



Find the directional derivative of ##f## at ##P## in the direction of ##a##.

## f(x,y) = 2x^3y^3 ; P(3,4) ; a = 3i - 4j ##

Homework Equations



## D_u f(x_0, y_0, z_0) = f_x(x_0, y_0, z_0)u_1 + f_y(x_0, y_0, z_0)u_2 ##

The Attempt at a Solution



## f_x (x,y) = 6x^2y^3##
## f_y (x,y) = 6x^3y^2##

## f_x (3,4) = 3456 ##
## f_y (3,4) = 2592 ##

## D_u f(x_0, y_0) = 3456u_1 +2592 u_2 ##

##u = \frac {a} {||a||} = \frac {\langle 3,4 \rangle} {5} = \langle \frac {3} {5}, \frac {4} {5} \rangle##

##D_u f(x_0, y_0) = 3456(\frac {3} {5}) + 2592(\frac {4} {5}) ##

##D_u f(x_0, y_0) = \frac {20736} {5}##

Now, my program wants this an exact number, no tolerance. It won't accept division either, so I don't know how to put in 20736/5. Just wondering if I made a mishap somewhere within the solution.
##u_y \neq 4/5##; go back and check your work.
 
  • #10
204
7
##u_y \neq 4/5##; go back and check your work.

Ah, thank you I missed that. I have remodeled my work, and the solution turns out to be 0, and is correct. Thank you both for your time.
 

Related Threads on Directional Derivative

  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
2
Views
4K
  • Last Post
Replies
1
Views
735
  • Last Post
Replies
7
Views
1K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
2
Views
958
  • Last Post
Replies
4
Views
521
M
  • Last Post
Replies
8
Views
2K
  • Last Post
Replies
2
Views
2K
Top