If f(x,y) = e^(x+y) is df/dx just e^(x+y)

  • Level: High School 
  • Thread starter Thread starter gtfitzpatrick
  • Start date Start date
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
5 replies · 3K views
gtfitzpatrick
Messages
372
Reaction score
0
if f(x,y) = e^(x+y) is df/dx just e^(x+y)
 
Physics news on Phys.org
It truly matters how you are differentiating. Make sure you take note of the fact that the original function f(x,y) is in regards to two variables, but the derivative is only in regards to one (x).
 
This is basically known as taking partial derivatives.
 
Be careful!

The total differential for a function of two variables is

[tex]df = \left( \frac{\partial f}{\partial x} \right )_y dx<br /> + \left( \frac{\partial f}{\partial y} \right )_x dy[/tex]

Therefore, the derivative you want is

[tex]\frac{df}{dx} = \left( \frac{\partial f}{\partial x} \right )_y<br /> + \left( \frac{\partial f}{\partial y} \right )_x \frac{dy}{dx}[/tex]

For the function you have given,

[tex]\frac{df}{dx} = \exp (x+y) + \exp (x+y) \frac{dy}{dx}[/tex]

So, if you hold y constant, the second term on the right is zero and the
total derivative reduces to the partial derivative wrt x; however,
if you wish to know how f varies along a specified
path in the xy-plane, [tex]y=f(x)[/tex],
then you must take the second term into account. If you wish a concrete
example, just read any text on chemical thermodynamics.
 
pkleinod is assuming that y is a function of x. The other responders were assuming that x and y are independent variables.