Solidmozza
- 29
- 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 :)
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 :)