Dear Uncle Colin,

What’s the second derivative of x2x24, and how would you work it out?

- Calculus Obviously Hasn’t Evolved Nicely

Hi, COHEN, and thanks for your message!

There’s an ugly way and a neat way. I’m going to call your expression y, so that it has a name.

The ugly way

The ugly way is to do it as it stands using the quotient rule.

u=x2, so dudx=2x; v = x24, so dvdx=2x.

Then dydx=2x(x24)2x(x2)(x24)2.

That simplifies a bit to 8x(x24)2.

We can use quotient rule again:

U=8x so dUdx=8; V=(x24)2, so dVdx=4x(x24).

That means d2ydx2=8(x24)2+32x2(x24)(x24)4.

There’s a factor of x24 that comes out: 8(x24)+32x2(x24)3, or 8(4+3x2)(x24)3.

OK. Not too awful, but pretty ugly.

Neater

  • y=x2x24=1+4x24.
  • y=1+4x24=1+1x21x+2.

That’s a lot easier to differentiate!

  • dydx=(x2)2+(x+2)2
  • d2ydx2=2(x2)32(x+2)3

That’s a nice answer! If they really want it in fractional form:

  • =2(x+2)3(x2)3(x2)3(x+2)3
  • =212x2+16(x24)3
  • =83x2+4(x24)3, as before.

Hope that helps!

- Uncle Colin