Results 1 to 6 of 6

Math Help - mixed partial derivatives

  1. #1
    Junior Member
    Joined
    Oct 2008
    Posts
    57

    mixed partial derivatives

    can anyone help please...

    f = exp(-xy^2)

    find \frac{\partial^2 f}{\partial x \partial y}

    and \frac{\partial^2 f}{\partial y \partial x}

    are they both equal justify your answer
    Last edited by sonia1; February 5th 2009 at 06:33 AM. Reason: wrong function written
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member
    Joined
    Dec 2008
    From
    Scotland
    Posts
    901
    Quote Originally Posted by sonia1 View Post
    can anyone help please...

    f = exp(xy^2)

    find \frac{\partial^2 f}{\partial x \partial y}

    and \frac{\partial^2 f}{\partial y \partial x}

    are they both equal justify your answer
    For \frac{\partial^2 f}{\partial x \partial y}, differentiate with respect to x first, then with respect to y. Remember, when you differentiate with respect x, you pretend all other variables are constants. And when you differentiate with respect to y, you pretend all other variables are constants.

     \frac{\partial f}{\partial x} = \frac{\partial}{\partial x} \exp(xy^2)

    By the chain rule:

     \frac{\partial f}{\partial x} =  \exp(xy^2) \times \frac{\partial}{\partial x} (xy^2)

     \frac{\partial f}{\partial x} =  \exp(xy^2) \times y^2

     \frac{\partial^2 f}{\partial x \partial y} = \frac{\partial}{\partial y} (\frac{\partial f}{\partial x}) = \frac{\partial }{\partial y} ( \exp(xy^2) \times y^2)

    By the product rule:

     \frac{\partial^2 f}{\partial x \partial y} =  \exp(xy^2) \frac{\partial}{\partial y} (y^2)  + y^2 \times \frac{\partial }{\partial y} \exp(xy^2)

    Now carry out the differentiation, remembering to use the product rule again on the 2nd term.

     \frac{\partial^2 f}{\partial x \partial y} =\exp(xy^2) \times 2y + y^2   \exp(xy^2) \times \frac{\partial }{\partial y} (xy^2)

     \frac{\partial^2 f}{\partial x \partial y} =\exp(xy^2) \times 2y + y^2   \exp(xy^2) \times 2xy

     \frac{\partial^2 f}{\partial x \partial y} =\exp(xy^2) \times 2y +2xy^3   \exp(xy^2)

    Now do the same again, only change the order of differentiation. Wrt y first, then wrt x. See if you get the same result.

    In general  \frac{\partial^2 f}{\partial x \partial y} = \frac{\partial^2 f}{\partial y \partial x} if the function is sufficiently smooth.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Super Member

    Joined
    May 2006
    From
    Lexington, MA (USA)
    Posts
    11,678
    Thanks
    611
    Hello, sonia1!

    Watch out for "products" . . .


    f(x,y) \:=\:e^{xy^2}

    Find: . \frac{\partial^2 f}{\partial x \partial y}\,\text{ and }\,\frac{\partial^2 f}{\partial y \partial x}

    Are they equal? . . . . yes

    \frac{\partial f}{\partial y} \;=\;e^{xy^2}\!\cdot\!2xy \;=\;2xy\!\cdot\!e^{xy^2}

    \frac{\partial^2y}{\partial x\partial y} \;=\;2xy\!\cdot\!e^{xy^2}\!\cdot\!y^2 + 2y\!\cdot\! e^{xy^2} \;=\;2ye^{xy^2}(xy^2+1)



    \frac{\partial f}{\partial x} \;=\;e^{xy^2}\!\cdot\!y^2 \;=\;y^2\!\cdot\!e^{xy^2}

    \frac{\partial^2f}{\partial y\partial x} \;=\;y^2\!\cdot\!e^{xy^2}\!\cdot\!2xy + 2y\!\cdot\!e^{xy^2} \;=\;2ye^{xy^2}(xy^2+1)

    Follow Math Help Forum on Facebook and Google+

  4. #4
    Junior Member
    Joined
    Oct 2008
    Posts
    57
    Quote Originally Posted by Mush View Post
    For \frac{\partial^2 f}{\partial x \partial y}, differentiate with respect to x first, then with respect to y. Remember, when you differentiate with respect x, you pretend all other variables are constants. And when you differentiate with respect to y, you pretend all other variables are constants.

     \frac{\partial f}{\partial x} = \frac{\partial}{\partial x} \exp(xy^2)

    By the chain rule:

     \frac{\partial f}{\partial x} = \exp(xy^2) \times \frac{\partial}{\partial x} (xy^2)

     \frac{\partial f}{\partial x} = \exp(xy^2) \times y^2

     \frac{\partial^2 f}{\partial x \partial y} = \frac{\partial}{\partial y} (\frac{\partial f}{\partial x}) = \frac{\partial }{\partial y} ( \exp(xy^2) \times y^2)

    By the product rule:

     \frac{\partial^2 f}{\partial x \partial y} = \exp(xy^2) \frac{\partial}{\partial y} (y^2) + y^2 \times \frac{\partial }{\partial y} \exp(xy^2)

    Now carry out the differentiation, remembering to use the product rule again on the 2nd term.

     \frac{\partial^2 f}{\partial x \partial y} =\exp(xy^2) \times 2y + y^2 \exp(xy^2) \times \frac{\partial }{\partial y} (xy^2)

     \frac{\partial^2 f}{\partial x \partial y} =\exp(xy^2) \times 2y + y^2 \exp(xy^2) \times 2xy

     \frac{\partial^2 f}{\partial x \partial y} =\exp(xy^2) \times 2y +2xy^3 \exp(xy^2)

    Now do the same again, only change the order of differentiation. Wrt y first, then wrt x. See if you get the same result.

    In general  \frac{\partial^2 f}{\partial x \partial y} = \frac{\partial^2 f}{\partial y \partial x} if the function is sufficiently smooth.
    what do you mean by it is equal if the fuction is sufficiently smooth
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Junior Member
    Joined
    Oct 2008
    Posts
    57
    Quote Originally Posted by Soroban View Post
    Hello, sonia1!

    Watch out for "products" . . .


    \frac{\partial f}{\partial y} \;=\;e^{xy^2}\!\cdot\!2xy \;=\;2xy\!\cdot\!e^{xy^2}

    \frac{\partial^2y}{\partial x\partial y} \;=\;2xy\!\cdot\!e^{xy^2}\!\cdot\!y^2 + 2y\!\cdot\! e^{xy^2} \;=\;2ye^{xy^2}(xy^2+1)



    \frac{\partial f}{\partial x} \;=\;e^{xy^2}\!\cdot\!y^2 \;=\;y^2\!\cdot\!e^{xy^2}

    \frac{\partial^2f}{\partial y\partial x} \;=\;y^2\!\cdot\!e^{xy^2}\!\cdot\!2xy + 2y\!\cdot\!e^{xy^2} \;=\;2ye^{xy^2}(xy^2+1)
    sorry i wrote the function wrong.

    Also, what do u get when f = cos(y/x)?
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Junior Member
    Joined
    Oct 2008
    Posts
    57

    thankyou

    hey thankx a lot guyz I understand partial derivatives now
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Mixed Partial Derivatives
    Posted in the Differential Equations Forum
    Replies: 5
    Last Post: February 24th 2011, 07:51 AM
  2. Higher Order Mixed Partial Derivatives
    Posted in the Differential Geometry Forum
    Replies: 3
    Last Post: October 20th 2009, 05:58 PM
  3. Higher Order Mixed Partial Derivatives
    Posted in the Calculus Forum
    Replies: 1
    Last Post: October 18th 2009, 03:36 PM
  4. partial derivatives
    Posted in the Calculus Forum
    Replies: 1
    Last Post: October 14th 2008, 10:29 AM
  5. Partial Derivatives
    Posted in the Calculus Forum
    Replies: 2
    Last Post: April 2nd 2008, 01:36 PM

Search Tags


/mathhelpforum @mathhelpforum