- #1

- 6

- 0

how do u find the gradient of y-3x=2

- Thread starter SleSSi
- Start date

- #1

- 6

- 0

how do u find the gradient of y-3x=2

- #2

- 537

- 1

[tex]grad(f) = \frac{\partial{f}}{\partial{x}}i + \frac{\partial{f}}{\partial{y}}j[/tex]

is the vector field. so in your example:

[tex]\frac{\partial{f}}{\partial{x}} = -3[/tex]

[tex]\frac{\partial{f}}{\partial{y}} = 1[/tex]

so:

[tex]grad(y-3x-2) = -3i + j[/tex]

notice that the component of the gradient of your function are constant...thats because your function just a line. if your function were something more complicated, then your components would be functions and your would evaluate them at a particular point because your gradient would then vary as a true vector field.

- #3

mathwonk

Science Advisor

Homework Helper

- 11,063

- 1,254

if the function is f(x,y) = y-3x = -3x+y, then the gradient is the same everywhere, namely (-3,1).

same if the function is f(x,y) = -3x+y-2 as has been assumed above, but this is not clear from your question. an equation is not a function, unless meant sas the graph of the function, in which case you would be giving the function y = 2-3x whose "gradient is -3.

- #4

- 551

- 1

I think he just wanted the gradient of a straight line..

- #5

- 2,209

- 1

The gradient vector isnt perpendicular to the slope?mathwonk said:

if the function is f(x,y) = y-3x = -3x+y, then the gradient is the same everywhere, namely (-3,1).

same if the function is f(x,y) = -3x+y-2 as has been assumed above, but this is not clear from your question. an equation is not a function, unless meant sas the graph of the function, in which case you would be giving the function y = 2-3x whose "gradient is -3.

- #6

- 1,036

- 1

No, for a linear function the gradientwhozum said:The gradient vector isnt perpendicular to the slope?

Last edited:

- Last Post

- Replies
- 3

- Views
- 4K

- Last Post

- Replies
- 1

- Views
- 955

- Replies
- 7

- Views
- 15K

- Replies
- 3

- Views
- 4K

- Last Post

- Replies
- 2

- Views
- 491

- Last Post

- Replies
- 1

- Views
- 2K

- Last Post

- Replies
- 5

- Views
- 7K

- Last Post

- Replies
- 3

- Views
- 618

- Last Post

- Replies
- 3

- Views
- 2K

- Replies
- 13

- Views
- 909