Gradients and level curves, getting started with my homework

In summary, the given function is f(x,y)=y-x and the task is to compute the gradient, gradient vector at a given point, a level curve passing through a given point, and the intersection of the level curve and gradient vector on the xy-plane. The gradient is found to be <-1,1> and the gradient vector at (2,1) is also <-1,1>. The level curve passing through (2,1) is given by the equation y=x-1. The gradient vector is proven to be perpendicular to the level curve.
  • #1
sheepcountme
80
1

Homework Statement


f(x,y)=y-x
i) compute the gradient
ii) at the given point (2,1) compute the gradient vector gradf(2,1)
iii) compute the level curve that passes through the point (2,1)
iiii) on the xy-plane, sketch the level curve from iii and the gradient vector gradf(2,1) you found in ii. Verify that they meet orthogonally


Homework Equations


gradients, derivatives, etc.


The Attempt at a Solution



I was out sick all last week from class so I need a little leg up on what we are doing...

for i) wouldn't this just be <-1,1> ?
and if so, I'm a little confused on ii) which I assumed to be <-1,1> still regardless of what point it was 'evaluated' at.

And then from here I'm not sure how to compute the level curve for this. Am I looking for a vector, equation, scalar? Before this when we talked about level curves in class, we were always given a set of constants to set them equal to.

And as far as iiii) goes, I'm a bit confused what this is supposed to look like since ii) would always be the vector <-1,1>
 
Physics news on Phys.org
  • #2
sheepcountme said:

Homework Statement


f(x,y)=y-x
i) compute the gradient
ii) at the given point (2,1) compute the gradient vector gradf(2,1)
iii) compute the level curve that passes through the point (2,1)
iiii) on the xy-plane, sketch the level curve from iii and the gradient vector gradf(2,1) you found in ii. Verify that they meet orthogonally


Homework Equations


gradients, derivatives, etc.


The Attempt at a Solution



I was out sick all last week from class so I need a little leg up on what we are doing...

for i) wouldn't this just be <-1,1> ?
and if so, I'm a little confused on ii) which I assumed to be <-1,1> still regardless of what point it was 'evaluated' at.

You are correct. In this example the gradient field is constant

And then from here I'm not sure how to compute the level curve for this. Am I looking for a vector, equation, scalar? Before this when we talked about level curves in class, we were always given a set of constants to set them equal to.

The level curves are f(x,y) = C for various constants C. But you are being asked for just one of them. Figure out C for your point and what equation do you get for your single level curve?

And as far as iiii) goes, I'm a bit confused what this is supposed to look like since ii) would always be the vector <-1,1>

So show the vector is perpendicular to the level curve in ii.
 
  • #3
Okay, so for iii, setting y-x=c c is -1 when we plug in the given point which gives us the equation y=x-1.

but for part 4, y=x-1 is pretty much the line y=x but shifted 1 down and to the right, and the line I get for part 2 is a straight horizontal line across the plane, which isn't perpedicular to the level curve.
 
  • #4
You don't get a line for part 2, you get a vector. Prove that the vector -1i+ 1j is perpendicular to the line y= x- 1. (One point on the line y= x- 1 is (0, -1). Another is (2, 1). What is the vector from (0, -1), to (2, 1)? It points in the same direction as the line.)
 

FAQ: Gradients and level curves, getting started with my homework

What is a gradient?

A gradient is a vector that shows the direction and magnitude of the steepest increase of a function at any given point. It is represented by the symbol ∇ (nabla).

What are level curves?

Level curves are curves on a graph that connect points of equal value on a function. They are perpendicular to the gradient vector at each point.

How do I calculate the gradient of a function?

To calculate the gradient of a function, you must find the partial derivatives of the function with respect to each variable, and then combine them into a vector using the ∇ symbol.

What is the significance of gradients and level curves?

Gradients and level curves are important in understanding the behavior of a function. They can help identify critical points, where the function is maximum, minimum, or saddle points, and they can also be used to find the direction of steepest increase or decrease of the function.

How can I use gradients and level curves in my homework?

In your homework, you may be asked to find critical points of a function, determine the direction of steepest increase or decrease, or sketch the graph of a function using level curves. It is important to understand how to calculate and interpret gradients and level curves in order to effectively solve these types of problems.

Similar threads

Replies
8
Views
1K
Replies
6
Views
1K
Replies
2
Views
3K
Replies
6
Views
5K
Replies
10
Views
2K
Replies
14
Views
2K
Back
Top