Introduction / Summary of Differentiation

In summary, the conversation discusses the concept of differentiation and its applications in finding derivatives, gradients, and tangents of functions. It also introduces various rules for differentiating functions, such as the power rule, constant coefficient rule, and sum rule. The conversation assumes that the reader has some knowledge of limits and how to implement them.
  • #1
Hootenanny
Staff Emeritus
Science Advisor
Gold Member
9,622
9
As the title suggests this thread is intended as a summary of differentiation, it is by no means an attempt at an exhaustive discussion of the topic. A detailed knowledge of limits is not required but is useful, it is assumed that the reader has some knowledge of limits and how to implement them. As always I welcome comments and corrections either here of via PM.

The Definition of a Derivative

The derivative ([itex]f'(x)[/itex]) of a function [itex]f(x)[/itex] with respect to [itex]x[/itex] is given by the limit;

[tex]f'(x)=\lim_{h\to0}\;\frac{f(x+h)-f(x)}{h}[/tex]

Provided the limit exists. If the limit exist at a point x0 we say that the function is differentiable at this point.

As can be seen from the plots below, as [itex]h[/itex] approaches zero, the secants of the curve tend to the tangent at a point x, this gives the gradient of the curve at point x (provided the function is differentiable at point x). Note however, that in the above limit we cannot simply set [itex]h[/itex] as zero directly as our limit would [itex]\to\pm\infty[/itex] and thus, the limit would not exist. We must therefore manipulate the limit into a form where this does not occur.

http://upload.wikimedia.org/wikipedia/en/thumb/a/aa/Lim-secant.png/300px-Lim-secant.png http://upload.wikimedia.org/wikipedia/en/thumb/3/37/Tangent-calculus.png/300px-Tangent-calculus.png
Images taken from Wikipedia

Example
Find the derivative of [itex]f(x)= x^2+2[/itex]
Solution;
[tex]f'(x)=\lim_{h\to0}\;\frac{f(x+h)-f(x)}{h}\;\;\rightarrow \lim_{h\to0}\;\frac{(x+h)^2+2-(x^2+2)}{h}[/tex]
[tex]=\lim_{h\to0}\;\frac{\not{x^2}+h^2+2hx +\not{2}-\not{x^2}-\not{2}}{h}= lim_{h\to0}\;\frac{\not{h}(h+2x)}{\not{h}}[/tex]
[tex]\therefore f'(x)=2x[/tex]​

Finding the Gradient and Tangent to a Curve at a Point
We already now that the derivative of a function gives the gradient of a curve at any point that is differentiable. This allows us to find the gradient of the function at any point x where the curve is differentiable. This then allows us to find the equation of the tangent to the curve at any point x where the function is differentiable.

Example
Find the equation of the tangent to the curve with equation [itex]y=f(x)=x^2+2[/itex] at x=3.
Solution;
We know that the tangent is a straight line and therefore has an equation of the form [itex]y=mx+c[/itex]. We have already found the derivative above which gives the gradient (m) of any point x on the curve y=f(x) (provided f(x) is differentiable at x). Therefore we can say that;

[tex]m=\left. \frac{dy}{dx}\;\;\right|_{x=3}=2\cdot3=6[/tex]

We can find the corresponding y value to x=3 using the original equation [itex]y=x^2+2[/itex];
[tex]y=3^2+2=11[/tex]
We can then use this information to find the equation of the tangent at point [itex](x,y)=(3,11)[/itex];
[tex]y=mx+c \rightarrow 11=3\cdot 6 + C \Rightarrow C = -7[/tex]
[itex]\therefore[/itex] the equation of the tangent to the curve [itex]y=x^2+2[/itex] at the point [itex](x,y)=(3,11)[/itex] is [itex]y=6x-7[/itex].​
 
Last edited by a moderator:
Mathematics news on Phys.org
  • #2
Rules of Differentiation

Using the definition of a derivative every time we wish to differentiate a function becomes tedious after a while. It is therefore desirable to derive a series of rules which allows us to differentiate a variety of functions without having to refer to the above definition.

1. Derivative of a Constant Function
If [itex]f[/itex] has a constant value [itex]f(x)=c[/itex], then;

[tex]f'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}{h}=\lim_{h\to0}\frac{c-c}{h}=0[/tex]

[tex]\therefore {\color{red}\boxed{{\color{black}\frac{d}{dx}\;(c) = 0}}}[/tex]

2. Power Rule for Positive Integers
If [itex]f(x)=x^{n}[/itex] and [itex] n\in\mathbb{Z},\;n>0[/itex] then;

[tex]f'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}{h}=\lim_{h\to0}\frac{(x+h)^{n}-x^{n}}{h}[/tex]
Since n is a positive integer we can use the binomial theorem to expand the parentheses;

[tex]=\lim_{h\to0}\frac{\left\{\not{x^n} + nx^{-1}\cdot h + \frac{n(n-1)}{2!}\cdot x^{n-2}h^{2} + \ldots + nxh^{n-1}+h^{n}\right\}-\not{x^{n}}}{h}[/tex]

[tex]=\lim_{h\to0}\frac{nx^{-1}\cdot h + \frac{n(n-1)}{2!}\cdot x^{n-2}h^{2} + \ldots + nxh^{n-1}+h^{n}}{h}[/tex]

One h from each term in the numerator will cancel with the h is the denominator leaving;

[tex]=\lim_{h\to0}\; nx^{-1} + \frac{n(n-1)}{2!}\cdot x^{n-2}h + \ldots + nxh^{n-2}+h^{n-1}[/tex]

As [itex]h\to0[/itex] all terms except the first drop out leaving;

[tex]f'(x)=nx^{n-1}[/tex]

[tex]\therefore {\color{red}\boxed{{\color{black}\frac{d}{dx}\;n^{n} = nx^{n-1}\;\;\; n\in\mathbb{Z},\;n>0}}}[/tex]

Note that this can be shown to be true for all integers (which will be done later).

3. Constant Coefficient Rule
If [itex]f[/itex] is a differentiable function of [itex]x[/itex] and [itex]c[/itex] is constant then;

[tex]f'(x)=\lim_{h\to0}\frac{cf(x+h)-cf(x)}{h} \stackrel{Limit\;Property}{=} c\cdot\lim_{h\to0}\frac{f(x+h)-f(x)}{h}[/tex]

Since the RHS of the equality is the definition of the derivative we can say that;

[tex]{\color{red}\boxed{{\color{black}\frac{d}{dx}\;(cf(x)) = c\cdot\frac{df}{dx}}}}[/tex]

4. The Derivative of a Sum
If we take two functions of [itex]x[/itex]; [itex]u[/itex] and [itex]v[/itex], both of which are differentiable then;

[tex]\frac{d}{dx} \left(u(x)+v(x)\right) = \lim_{h\to0}\frac{(u(x+h)+v(x+h))-(u(x)+v(x))}{h}[/tex]

We can then split this into two fractions;

[tex]=\lim_{h\to0}\left\{ \frac{u(x+h)-u(x)}{h}+\frac{v(x+h)-v(x)}{h}\right\}[/tex]

[tex]=\lim_{h\to0}\frac{u(x+h)-u(x)}{h} + \lim_{h\to0}\frac{v(x+h)-v(x)}{h}\right\} = \frac{du}{dx}+\frac{dv}{dx}[/tex]

