# Homework Help: Show that the gradient is perpendicular to a point

1. Oct 8, 2016

### Pallatinus

1. The problem statement, all variables and given/known data
$W = x^2+5y^2$
Show that $\nabla W$ is perpendicular to the level curves of W at $(X_0, 0)$

2. Relevant equations
$\nabla f(x,y) = <\frac {\partial f} {\partial x} , \frac {\partial f} {\partial y}>$

3. The attempt at a solution
I know that the gradient is always perpendicular to the level curves and the dot product of two vectors is 0 when they are perpendicular to each other.
Then,
$\nabla W(X_0,0) = <\frac {\partial W(X_0,0)} {\partial x} , \frac {\partial W(X_0,0)} {\partial y}>$
$\nabla W(X_0,0) = <2X_0, 0>$
Now I need other vector to show that their dot product is 0, but I don't have sure how to proceed.

2. Oct 8, 2016

### Staff: Mentor

Each level curve is an ellipse whose equation is $x^2 + 5y^2 = C$ for some $C \ge 0$. Each ellipse lies in a plane that is parallel to the x-y plane. Can you find the slope of the tangent to any of these curves?

3. Oct 8, 2016

### Pallatinus

Yes, now I know what should I do:
$\frac {dy} {dx}= \frac {-F_x} {F_y} = \frac {-2x} {10y}$
The slope of the normal line is $\frac {10y} {2x}$ and therefore they are orthogonal at any X and Y.
There are another solution that doesn't require the slope?

4. Oct 8, 2016

### Staff: Mentor

"therefore they are orthogonal at any X and Y" -- who are "they"? And why do you think "they" are orthogonal?
You haven't shown that the gradient of W is perpendicular to the level curves at (X0, 0).

5. Oct 9, 2016

### Pallatinus

(Sorry, I need to be more specific)
I mean that the tangent line and the line that contains $(X_0,0)$ and have the gradient as its vector , If their slopes are negative reciprocal, aren't the lines orthogonal?

6. Oct 9, 2016

### Staff: Mentor

Yes, in most cases, but not in this particular case, because of the point in question.

How did you come up with this:
I saw that you calculated the gradient of W, but you didn't show this step.

7. Oct 9, 2016

### Pallatinus

I forgot to show it. If the slope (m), is $m = \frac {\Delta x} {\Delta y} = \frac {f_y} {f_x} = \frac {10y} {2x}$
If what I'm doing is wrong because of the point $(X_0,0)$, what should I do?

8. Oct 9, 2016

### Staff: Mentor

m is the slope of the tangent line, right? That would be $m = \frac {\Delta y} {\Delta x} = \frac {10y} {2x}$.
What's the slope of the tangent to any of the level curves at the point (X0, 0)?
Include this point in your calculations.

9. Oct 9, 2016

### Pallatinus

My mistake, I know that the slope is $\frac {\Delta y} {\Delta x}$. And this is the slope of the normal line. the slope of the tangent is $\frac {-2x} {10y}$ as I showed before.
The slope of the tangent would not exist, and the slope of the normal line would be 0.
Yes, I have noticed this before, There will not exist a slope since the Y is 0.
This is why I haven't sure how to proceed, since this is the only way that I thought.

10. Oct 9, 2016

### Staff: Mentor

Since the slope of the gradient at the point in question is 0, and the slope of the tangent line at the same point is undefined, the two lines are orthogonal.

11. Oct 9, 2016

### Pallatinus

Indeed, I was not sure if I can imply that with a undefined slope. But It seen's that I can.
Thank you for the help and patience.