How do you differentiate y=(x-2)^(x+1)y=(x2)x+1?

1 Answer
Feb 15, 2017

dy/dx= (x - 2)^(x + 1)((x- 2)ln(x - 2) + x + 1)/(x- 2)dydx=(x2)x+1(x2)ln(x2)+x+1x2

Explanation:

Take the natural logarithm of both sides.

lny = ln(x- 2)^(x + 1)lny=ln(x2)x+1

Now apply lna^n = nlnalnan=nlna.

lny= (x + 1)ln(x - 2)lny=(x+1)ln(x2)

Distribute:

lny = xln(x - 2) + ln(x- 2)lny=xln(x2)+ln(x2)

Now differentiate using the product rule and implicit differentiation. Let u = xu=x and v = ln(x - 2)v=ln(x2). By the product rule d/dx(uv) = u'v + v'u. The derivative of v, by the chain rule, is 1/(x - 2) and u is 1.

1/y(dy/dx) = 1ln(x - 2) + x/(x - 2) + 1/(x - 2)

1/y(dy/dx) = ((x - 2)ln(x - 2) + x + 1)/(x - 2)

dy/dx = y((x - 2)ln(x - 2) + x + 1)/(x- 2)

dy/dx= (x - 2)^(x + 1)((x- 2)ln(x - 2) + x + 1)/(x- 2)

Hopefully this helps!