[tex]\therefore {\color{red}\boxed{{\color{black}\frac{d}{dx}\;(u+v)=\frac{du}{dx}+\frac{dv}{dx}}}}[/tex]

The sum rule can be shown to hold for differences (i.e. [itex](u-v)[/itex]) by combining the sum rule with the constant multiple rule and setting [itex]c=-1[/itex].
 
Last edited:
  • #3
5. Product Rule
Suppose we have two functions of [itex]x[/itex] - [itex]u(x)[/itex] and [itex]v(x)[/itex] both differentiable at [itex]x[/itex] - and we wish to find the derivative of their product, then from our definition of the derivative we can write;

[tex]\frac{d}{dx}\;(u\dot v) = \lim_{h\to0}\frac{u(x+h)\cdot v(x+h)-u(x)\cdot v(x)}{h}[/tex]

The next step may appear nonsensical initially but is necessary so we can evaluate the limits of [itex]u[/itex] and [itex]v[/itex] separately. The next step is to add and then subtract [itex]u(x+h)\cdot v(x)[/itex] from the numerator (the additions are highlighted in blue);

[tex]=\lim_{h\to0}\frac{u(x+h)\cdot v(x+h) {\color{blue}-u(x+h)\cdot v(x) +u(x+h)\cdot v(x)} -u(x)\cdot v(x)}{h}[/tex]
[tex]=\lim_{h\to0}\left\{ \frac{u(x+h)\cdot v(x+h) {\color{blue}-u(x+h)\cdot v(x)}}{h}+\frac{{\color{blue}u(x+h)\cdot v(x)} - u(x)\cdot v(x)}{h}\right\}[/tex]

We can now take a factor of [itex]u(x+h)[/itex] from the first ratio and a factor of [itex]v(x)[/itex] from the second ratio, giving;

[tex]=\lim_{h\to0}\left\{ u(x+h)\cdot\frac{v(x+h)-v(x)}{h}+v(x)\cdot\frac{u(x+h)-u(x)}{h}\right\} = \lim_{h\to0}\; u(x+h)\cdot \lim_{h\to0}\frac{v(x+h)-v(x)}{h}+\lim_{h\to0}\frac{u(x+h)-u(x)}{h}[/tex]

Since we stated that both [itex]u[/itex] and [itex]v[/itex] are differentiable at [itex]x[/itex] this implies that both are continuous* at [itex]x[/itex], therefore as [itex]h[/itex] approaches zero, [itex]u(x+h)[/itex] approaches [itex]u(x)[/itex]. Therefore, the above limits become what is known as the product rule;

[tex]{\color{red}\boxed{{\color{black}\frac{d}{dx}\;(u\cdot v)= u\cdot\frac{dv}{dx}+v\cdot\frac{du}{dx}}}}[/tex]

Example
Find;
[tex]\frac{d}{dx}\left\{ (x^4+4)\cdot (x^2-1)\right\}[/tex]

Solution;
Let [itex]u(x):=x^4+4[/itex] and [itex]v(x):=x^2-1[/itex]. First we must find [itex]u'(x)[/itex] and [itex]v'(x)[/itex] for this we can use the power and the constant rule (I will not show all the steps here since the application of the rules are simple) which gives;

[tex]\frac{du}{dx} = 4x^3 \;\;\;\;\;\;\;\;\ \frac{dv}{dx} = 2x[/tex]

Therefore, using the product rule we obtain;

[tex]\frac{d}{dx} (x^4+4)\cdot (x^2-1) =u\frac{dv}{dx}+v\frac{du}{dx}= (x^4+4)\cdot 2x + (x^2-1)\cdot 4x^2 = 2(x^5 + 2x^4 -2x^2 + 4x)[/tex]
[tex]\hline[/tex]
*To prove this would require a discussion of limits, which I have already said I will not do here. If you wish to see a proof of this, then I will be happy to oblige via PM but a knowledge of limits is required beforehand.
 
Last edited:
  • #4
6. The Quotient Rule
Suppose we again have two functions of [itex]x[/itex] ([itex]u(x)[/itex] and [itex]v(x)[/itex]), both of which are differentiable at [itex]x[/itex] and [itex]v(x)\neq0[/itex]. What if we wish to find the derivative of the ratio of the two functions?

[tex]\frac{d}{dx}\left(\frac{u(x)}{v(x)}\right) = \lim_{h\to0}\frac{\frac{u(x+h)}{v(x+h)}-\frac{u(x)}{v(x)}}{h}[/tex]

[tex]=\lim_{h\to0}\frac{v(x)\cdot u(x+h) - u(x)\cdot v(x+h)}{h\cdot v(x+h)\cdot v(x)}[/tex]

Again, here we must take the seemingly nonsensical step of adding and subtracting [itex]u(x)\cdot v(x)[/itex] from the numerator. However, this will allow us to write two difference ratios for the derivatives of [itex]u(x)[/itex] and [itex]v(x)[/itex] (again this step is highlighted in blue);

[tex]=\lim_{h\to0}\frac{v(x)\cdot u(x+h) {\color{blue}-u(x)\cdot v(x) + u(x)\cdot v(x)} -u(x)\cdot v(x+h)}{h\cdot v(x+h)\cdot v(x)}[/tex]

[tex]=\lim_{h\to0}\frac{v(x)\cdot{\color{red}\frac{u(x+h)-u(x)}{h}}-u(x)\cdot{\color{red}\frac{v(x+h)-v(x)}{h}}}{v(x+h)\cdot v(x)}[/tex]

Notice that the two ratios highlighted in red are the derivative of the functions [itex]u(x)[/itex] and [itex]v(x)[/itex] respectively. Notice also that as [itex]h\to0[/itex], then [itex]v(x+h)\cdot v(x) \to (v(x))^2[/itex]. Therefore when we evaluate our limit we obtain;

[tex]{\color{red}\boxed{{\color{black}\frac{d}{dx}\left(\frac{u}{v}\right)=\frac{v\frac{du}{dx}-u\frac{du}{dx}}{v^2}}}}[/tex]

Example
Find;
[tex]\frac{d}{dx}\left(\frac{x^2+1}{x^2-1}\right)[/tex]

Solution;
Let [itex]u(x)=x^2+1[/itex] and [itex]v(x)=x^2-1[/itex], then,

[tex]\frac{du}{dx}=2x \;\;\;\;\;\; \frac{dv}{dx}=2x\;\;\;\;\;\; (v(x))^2 = (x^2-1)^2[/tex]

