Using the chain rule with 2 variables ?

In summary: 5x+y^2, this is equivalent to: \frac{d}{dx}\left(x+y^2\right)=\frac{d}{dx}\left(x+y^2+1.5\right)=\sinh(x+y^2)+y^2\cosh(x+y^2)
  • #1
Rizzamabob
21
0
Hey, I am a bit confused oh how to use the chain rule when i have 2 variables in an equation...
Example : f(x,y) = (Squareroot(x)).(cosh(x+y^2)) x(s,t)=st y(s,t)=s/t
When i have 2 variables, I am not sure how to split it up and use the chain rule, all the examples i found only have 1 variable :shy: Thanks :(
 
Last edited:
Physics news on Phys.org
  • #2
When differentiating a multivariate function with respect to one variable, you hold the other variables constant, e.g.
[tex]\frac{d}{dy}\left(x\sin(xy^{2})\right)=x\frac{d}{dy}\sin(xy^{2})=x\cos(xy^{2})\frac{d}{dy}(xy^{2})=2x^{2}y\cos(xy^{2})[/tex]

in the above example x is a constant. Whereas in the example below, y is a constant:

[tex]\frac{d}{dx}\left(x\sin(xy^{2})\right)=\frac{d}{dx}\left(x\right)\cdot\sin(xy^{2})+x\frac{d}{dx}\left(\sin(xy^{2})\right)=1\cdot\sin(xy^{2})+x\cos(xy^{2})\frac{d}{dx}(xy^{2})=\sin(xy^{2})+xy^{2}\cos(xy^{2})[/tex]
 
Last edited:
  • #3
Ok, so say when i derive cosh(x + y^2) with respect to x, i get (1+y^2)sinh(x+y^2) correct ?? basically i don't touch y^2 and treat it as a whole number ?? :shy: But i don't get it, since if i had like cosh(x+3), then the derivative would just be sinh(x+3) using the chain rule correct ?? so why is the y^2 out the front in the other one ?
 
Last edited:
  • #4
When you differentiate with respect to one variable, say x, you treat the other, y, as constant. Specifically:

[tex]\frac{\partial}{\partial x}f(x,y)=\lim_{h\to 0}\frac{f(x
+h,y)-f(x,y)}{h}[/tex]
So it's just the rate of change of the function as you vary x you're interested in.
By the way, this alone has nothing to do with the chain rule, which tells you how to differentiate composite functions.

Now, differentiating cosh(x+y^2) with respect to x just means treating y constant. (So for this purpose we can treat the function as just dependent on x alone):
[tex]\frac{d}{dx}\cosh(x+y^2)=\sinh(x+y^2)\frac{d}{dx}(x+y^2)=\sinh(x+y^2)[/tex]
Since the derivative of (x+y^2) wrt x is 1.
 

Related to Using the chain rule with 2 variables ?

What is the chain rule?

The chain rule is a mathematical concept used to find the derivative of a composite function. It allows us to calculate the rate of change of a function with respect to one variable, while considering its dependence on another variable.

How do you use the chain rule with 2 variables?

To use the chain rule with 2 variables, we first find the derivative of the outer function with respect to the inner function. Then, we multiply this derivative by the derivative of the inner function with respect to the variable we are interested in.

Can the chain rule be used with any type of function?

Yes, the chain rule can be used with any type of function, as long as it is a composite function. This means that the function is made up of two or more functions that are nested within each other.

What is the purpose of using the chain rule with 2 variables?

The purpose of using the chain rule with 2 variables is to calculate the derivative of a composite function. This allows us to find the rate of change of a function with respect to one variable, while taking into account its dependence on another variable.

Are there any specific steps to follow when using the chain rule with 2 variables?

Yes, there are specific steps to follow when using the chain rule with 2 variables. These include identifying the inner and outer functions, finding the derivatives of each function, and then combining these derivatives using the chain rule formula.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
983
  • Calculus and Beyond Homework Help
Replies
1
Views
641
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
728
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
937
  • Calculus and Beyond Homework Help
Replies
15
Views
1K
  • Calculus and Beyond Homework Help
Replies
9
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
975
  • Calculus and Beyond Homework Help
Replies
12
Views
2K
Back
Top