Multivariable Chain-Rule Problem

  • Thread starter Thread starter S.R
  • Start date Start date
  • Tags Tags
    Multivariable
Click For Summary

Homework Help Overview

The discussion revolves around the application of the multivariable chain rule to find the second partial derivative of the function g(x, y) = f(sin(y), cos(x)) with respect to x. Participants are exploring the intricacies of differentiating composite functions in a multivariable context.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants are attempting to apply the chain rule to differentiate g with respect to x, with some expressing uncertainty about the correct application of the rule. There are discussions about the cancellation of terms and the proper notation for partial derivatives.

Discussion Status

The discussion is ongoing, with participants sharing their attempts and questioning each other's understanding of the chain rule. Some guidance has been offered regarding the application of the chain rule and the importance of considering the dependencies of the variables involved.

Contextual Notes

There is mention of confusion regarding the notation for partial derivatives and the implications of variable dependencies in the context of multivariable functions. Participants are also reflecting on their learning experiences and how they were taught to approach such problems.

S.R
Messages
81
Reaction score
0

Homework Statement


Let g(x, y) = f(sin(y), cos(x)). Find the second partial derivative of g with respect to x (g_xx).

Homework Equations

The Attempt at a Solution


I attempted to find g_x, but I'm not entirely sure how chain rule applies in this situation.

Is this correct?

g_x = f_x(sin(y), cos(x)) * (-sin(x))
 
Physics news on Phys.org
To get the derivative with respect to ##x,## by chain rule: $$\frac{\partial g}{\partial x}=\frac{\partial f}{\partial x}\frac{\partial \sin y}{\partial x}+\frac{\partial f}{\partial y}\frac{\partial \cos x}{\partial x}$$
and see every term if one can be cancelled.
 
tommyxu3 said:
To get the derivative with respect to ##x,## by chain rule: $$\frac{\partial g}{\partial x}=\frac{\partial f}{\partial x}\frac{\partial \sin y}{\partial x}+\frac{\partial f}{\partial y}\frac{\partial \cos x}{\partial x}$$
and see every term if one can be cancelled.
Ah, thank-you. The first term cancels, right?
 
S.R said:
Ah, thank-you. The first term cancels, right?
Yes, for the ##\sin y## doesn't depend on ##x.##
 
However, forgetting to remind, in the calculation, mind the terms regarding ##f## you have to plug in its pair ##(\sin y,\cos x).##
 
tommyxu3 said:
However, forgetting to remind, in the calculation, mind the terms regarding ##f## you have to plug in its pair ##(\sin y,\cos x).##
Should it be d/dx(siny) as in the single var. case?
 
Last edited:
To be precise, you are right, but using partial derivative doesn't make no sense based on the definition also haha (just for my laziness)
 
tommyxu3 said:
To be precise, you are right, but using partial derivative doesn't make no sense based on the definition also haha (just for my laziness)
How would I obtain g_y though? I'm also not sure how to derive the first formula.
 
Last edited:
Well...then maybe you don't understand the chain rule totally...For reference: https://en.wikipedia.org/wiki/Chain_rule
To make yourself really acquire the information, I suggest getting the full picture of it including the proof.
 
  • #10
tommyxu3 said:
Well...then maybe you don't understand the chain rule totally...For reference: https://en.wikipedia.org/wiki/Chain_rule
To make yourself really acquire the information, I suggest getting the full picture of it including the proof.
The way I learned the chain rule (in the context of multivariable functions) was to draw a dependency diagram. In this case, however, the dependency diagram is not clear.
 
  • #11
S.R said:

Homework Statement


Let g(x, y) = f(sin(y), cos(x)). Find the second partial derivative of g with respect to x (g_xx).

Homework Equations

The Attempt at a Solution


I attempted to find g_x, but I'm not entirely sure how chain rule applies in this situation.

Is this correct?

g_x = f_x(sin(y), cos(x)) * (-sin(x))

When I learned this stuff we were advised to use notation like ##f_1##, which is "partial derivative of ##f## with respect to the first variable" and ##f_2## for "... with respect to the second variable". That way, when you swap the positions of ##x## and ##y## (as done in this problem) you avoid getting yourself hopelessly confused.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
2K
Replies
2
Views
2K
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K