[tex]\Rightarrow \frac{d}{dx}\frac{x^2+1}{x^2-1} = \frac{2x\cdot(x^2+1) - 2x\cdot(x^2-1)}{(x^2-1)^2} = \frac{4x^3+4x}{(x^2-1)}[/tex]
 
Last edited:
  • #5
7. Power Rule for Negative Integers
Suppose we have [itex]x^n[/itex], where [itex]n \in \mathbb{Z},\; n<0[/itex] and [itex]n=-m[/itex], where [itex]m \in \mathbb{Z},\; n>0[/itex]. Hence we can say that;

[tex]x^n=x^{-m}=\frac{1}{x^m}[/tex]

Therefore, using the quotient rule (and positive power rule) we can say that;

[tex]\frac{d}{dx}\;x^n = \frac{d}{dx}\;\frac{1}{x^m} = \frac{x^m\cdot\frac{d}{dx}(1) - 1\cdot\frac{d}{dx}\;x^m}{(x^m)^2}[/tex]

[tex]=\frac{0-mx^{m-1}}{x^{2m}} = -mx^{-m-1} \stackrel{n=-m}{=}nx^{n-1}[/tex]

This result is identical to the power rule for positive integers, we can therefore generalise the power rule thus;

[tex]\therefore {\color{red}\boxed{{\color{black}\frac{d}{dx}\;n^{ n} = nx^{n-1}\;\;\; n\in\mathbb{Z}}}}[/tex]

I do not think an example is necessary here.
 
  • #6
Can you continue proving the Power rule for all real numbers using logarithmic differentiation.
 
  • #7
minase said:
Can you continue proving the Power rule for all real numbers using logarithmic differentiation.
Hi Minase,
Thank you for your comments. I am planning to discuss the definition and differentiation of logarithmic and exponential functions later in the tutorial. Prior to this I will consider the chain rule, implicit differentiation and differentiation of trigonometric functions.
 
  • #8
8. The Chain Rule

Note; This proof requires knowledge of Linear Approximations and Differentials. For those who have not met linearization or differentials before, I will provide a external link to a 'rough proof' later and you may skip the following section.

[tex]\hrule[/tex]​

The chain rule is used to find the derivative of a composite function (in other words a function of a function).

Provided [itex]f(x)[/itex] is differentiable at [itex]\delta[/itex], then we can show that the respective change in [itex]f[/itex] as [itex]\delta[/itex] changes to [itex]\delta+\Delta x[/itex] is given by;

