Derivative Transformation with Law of Cosines

Click For Summary

Homework Help Overview

The discussion revolves around the application of the Law of Cosines in the context of multivariable calculus, specifically focusing on the transformation of partial derivatives between different sets of variables in a function defined by the sides and angles of a triangle.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants explore the relationship between partial derivatives of a function defined in terms of different variables, questioning how to correctly apply the chain rule in the context of the Law of Cosines. There is confusion regarding the notation and the implications of using the same symbol for different functions.

Discussion Status

Some participants have provided clarifications on the notation and the relationships between the derivatives. There is ongoing exploration of how to derive the necessary partial derivatives, with one participant expressing a need for further guidance after attempting to apply the chain rule.

Contextual Notes

Participants are navigating the complexities of multivariable calculus with constraints imposed by the Law of Cosines, and there is an acknowledgment of potential confusion arising from variable notation.

Solidmozza
Messages
29
Reaction score
1
Hi there,

The Law of Cosines can be stated as

a^2 = b^2 + c^2 - 2bccos(A)

where a,b, and c are the sides of a triangle, and A is the angle opposite the side a. I have a function, f(b,c,A), with an associated set of partial derivatives (\frac{∂f}{∂c})_{b,A} etc. What I want to do is to use a coordinate transformation to get the related derivatives (\frac{∂f}{∂c})_{b,a} etc. This looks like a multivariable partial derivative problem with a constraint. Using the chain rule, it seems to me that

(\frac{∂f}{∂c})_{b,A}=\frac{∂f}{∂c}+\frac{∂f}{∂a} \frac{∂a}{∂c}

(\frac{∂f}{∂c})_{b,a}=\frac{∂f}{∂c}+\frac{∂f}{∂A} \frac{∂A}{∂c}

where I think \frac{∂f}{∂c} is the same in both expressions. I can calculate the \frac{∂a}{∂c} and \frac{∂A}{∂c} parts using the Law of Cosines, but then I don't know what to do with \frac{∂f}{∂a} and \frac{∂f}{∂A}, i.e. if I use the transformation \frac{∂f}{∂a}=\frac{∂f}{∂A}\frac{∂A}{∂a} then it looks like (\frac{∂f}{∂c})_{b,A}=(\frac{∂f}{∂c})_{b,a} but numerical results and intuition tell me otherwise.

In essence, I don't know how to find the partial derivative (\frac{∂f}{∂c})_{b,a} given (\frac{∂f}{∂c})_{b,A} and that the variables are connected via the Law of Cosines.

Any assistance with this problem would be greatly appreciated :)
 
Physics news on Phys.org
You are getting confused because you use the same symbol, f, to denote different functions. Do not do it. Let f be a function of (b, c, A). Then let F be a function of (b, c, a). Obviously, f(b, c, A) = F(b, c, a(b, c, A)), where a(b, c, A) is the cosine law. You need to obtain the derivatives of F, use the chain rule.
 
Hi Voko,

Thanks for the response, but I'm still a little stuck here. This is how I continued:

dF = (∂F/∂c)dc + (∂F/∂b)db + (∂F/∂a)da

Now (∂F/∂c)_{b,a} = (∂F/∂c) (is this not just (∂f/∂c)?)

And (∂F/∂c)_{b,A} = (∂F/∂c) + (∂F/∂A)(∂A/∂c)

But (∂A/∂c) = (c-bcosA)/a

Hence, (∂F/∂c)_{b,A} - (∂F/∂c)_{b,a} = (∂A/∂c)(c-bcosA)/a

However, this doesn't conform to what I have when I substitute in numerical values. I'm clearly not getting something here, could you give me a more forceful push?
 
Just to make sure we are on the same page. What you really have is ## \partial f/\partial b, \ \partial f/\partial c, \ \partial f/\partial A ##, correct? And you need to find ## \partial F/\partial b, \ \partial F/\partial c, \ \partial F/\partial a ##.

Then <br /> <br /> \frac {\partial f} {\partial b} = \frac {\partial} {\partial b} F (b, c, a(b, c, A)) = \frac {\partial F} {\partial b} + \frac {\partial F} {\partial a} \frac {\partial a } {\partial b}<br /> <br /> \\<br /> <br /> \frac {\partial f} {\partial c} = \frac {\partial} {\partial c} F (b, c, a(b, c, A)) = \frac {\partial F} {\partial c} + \frac {\partial F} {\partial a} \frac {\partial a } {\partial c}<br /> <br /> \\<br /> <br /> \frac {\partial f} {\partial A} = \frac {\partial} {\partial b} F (b, c, a(b, c, A)) = \frac {\partial F} {\partial a} \frac {\partial a } {\partial A}<br /> <br />

This is a linear system; solve for ## \partial F/\partial b, \ \partial F/\partial c, \ \partial F/\partial a ##.
 
Thanks a heap Voko, that did the trick! :)
 

Similar threads

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