Leibniz Rule (Differentiation)

Announcements Posted on
    • Thread Starter
    Offline

    3
    ReputationRep:
    Can someone point me in the right direction on how to go about this question?

    Consider y=e^{\frac{x^2}{2}}. Show that \frac{dy}{dx}=xy - I can do that.

    By differentiating this equation n times using Leibniz's rule, show that y^{(n+1)}(x)=xy^{(n)}(x)+ny^{(n-1)}(x).

    I literally have no idea where to start =\ .
    Offline

    3
    ReputationRep:
    (Original post by ViralRiver)
    Can someone point me in the right direction on how to go about this question?

    Consider y=e^{\frac{x^2}{2}}. Show that \frac{dy}{dx}=xy - I can do that.

    By differentiating this equation n times using Leibniz's rule, show that y^{(n+1)}(x)=xy^{(n)}(x)+ny^{(n-1)}(x).

    I literally have no idea where to start =\ .
    Without sounding harsh, have you actually tried to plug it into the General Leibniz rule?
    (namely \dfrac{d^n}{dx^n}\left(f(x)\cdot g(x) \right) = \displaystyle\sum_{k=0}^n \begin{pmatrix} n \\ k \end{pmatrix} \left(\dfrac{d^k}{dx^k}[f(x)]\right) \left(\dfrac{d^{n-k}}{dx^{n-k}}[g (x)]\right) with f(x)=x and g(x)=y?)
    • Thread Starter
    Offline

    3
    ReputationRep:
    (Original post by Farhan.Hanif93)
    Without sounding harsh, have you actually tried to plug it into the General Leibniz rule?
    (namely \dfrac{d^n}{dx^n}\left(f(x)\cdot g(x) \right) = \displaystyle\sum_{k=0}^n \left(\dfrac{d^k}{dx^k}[f(x)]\right) \left(\dfrac{d^{n-k}}{dx^{n-k}}[g (x)]\right) with f(x)=x and g(x)=y?)
    That's not how I learned it. The version I have learned is:

    D^n(uv)=(D^nu)v+ \left( {\begin{array}{cc} n  \\ 1  \\ \end{array} } \right) (D^{n-1}u)(Dv)+ \cdot \cdot \cdot+\left( {\begin{array}{cc} n  \\ r  \\ \end{array} } \right) (D^{n-r}u)(D^rv) + \cdot \cdot \cdot + u(D^rv).

    I've tried substituting into that, but it's a tad confusing.
    Offline

    3
    ReputationRep:
    (Original post by ViralRiver)
    That's not how I learned it. The version I have learned is:

    D^n(uv)=(D^nu)v+ \left( {\begin{array}{cc} n  \\ 1  \\ \end{array} } \right) (D^{n-1}u)(Dv)+ \cdot \cdot \cdot+\left( {\begin{array}{cc} n  \\ r  \\ \end{array} } \right) (D^{n-r}u)(D^rv) + \cdot \cdot \cdot + u(D^rv).

    I've tried substituting into that, but it's a tad confusing.
    I've never come across that notation before but I assume that D^n(y) = \dfrac{d^ny}{dx^n}? In which case, you should be able to see that both versions are equivalent. In your notation, take v=x and u=y. Notice that all terms have a factor of D^{r}(x). What happens to that quantity when r\geq 2? (if it's not immediate, try a few values.)
    • Thread Starter
    Offline

    3
    ReputationRep:
    (Original post by Farhan.Hanif93)
    I've never come across that notation before but I assume that D^n(y) = \dfrac{d^ny}{dx^n}? In which case, you should be able to see that both versions are equivalent. In your notation, take v=x and u=y. Notice that all terms have a factor of D^{r}(x). What happens to that quantity when r\geq 2? (if it's not immediate, try a few values.)
    I'll take another look at it tomorrow - don't think I can work this late :P . However, I don't see any form of binomials in your expression?
    Offline

    3
    ReputationRep:
    (Original post by ViralRiver)
    I'll take another look at it tomorrow - don't think I can work this late :P . However, I don't see any form of binomials in your expression?
    You're right, it is late! I even forgot to put in the \begin{pmatrix} n \\ r \end{pmatrix} coefficients... :sigh: Sorry for any confusion on that front. :o:
    Offline

    0
    ReputationRep:
    \dfrac{d^n}{dx^n}y' = \dfrac{d^n}{dx^n}\left( x\cdot y \right) = \displaystyle\sum_{k=0}^n \left( {nCk}\right) \left(\dfrac{d^k}{dx^k}[x]\right) \left(\dfrac{d^{n-k}}{dx^{n-k}}[y]\right)

    evaluate first two terms in the sum ie k = 0 and 1.


    \left( {nC0}\right)x^{<0>}y^{<n>}+ \left( {nC1}\right) x^{<1>}y^{<n-1>} + \ \displaystyle\sum_{k=2}^{n} \left( {nCk}\right) \left(\dfrac{d^k}{dx^k}[x]\right) \left(\dfrac{d^{n-k}}{dx^{n-k}}[y]\right)

    get the binomial coefficients and differentiate the second x term once

    \left( {1}\right)xy^{<n>}+ \left( {n}\right) 1y^{<n-1>} + 0

    the rest of the sum is zero as all remaining derivatives of x order 2 or higher are zero (differentiation with respect to x)
    giving  y^{<n+1>} = xy^{<n>} + ny^{<n-1>}
    • Thread Starter
    Offline

    3
    ReputationRep:
    Thanks a lot for your help guys - makes a lot more sense now.
    • Thread Starter
    Offline

    3
    ReputationRep:
    (Original post by swelshie)
    \dfrac{d^n}{dx^n}y' = \dfrac{d^n}{dx^n}\left( x\cdot y \right) = \displaystyle\sum_{k=0}^n \left( {nCk}\right) \left(\dfrac{d^k}{dx^k}[x]\right) \left(\dfrac{d^{n-k}}{dx^{n-k}}[y]\right)

    evaluate first two terms in the sum ie k = 0 and 1.


    \left( {nC0}\right)x^{<0>}y^{<  n>}+ \left( {nC1}\right) x^{<1>}y^{<n-1>} + \ \displaystyle\sum_{k=2}^{n} \left( {nCk}\right) \left(\dfrac{d^k}{dx^k}[x]\right) \left(\dfrac{d^{n-k}}{dx^{n-k}}[y]\right)

    get the binomial coefficients and differentiate the second x term once

    \left( {1}\right)xy^{<n>}+ \left( {n}\right) 1y^{<n-1>} + 0

    the rest of the sum is zero as all remaining derivatives of x order 2 or higher are zero (differentiation with respect to x)
    giving  y^{<n+1>} = xy^{<n>} + ny^{<n-1>}

    (Original post by Farhan.Hanif93)
    You're right, it is late! I even forgot to put in the \begin{pmatrix} n \\ r \end{pmatrix} coefficients... :sigh: Sorry for any confusion on that front. :o:
    Ok it now asks me to evaluate y^{(5)}(0). My guess: y^{(5)}(0)=xy^{(4)}(0)+4y^{(3)}(  0)=4y^{(3)}(0) but not really sure what to do from there (the answer should be 0).

    EDIT: I've put y^{(3)}(0) into the Leibniz thing and got it equal to 2y' which is of course 0, hence y^{(5)}(0)=0 - is that the right method?
    Offline

    3
    ReputationRep:
    (Original post by ViralRiver)
    Ok it now asks me to evaluate y^{(5)}(0). My guess: y^{(5)}(0)=xy^{(4)}(0)+4y^{(3)}(  0)=4y^{(3)}(0) but not really sure what to do from there (the answer should be 0).

    EDIT: I've put y^{(3)}(0) into the Leibniz thing and got it equal to 2y' which is of course 0, hence y^{(5)}(0)=0 - is that the right method?
    Yep, that's fine.
 
 
 
Write a reply… Reply
Submit reply

Register

Thanks for posting! You just need to create an account in order to submit the post
  1. this can't be left blank
    that username has been taken, please choose another Forgotten your password?
  2. this can't be left blank
    this email is already registered. Forgotten your password?
  3. this can't be left blank

    6 characters or longer with both numbers and letters is safer

  4. this can't be left empty
    your full birthday is required
  1. Oops, you need to agree to our Ts&Cs to register
  2. Slide to join now Processing…

Updated: November 19, 2011
TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

Poll
How are you feeling about doing A-levels?
Useful resources

Make your revision easier

Maths

Maths Forum posting guidelines

Not sure where to post? Read here first

Equations

How to use LaTex

Writing equations the easy way

Student revising

Study habits of A* students

Top tips from students who have already aced their exams

Study Planner

Create your own Study Planner

Never miss a deadline again

Polling station sign

Thinking about a maths degree?

Chat with other maths applicants

Can you help? Study help unanswered threads

Groups associated with this forum:

View associated groups
Study resources

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Quick reply
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.