[tex]\underbrace{f(x+\delta)-f(x)}_{\text{Change in }f}=\underbrace{f'(\delta)}_{\text{approximation}}+\underbrace{\epsilon\Delta x}_{\text{error}}[/tex]
Where [itex]\Delta x \to 0\Rightarrow \epsilon\to0[/itex].

Let [itex]u=g(x)[/itex] be differentiable at [itex]x[/itex] and [itex]f(u)[/itex] be differentiable at [itex]g(x)[/itex]. Also, let [itex]\Delta x, \Delta y, \Delta u[/itex] be the respective changes in [itex]x, y, x[/itex]. Then from the above equation form the following system;

[tex]\Delta u = g'(x)\Delta x + \epsilon_{0}\Delta x[/tex]
[tex]\Delta y = f'(u)\Delta u + \epsilon_{1}\Delta u[/tex]

Substituting [itex]\Delta u[/itex] into [itex]\Delta y[/itex] gives;

[tex]\Delta y = f'(u)\left\{ g'(x)\Delta x + \epsilon_{0}\Delta x\right\} + \epsilon_{1}\left\{ g'(x)\Delta x + \epsilon_{0}\Delta x\right\}[/tex]

Expanding the parenthesis;

[tex]\Delta y = f'(u)g'(x)\Delta x + f'(u)\epsilon_{0}\Delta x + \epsilon_{1}g'(x)\Delta x + \epsilon_{1}\epsilon_{0}\Delta x[/tex]

Dividing throughout by [itex]\Delta x[/itex];

[tex]\frac{\Delta y}{\Delta x} = f'(u)g'(x) + f'(u)\epsilon_{0} + \epsilon_{1}g'(x) + \epsilon_{1}\epsilon_{0}[/tex]

Since we want to find the derivative at a point we let [itex]\Delta x\to0[/itex] (recall that [itex]\epsilon\to0[/itex] as [itex]\Delta x\to0[/itex]), thus obtaining;

[tex]\lim_{\Delta x\to0}\;\left( f'(u)g'(x) + f'(u)\epsilon_{0} + \epsilon_{1}g'(x) + \epsilon_{1}\epsilon_{0}\right)[/tex]

[tex]=f'(u)g'(x) \stackrel{u=g(x)}{=} f'(g(x))\cdot g(x)[/itex]

[tex]\therefore{\color{red}\boxed{{\color{black}\frac{dy}{dx}\; f\circ g(x) = \frac{dy}{dx}\; f(g(x)) = f'(g(x))\cdot g'(x) = \frac{dy}{du}\cdot\frac{du}{dx} }}}[/tex]

[tex]{\color{blue}\hrule}[/tex]

http://web.mit.edu/wwmath/calculus/differentiation/chain-proof.html"
from World Web Math, MIT
This 'proof' is intended for those who have not met differentials and linearization previously, so that they can see that the chain rule has some grounding. This should by no means be considered a correct formal proof.

[tex]{\color{blue}\hrule}[/tex]​

Example;
Find;
[tex]\frac{d}{dx}\;(2x^2+x)^3[/tex]

Solution;
Using Leibniz's notation, let [itex] u=2x^2+x[/itex], therefore we have;

[tex]\frac{d}{dx}\;(2x^2+x)^3 = \left\{ \frac{d}{du} u^3 \right\} \cdot \left\{ \frac{d}{dx} (2x^2+x) \right\}[/tex]

[tex]=3\cdot u^2 \cdot (4x+1) = 3\cdot(2x^2+x)^2\cdot(4x+1)[/tex]
[tex]\hrule[/itex]

Note that the chain rule can be used multiple times to find a derivative.
 
Last edited by a moderator:
  • #9
A correction in post number four. The formula should read;

[tex]{\color{red}\boxed{{\color{black}\frac{d}{dx}\left (\frac{u}{v}\right)=\frac{v\frac{du}{dx}-u\frac{dv}{dx}}{v^2}}}}[/tex]

As an aside it can also be expressed, perhaps more succinctly, thus;

[tex]{\color{red}\boxed{{\color{black}\frac{d}{dx}\left (\frac{u}{v}\right)=\frac{v\cdot u' - u\cdot v'}{v^2}}}}[/tex]
 
  • #10
Implicit Differentiation
Up until this point we have always considered functions which can be written explicitly in the form of [itex]y=ax^n + bx^{n-1}...[/itex], these are known an explicit functions. However, some functions or equations can not be written explicitly, instead they must be define in terms of a relationship between two variables, these are known as implicit functions. An example of an implicit function would be that of a unit circle; [itex]x^2 + y^2 =1[/itex]. On occasions it may be possible to write such equations in an explicit form, however, it is often preferable to differentiate implicit functions implicitly as they are.

When we differentiate implicitly we differentiate the implicit function with respect to the desired variable (x for example); we then treat other variables (y for example) as unknown functions of x and differentiate them accordingly using the chain rule. There is no formula to learn here (except the chain rule obviously), it is simply a technique you must practise.

Example;
Find an expression for the gradient of the unit circle at any given point (x,y)

Solution;

The equation for the unit circle in Cartesian coordinates is given by [itex]x^2 + y^2 =1[/itex] . Now, to find the gradient we must differentiate both sides of the equation with respect to x;

[tex]\frac{d}{dx}\; x^2 + y^2 = \frac{d}{dx}\;1[/tex]

Now, the derivative of x2 is a simple application of the chain rule; the derivative of 1 is again a simple application of the constant rule, so that leaves us with;

[tex]2x + \frac{d}{dx}\; y^2 = 0 [/tex]

Now, since y is some (unknown) function of x; we can apply the chain rule here. (Refresh your knowledge of the chain rule if required) We therefore obtain;

[tex] 2x + y\cdot\frac{dy}{dx} = 0[/tex]

[tex]\therefore \;\;\; \frac{dy}{dx} = -\frac{2x}{y}[/tex]
 
  • #11
A typo in my previous post. The penultimate line in the example should read as follows;

[tex] 2x + {\color{red}2}\cdot y\cdot\frac{dy}{dx} = 0[/tex]

And therefore the final line will read;

[tex]\therefore \;\;\; m = \frac{dy}{dx} = -\frac{x}{y}[/tex]

Apologies for any confusion.
 
  • #12
In the example given for the quotient rule the answer should be, I hope:-

[tex]\frac{d}{dx}\left(\frac{x^2+1}{x^2-1}\right)[/tex]

[tex]\Rightarrow \frac{d}{dx}\frac{x^2+1}{x^2-1} = \frac{2x\cdot(x^2-1) - 2x\cdot(x^2+1)}{(x^2-1)^2} = -\frac{4x}{(x^2-1)^2}[/tex]

You have no idea how long I puzzled over your answer before I realized that it must be wrong.:smile:
 
Last edited:
  • #13
Hootenanny said:
Note however, that in the above limit we cannot simply set [itex]h[/itex] as zero directly as our limit would [itex]\to\pm\infty[/itex] and thus, the limit would not exist.
this bit is bugging me for a few reasons.

firstly as setting h = 0 would make numerator as well as denominator zero, we've no need for the intuitive idea that the expression becomes infinity.

secondly the bolded limit might be better replaced with expression and the arrow removed, as setting to zero, rather than limiting, makes it no longer a limit and means ideas like +/- infinity are out of place

an explanation of why the differential is undefined at h = 0 and the need for a limit as a consequence of this might be better
 
Last edited:
  • #14
i saw a reply to my point immediately above, but then it was deleted.

?
 
  • #15
kesh said:
this bit is bugging me for a few reasons.

firstly as setting h = 0 would make numerator as well as denominator zero, we've no need for the intuitive idea that the expression becomes infinity.

secondly the bolded limit might be better replaced with expression and the arrow removed, as setting to zero, rather than limiting, makes it no longer a limit and means ideas like +/- infinity are out of place

an explanation of why the differential is undefined at h = 0 and the need for a limit as a consequence of this might be better
Thank you for your incisive comments, you make a valid point. I intend, perhaps sometime after Christmas, to release a 'final' or corrected version of the tutorial in pdf format with additional examples. My intention with posting the 'initial' version on the forums would, as you have done comment on the work and suggest improvements and identify flaws. I thank you again for your useful comments.

P.S. I removed my previous post as I felt that I didn't give your post sufficient attention.

Schrodinger's Dog said:
In the example given for the quotient rule the answer should be, I hope:-

[tex]\frac{d}{dx}\left(\frac{x^2+1}{x^2-1}\right)[/tex]

[tex]\Rightarrow \frac{d}{dx}\frac{x^2+1}{x^2-1} = \frac{2x\cdot(x^2-1) - 2x\cdot(x^2+1)}{(x^2-1)^2} = -\frac{4x}{(x^2-1)^2}[/tex]

You have no idea how long I puzzled over your answer before I realized that it must be wrong.:smile:
You are of course correct Schrodinger, thank you for pointing the error out. I should stop composing post so late in the evening and start using Maple to check my solutions :biggrin:
 
  • #16
Hootenanny said:
Thank you for your incisive comments, you make a valid point. I intend, perhaps sometime after Christmas, to release a 'final' or corrected version of the tutorial in pdf format with additional examples. My intention with posting the 'initial' version on the forums would, as you have done comment on the work and suggest improvements and identify flaws. I thank you again for your useful comments.

P.S. I removed my previous post as I felt that I didn't give your post sufficient attention.
i thought it might be something like that. with all the fuss about 0/0 in the blogsphere i thought it might be nice to show off an area where it's dealt with usefully and rigorously, namely differentiation :)
 
  • #17
Differentiation of Trigonometric Functions
Trigonometric functions has many important applications in science, especially physics. Therefore, it is important that we are able to differentiate equations involving trigonometric functions. Here I intend to illustrate how to differentiate trigonometric functions from first principles and present a series of 'rules' which I would recommend committing to memory if you are going to be dealing with trigonometric functions on a regular basis.

1. Derivative of Sine
For no particular reason I will begin with a derivative of a sine function. From out definition of the derivative we have;

[tex]f'(x) = \lim_{h\to0}\frac{f(x+h)-f(x)}{h}[/tex]

[tex]f(x):=\sin(x) \Rightarrow f'(x) = \lim_{h\to0}\frac{\sin(x+h)-\sin(x)}{h}[/tex]

Applying the angle sum identity [itex]{\color{blue}\sin(A+B) = \sin(A)\cos(B)+\cos(A)\sin(B)}[/itex], we obtain;

[tex]f'(x) = \lim_{h\to0} \frac{\left( \sin(x)\cos(h)+\cos(x)\sin(h) \right)-\sin(x)}{h}[/tex]

Taking a factor of [itex]\sin(x)[/itex] out we have;

[tex]f'(x) = \lim_{h\to0} \frac{\sin(x)\left( \cos(h) - 1 \right) + \cos(x)\sin(h)}{h}[/tex]

Splitting the limit into two separate limits and rewriting the fractions;

[tex]f'(x) = \lim_{h\to0} \left( \sin(x)\cdot\frac{\cos(h) - 1}{h} \right) + \lim_{h\to0} \left( \cos(x)\cdot\frac{\sin(h)}{h} \right)[/tex]

[tex]f'(x) = \sin(x)\cdot\lim_{h\to0} \left(\frac{\cos(h) - 1}{h} \right) + \cos(x) \cdot\lim_{h\to0} \left(\frac{\sin(h)}{h} \right)[/tex]

I state without proof that the following is true. I may prove them at a later time, but for the moment they should be accepted as truths. ([itex]\theta[/itex] in radians)

[tex]{\color{blue}\boxed{\hspace{1cm}(1)\;\;\lim_{\theta\to0}\frac{\sin\theta}{\theta}= 1 \hspace{1cm}(2)\;\;\lim_{h\to0}\frac{\cos(h)-1}{h}\hspace{1cm}}}[/tex]
Note that (2) follows directly from (1)

[tex]\therefore f'(x) = \sin(x)\cdot0 + \cos(x)\cdot1[/tex]

[tex]{\color{red}\boxed{{\color{black}f'(x) = \cos(x)}}}[/tex]

As has been alluded to previously, the derivative of a function gives the gradient of that function at any point where that function is differentiable. Therefore, the cosine function represents the rate of change of the sine function. This http://faraday.physics.utoronto.ca/PVB/Harrison/Flash/TrigDiff/TrigDiff.html" for bringing this resource to my attention.

 
Last edited by a moderator:
  • #18
2. Derivative of Cosine
From the definition of the derivative we have;

[tex]f(x):=\cos(x)[/tex]

[tex]f'(x) = \lim_{h\to0}\frac{\cos(x+h) - \cos(x)}{h}[/tex]

Invoking the angle sum formula; [itex]\color{blue}\cos(A+B) = \cos(A)\cos(h) - \sin(A)\sin(B)[/itex]; (and splitting the two limits) we obtain;

[tex]f'(x) = \lim_{h\to0}\left(\frac{\cos(x)\cos(h)-\cos(x)}{h}\right)-\lim_{h\to0}\left(\frac{\sin(x)\sin(h)}{h}\right)[/tex]

[tex]= \cos(x)\cdot\lim_{h\to0}\left(\frac{\cos(h)-1}{h}\right)-\sin(x)\cdot\lim_{h\to0}\left(\frac{\sin(h)}{h}\right)[/tex]

As stated above*;

[tex]{\color{blue}\boxed{\hspace{1cm}(1)\;\;\lim_{\theta\to0}\frac{\sin\theta}{\theta}= 1 \hspace{1cm}(2)\;\;\lim_{h\to0}\frac{\cos(h)-1}{h}=0\hspace{1cm}}}[/tex]

Thus;

[tex]f'(x) = \cos(x)\cdot0 - \sin(x)\cdot1[/tex]

[tex]\therefore {\color{red}\boxed{{\color{black}f'(x) = -\sin(x)}}}[/tex]

[tex]\hline[/tex]
* The blue box has been correct in this post to include the omitted value of the second limit and corrected such that the first limit occurs as [itex]\theta\to0[/itex] NOT [itex]a\to0[/itex]
 
Last edited:
  • #19
Cant wait for you to release the final version of this. Its nice how you took the steps to illustrate how you got the results.

But when you are deriving sine [and cosine]:

[tex]{\color{blue}\boxed{\hspace{1cm}(1)\;\;\lim_{\thet a\to0}\frac{\sin\theta}{\theta}= 1 \hspace{1cm}(2)\;\;\lim_{h\to0}\frac{\cos(h)-1}{h}\hspace{1cm}}}[/tex]

I wish you would indicate why this is so.

btw, the 4th line of latex text [for cosine] needs reformatting.
 
Last edited:
  • #20
Umm speaking of Maple, I've gotten an account on the website, but where do I get the actual program..Its only got supplementary tutorials..I always had the impression it was one program that you open up and you could do calculations in...

O btw ranger he corrected the blue box in the post just before yours.

And, Have you seen [tex]\lim_{\x\to0}\sin x= x[/tex] before? I've seen multiple Geometric Proofs for this, which would answer you question. But, Though not actually proving it, It can be seen the tangent at sin x=0 has a gradient one 1, meaning the tangent has an equation y=x. Since, near the tangent, and therefore near zero, the solutions for sin x are the same, leading us to sin x= x for small x, in radians. Dividing both sides by x achieves what you want.
 
Last edited:
  • #21
A correction in post number two, involving the derivation of the power rule for positive integers. The derivation is correct, however, there is a typo in the final result.

The following;

[tex]\therefore {\color{red}\boxed{{\color{black}\frac{d}{dx}\;n^{ n} = nx^{n-1}\;\;\; n\in\mathbb{Z},\;n>0}}}[/tex]

Should of course read;

[tex]\therefore {\color{red}\boxed{{\color{black}\frac{d}{dx}\;x^{ n} = nx^{n-1}\;\;\; n\in\mathbb{Z},\;n>0}}}[/tex]

My thanks to theperthvan for bringing it to my attention.
 
  • #22
Nice tutorial

I thought I should let you know though, that unless I am more tired than I think right now, you have forgotten a factor right before the punchline in deducing the derivative of a product.
 
  • #23
Ace1013 said:
Nice tutorial

I thought I should let you know though, that unless I am more tired than I think right now, you have forgotten a factor right before the punchline in deducing the derivative of a product.
No your not too tired, but I must have been asleep while typing it up, you are of course correct. The penultimate line of proof for the product rule should read;

[tex]=\lim_{h\to0}\left\{ u(x+h)\cdot\frac{v(x+h)-v(x)}{h}+v(x)\cdot\frac{u(x+h)-u(x)}{h}\right\} = \lim_{h\to0}\; u(x+h)\cdot \lim_{h\to0}\frac{v(x+h)-v(x)}{h}+\lim_{h\to0}\; v(x)\cdot \lim_{h\to0}\frac{u(x+h)-u(x)}{h}[/tex]

Thank you Ace1013

[tex]\hline[/tex]
CONTRIBUTION
[tex]\hline[/tex]
Apologies to those who have been following this thread, as you may have noticed I have not posted here for a considerable period of time. Unfortunately, my commitments have prevented me adding more to this tutorial. I will still be posting here at PF (most days), but simply do not have the time to write extended posts. I would therefore like to open up this thread to contribution from others.

However, could I request that in order to maintain some form of logical order and integrity that those wishing to contribute to this thread contact me via PM before contributing.
 
  • #24
Contributed by https://www.physicsforums.com/member.php?u=15685")

With respect to:

[tex]\hspace{1cm}(1)\;\;\lim_{\theta\to0}\frac{\sin \theta}{\theta}= 1 \hspace{1cm}(2)\;\;\lim_{h\to0}\frac{\cos(h)-1}{h}=0[/tex]

Taylor Series
One can consider the Taylor Series expansion of sin(x) about x=0;

[tex]sin(x)\,=\,x\,-\,\frac{x^3}{3!}\,+\,\frac{x^5}{5!}\,-\,\cdots[/tex]

then

[tex]\frac{sin(x)}{x}\,=\,1\,-\,\frac{x^2}{3!}\,+\,\frac{x^4}{5!}\,-\,\cdots[/tex]

as x [itex]\to[/itex] 0, all terms powers of x [itex]\to[/itex] 0

[tex]cos(x)\,=\,1\,-\,\frac{x^2}{2!}\,+\,\frac{x^4}{4!}\,-\,\cdots[/tex]

One can do (cos(x)-1)/x similarly.

Squeeze Theorem
Alternatively, if you are familiar with limits (in particular the squeeze theorem), it may be interesting to consider the following diagram;

http://www.davesbrain.ca"

Noting that;

area of triangle OAP < area of sector OAP< area of triangle OAT

or

[tex]\frac{1}{2}\sin(\theta) < \frac{1}{2}\theta < \frac{1}{2}\tan(\theta)[/tex]

where [itex]\theta[/itex] is in radians. Next we divide through by [itex]1/2 \sin(\theta)[/itex];

[tex]1<\frac{\theta}{\sin(\theta)}<\frac{1}{\cos(\theta)}[/tex]

which can be written as;

[tex]1<\frac{\sin(\theta)}{\theta}<\cos(\theta)[/tex]

[note that [itex]\sin(\theta)> 0[/itex] for [itex]\theta\in\left(0,\pi/2\right)[/itex]];

By the squeeze theorem, since [itex]\lim_{\theta\to0^+}\cos(\theta) = 1[/itex] then we have;

[tex]\lim_{\theta\to0^+}\frac{\sin(\theta)}{\theta} = 1[/tex]

Since both [itex]\sin(\theta)[/itex] and [itex]\theta[/itex] are both odd functions, this implies that [itex](\sin\theta)/\theta[/itex] is an even function and hence is symmetric about the y-axis. This implies that the limit from above (right) is equal to the limit from below(left); hence,

[tex]\lim_{\theta\to0^-}\frac{\sin(\theta)}{\theta} = 1 = \lim_{\theta\to0^-}\frac{\sin(\theta)}{\theta} [/tex]

[tex]\lim_{\theta\to0}\frac{\sin(\theta)}{\theta} = 1[/tex]

One can also obtain the same result from l'Hopital's rule.

My sincere thanks to both Astronuc and Dave for their contributions to this thread
 
Last edited by a moderator:
  • #25
[tex]{\color{grey}\boxed{\text{Contributed by Cristo and arildno}}}[/tex]

Power Rule for Rational Powers
Suppose we have [itex]x^{\frac{m}{n}},[/itex] with [itex]m,n \in \mathbb{Z}.[/itex] In order to take the derivative of this function, we introduce the new variable [itex]y=x^{\frac{m}{n}} \hspace{5mm}(1)[/itex] and so we seek to find [itex]\frac{dy}{dx}[/itex]. Let's raise each side of equation (1) to the power n, so that we are now dealing with only integer powers. This enables us to utilise the power rule for integer powers that we derived earlier. So, we have [itex]y^n=(x^{\frac{m}{n}})^n=x^m \hspace{5mm}(2)[/itex]​

Now, we can take the derivative of the left hand side using the chain rule and the power rule for integer powers:​

[tex]\frac{d}{dx}y^n=ny^{n-1}\frac{dy}{dx}[/tex]​

and the right hand side using just the power rule​

[tex]\frac{d}{dx}x^m=mx^{m-1}.[/tex]​

Thus, equation (2) becomes​

[tex]ny^{n-1}\frac{dy}{dx}=mx^{m-1}[/tex]​

[tex]\Rightarrow\frac{dy}{dx}=\frac{mx^{m-1}}{ny^{n-1}}[/tex]​

We recall from above that [itex]y=x^{\frac{m}{n}}[/itex] and so we obtain

[tex]\frac{d}{dx}x^{\frac{m}{n}}=\frac{mx^{m-1}}{n(x^{\frac{m}{n}})^{n-1}}=\frac{mx^{m-1}}{nx^{m-\frac{m}{n}}}=\frac{m}{n}x^{m-1-(m-\frac{m}{n})}=\frac{m}{n}x^{\frac{m}{n}-1}[/tex]

And so we have obtained the result that
[tex]{\color{red}\boxed{{\color{black}\frac{d}{dx}x^{\frac{m}{n}}=\frac{m}{n}x^{\frac{m}{n}-1}}}}[/tex]​

[tex]\hline[/tex]

As a side note, there is no need to use the chain rule here.

Assuming continuity of the power functions, I'll show the case for positive unit fractions. The general case is easy to derive.

1. Let [itex]f(x)=x^{\frac{1}{n}}, n\in\mathbb{N}[/tex]

2. We are to find, if possible, the limit:
[tex]\lim_{h\to{0}}\frac{(x+h)^{\frac{1}{n}}-x^{\frac{1}{n}}}{h}[/tex]

3. We multiply the above fraction with:
[tex]1=\frac{\sum_{i=0}^{n-1}((x+h)^{\frac{1}{n}})^{(n-1-i)}(x^{\frac{1}{n}})^{i}}{\sum_{i=0}^{n-1}((x+h)^{\frac{1}{n}})^{(n-1-i)}(x^{\frac{1}{n}})^{i}}[/tex]

4. This reduces the fraction to:
[tex]\frac{((x+h)^{\frac{1}{n}})^{n}-(x^{\frac{1}{n}})^{n}}{h\sum_{i=0}^{n-1}((x+h)^{\frac{1}{n}})^{(n-1-i)}(x^{\frac{1}{n}})^{i}}=\frac{1}{\sum_{i=0}^{n-1}((x+h)^{\frac{1}{n}})^{(n-1-i)}(x^{\frac{1}{n}})^{i}}[/tex]

5. Since the power functions were assumed continuous, we see that as h tends to 0, the expression above tend to:
[tex]\frac{1}{nx^{\frac{n-1}{n}}}=\frac{1}{n}x^{(\frac{1}{n}-1)}[/tex]
as we should have.

My sincere thanks to both cristo and arildno for their contributions to this thread
 
Last edited:
  • #26
Drivative of arcsine

I didn't read anything, here is something to add to the collection :)

For a right triangle with hypotunuse (c) = 1
http://www.clarku.edu/~djoyce/trig/right.gif
[I got this picture of the internet hopefully it is alway's available :)]
[tex]sine(sine^{-1}(a))= a [/tex]

We take dirivative of both sides
[tex] cos(sin^{-1}(a)) \frac {d}{da} [sin^{-1}(a)] = 1[/tex]
[tex] \frac {d}{da} [sin^{-1}(a)] = \frac {1} {cos(sin^{-1}(a))} [/tex]
[tex] cos(sin^{-1}(a)) = b = \sqrt{1-a^2} [/tex]
hence
[tex] \frac {d}{da} [sin^{-1}(a)] = \frac {1} {\sqrt{1-a^2}} [/tex]
 
Last edited by a moderator:
  • #27
Or perhaps more concisely,

[tex] y = \arcsin x[/tex]
[tex] x=\sin y[/tex]
[tex]\frac{dx}{dy}=\cos y = \sqrt{1-\sin^2 y} = \sqrt{1-x^2}[/tex]
[tex]\frac{dy}{dx}=\frac{1}{\sqrt{1-x^2}}[/tex]
 
  • #28
[Back to the derivatives of trigonometric functions]

3. Derivatives of Tangent
Finding the derivative of [itex]f(x) = \tan(x)[/itex] is a fairly trivial application of the quotient rule (or product rule if you prefer). However, I will still present the derivation in a fair amount of detail, if only to provide a further example of using the quotient rule.

From the definition of the tangent;

[tex]f(x):=\tan(x) = \frac{\sin(x)}{\cos(x)}[/tex]

By the quotient rule we can write;

[tex]f^\prime(x) = \frac{\left[\cos(x)\right]\cdot\left[\sin(x)\right]^\prime - \left[\sin(x)\right]\cdot\left[\cos(x)\right]^\prime}{\cos^2(x)}[/tex]

[tex]f^\prime(x) = \frac{\left[\cos(x)\right]\cdot\left[\cos(x)\right]- \left[\sin(x)\right]\cdot\left[-\sin(x)\right]^\prime}{\cos^2(x)}[/tex]

[tex]f^\prime(x) = \frac{\cos^2(x) + \sin^2(x)}{\cos^2(x)} = \frac{1}{\cos^2(x)} = \sec^2(x)[/tex]

Hence, we arrive at our result;

[tex]{\color{red}\boxed{{\color{black}\frac{d}{dx}\tan(x)=\sec^2(x)}}}\qed[/tex]

Example
Find

[tex]\frac{d}{dx}\sin\left(kx+\phi\right)[/tex]

Where [itex]k[/itex] and [itex]\phi[/itex] are constants.​

Solution
This is a trivial example of the chain rule. Let [itex]u(x) = kx+\phi[/itex], then;

[tex]\frac{d}{dx}\sin\left(kx+\phi\right) = \frac{d}{du}\sin\left(u\right)\cdot\frac{d}{dx}u(x)[/tex]

[tex]=\cos\left(kx+\phi\right)\cdot\frac{d}{dx}\left(kx+\phi\right)[/tex]

Hence,

[tex]\frac{d}{dx}\sin\left(kx+\phi\right) = k\cos\left(kx+\phi\right)[/tex]​

[tex]\hrule[/tex]
CONTRIBUTION & COMMENTS
[tex]\hrule[/tex]
Just a quick reminder that this thread is still open to contribution from anyone and I would be more than happy to receive contributions and/or comments and suggestions for improvements/modifications.

However, could I request that in order to maintain some form of logical order and integrity that those wishing to contribute to this thread contact me via PM before contributing.

Thank you to those who have contributed already.
 
Last edited:
  • #29
The Derivative of Inverse Functions
Suppose we have a function [itex]f[/tex] such that [itex]f^{-1}\left(f(x)\right) = x\;\;\;, \forall x \in\mathbb{R}[/itex]. That is [itex]f^{-1}(x)[/itex] is the inverse of [itex]f(x)[/itex] for all real x. Note that the superscript '-1' is used here to denote the inverse of f and is not an exponent, [itex]f^{-1}(x)\neq 1/f(x)[/itex]. How would we proceed if we wished to find then derivative of the inverse function?

From our statement we have,

[tex]f(x) \equiv f\left(f^{-1}(y)\right) = y[/tex]

Now, assuming that [itex]f[/itex] if continuously differentiable, let us take the derivative with respect to y,

[tex]\frac{d}{dy}\left\{ \left(f^{-1}(y)\right) \right\} = \frac{d}{dy}y[/tex]

Applying the chain rule to the LHS we obtain,

[tex]\frac{df}{d\left(f^{-1}\right)} \cdot \frac{d}{dy}\left\{ f^{-1}(y)\right \} = 1[/tex]

If we assume that [itex]df/d\left(f^{-1}\right) \neq 0[/itex] then we can divide through by [itex]df/d\left(f^{-1}\right)[/itex],

[tex]\frac{d}{dy}\left\{ f^{-1}(y)\right \} = \frac{1}{df/d\left(f^{-1}\right)}[/tex]

Given that [itex]f^{-1}(y)\right = y \rightarrow f(y) = x[/tex]. Thus we arrive at our result,

[tex]{\color{red}\boxed{{\color{black}\frac{d}{dy}\left\{ f^{-1}(y)\right \} = \frac{1}{df/dx}}}}\qed[/tex]

We will use this result later when discussing the derivatives of transcendental functions.
 
Last edited:
  • #30
Contributed by Gib Z.

Alternative Derivation of the Derivative of Inverse Functions

From the previous post:

Noting that since [itex]y= f(x)[/itex], [itex]f^{-1}(y) = x[/itex].

Therefore, we can state the final result of the previous post in the following form:

[tex]\frac{dx}{dy} = \frac{1}{ \frac{dy}{dx}}[/tex]

An alternative proof for this fact is from the definition of the derivative:

If [itex]y=f(x)[/itex] then,

[tex]\frac{dy}{dx} = \lim_{x\to x_1} \frac{y-y_1}{x-x_1}[/tex].

Note this definition is the same as the original one in the first post of this thread
by substituting [itex]h =x-x_1[/itex].

From this;

[tex]\frac{dy}{dx} = \lim_{x\to x_1} \frac{y-y_1)}{x-x_1}[/tex]

[tex]= \lim_{x\to x_1} \frac{1}{ \frac{x-x_1}{y-y_1}}[/tex]

[tex]= \frac{\lim_{x\to x_1} 1}{\lim_{x\to x_1} \frac{x-x_1}{y-y_1}}[/tex]

[tex]{\color{red}\boxed{{\color{black}\frac{d}{dy}\left \{ f^{-1}(y)\right \} = \frac{1}{\frac{dx}{dy}}}}} [/tex]

As desired.
 
Last edited:
  • #31
Inverse Trigonometric Derivatives (Part I of II)
Contributed by Gib Z. Edited by Hootenanny.

As already established in this thread:

[tex]\frac{d}{dx} \sin x = \cos x[/tex]

[tex]\frac{d}{dx} \cos x= -\sin x[/tex]

[tex]\frac{d}{dx} \tan x = \sec^2 x[/tex]

Using the results of the previous posts regarding the derivatives of inverse functions, we can find the derivatives of the inverse trigonometric functions fairly trivially. However, since the trigonometric functions are not one-to-one functions on the current domain of the real numbers, we must restrict the domain to a small interval, so that their inverse relations are well defined functions. There are many possible choices we could make, and would be suitable, but we choose specific ones for convenience. We call the inverse functions of [itex]\sin x, x \in \left[-\pi , \pi\right][/itex]; [itex]\cos x, x \in \left[0,\pi\right][/itex] and [itex]\tan x, x \in \left[-\frac{\pi}{2} , \frac{\pi}{2}\right][/itex]; [itex]\arcsin x[/itex];[itex]\arccos x[/itex] and [itex]\arctan x[/itex] respectively.

A point to note here is that since the trigonometric functions have a restricted domain (and a restricted range), the inverse trigonometric functions will have a restricted range. A nice feature of of inverse functions it that the domain of a given function, becomes the range of the inverse function and vice-versa. For example, if we restrict [itex]\cos x[/itex] to a domain of [itex]x \in \left[0,\pi\right][/itex], then the [restricted] range is, [itex]\cos x \in \left[-1,1\right][/itex]. Hence, the corresponding inverse function [itex]\arccos x[/itex] has domain [itex]x \in \left[-1,1\right][/itex] and range [itex]\arccos x \in \left[0,\pi\right][/itex].
 
Last edited:
  • #32
Inverse Trigonometric Derivatives (Part II of II)
Contributed by Gib Z. Edited by Hootenanny.


Notation
A small note here on notation, there are two common notations for denoting inverse trigonometric functions.

[tex]\arcsin x = \sin^{-1} x[/tex]

[tex]\arccos x = \cos^{-1} x[/tex]

[tex]\arctan x = \tan^{-1} x[/tex]

It should also be noted that the exponent does not denote the reciprocal, explicitly,

[tex]\sin^{-1} x \neq \frac{1}{\sin x} = \mathrm{cosec}\; x[/tex]

[tex]\cos^{-1} x \neq \frac{1}{\cos x} = \sec x[/tex]

[tex]\tan^{-1} x \neq \frac{1}{\sin x} = \cot x[/tex]

If we now evaluate the derivatives of these [inverse] functions:

[tex]y := \arcsin x \Leftrightarrow x = \sin y \Rightarrow \frac{dx}{dy} = \cos y[/tex]

[tex]\frac{dy}{dx} = \frac{1}{ \frac{dx}{dy}} = \frac{1}{\cos y} = \frac{1}{\sqrt{1-\sin^2 y}} = \frac{1}{\sqrt{1-x^2}}[/tex].

[tex] y := \arccos x \Leftrightarrow x = \cos y \Rightarrow \frac{dx}{dy} = -\sin y[/tex]

[tex]\frac{dy}{dx} = \frac{1}{ \frac{dx}{dy}} = \frac{1}{-\sin y} = \frac{-1}{\sqrt{1-\cos^2 y}} = \frac{-1}{\sqrt{1-x^2}} = \frac{1}{\sqrt{x^2-1}}[/tex]

[tex]y := \arctan x \Leftrightarrow x = \tan y \Rightarrow \frac{dx}{dy} = \sec^2 y[/tex]

[tex]\frac{dy}{dx} = \frac{1}{ \frac{dx}{dy}} = \frac{1}{ \sec^2 y} = \frac{1}{ 1+ \tan^2 y} = \frac{1}{1+x^2}[/tex]

Note: In these derivations the “Pythagorean Identities” were used several times, and can be derived by dividing each term in the identity [itex]\sin^2 t + \cos^2 t = 1[/itex] by [itex] \sin^2 t \mbox{and} \cos^2 t[/itex] respectively. In turn, that identity can be seen from the diagram in post #24.

[tex]\hrule[/tex]
CONTRIBUTION & COMMENTS
[tex]\hrule[/tex]
Just a quick reminder that this thread is still open to contribution from anyone and I would be more than happy to receive contributions and/or comments and suggestions for improvements/modifications.

However, could I request that in order to maintain some form of logical order and integrity that those wishing to contribute to this thread contact me via PM before contributing.

Thank you to those who have contributed already
 
  • #33
Differentiation of Series
In the previous section we discussed the derivatives if inverse functions, with the goal of discussing the derivatives of transcendental functions. However, before we can discuss transcendental functions, we must first examine the derivatives of series.
(1) Taylor Series
We have already met the Taylor series of some trigonometric functions in an early section. We shall now discuss "Taylor's Formula", which can be used to determine the [infinite] series representation for many functions. "Taylor's Theorem" defines the conditions for which a function must satisfy to be written as a Taylor series; however, it is not necessary to discuss the theorem here. We shall restrict ourselves to one-dimensional real-valued functions.
(1.1) Taylor's Formula
Given a function [itex]f:I\to\mathbb{R}[/itex], that is defined on some open interval [itex]I[/itex] and which has derivatives of all orders at a point [itex]a\in I[/itex], then one may represent [itex]f(x)[/itex] as,

[tex]f(x)=\sum_{n=1}^{\infty}\frac{f^{(n)}(a)}{n!}\left(x-a\right)^n = f(a)+f^\prime(a)\left(x-a\right)+\ldots[/tex]​
(2) Term-wise Differentiation
Term-wise differentiation [and integration] is an extremely useful tool in analysis, which can be used to find the derivatives of functions which can be represented as [infinite] series. There is a theorem of advanced calculus which states that one can find the derivative of a [convergent] series by simply differentiating each term separately. We shall states this theorem here without proof.
(2.1) Theorem
Given an infinite series,

[tex]\sum_{n}^{\infty}f_n(x) = f_1(x)+f_2(x)+\ldots+f_n(x)+\ldots[/tex]

that has continuous derivatives on some open interval [itex]I[/itex] and converges [uniformally] to [itex]F(x)[/itex], then if the series of differentiated terms,

[tex]\sum_{n}^{\infty}f^\prime_n(x) = f^\prime_1(x)+f^\prime_2(x)+\ldots+f^\prime_n(x)+\ldots[/tex]

also converges uniformally on the interval [itex]I[/itex], then the original series can be differentiated term-wise such that,

[tex]\frac{d}{dx}F(x) = \sum_{n}^{\infty}f_n(x) = f^\prime_1(x)+f^\prime_2(x)+\ldots+f^\prime_n(x)+\ldots[/tex]
Now we have all the necessary tools to examine the derivatives of transcendental functions, which is what we shall do in the following section.
 
  • #34
Would it be possible to make a PDF version of all of this for refrence like you did for integration?
 
  • #35
aggfx said:
Would it be possible to make a PDF version of all of this for refrence like you did for integration?
Welcome to PF aggfx,

If I have some time later in the year I may make a PDF of the final version once I've finished it. There are still a few sections that I would like to add, so there's not much point in creating a PDF at this stage.

By the way, kurdt is the author of the excellent Intro to Integration tutorial.
 
Last edited:

Similar threads

Replies
3
Views
1K
Replies
2
Views
1K
Replies
2
Views
1K
Replies
1
Views
1K
Replies
8
Views
1K
Replies
5
Views
1K
Replies
5
Views
2K
Back
Top