Second derivative with chain rule

2 replies · 2K views · last reply
Yankel
Messages
390
Reaction score
0
Hello all,

I have a problem with second derivatives and chain rule.

I am working on the question attached (sorry, my Latex editor wasn't working...)

I need to find F'(1) and F''(1). I managed to solve F'(1), but I can't figure out F''(1). In the second image attached, you can see the solution I saw in the source where the question came from, but I don't understand it.

View attachment 2003

View attachment 2004

I was using a tree diagram to solve F'(1), wih f going to x and y, and y going to x.
Can you help me understand this solution ?
Thank you very much.
 
Attachments
  • Typed math problem: F(x) = f(x, x^3 + 2). Calculate F'(1) and F''(1) given f_x(1,3)=2, f_y(1,3)=-4, f_xx(1,3)=7, f_xy(1,3)=-6, f_yy(1,3)=0. Below, F'(1) = f_x(1,3) + f_y(1,3)·3·1^2 = -10.
    Capture.PNG
    2.8 KB · Views: 161
  • Equation: F''(x) = f_xx(x, x^3 + 2) + f_xy(x, x^3 + 2) · 3x^2 + (f_yx(x, x^3 + 2) + f_yy(x, x^3 + 2) · 3x^2) · 3x^2
    Capture1.PNG
    3.5 KB · Views: 173
I think it will be better to write this as F(x)= f(u, v) with u= x, v= x^3+ 2 so that we are not using "x" and "y" to mean different things.

Then dF/dx= f_u(du/dx}+ f_v(dv/dx)= f_u+ 3x^2f_v. Yes, dF/dx(1)= f_x(1,2)(1)+ f_y(1,2)(3)= 2(1)+ (-4)(3)= 2- 12= -10.

d^2F/dx^2= (d/dx)(f_u+ 3x^2f_v)= f_uu(du/dx)+f_uv(dvdx)+ 6xf_v+ 3x^2(f_uv(du/dx)+ f_vv(dv/dx)= f_uu(1)+ f_uv(3x^2)+ 6xf_v+ 3x^2(f_uv(1)+ f_vv(3x^2)

When x= 1, u= 1 and v= 3 so this is d^2F/dx^2= 7(1)+ (-6)(3)+ 6(1)(-4)+ 3(1^2)((-6)(1)+ 0(3)= 7- 18- 24- 18= 7- 60= -53.

-
 
First of all, thank you !

It took me some time to find out what you did, but I managed to create the corresponding tree diagram which puts logic into these things.

I repeated your development and final calculation and got the same result, and it even makes sense to me since I know where it came from.

Attached is the solution I had in hand. I guess they got it wrong then ?

View attachment 2007

Thanks again !
 
Attachments
  • Typeset chain rule computation of F''(x) = f_xx(x, x^3+2) + f_xy(x, x^3+2)·3x^2 + (f_yx(x, x^3+2) + f_yy(x, x^3+2))·3x^2·3x^2, and below it F''(1) = 7 + (-6)·3 + ((-6)+0)·3 = -11.
    Capture.PNG
    5.3 KB · Views: 155