Results 1 to 4 of 4

Thread: [RESOLVED] Implicit Differentiation

  1. #1

    Thread Starter
    Fanatic Member VBAhack's Avatar
    Join Date
    Dec 2004
    Location
    Sector 000
    Posts
    617

    Resolved [RESOLVED] Implicit Differentiation

    This is a problem out of Shaum's Outlines on Numerical Methods. Just some spare time fun.
    Differentiate the following function wrt x (i.e. find y'):

    x3y4 + 2y = 3x

    The solution from the back of the book is y' = y(1-x2y4) / x(1+x2y4))

    I know the solution is right because I checked it using RK4. I didn't think my differentiation skills were THAT rusty, but I come up with something different.

    Differentiating both sides I get:

    (1) 3x2y4 + 4x3y3y' + 2y' = 3

    (2) y' (4x3y3 + 2) = (3 - 3x2y4)

    (3) y' = (3 - 3x2y4) / (4x3y3 + 2)

    Can anyone point out my error(s)? Thanks.
    Last edited by VBAhack; Oct 1st, 2006 at 06:54 PM.

  2. #2
    Member
    Join Date
    Jul 2006
    Posts
    49

    Re: Implicit Differentiation

    Interesting problem you have there!

    When I differentiated I got exactly the same answer as you.

    You could also:
    - rearrange (the original equation) to x^3.y^3 = 3x-2y
    - (in your expression for y') factor out a y in the numerator and an x in the denominator
    - Substitute x^3.y^3 = 3x-2y

    This yeilds

    y' = (6y - 6x)/(12x - 6y)

    But I can see no way of getting the other solution as yet.

    All the best, Matt

  3. #3

    Thread Starter
    Fanatic Member VBAhack's Avatar
    Join Date
    Dec 2004
    Location
    Sector 000
    Posts
    617

    Re: Implicit Differentiation

    Turns out both expressions for y' are equivalent! I verified that RK4 solutions for both are the same. Also, if the 2 expressions for y' are the same, then setting them equal to each other ought to yield something:

    If x3y4 + 2y = 3x yields the following for y':

    y' = y(1 - x2y4) / x(1 + x2y4)) or y' = (3 - 3x2y4) / (4x3y3 + 2)

    then

    (1)... y(1 - x2y4) / x(1 + x2y4)) = (3 - 3x2y4) / (4x3y3 + 2) ----- set derivatives equal to each other

    (2)... y(1 - x2y4) / x(1 + x2y4)) = 3(1 - x2y4) / 2(2x3y3 + 1) ----- factor right side

    (3)... y(1 - x2y4) / x(1 + x2y4)) = y(1 - x2y4) / (2/3)y(1 + 2x3y4) ----- multiple right side by y/y

    (4)... x(1 + x2y4) = (2/3)y(1 + 2x3y4) ----- since numerators are the same, denominators equal each other

    (5)... x + x3y4 = (2/3)y + (4/3)x3y4 = (2/3)y + x3y4 + (1/3)x3y4 ----- multiply out

    (6)... 3x = 2y + x3y4 ----- subtract x3y4 from both sides and multiply by 3

    qed
    Last edited by VBAhack; Oct 1st, 2006 at 08:15 PM.

  4. #4
    Member
    Join Date
    Jul 2006
    Posts
    49

    Re: [RESOLVED] Implicit Differentiation

    Nice!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width