Is u(t) a unit vector of f(x,y)?

In summary, the function f has a derivative with respect to x and y. The derivative is 2x+y and the vector u is the vector that has the same derivative and is also in the direction of the function.
  • #1
Philip Wong
95
0

Homework Statement


f(x,y)=2Sin x Cos y
g(x,y) = 2Cos x Sin y
verify that d(fg)/dx = g(x,y) df/dx + f(x,y) dg/dx


The Attempt at a Solution


first of all I worked out the partials derivatives in respective to x and y, for both functions
df/dx = 2Cos x (but I've a gut feeling that it should be 2Sin x * Cos x)
df/dy = -Sin y (but I've a gut feeling that it should be Cos y * -Sin y)
dg/dx=-2Sin x (but I've a gut feeling that it should be 2Cos x * -Sin x)
dg/dy=Cos y (but I've a gut feeling that it should be Sin y * Cos y)

but I don't get how to verify d(fg)/dx = g(x,y) df/dx + f(x,y) dg/dx
can someone walk me through what does the question is asking about?

Thanks
 
Physics news on Phys.org
  • #2
Just do what the problem asks you.

a) Multiply f and g toghether as they are, then derive for x.

b) Then compute g multiplied by df/dx plus f multiplied by dg/dx

Check if a) and b) are the same.
 
  • #3
Philip Wong said:

Homework Statement


f(x,y)=2Sin x Cos y
g(x,y) = 2Cos x Sin y
verify that d(fg)/dx = g(x,y) df/dx + f(x,y) dg/dx


The Attempt at a Solution


first of all I worked out the partials derivatives in respective to x and y, for both functions
df/dx = 2Cos x (but I've a gut feeling that it should be 2Sin x * Cos x)
Neither of those is correct. The derivative of 2A Sin x, where A is a constant, is 2A Cos x. Since in taking a partial derivative, you treat the other variable as a constant, the partial derivative of 2 Sin x Cos y is 2 Cos x Cos y.

df/dy = -Sin y (but I've a gut feeling that it should be Cos y * -Sin y)
dg/dx=-2Sin x (but I've a gut feeling that it should be 2Cos x * -Sin x)
dg/dy=Cos y (but I've a gut feeling that it should be Sin y * Cos y)
Same applies to each of those. (But you don't need the derivatives with respect to y for this problem.)

but I don't get how to verify d(fg)/dx = g(x,y) df/dx + f(x,y) dg/dx
can someone walk me through what does the question is asking about?

Thanks[/QUOTE]
fg= 4 Sin x Cos x Sin y Cos y. The left side of your equation is the derivative of that with respect to x.
 
  • #4
You're not doing the partial derivatives correctly. When I take the partial derivative with respect to x, I treat y like a constant. So you should treat the cos(y) term just like you treat the 2. So the partial of {2 sin(x) cos(y)) with respect to x is 2 cos(x) cos(y), not 2 cos(x).
 
  • #5
phyzguy said:
You're not doing the partial derivatives correctly. When I take the partial derivative with respect to x, I treat y like a constant. So you should treat the cos(y) term just like you treat the 2. So the partial of {2 sin(x) cos(y)) with respect to x is 2 cos(x) cos(y), not 2 cos(x).

HallsofIvy said:
Neither of those is correct. The derivative of 2A Sin x, where A is a constant, is 2A Cos x. Since in taking a partial derivative, you treat the other variable as a constant, the partial derivative of 2 Sin x Cos y is 2 Cos x Cos y.


Same applies to each of those. (But you don't need the derivatives with respect to y for this problem.)

but I don't get how to verify d(fg)/dx = g(x,y) df/dx + f(x,y) dg/dx
can someone walk me through what does the question is asking about?

Thanks
fg= 4 Sin x Cos x Sin y Cos y. The left side of your equation is the derivative of that with respect to x.[/QUOTE]

oh right thank you very much! I think I need more practice on derivatives though.
another question, say I have the following function
f(x,y)=x2+y2-xy
I need to show that u(t)=(cos t; sin t) is a unit vector

can someone please tell me what steps I need to take to show u(t) is a unit vector of that given function?

thanks again
 

FAQ: Is u(t) a unit vector of f(x,y)?

What do partial derivatives represent?

Partial derivatives represent the rate of change of a multivariable function with respect to one of its variables, while holding all other variables constant.

How do I verify partial derivatives?

To verify partial derivatives, you need to take the partial derivatives of the function with respect to each variable and then substitute the given values for the variables into the resulting expressions. If the values match the given partial derivatives, then they are verified.

Why is it important to verify partial derivatives?

Verifying partial derivatives is important because it ensures the accuracy of the calculated values and helps to identify any errors in the calculations. It is also necessary in many applications, such as optimization and differential equations.

Can you verify partial derivatives for any type of function?

Yes, partial derivatives can be verified for any type of function, whether it is linear, polynomial, exponential, or trigonometric. The process of verifying remains the same regardless of the type of function.

Are there any tools or software that can help with verifying partial derivatives?

Yes, there are many online calculators and software programs that can help with verifying partial derivatives. These tools can quickly and accurately calculate partial derivatives and allow for easy substitution of values for verification.

Back
Top