Why Does My Calculated Derivative Differ from Mathematica's?

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 3K views
Orion1
Messages
961
Reaction score
3

I am attempting to find the derivative of this function using the definition of derivative, however my solution is not the same as Mathematica's solution.

Is my formulation incorrect on some protocol somewhere? :rolleyes:

[tex]G(t) = \frac{4t}{t + 1}[/tex]
[tex]G'(t) = \lim_{h \rightarrow 0} [(\frac{4(t + h)}{(t + h) + 1}) - (\frac{4t}{t + 1})] \frac{1}{h}[/tex]

[tex]\lim_{h \rightarrow 0} [(\frac{4(t + h)}{(t + h) + 1}) - (\frac{4t}{t + 1})] \frac{1}{h} = \lim_{h \rightarrow 0} 4 [\frac{(t + h)(t + 1)}{(t + h + 1)(t + 1)} - \frac{t(t + h + 1)}{(t + 1)(t + h + 1)}] \frac{1}{h}[/tex]

[tex]\lim_{h \rightarrow 0} 4[ \frac{(t + h)(t + 1) - t(t + h + 1)}{(t + h + 1)(t + 1)}] \frac{1}{h} = \lim_{h \rightarrow 0} 4[ \frac{(t^2 + ht + t + h - t^2 - ht - t)}{(t^2 + ht + 2t + h + 1)}] \frac{1}{h}[/tex]

[tex]\lim_{h \rightarrow 0} [ \frac{4h}{(t^2 + ht + 2t + h + 1)}] \frac{1}{h} = \lim_{h \rightarrow 0} ( \frac{4}{t^2 + ht + 2t + h + 1} ) = \frac{4}{t^2 + 2t + 1}[/tex]

[tex]\boxed{G'(t) = \frac{4}{(t + 1)^2}}[/tex]

Mathematica solution:
[tex]- \frac{4t}{(1 + t)^2} + \frac{4}{t + 1}[/tex]
[/Color]
 
Physics news on Phys.org
[tex]\frac{4}{(t+1)^2}=- \frac{4t}{(1 + t)^2} + \frac{4}{t + 1}[/tex]


No mistakes :smile:

Check it!
 
Orion1 said:
I am attempting to find the derivative of this function using the definition of derivative, however my solution is not the same as Mathematica's solution.
Is my formulation incorrect on some protocol somewhere? :rolleyes:
[tex]G(t) = \frac{4t}{t + 1}[/tex]
[tex]G'(t) = \lim_{h \rightarrow 0} [(\frac{4(t + h)}{(t + h) + 1}) - (\frac{4t}{t + 1})] \frac{1}{h}[/tex]
[tex]\lim_{h \rightarrow 0} [(\frac{4(t + h)}{(t + h) + 1}) - (\frac{4t}{t + 1})] \frac{1}{h} = \lim_{h \rightarrow 0} 4 [\frac{(t + h)(t + 1)}{(t + h + 1)(t + 1)} - \frac{t(t + h + 1)}{(t + 1)(t + h + 1)}] \frac{1}{h}[/tex]
[tex]\lim_{h \rightarrow 0} 4[ \frac{(t + h)(t + 1) - t(t + h + 1)}{(t + h + 1)(t + 1)}] \frac{1}{h} = \lim_{h \rightarrow 0} 4[ \frac{(t^2 + ht + t + h - t^2 - ht - t)}{(t^2 + ht + 2t + h + 1)}] \frac{1}{h}[/tex]
[tex]\lim_{h \rightarrow 0} [ \frac{4h}{(t^2 + ht + 2t + h + 1)}] \frac{1}{h} = \lim_{h \rightarrow 0} ( \frac{4}{t^2 + ht + 2t + h + 1} ) = \frac{4}{t^2 + 2t + 1}[/tex]
[tex]\boxed{G'(t) = \frac{4}{(t + 1)^2}}[/tex]
Mathematica solution:
[tex]- \frac{4t}{(1 + t)^2} + \frac{4}{t + 1}[/tex]
[/Color]

It's the same result, so yours is also correct.