Question Video: Differentiating a Composition of Logarithmic and Rational Functions Using the Chain Rule Mathematics • Higher Education

Find d𝑦/dπ‘₯, given that 𝑦 = ln(βˆ’8π‘₯Β²/7π‘₯ βˆ’ 3).

04:57

Video Transcript

Find d𝑦 by dπ‘₯, given that 𝑦 is equal to the natural logarithm of negative eight π‘₯ squared divided by seven π‘₯ minus three.

The question wants us to find d𝑦 by dπ‘₯. That’s the first derivative of 𝑦 with respect to π‘₯. And we can see that 𝑦 is the natural logarithm of a rational function. So, one way of finding d𝑦 by dπ‘₯ would be to use the quotient rule to differentiate our rational function. We could then use the chain rule to find d𝑦 by dπ‘₯. And this would work. However, there’s a simpler method in this case.

We’re going to use our laws of logarithms to simplify our expression. The first thing we’ll do is bring our multiplication by negative one into our denominator. This gives us the natural logarithm of eight π‘₯ squared divided by three minus seven π‘₯. Next, we want to use the fact that the log of π‘Ž minus the log of 𝑏 is equal to the log of π‘Ž divided by 𝑏. We’ll use this to write our logarithm of a quotient as the difference between two logarithms.

Doing this, we get the natural logarithm of eight π‘₯ squared minus the natural logarithm of three minus seven π‘₯. And we can now see both terms in this expression for 𝑦 are a composition of two functions. So, we’ll differentiate this by using the chain rule. And we recall the chain rule tells us, for functions 𝑓 and 𝑔, the derivative of 𝑓 composed with 𝑔 is equal to 𝑔 prime of π‘₯ times 𝑓 prime evaluated at 𝑔 of π‘₯.

So, let’s start by differentiating our first function. We’ll set 𝑓 to be the natural logarithm function and 𝑔 to be eight π‘₯ squared. So, we now have 𝑓 of 𝑔 is equal to the natural logarithm of 𝑔. We need to find an expression for 𝑓 prime of 𝑔. And we can differentiate this because we know the derivative of the natural logarithm of π‘₯ is equal to one divided by π‘₯. This gives us 𝑓 prime of 𝑔 is equal to one over 𝑔.

Next, we need to find an expression for 𝑔 prime of π‘₯. We know that 𝑔 of π‘₯ is eight π‘₯ squared. So, we can differentiate this by using the power rule for differentiation. We multiply by the exponent of π‘₯, which is two, and reduce this exponent by one. So, we get 𝑔 prime of π‘₯ is equal to 16π‘₯. So, now, we’re ready to evaluate the derivative of our first term. By the chain rule, this is equal to 𝑔 prime of π‘₯ times 𝑓 prime of 𝑔. We showed that 𝑔 prime of π‘₯ is 16π‘₯ and 𝑓 prime of 𝑔 is one over 𝑔.

And remember, 𝑔 of π‘₯ is equal to eight π‘₯ squared. So, we’ll substitute this into our expression for our derivative. And this is equal to 16π‘₯ divided by eight π‘₯ squared. And we can simplify this. We’ll cancel the shared factor of π‘₯ in the numerator and the denominator. And we’ll divide by both of our numerator and our denominator through by eight. This gives us two divided by π‘₯. So, we found the derivative of our first term. It’s equal to two over π‘₯. Let’s now clear our working and then find the derivative of our second term.

We’re gonna want to use the chain rule. So, we’ll set 𝑓 to be the natural logarithm function. And we’ll set 𝑔 to be our inner function three minus seven π‘₯. Again, we get that 𝑓 evaluated at 𝑔 is the natural logarithm of 𝑔. And again, we know the derivative of the natural logarithm of π‘₯ is one over π‘₯. So, 𝑓 prime of 𝑔 is one over 𝑔. Next, 𝑔 of π‘₯ is our inner function three minus seven π‘₯. And this is a linear function, so its derivative is just the coefficient of π‘₯, which in this case is negative seven.

We’re now ready to evaluate the derivative of our second term by using the chain rule. It’s equal to 𝑔 prime of π‘₯ times 𝑓 prime evaluated at 𝑔. And we showed 𝑔 prime of π‘₯ is negative seven and 𝑓 prime of 𝑔 is one over 𝑔. And again, we know that 𝑔 of π‘₯ is equal to three minus seven π‘₯. So, we’ll substitute this into our derivative. And this gives us negative seven divided by three minus π‘₯. We’ll actually multiply both of our numerator and our denominator through by negative one. And this give us seven divided by seven π‘₯ minus three.

So, we’ve now differentiated both terms in our expression for 𝑦. This means we can find d𝑦 by dπ‘₯. So, d𝑦 by dπ‘₯ will be the difference between our derivatives. That’s two over π‘₯ minus seven divided by seven π‘₯ minus three. And we could leave our answer like this. However, we’ll combine this into one rational function. Cross multiplying and then combining our fractions, we get two times seven π‘₯ minus three minus seven π‘₯ all divided by π‘₯ times seven π‘₯ minus three.

Multiplying out the parentheses in our numerator, we get 14π‘₯ minus six minus seven π‘₯. And 14π‘₯ minus seven π‘₯ is equal to seven π‘₯. So, our numerator simplifies to give us seven π‘₯ minus six. The last thing we’ll do is distribute the π‘₯ in our denominator over our parentheses. This gives us seven π‘₯ squared minus three π‘₯. And this is our final answer. Therefore, we’ve shown if 𝑦 is equal to the natural logarithm of negative eight π‘₯ squared divided by seven π‘₯ minus three, then d𝑦 by dπ‘₯ is equal to seven π‘₯ minus six all divided by seven π‘₯ squared minus three π‘₯.

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy.