Issue calculating the derivative of a rational function

Click For Summary
The discussion revolves around calculating the derivative of the rational function f(x) = √(ax) / (√(ax) - 1). The initial calculation of the derivative yielded an incorrect form, leading to confusion about the correct result. Participants clarified that the derived term a/√(ax) can be rewritten as √(ax)/x, aligning it with the textbook's answer. Ultimately, the confusion was resolved, confirming that the original calculation was indeed correct but needed a different expression format for clarity. The conversation highlights the importance of recognizing equivalent expressions in derivative calculations.
greg_rack
Gold Member
Messages
361
Reaction score
79
Homework Statement
Find the derivative of:
$$f(x)=\frac{\sqrt{ax}}{\sqrt{ax}-1}$$
Relevant Equations
Theorems of the algebra of derivatives
First, I calculated the derivative of
$$D(\sqrt{ax})=\frac{a}{2\sqrt{ax}}$$
Then, by applying the due theorems, I calculated the deriv of the whole function as follows:
$$
f'(x)=\frac{\frac{a}{2\sqrt{ax}}(\sqrt{ax}-1)-\sqrt{ax}(\frac{a}{2\sqrt{ax}})}{(\sqrt{ax}-1)^2}=
-\frac{a}{2\sqrt{ax}(\sqrt{ax}-1)^2}$$
Which is not the correct result I should get.
 
Physics news on Phys.org
greg_rack said:
Homework Statement:: Find the derivative of:
$$f(x)=\frac{\sqrt{ax}}{\sqrt{ax}-1}$$
Relevant Equations:: Theorems of the algebra of derivatives

First, I calculated the derivative of
$$D(\sqrt{ax})=\frac{a}{2\sqrt{ax}}$$
Then, by applying the due theorems, I calculated the deriv of the whole function as follows:
$$
f'(x)=\frac{\frac{a}{2\sqrt{ax}}(\sqrt{ax}-1)-\sqrt{ax}(\frac{a}{2\sqrt{ax}})}{(\sqrt{ax}-1)^2}=
-\frac{a}{2\sqrt{ax}(\sqrt{ax}-1)^2}$$
Which has nothing to do with the correct result I should get.

Your work and result are entirely correct though:

https://www.wolframalpha.com/input/?i=\sqrt{ax}/(\sqrt{ax}-1)+derivative

Alternatively, you can define ##g(x) = \frac{x}{x-1}## and note that ##f(x) = g(\sqrt{ax})## and invoke the chain rule to calculate the derivative, but your approach is the most natural.
 
  • Like
Likes greg_rack
Math_QED said:
Your work and result are entirely correct though:

https://www.wolframalpha.com/input/?i=\sqrt{ax}/(\sqrt{ax}-1)+derivative

Alternatively, you can define ##g(x) = \frac{x}{x-1}## and note that ##f(x) = g(\sqrt{ax})## and invoke the chain rule to calculate the derivative, but your approach is the most natural.
Mmm, that's odd but plausible.
Here's what my textbook regards as the correct form:
$$f'(x)=-\frac{\sqrt{ax}}{2x(\sqrt{ax}-1)^2}$$
Is there a way to write my ##\frac{a}{\sqrt{ax}}## term in the form of ##\frac{\sqrt{ax}}{x}##?
I've thought about it but didn't find a solution... is simply the textbook wrong?
 
greg_rack said:
Which is not the correct result I should get.
It looks right to me too. Another idea is that sometimes these things are easier with a general function:
$$f(x) = \frac{g(x)}{g(x) - 1}$$ $$f'(x) = \frac{g'(x)}{g(x) - 1} - \frac{g(x)g'(x)}{(g(x) - 1)^2} = \frac{-g'(x)}{(g(x) - 1)^2}$$
 
  • Like
Likes greg_rack
$$
-\frac{a}{2\sqrt{ax}(\sqrt{ax}-1)^2} =? -\frac{\sqrt{ax}}{2x(\sqrt{ax}-1)^2}$$
 
PeroK said:
Is there a way to write my ##\frac{a}{\sqrt{ax}}## term in the form of ##\frac{\sqrt{ax}}{x}##?
I've thought about it but didn't find a solution... is simply the textbook wrong?
Those expressions look very equal to me!
 
  • Haha
Likes greg_rack
Guys, nevermind... I simply didn't notice that ##\frac{a}{\sqrt{ax}}##(my result) is just the same as ##\frac{\sqrt{ax}}{x}## from the textbook!
Silly me, by the way, thanks for the ideas and help! @PeroK @Math_QED :cool:
 
  • Like
Likes PeroK
greg_rack said:
Guys, nevermind... I simply didn't notice that ##\frac{a}{\sqrt{ax}}##(my result) is just the same as ##\frac{\sqrt{ax}}{x}## from the textbook!
Silly me, by the way, thanks for the ideas and help! @PeroK @Math_QED :cool:

Yes, some people like to not have squares in the denominator so one simply multiplier both numerator and denominator by the relevant square so that the square disappears in the denominator.
 
  • Like
Likes greg_rack

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
1K
Replies
8
Views
2K
  • · Replies 18 ·
Replies
18
Views
5K
  • · Replies 105 ·
4
Replies
105
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
2K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K