Gradient and mean value theorem

Click For Summary

Homework Help Overview

The discussion revolves around applying the gradient and mean value theorem to the function f(x,y) = x^3 - xy, with specific points a(0,1) and b(1,3). Participants are tasked with finding a point c on the line segment [ab] that satisfies a given equation involving the function's values at points a and b, and the gradient at point c.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss calculating function values at points a and b, and the implications of vector notation for the gradient and line segment. There are questions about the correctness of the notation and the equations derived from the gradient. Some participants express confusion regarding the derivation of certain equations and the assumptions made about the relationship between x and y.

Discussion Status

The discussion is ongoing, with participants providing calculations and questioning each other's reasoning. Some have offered clarifications on the equations involved, while others are seeking further understanding of the concepts and procedures. There is no explicit consensus, but multiple interpretations and approaches are being explored.

Contextual Notes

Participants are navigating potential typos and misunderstandings in the equations, particularly regarding the gradient and its application. The discussion reflects a collaborative effort to clarify the problem setup and the mathematical relationships involved.

brad sue
Messages
270
Reaction score
0
Hi
please , can someone help me with this problem.
I need to know the procedure.

Let f(x,y)=x^3-xy. set a(0,1) and b(1,3).
Find a point c on the line sement[ab] for which
f(b)-f[a]= gradient(f[c]) * (b-a)


Thank you
B.
 
Physics news on Phys.org
brad sue said:
Hi
please , can someone help me with this problem.
I need to know the procedure.
Let f(x,y)=x^3-xy. set a(0,1) and b(1,3).
Find a point c on the line sement[ab] for which
f(b)-f[a]= gradient(f[c]) * (b-a)

Thank you
B.
The "procedure" is to calculate everything you can there, then solve the equation for c. Since a= (0,1), f(a)= f(0,1)= 0^3- 0(1)= 0. Since b= (1, 3), f(b)= f(1,3)= 1^3- 1(3)= -2. f(b)- f(a)= -2- 0= -2.
I'm not particularly happy with the notation on the right side! a and b are points but you have to treat "b-a" as a vector subtraction: b- a= i+3j- (j)= i+ 2j. grad f= (3x- y)i- xj. Now that product "*" is a dot product:
grad f*b-a= ((3x-y)i- xj).(i+ 2j)= 3x-y- 2x= x- y= -2.
That's one equation for two unknown values, x and y. To get the other, use that fact that c= (x,y) is on the line between a and b. One way to do that is to write the line between a and b ((0,1) and (1,3)) as y= 2x+ 1 (do you see how I got that?) and solve the two equations x- y= 2 and y= 2x+ 1 for x and y. Another is to write parametric equations for the line: since b-a= i+ 3j, x= t, y= 2t+ 1. Replace x- y= 2 with those, solve for t and use that value of t to find x and y.
 
Where did you find the solutions for this? I'm writing a paper and struggling to find info for use!
 
What do you mean "where did you find the solutions for this?" I solved it myself!
 
I guess I'm confused as to how you learned this. I couldn't find a lot of stuff online about it. As I said I'm working on a project involving this and I can't find anywhere to learn this stuff.
 
I just copied what you wrote and I'll write comments in red of where I'm confused.

The "procedure" is to calculate everything you can there, then solve the equation for c. Since a= (0,1), f(a)= f(0,1)= 0^3- 0(1)= 0. Since b= (1, 3), f(b)= f(1,3)= 1^3- 1(3)= -2. f(b)- f(a)= -2- 0= -2.

I'm not particularly happy with the notation on the right side! a and b are points but you have to treat "b-a" as a vector subtraction: b- a= i+3j- (j)= i+ 2j. grad f= (3xshould this be squared?- y)i- xj. Now that product "*" is a dot product:
grad f*b-a= ((3x-y)i- xj).(i+ 2j)= 3x-y- 2x= x- y= -2.

How do you know that x-y=-2??

That's one equation for two unknown values, x and y. To get the other, use that fact that c= (x,y) is on the line between a and b. One way to do that is to write the line between a and b ((0,1) and (1,3)) as y= 2x+ 1 (do you see how I got that?) and solve the two equations x- y= 2

Why is x-y=2 now?

and y= 2x+ 1 for x and y. Another is to write parametric equations for the line: since b-a= i+ 3j, x= t, y= 2t+ 1. Replace x- y= 2 with those, solve for t and use that value of t to find x and y.
 
kmac said:
I just copied what you wrote and I'll write comments in red of where I'm confused.

The "procedure" is to calculate everything you can there, then solve the equation for c. Since a= (0,1), f(a)= f(0,1)= 0^3- 0(1)= 0. Since b= (1, 3), f(b)= f(1,3)= 1^3- 1(3)= -2. f(b)- f(a)= -2- 0= -2.

I'm not particularly happy with the notation on the right side! a and b are points but you have to treat "b-a" as a vector subtraction: b- a= i+3j- (j)= i+ 2j. grad f= (3xshould this be squared?
Yes, that was, I hope, a typo on my part.

- y)i- xj. Now that product "*" is a dot product:
grad f*b-a= ((3x-y)i- xj).(i+ 2j)= 3x-y- 2x= x- y= -2.

How do you know that x-y=-2??
I just made a really dumb mistake! The derivative of [itex]x^3- xy[/itex] with respect to x is [itex]3x^2- y[/itex], not "3x- y"! I hope thoat was just a typo on my part and I am not really losing my mind.
Now [itex]grad f\cdot(b-a)= (3x^2- y)\vec{i}- x\vec{j})\cdot(\vec{i}+ 2\vec{j})[/itex][itex]= 3x^2- y- 2x[/itex] and that must be equal to -2: 3x^2- y- 2x= -2.

That's one equation for two unknown values, x and y. To get the other, use that fact that c= (x,y) is on the line between a and b. One way to do that is to write the line between a and b ((0,1) and (1,3)) as y= 2x+ 1 (do you see how I got that?) and solve the two equations x- y= 2

Why is x-y=2 now?
That was the mistaken equation I got before. It should be [itex]3x^2- y- 2x= -2[/itex]

and y= 2x+ 1 for x and y. Another is to write parametric equations for the line: since b-a= i+ 3j, x= t, y= 2t+ 1. Replace x- y= 2 with those, solve for t and use that value of t to find x and y.

So [itex]3x^2- y- 2x= 2[/itex] and y= 2x+1. Replace y in the first equation by 2x+1 and we have [itex]3x^2- 2x-1- 2x= -2[/itex] or [itex]3x^2- 4x+ 1= 0[/itex]. By the quadratic formula, the roots of that are
[tex]\frac{4\pm\sqrt{16- 9}}{6}= \frac{4\pm\sqrt{7}}{6}[/itex].<br /> <br /> Since 7 is just a little less than 9, [itex]\sqrt{7}[/itex] is just a little less than 3. If we were to take the positive, we would have [itex]4+ \sqrt{7}[/itex] a little bit more than 7 and [itex](4+ \sqrt{7})/6[/itex] a little bit larger than 1. If we take the negative, we have [itex]4- \sqrt{7}[/itex] a little smaller than 1 and [itex](4-\sqrt{7})/6[/itex] between 0 and 1. In order that (x,y) be between (0,1) and (1,3) x must be between 0 and 1 and so [itex]x= (4- \sqrt{7})/6[/itex]. Then, of course, [itex]y= 2x+ 1= (4- \sqrt{7}}/3+ 1= (7- \sqrt{7})/3[/itex] which is a little larger than 1 and so between 1 and 3.[/tex]
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
2K