Derivative: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Arpan Mathur
en>JSquish
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{good article}}
The calorie calculator is a easy fat loss tool. This calculator is made because a software package which can allow you to list every meal daily. It might select all the foods you consumed and calculate the calories per item and quantity consumed. After gathering the information it can then total the calories per meal. Every day we do this it may supply you with a total daily caloric consumption report. The calorie calculator is not an exact instrument yet truly close. It provides estimates but usually point you in the appropriate way to what you should do to get rid of weight.<br><br>I usually venture to say which it is impossible for the average person to do 1000 sit ups in calorie burn calculator one day, however, it really is extremely possible for the average person to walk 2.5 miles (35-45 minutes a day).<br><br>Let's consider what a standard calorie counter would have done. First, it will assume an average calorie burn rate of 1 calorie per minute. Then the counter can discover which exercising for 30 minutes usually yield 30 (minutes) * 6 (MET) * 1 (calories per minute) = 180 calories. The calorie counter might add these 180 calories to your daily expenditure without considering that a piece of these 180 calories is already accounted by a routine activities.<br><br>If you could integrate these simple life-style changes into your routine you're about halfway house [http://safedietplansforwomen.com/calories-burned-walking calories burned walking]. The second piece of the equation is several sort of exercise.<br><br>If you intensify the exercise, you'll be capable to continuously burn fat. After you exercise a calories burned calculator metabolism speeds up. Thus, you need to exercise each morning to optimize the effects of burning fats. Consult our important source about body fat calculator by clicking the link.<br><br>Go for a walk with the friends. Start strolling with neighbors to boost your wellness and get active. Meet throughout the week to take a brisk walk together, either each morning before a day begins, during lunch, or in the night following function.<br><br>Bodybuilders, powerlifters plus athletes must remain away from pretty low calorie diets considering the large calorie limitation causes a greater proportion of the weight reduction to be muscle reduction.
{{about|the term as used in calculus|a less technical overview of the subject|differential calculus|other uses|}}
[[File:Tangent to a curve.svg|thumb|The [[graph of a function]], drawn in black, and a [[tangent line]] to that function, drawn in red. The [[slope]] of the tangent line is equal to the derivative of the function at the marked point.]]
{{Calculus |Differential}}
 
The '''derivative''' of a [[function of a real variable]] measures the sensitivity to change of a quantity (a function or [[dependent variable]]) which is determined by another quantity (the [[independent variable]]).  It is a fundamental tool of [[calculus]]. For example, the derivative of the position of a moving object with respect to time is the object's [[velocity]]: this measures how quickly the position of the object changes when time is advanced. The derivative measures the ''instantaneous'' rate of change of the function, as distinct from its ''average'' rate of change, and is defined as the [[limit (mathematics)|limit]] of the average rate of change in the function as the length of the interval on which the average is computed tends to zero.
 
The derivative of a function at a chosen input value describes the best [[linear approximation]] of the function near that input value. In fact, the derivative at a point of a function of a single variable is the [[slope]] of the [[Tangent|tangent line]] to the [[graph of a function|graph of the function]] at that point.  
 
The notion of derivative may be generalized to [[function of several real variables|functions of several real variables]]. The generalized derivative is a [[linear map]] called the [[differential of a function|differential]]. Its [[matrix (mathematics)|matrix]] representation is the [[Jacobian matrix]], which reduces to the [[gradient vector]] in the case of [[real-valued function]] of several variables.
 
The process of finding a derivative is called '''differentiation'''. The reverse process is called ''[[antiderivative|antidifferentiation]]''.  The [[fundamental theorem of calculus]] states that antidifferentiation is the same as [[integral|integration]]. Differentiation and integration constitute the two fundamental operations in single-variable calculus.<ref>Differential calculus, as discussed in this article, is a very well established mathematical discipline for which there are many sources. Almost all of the material in this article can be found in Apostol 1967, Apostol 1969, and Spivak 1994.</ref>
 
==Differentiation and the derivative==
''Differentiation'' is the action of computing a derivative. The derivative of a [[function (mathematics)|function]] ''f''(''x'') of a variable ''x'' is a measure of the rate at which the value of the function changes with respect to the change of the variable. It is called the ''derivative'' of ''f'' with respect to ''x''. If ''x'' and ''y'' are [[real number]]s, and if the [[graph of a function|graph]] of ''f'' is plotted against ''x'', the derivative is the [[slope]] of this graph at each point.
 
The simplest case, apart from the trivial case of a [[constant function]], is when ''y'' is a [[linear function]] of ''x'', meaning that the graph of ''y'' divided by ''x'' is a line. In this case, ''y'' = ''f''(''x'') = ''m'' ''x'' + ''b'', for real numbers ''m'' and ''b'', and the slope ''m'' is given by
:<math>m=\frac{\text{change in } y}{\text{change in } x} = \frac{\Delta y}{\Delta x},</math>
where the symbol Δ (the uppercase form of the Greek letter [[Delta (letter)|Delta]]) is an abbreviation for "change in." This formula is true because
:''y'' + Δ''y'' = ''f''(''x'' + Δ''x'') = ''m'' (''x'' + Δ''x'') + ''b'' = ''m'' ''x'' + ''m'' Δ''x'' + ''b'' = ''y'' + ''m'' Δ''x''.
It follows that Δ''y'' = ''m'' Δ''x''.
 
This gives an exact value for the slope of a line.
If the function ''f'' is not linear (i.e. its graph is not a line), however, then the change in ''y'' divided by the change in ''x'' varies: differentiation is a method to find an exact value for this rate of change at any given value of ''x''.
 
{{multiple image
| align    = right
| direction = vertical
| header    = Rate of change as a limit value
| width    = 250
| image1    = Tangent-calculus.svg
| caption1  = '''Figure 1'''. The [[tangent]] line at (''x'', ''f''(''x''))
| image2    = Secant-calculus.svg
| caption2  = '''Figure 2.''' The [[Secant line|secant]] to curve ''y''= ''f''(''x'') determined by points (''x'', ''f''(''x'')) and (''x''+''h'', ''f''(''x''+''h''))
| image3  = Lim-secant.svg
| caption3  = '''Figure 3.''' The tangent line as limit of secants
| image4  = Derivative GIF.gif
| caption4  = '''Figure 4.''' Animated illustration: the tangent line (derivative) as the limit of secants
}}
 
The idea, illustrated by Figures 1 to 3, is to compute the rate of change as the [[limit of a function|limit value]] of the [[difference quotient|ratio of the differences]] Δ''y'' / Δ''x'' as Δ''x'' becomes infinitely small.
===Notation===
Two distinct notations are commonly used for the derivative, one deriving from [[Leibniz]] and the other from [[Joseph Louis Lagrange]].
 
In [[Leibniz's notation]], an [[infinitesimal]] change in ''x'' is denoted by ''dx'', and the derivative of ''y'' with respect to ''x'' is written
: <math> \frac{dy}{dx} \,\!</math>
suggesting the ratio of two infinitesimal quantities.  (The above expression is read as "the derivative of ''y'' with respect to ''x''", "d y by d x", or "d y over d x". The oral form "d y d x" is often used conversationally, although it may lead to confusion.)
 
In [[Lagrange's notation]], the derivative with respect to ''x'' of a function ''f''(''x'') is denoted ''f{{'}}''(''x'') (read as "f prime of x") or ''f<sub>''x''</sub>{{'}}''(''x'') (read as "f prime x of x"), in case of ambiguity of the variable implied by the derivation. Lagrange's notation is sometimes incorrectly attributed to [[Isaac Newton|Newton]].
 
===Rigorous definition===
The most common approach to turn this intuitive idea into a precise definition is to define the derivative as a [[limit (mathematics)|limit]] of difference quotients of real numbers.<ref>Spivak 1994, chapter 10.</ref>  This is the approach described below.
 
Let ''f'' be a real valued function defined in an [[open neighborhood]] of a real number ''a''.  In classical geometry, the tangent line to the graph of the function ''f'' at ''a'' was the unique line through the point (''a'', ''f''(''a'')) that did ''not'' meet the graph of ''f'' [[transversality (mathematics)|transversally]], meaning that the line did not pass straight through the graph.  The derivative of ''y'' with respect to ''x'' at ''a'' is, geometrically, the slope of the tangent line to the graph of ''f'' at (''a'', ''f''(''a'')).  The slope of the tangent line is very close to the slope of the line through (''a'', ''f''(''a'')) and a nearby point on the graph, for example {{nowrap|(''a'' + ''h'', ''f''(''a'' + ''h''))}}.  These lines are called [[secant line]]s.  A value of ''h'' close to zero gives a good approximation to the slope of the tangent line, and smaller values (in [[absolute value]]) of ''h'' will, in general, give better [[approximation]]s.  The slope ''m'' of the secant line is the difference between the ''y'' values of these points divided by the difference between the ''x'' values, that is,
:<math>m = \frac{\Delta f(a)}{\Delta a} = \frac{f(a+h)-f(a)}{(a+h)-(a)} = \frac{f(a+h)-f(a)}{h}.</math>
 
This expression is [[Isaac Newton|Newton]]'s [[difference quotient]]. The derivative is the value of the difference quotient as the secant lines approach the tangent line.  Formally, the derivative of the function ''f'' at ''a'' is the [[limit of a function|limit]]
 
:<math>f'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}</math>
 
of the difference quotient as ''h'' approaches zero, if this limit exists.  If the limit exists, then ''f'' is ''[[differentiable function|differentiable]]'' at ''a''.  Here ''f''&prime; (''a'') is one of several common notations for the derivative ([[Derivative#Notations for differentiation|see below]]).
 
Equivalently, the derivative satisfies the property that
:<math>\lim_{h\to 0}\frac{f(a+h)-f(a) - f'(a)\cdot h}{h} = 0,</math>
which has the intuitive interpretation (see Figure 1) that the tangent line to ''f'' at ''a'' gives the ''best [[linear]] approximation''
:<math>f(a+h) \approx f(a) + f'(a)h</math>
to ''f'' near ''a'' (i.e., for small ''h''). This interpretation is the easiest to generalize to other settings ([[Derivative#The total derivative, the total differential and the Jacobian|see below]]).
 
[[Substitution property of equality|Substituting]] 0 for ''h'' in the difference quotient causes [[division by zero]], so the slope of the tangent line cannot be found directly using this method.  Instead, define ''Q''(''h'') to be the difference quotient as a function of ''h'':
 
:<math>Q(h) = \frac{f(a + h) - f(a)}{h}.</math>
 
''Q''(''h'') is the slope of the secant line between {{nowrap|(''a'', ''f''(''a''))}} and {{nowrap|(''a'' + ''h'', ''f''(''a'' + ''h''))}}.  If ''f'' is a [[continuous function]], meaning that its graph is an unbroken curve with no gaps, then ''Q'' is a continuous function away from {{nowrap|1=''h'' = 0}}.  If the limit <math>\textstyle\lim_{h\to 0} Q(h)</math> exists, meaning that there is a way of choosing a value for ''Q''(0) that makes ''Q'' a continuous function, then the function ''f'' is differentiable at ''a'', and its derivative at ''a'' equals ''Q''(0).
 
In practice, the existence of a continuous extension of the difference quotient ''Q''(''h'') to {{nowrap|1=''h'' = 0}} is shown by modifying the numerator to cancel ''h'' in the denominator. Such manipulations can make the limit value of ''Q'' for small ''h'' clear even though ''Q'' is still not defined at {{nowrap|1=''h'' = 0}}. This process can be long and tedious for complicated functions, and many shortcuts are commonly used to simplify the process.
 
===Examples===
====Example 1====
The squaring function {{nowrap|1=''f''(''x'') = ''x''<sup>2</sup>}} is differentiable at {{nowrap|1=''x'' = 3}}, and its derivative there is 6. This result is established by calculating the limit as ''h'' approaches zero of the difference quotient of ''f''(3):
 
:<math>f'(3)= \lim_{h\to 0}\frac{f(3+h)-f(3)}{h} = \lim_{h\to 0}\frac{(3+h)^2 - 3^2}{h} = \lim_{h\to 0}\frac{9 + 6h + h^2 - 9}{h} = \lim_{h\to 0}\frac{6h + h^2}{h} = \lim_{h\to 0}{(6 + h)}. </math>
 
The last expression shows that the difference quotient equals {{nowrap|''6'' + ''h''}} when {{nowrap|''h'' ≠ 0}} and is undefined when {{nowrap|1=''h'' = 0}}, because of the definition of the difference quotient.  However, the definition of the limit says the difference quotient does not need to be defined when {{nowrap|1=''h'' = 0}}.  The limit is the result of letting ''h'' go to zero, meaning it is the value that {{nowrap|6 + ''h''}} tends to as ''h'' becomes very small:
 
:<math> \lim_{h\to 0}{(6 + h)} = 6 + 0 = 6. </math>
 
Hence the slope of the graph of the squaring function at the point {{nowrap|(3, 9)}} is 6, and so its derivative at {{nowrap|1=''x'' = 3}} is {{nowrap|1=''f''′(3) = 6}}.
 
More generally, a similar computation shows that the derivative of the squaring function at {{nowrap|1=''x'' = ''a''}} is {{nowrap|1=''f''′(''a'') = 2''a''}}.
 
====Example 2====
 
The logarithmic function {{nowrap|1=''f(x)'' = ''log''<sub>''e''</sub>''x''}} is differentiable at x = 5 and its derivative there is ''1/5''.
 
As in the previous example this result may also be established by calculating the limit as ''h'' approaches zero of the d.c.(difference quotient) of ''f(5)'':
 
<math> f'(5) = \lim_{h \to 0}\frac{f(5+h)-f(5)}{h} = \lim_{h \to 0}\frac{log_e(5+h)-log_e(5)}{h} = \lim_{h \to 0}\frac{1}{h} log_e\left(\frac{5+h}{5}\right)</math>
 
<math> = \lim_{h \to 0}\frac{1}{h} log_e\left(1 + \frac{h}{5}\right) </math>
 
Now ,the series expansion of <math> log_e(1+x) </math> is :
 
<math> log_e(1+x) = x - \frac{1}{3}x^3 + \frac{1}{5}x^5 - \frac{1}{7}x^7 + ........ </math>
 
Therefore:
 
<math> log_e\left(1+\frac{h}{5} \right) = \frac{h}{5} - \frac{1}{3}\left(\frac{h}{5}\right)^3 + \frac{1}{5}\left(\frac{h}{5}\right)^5 - \frac{1}{7}\left(\frac{h}{5}\right)^7 + ....... </math>
 
and the derivative is therefore:
 
<math> f'(5) = \lim_{h \to 0} \left( \frac{1}{5} - \frac{h^2}{3 . 5^3} + \frac{h^4}{5 . 5^5} -\frac{h^6}{7 . 5^7} + ....... \right) = \frac{1}{5}</math>
 
Hence the slope of the graph of the logarithmic function at the point (5, ''log<sub>e</sub> 5'') is ''1/5'' , and so its derivative at ''x'' = ''5'' is ''f′(5) =  1/5''.
 
A more general computation shows that the derivative of the logarithmic function {{nowrap|1=''f(x)'' = ''log''<sub>''e''</sub>''x''}} at ''x'' = ''a'' is ''f'(a) = 1/a''.
 
===Continuity and differentiability===
[[File:Right-continuous.svg|thumb|right|This function does not have a derivative at the marked point, as the function is not continuous there.]]
If {{nowrap|1=''y'' = ''f''(''x'')}} is [[differentiable function|differentiable]] at ''a'', then ''f'' must also be [[continuous function|continuous]] at ''a''.  As an example, choose a point ''a'' and let ''f'' be the [[step function]] that returns a value, say 1, for all ''x'' less than ''a'', and returns a different value, say 10, for all ''x'' greater than or equal to ''a''.  ''f'' cannot have a derivative at ''a''.  If ''h'' is negative, then {{nowrap|''a'' + ''h''}} is on the low part of the step, so the secant line from ''a'' to {{nowrap|''a'' + ''h''}} is very steep, and as ''h'' tends to zero the slope tends to infinity.  If ''h'' is positive, then {{nowrap|''a'' + ''h''}} is on the high part of the step, so the secant line from ''a'' to {{nowrap|''a'' + ''h''}} has slope zero.  Consequently the secant lines do not approach any single slope, so the limit of the difference quotient does not exist.<ref>Despite this, it is still possible to take the derivative in the sense of [[distribution (mathematics)|distributions]].  The result is nine times the [[Dirac measure]] centered at ''a''.</ref>
 
[[File:Absolute value.svg|right|thumb|The absolute value function is continuous, but fails to be differentiable at {{nowrap|1=''x'' = 0}} since the tangent slopes do not approach the same value from the left as they do from the right.]]However, even if a function is continuous at a point, it may not be differentiable there.  For example, the [[absolute value]] function {{nowrap|1=''y'' = |''x''|}} is continuous at {{nowrap|1=''x'' = 0}}, but it is not differentiable there.  If ''h'' is positive, then the slope of the secant line from ''0'' to ''h'' is one, whereas if ''h'' is negative, then the slope of the secant line from ''0'' to ''h'' is negative one.  This can be seen graphically as a "kink" or a "cusp" in the graph at {{nowrap|1=''x'' = 0}}.  Even a function with a smooth graph is not differentiable at a point where its [[Vertical tangent|tangent is vertical]]: For instance, the function {{nowrap|1=''y'' = ''x''<sup>1/3</sup>}} is not differentiable at {{nowrap|1=''x'' = 0}}.
 
In summary: for a function ''f'' to have a derivative it is ''[[Necessary and sufficient conditions|necessary]]'' for the function ''f'' to be continuous, but continuity alone is not ''[[Necessary and sufficient conditions|sufficient]]''.
 
Most functions that occur in practice have derivatives at all points or at [[Almost everywhere|almost every]] point.  Early in the [[history of calculus]], many mathematicians assumed that a continuous function was differentiable at most points.  Under mild conditions, for example if the function is a [[monotone function]] or a [[Lipschitz function]], this is true.  However, in 1872 Weierstrass found the first example of a function that is continuous everywhere but differentiable nowhere.  This example is now known as the [[Weierstrass function]].  In 1931, [[Stefan Banach]] proved that the set of functions that have a derivative at some point is a [[meager set]] in the space of all continuous functions.<ref>{{Citation|author=Banach, S.|title=Uber die Baire'sche Kategorie gewisser Funktionenmengen|journal=Studia. Math.|issue=3|year=1931|pages=174–179|postscript=.}}.  Cited by {{Citation|author=Hewitt, E and Stromberg, K|title=Real and abstract analysis|publisher=Springer-Verlag|year=1963|pages=Theorem 17.8|nopp=true}}</ref> Informally, this means that hardly any continuous functions have a derivative at even one point.
 
===The derivative as a function===
Let ''f'' be a function that has a derivative at every point ''a'' in the [[domain of a function|domain]] of ''f''.  Because every point ''a'' has a derivative, there is a function that sends the point ''a'' to the derivative of ''f'' at ''a''.  This function is written ''f''′(''x'') and is called the ''derivative function'' or the ''derivative'' of ''f''.  The derivative of ''f'' collects all the derivatives of ''f'' at all the points in the domain of ''f''.
 
Sometimes ''f'' has a derivative at most, but not all, points of its domain.  The function whose value at ''a'' equals ''f''′(''a'') whenever ''f''′(''a'') is defined and elsewhere is undefined is also called the derivative of ''f''.  It is still a function, but its domain is strictly smaller than the domain of ''f''.
 
Using this idea, differentiation becomes a function of functions: The derivative is an [[operator (mathematics)|operator]] whose domain is the set of all functions that have derivatives at every point of their domain and whose range is a set of functions.  If we denote this operator by ''D'', then ''D''(''f'') is the function ''f''′(''x'').  Since ''D''(''f'') is a function, it can be evaluated at a point ''a''.  By the definition of the derivative function, {{nowrap|1=''D''(''f'')(''a'') = ''f''′(''a'')}}.
 
For comparison, consider the doubling function {{nowrap|1=''f''(''x'') = 2''x''}}; ''f'' is a real-valued function of a real number, meaning that it takes numbers as inputs and has numbers as outputs:
:<math>\begin{align}
1 &{}\mapsto 2,\\
2 &{}\mapsto 4,\\
3 &{}\mapsto 6.
\end{align}</math>
The operator ''D'', however, is not defined on individual numbers.  It is only defined on functions:
:<math>\begin{align}
D(x \mapsto 1) &= (x \mapsto 0),\\
D(x \mapsto x) &= (x \mapsto 1),\\
D(x \mapsto x^2) &= (x \mapsto 2\cdot x).
\end{align}</math>
Because the output of ''D'' is a function, the output of ''D'' can be evaluated at a point.  For instance, when ''D'' is applied to the squaring function,
:<math>x \mapsto x^2,</math>
''D'' outputs the doubling function,
:<math> x \mapsto 2x ,</math>
which we named ''f''(''x''). This output function can then be evaluated to get {{nowrap|1=''f''(1) = 2}}, {{nowrap|1=''f''(2) = 4}}, and so on.
 
==={{anchor|order of derivation}} Higher derivatives===
 
Let ''f'' be a differentiable function, and let ''f''′(''x'') be its derivative. The derivative of ''f''′(''x'') (if it has one) is written ''f''′′(''x'') and is called the ''[[second derivative]] of f''.  Similarly, the derivative of a second derivative, if it exists, is written {{nowrap|''f''′′′(''x'')}} and is called the ''[[third derivative]] of f''. Continuing this process, one can define, if it exists, the ''n''th derivative as the derivative of the (''n''-1)th derivative. These repeated derivatives are called ''higher-order derivatives''. The ''n''th derivative is also called the '''derivative of order ''n'''''.
 
If ''x''(''t'') represents the position of an object at time ''t'', then the higher-order derivatives of ''x'' have physical interpretations.  The second derivative of ''x'' is the derivative of ''x''′(''t''), the velocity, and by definition this is the object's [[acceleration]]. The third derivative of ''x'' is defined to be the [[jerk (physics)|jerk]], and the fourth derivative is defined to be the [[jounce]].
 
A function ''f'' need not have a derivative, for example, if it is not continuous.  Similarly, even if ''f'' does have a derivative, it may not have a second derivative.  For example, let
:<math>f(x) = \begin{cases} +x^2, & \text{if }x\ge 0 \\ -x^2, & \text{if }x \le 0.\end{cases}</math>
Calculation shows that ''f'' is a differentiable function whose derivative is
:<math>f'(x) = \begin{cases} +2x, & \text{if }x\ge 0 \\ -2x, & \text{if }x \le 0.\end{cases}</math>
{{nowrap|''f&prime;(x)''}} is twice the absolute value function, and it does not have a derivative at zero.  Similar examples show that a function can have ''k'' derivatives for any non-negative integer ''k'' but no {{nowrap|(''k'' + 1)}}th-order derivative.  A function that has ''k'' successive derivatives is called ''k times differentiable''.  If in addition the ''k''th derivative is continuous, then the function is said to be of [[differentiability class]] ''C<sup>k</sup>''.  (This is a stronger condition than having ''k'' derivatives.  For an example, see [[differentiability class]].)  A function that has infinitely many derivatives is called ''infinitely differentiable'' or ''[[smooth function|smooth]]''.
 
On the real line, every [[polynomial function]] is infinitely differentiable.  By standard [[differentiation rules]], if a polynomial of degree ''n'' is differentiated ''n'' times, then it becomes a [[constant function]].  All of its subsequent derivatives are identically zero.  In particular, they exist, so polynomials are smooth functions.
 
The derivatives of a function ''f'' at a point ''x'' provide polynomial approximations to that function near ''x''. For example, if ''f'' is twice differentiable, then
:<math> f(x+h) \approx f(x) + f'(x)h + \tfrac{1}{2} f''(x) h^2</math>
in the sense that
:<math> \lim_{h\to 0}\frac{f(x+h) - f(x) - f'(x)h - \frac{1}{2} f''(x) h^2}{h^2}=0.</math>
If ''f'' is infinitely differentiable, then this is the beginning of the [[Taylor series]] for ''f'' evaluated at {{nowrap|''x'' + ''h''}} around ''x''.
 
===Inflection point===
{{Main|Inflection point}}
 
A point where the second derivative of a function changes sign is called an ''inflection point''.<ref>{{harvnb|Apostol|1967|loc=§4.18}}</ref> At an inflection point, the second derivative may be zero, as in the case of the inflection point {{nowrap|1=''x'' = 0}} of the function {{nowrap|1=''y'' = ''x''<sup>3</sup>}}, or it may fail to exist, as in the case of the inflection point {{nowrap|1=''x'' = 0}} of the function {{nowrap|1=''y'' = ''x''<sup>1/3</sup>}}. At an inflection point, a function switches from being a [[convex function]] to being a [[concave function]] or vice versa.
 
==Notation for differentiation==
{{Main|Notation for differentiation}}
 
===Leibniz's notation===
{{Main|Leibniz's notation}}
 
The notation for derivatives introduced by [[Gottfried Leibniz]] is one of the earliest. It is still commonly used when the equation {{nowrap|1=''y'' = ''f''(''x'')}} is viewed as a functional relationship between [[dependent and independent variables]]. Then the first derivative is denoted by
 
: <math>\frac{dy}{dx},\quad\frac{d f}{dx}(x),\;\;\mathrm{or}\;\; \frac{d}{dx}f(x),</math>
 
and was once thought of as an [[infinitesimal]] quotient.  Higher derivatives are expressed using the notation
 
<!-- In the following formula, the function is a lower-case f, not an upper case F.  Please do not change it.-->
: <math>\frac{d^ny}{dx^n},
\quad\frac{d^n f}{dx^n}(x),
\;\;\mathrm{or}\;\;
\frac{d^n}{dx^n}f(x)</math>
 
for the ''n''th derivative of {{nowrap|1=''y'' = ''f''(''x'')}} (with respect to ''x''). These are abbreviations for multiple applications of the derivative operator. For example,
:<math>\frac{d^2y}{dx^2} = \frac{d}{dx}\left(\frac{dy}{dx}\right).</math>
 
With Leibniz's notation, we can write the derivative of ''y'' at the point {{nowrap|1=''x'' = ''a''}} in two different ways:
 
: <math>\left.\frac{dy}{dx}\right|_{x=a} = \frac{dy}{dx}(a).</math>
 
Leibniz's notation allows one to specify the variable for differentiation (in the denominator). This is especially relevant for [[partial derivative|partial differentiation]].  It also makes the [[chain rule]] easy to remember:<ref>In the formulation of calculus in terms of limits, the ''du'' symbol has been assigned various meanings by various authors.  Some authors do not assign a meaning to ''du'' by itself, but only as part of the symbol ''du''/''dx''.  Others define ''dx'' as an independent variable, and define ''du'' by {{nowrap|1=''du'' = ''dx''·''f''′(''x'')}}.  In [[non-standard analysis]] ''du'' is defined as an infinitesimal. It is also interpreted as the [[exterior derivative]] of a function ''u''. See [[differential (infinitesimal)]] for further information.</ref>
 
: <math>\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}.</math>
 
===Lagrange's notation===
Sometimes referred to as ''prime notation'',<ref>{{cite web|title=The Notation of Differentiation|url=http://web.mit.edu/wwmath/calculus/differentiation/notation.html|publisher=MIT|accessdate=24 October 2012|year=1998}}</ref>  one of the most common modern notation for differentiation is due to [[Joseph-Louis Lagrange]] and uses the [[Prime (symbol)|prime mark]], so that the derivative of a function ''f''(''x'') is denoted ''f''′(''x'') or simply ''f''′. Similarly, the second and third derivatives are denoted
:<math>(f')'=f''\,</math> &emsp; and &emsp; <math>(f'')'=f'''.</math>
To denote the number of derivatives beyond this point, some authors use Roman numerals in [[Subscript and superscript|superscript]], whereas others place the number in parentheses:
:<math>f^{\mathrm{iv}}\,\!</math> &emsp; or &emsp; <math>f^{(4)}.</math>
The latter notation generalizes to yield the notation ''f''<sup> (''n'')</sup> for the ''n''th derivative of ''f'' – this notation is most useful when we wish to talk about the derivative as being a function itself, as in this case the Leibniz notation can become cumbersome.
 
===Newton's notation===
[[Notation for differentiation#Newton's notation|Newton's notation]] for differentiation, also called the dot notation, places a dot over the function name to represent a time derivative.  If {{nowrap|1=''y'' = ''f''(''t'')}}, then
:<math>\dot{y}</math> &emsp; and &emsp; <math>\ddot{y}</math>
denote, respectively, the first and second derivatives of ''y'' with respect to ''t''.  This notation is used exclusively for [[time derivative]]s, meaning that the independent variable of the function represents [[time]].  It is very common in [[physics]] and in mathematical disciplines connected with physics such as [[differential equation]]s.  While the notation becomes unmanageable for high-order derivatives, in practice only very few derivatives are needed.
 
===Euler's notation===
[[Leonhard Euler|Euler]]'s notation uses a [[differential operator]] ''D'', which is applied to a function ''f'' to give the first derivative ''Df''. The second derivative is denoted ''D''<sup>2</sup>''f'', and the ''n''th derivative is denoted ''D''<sup>''n''</sup>''f''.
 
If {{nowrap|1=''y'' = ''f''(''x'')}} is a dependent variable, then often the subscript ''x'' is attached to the ''D'' to clarify the independent variable ''x''.
Euler's notation is then written
:<math>D_x y\,</math> &emsp; or &emsp; <math>D_x f(x)\,</math>,
although this subscript is often omitted when the variable ''x'' is understood, for instance when this is the only variable present in the expression.
 
Euler's notation is useful for stating and solving [[linear differential equation]]s.
 
==Computing the derivative==<!-- This section is linked from [[Derivative]] -->
 
The derivative of a function can, in principle, be computed from the definition by considering the difference quotient, and computing its limit. In practice, once the derivatives of a few simple functions are known, the derivatives of other functions are more easily computed using ''rules'' for obtaining derivatives of more complicated functions from simpler ones.
 
===Derivatives of elementary functions===
{{Main|Table of derivatives}}
 
Most derivative computations eventually require taking the derivative of some common functions. The following incomplete list gives some of the most frequently used functions of a single real variable and their derivatives.
 
* ''[[Power rule|Derivatives of powers]]'': if
 
:<math> f(x) = x^r,</math>
 
where ''r'' is any [[real number]], then
 
:<math> f'(x) = rx^{r-1},</math>
 
wherever this function is defined. For example, if <math>f(x) = x^{1/4}</math>, then
 
:<math>f'(x) = (1/4)x^{-3/4},</math>
 
and the derivative function is defined only for positive ''x'', not for {{nowrap|1=''x'' = 0}}.  When {{nowrap|1=''r'' = 0}}, this rule implies that ''f''′(''x'') is zero for {{nowrap|''x'' &ne; 0}}, which is almost the constant rule (stated below).
 
<!--DO NOT ADD TO THIS LIST-->
* ''[[Exponential function|Exponential]] and [[logarithm]]ic functions'':
:<math> \frac{d}{dx}e^x = e^x.</math>
 
:<math> \frac{d}{dx}a^x = \ln(a)a^x.</math>
 
:<math> \frac{d}{dx}\ln(x) = \frac{1}{x},\qquad x > 0.</math>
 
:<math> \frac{d}{dx}\log_a(x) = \frac{1}{x\ln(a)}.</math>
<!--DO NOT ADD TO THIS LIST-->
* ''[[Trigonometric function]]s'':
:<math> \frac{d}{dx}\sin(x) = \cos(x).</math>
 
:<math> \frac{d}{dx}\cos(x) = -\sin(x).</math>
 
:<math> \frac{d}{dx}\tan(x) = \sec^2(x) = \frac{1}{\cos^2(x)} = 1+\tan^2(x).</math>
<!--DO NOT ADD TO THIS LIST-->
* ''[[Inverse trigonometric function]]s'':
:<math> \frac{d}{dx}\arcsin(x) = \frac{1}{\sqrt{1-x^2}}, -1<x<1.</math>
:<math> \frac{d}{dx}\arccos(x)= -\frac{1}{\sqrt{1-x^2}}, -1<x<1.</math>
:<math> \frac{d}{dx}\arctan(x)= \frac{1}{{1+x^2}}</math>
<!--DO NOT ADD TO THIS LIST-->
 
===Rules for finding the derivative===<!-- This section is linked from [[Difference operator]] -->
{{Main|Differentiation rules}}
 
In many cases, complicated limit calculations by direct application of Newton's difference quotient can be avoided using differentiation rules. Some of the most basic rules are the following.
 
* ''Constant rule'': if ''f''(''x'') is constant, then
:<math>f' = 0. \,</math>
* ''[[Linearity of differentiation|Sum rule]]'':
:<math>(\alpha f + \beta g)' = \alpha f' + \beta g' \,</math> for all functions ''f'' and ''g'' and all real numbers ''<math>\alpha</math>'' and ''<math>\beta</math>''.
* ''[[Product rule]]'':
:<math>(fg)' = f 'g + fg' \,</math> for all functions ''f'' and ''g''. By extension, this means that the derivative of a constant times a function is the constant times the derivative of the function: <math>\frac{d}{dr}\pi r^2=2 \pi r. \,</math>
* ''[[Quotient rule]]'':
:<math>\left(\frac{f}{g} \right)' = \frac{f'g - fg'}{g^2}</math>  for all functions ''f'' and ''g'' at all inputs where {{nowrap|''g'' ≠ 0}}.
* ''[[Chain rule]]'': If <math>f(x) = h(g(x))</math>, then
:<math>f'(x) = h'(g(x)) \cdot g'(x). \,</math>
 
===Example computation===
The derivative of
 
: <math>f(x) = x^4 + \sin (x^2) - \ln(x) e^x + 7\,</math>
 
is
 
: <math>
\begin{align}
f'(x) &= 4 x^{(4-1)}+ \frac{d\left(x^2\right)}{dx}\cos (x^2) - \frac{d\left(\ln {x}\right)}{dx} e^x - \ln{x} \frac{d\left(e^x\right)}{dx} + 0 \\
      &= 4x^3 + 2x\cos (x^2) - \frac{1}{x} e^x - \ln(x) e^x.
\end{align}
</math>
 
Here the second term was computed using the [[chain rule]] and third using the [[product rule]]. The known derivatives of the elementary functions ''x''<sup>2</sup>, ''x''<sup>4</sup>, sin(''x''), ln(''x'') and {{nowrap|1=exp(''x'') = ''e''<sup>''x''</sup>}}, as well as the constant 7, were also used.
 
==Derivatives in higher dimensions==
{{See also|Vector calculus|Multivariable calculus}}
 
===Derivatives of vector valued functions===
A [[vector-valued function]] '''y'''(''t'') of a real variable sends real numbers to vectors in some [[vector space]] '''R'''<sup>''n''</sup>.  A vector-valued function can be split up into its coordinate functions ''y''<sub>1</sub>(''t''), ''y''<sub>2</sub>(''t''), …, ''y''<sub>''n''</sub>(''t''), meaning that {{nowrap|1='''y'''(''t'') = (''y''<sub>1</sub>(''t''), ..., ''y''<sub>''n''</sub>(''t''))}}.  This includes, for example, [[parametric curve]]s in '''R'''<sup>2</sup> or '''R'''<sup>3</sup>.  The coordinate functions are real valued functions, so the above definition of derivative applies to them.  The derivative of '''y'''(''t'') is defined to be the [[Vector (geometric)|vector]], called the [[Differential geometry of curves|tangent vector]], whose coordinates are the derivatives of the coordinate functions.  That is,
:<math>\mathbf{y}'(t) = (y'_1(t), \ldots, y'_n(t)).</math>
 
Equivalently,
 
:<math>\mathbf{y}'(t)=\lim_{h\to 0}\frac{\mathbf{y}(t+h) - \mathbf{y}(t)}{h},</math>
 
if the limit exists.  The subtraction in the numerator is subtraction of vectors, not scalars.  If the derivative of '''y''' exists for every value of ''t'', then '''y'''′ is another vector valued function.
 
If '''e'''<sub>1</sub>, …, '''e'''<sub>''n''</sub> is the standard basis for '''R'''<sup>''n''</sup>, then '''y'''(''t'') can also be written as {{nowrap|''y''<sub>1</sub>(''t'')'''e'''<sub>1</sub> + … + ''y''<sub>''n''</sub>(''t'')'''e'''<sub>''n''</sub>}}. If we assume that the derivative of a vector-valued function retains the [[linearity of differentiation|linearity]] property, then the derivative of '''y'''(''t'') must be
:<math>y'_1(t)\mathbf{e}_1 + \cdots + y'_n(t)\mathbf{e}_n</math>
because each of the basis vectors is a constant.
 
This generalization is useful, for example, if '''y'''(''t'') is the position vector of a particle at time ''t''; then the derivative '''y'''&prime;(''t'') is the [[velocity]] vector of the particle at time ''t''.
 
===Partial derivatives===
{{Main|Partial derivative}}
 
Suppose that ''f'' is a function that depends on more than one variable.  For instance,
:<math>f(x,y) = x^2 + xy + y^2.\,</math>
''f'' can be reinterpreted as a family of functions of one variable indexed by the other variables:
:<math>f(x,y) = f_x(y) = x^2 + xy + y^2.\,</math>
In other words, every value of ''x'' chooses a function, denoted ''f<sub>x</sub>'', which is a function of one real number.<ref>This can also be expressed as the [[adjoint functors|adjointness]] between the [[product topology|product space]] and [[function space]] constructions.</ref>  That is,
:<math>x \mapsto f_x,\,</math>
:<math>f_x(y) = x^2 + xy + y^2.\,</math>
Once a value of ''x'' is chosen, say ''a'', then {{nowrap|''f''(''x'', ''y'')}} determines a function ''f<sub>a</sub>'' that sends ''y'' to {{nowrap|''a''<sup>2</sup> + ay + ''y''<sup>2</sup>}}:
:<math>f_a(y) = a^2 + ay + y^2.\,</math>
In this expression, ''a'' is a ''constant'', not a ''variable'', so ''f<sub>a</sub>'' is a function of only one real variable.  Consequently the definition of the derivative for a function of one variable applies:
:<math>f_a'(y) = a + 2y.\,</math>
The above procedure can be performed for any choice of ''a''.  Assembling the derivatives together into a function gives a function that describes the variation of ''f'' in the ''y'' direction:
:<math>\frac{\part f}{\part y}(x,y) = x + 2y.</math>
This is the partial derivative of ''f'' with respect to ''y''.  Here [[∂]] is a rounded ''d'' called the '''partial derivative symbol'''.  To distinguish it from the letter ''d'', ∂ is sometimes pronounced "der", "del", or "partial" instead of "dee".
 
In general, the '''partial derivative''' of a function {{nowrap|''f''(''x''<sub>1</sub>, …, ''x''<sub>''n''</sub>)}} in the direction ''x<sub>i</sub>'' at the point (''a''<sub>1</sub> …, ''a''<sub>''n''</sub>) is defined to be:
:<math>\frac{\part f}{\part x_i}(a_1,\ldots,a_n) = \lim_{h \to 0}\frac{f(a_1,\ldots,a_i+h,\ldots,a_n) - f(a_1,\ldots,a_i,\ldots,a_n)}{h}.</math>
In the above difference quotient, all the variables except ''x<sub>i</sub>'' are held fixed.  That choice of fixed values determines a function of one variable
:<math>f_{a_1,\ldots,a_{i-1},a_{i+1},\ldots,a_n}(x_i) = f(a_1,\ldots,a_{i-1},x_i,a_{i+1},\ldots,a_n),</math>
and, by definition,
:<math>\frac{df_{a_1,\ldots,a_{i-1},a_{i+1},\ldots,a_n}}{dx_i}(a_i) = \frac{\part f}{\part x_i}(a_1,\ldots,a_n).</math>
In other words, the different choices of ''a'' index a family of one-variable functions just as in the example above.  This expression also shows that the computation of partial derivatives reduces to the computation of one-variable derivatives.
 
An important example of a function of several variables is the case of a [[scalar-valued function]] {{nowrap|''f''(''x''<sub>1</sub>, ..., ''x''<sub>''n''</sub>)}} on a domain in Euclidean space '''R'''<sup>''n''</sup> (e.g., on '''R'''<sup>2</sup> or '''R'''<sup>3</sup>). In this case ''f'' has a partial derivative ∂''f''/∂''x''<sub>''j''</sub> with respect to each variable ''x''<sub>''j''</sub>. At the point ''a'', these partial derivatives define the vector
:<math>\nabla f(a) = \left(\frac{\partial f}{\partial x_1}(a), \ldots, \frac{\partial f}{\partial x_n}(a)\right).</math>
This vector is called the '''[[gradient]]''' of ''f'' at ''a''.  If ''f'' is differentiable at every point in some domain, then the gradient is a vector-valued function ∇''f'' that takes the point ''a'' to the vector ∇''f''(''a'').  Consequently the gradient determines a [[vector field]].
 
===Directional derivatives===
{{Main|Directional derivative}}
 
If ''f'' is a real-valued function on '''R'''<sup>n</sup>, then the partial derivatives of ''f'' measure its variation in the direction of the coordinate axes.  For example, if ''f'' is a function of ''x'' and ''y'', then its partial derivatives measure the variation in ''f'' in the ''x'' direction and the ''y'' direction.  They do not, however, directly measure the variation of ''f'' in any other direction, such as along the diagonal line {{nowrap|1=''y'' = ''x''}}.  These are measured using directional derivatives.  Choose a vector
:<math>\mathbf{v} = (v_1,\ldots,v_n).</math>
The '''directional derivative''' of ''f'' in the direction of '''v''' at the point '''x''' is the limit
:<math>D_{\mathbf{v}}{f}(\mathbf{x}) = \lim_{h \rightarrow 0}{\frac{f(\mathbf{x} + h\mathbf{v}) - f(\mathbf{x})}{h}}.</math>
In some cases it may be easier to compute or estimate the directional derivative after changing the length of the vector.  Often this is done to turn the problem into the computation of a directional derivative in the direction of a unit vector.  To see how this works, suppose that {{nowrap|1='''v''' = λ'''u'''}}.  Substitute {{nowrap|1=''h'' = ''k''/λ}} into the difference quotient.  The difference quotient becomes:
:<math>\frac{f(\mathbf{x} + (k/\lambda)(\lambda\mathbf{u})) - f(\mathbf{x})}{k/\lambda}
= \lambda\cdot\frac{f(\mathbf{x} + k\mathbf{u}) - f(\mathbf{x})}{k}.</math>
This is λ times the difference quotient for the directional derivative of ''f'' with respect to '''u'''. Furthermore, taking the limit as ''h'' tends to zero is the same as taking the limit as ''k'' tends to zero because ''h'' and ''k'' are multiples of each other.  Therefore {{nowrap|1=''D''<sub>'''v'''</sub>(''f'') = λ''D''<sub>'''u'''</sub>(''f'')}}.  Because of this rescaling property, directional derivatives are frequently considered only for unit vectors.
 
If all the partial derivatives of ''f'' exist and are continuous at '''x''', then they determine the directional derivative of ''f'' in the direction '''v''' by the formula:
:<math>D_{\mathbf{v}}{f}(\boldsymbol{x}) = \sum_{j=1}^n v_j \frac{\partial f}{\partial x_j}.</math>
This is a consequence of the definition of the [[total derivative]].  It follows that the directional derivative is [[linear map|linear]] in '''v''', meaning that {{nowrap|1=''D''<sub>'''v''' + '''w'''</sub>(''f'') = ''D''<sub>'''v'''</sub>(''f'') + ''D''<sub>'''w'''</sub>(''f'')}}.
 
The same definition also works when ''f'' is a function with values in '''R'''<sup>m</sup>. The above definition is applied to each component of the vectors.  In this case, the directional derivative is a vector in '''R'''<sup>m</sup>.
 
===Total derivative, total differential and Jacobian matrix===
{{Main|Total derivative}}
{{move section portions|Total derivative|date=July 2013}}
 
When ''f'' is a function from an open subset of '''R'''<sup>''n''</sup> to '''R'''<sup>''m''</sup>, then the directional derivative of ''f'' in a chosen direction is the best linear approximation to ''f'' at that point and in that direction.  But when {{nowrap|''n'' &gt; 1}}, no single directional derivative can give a complete picture of the behavior of ''f''. The total derivative, also called the ('''total''') '''[[differential (calculus)|differential]]''', gives a complete picture by considering all directions at once.  That is, for any vector '''v''' starting at '''a''', the linear approximation formula holds:
:<math>f(\mathbf{a} + \mathbf{v}) \approx f(\mathbf{a}) + f'(\mathbf{a})\mathbf{v}.</math>
Just like the single-variable derivative, {{nowrap|''f''&thinsp;&prime;('''a''')}} is chosen so that the error in this approximation is as small as possible.
 
If ''n'' and ''m'' are both one, then the derivative {{nowrap|''f''&thinsp;′(''a'')}} is a number and the expression {{nowrap|''f''&thinsp;′(''a'')''v''}} is the product of two numbers. But in higher dimensions, it is impossible for {{nowrap|''f''&thinsp;′('''a''')}} to be a number. If it were a number, then {{nowrap|''f''&thinsp;′('''a''')'''v'''}} would be a vector in '''R'''<sup>''n''</sup> while the other terms would be vectors in '''R'''<sup>''m''</sup>, and therefore the formula would not make sense. For the linear approximation formula to make sense, {{nowrap|''f''&thinsp;′('''a''')}} must be a function that sends vectors in '''R'''<sup>''n''</sup> to vectors in '''R'''<sup>''m''</sup>, and {{nowrap|''f''&thinsp;′('''a''')'''v'''}} must denote this function evaluated at '''v'''.
 
To determine what kind of function it is, notice that the linear approximation formula can be rewritten as
:<math>f(\mathbf{a} + \mathbf{v}) - f(\mathbf{a}) \approx f'(\mathbf{a})\mathbf{v}.</math>
Notice that if we choose another vector '''w''', then this approximate equation determines another approximate equation by substituting '''w''' for '''v'''. It determines a third approximate equation by substituting both '''w''' for '''v''' and {{nowrap|'''a''' + '''v'''}} for '''a'''. By subtracting these two new equations, we get
:<math>f(\mathbf{a} + \mathbf{v} + \mathbf{w}) - f(\mathbf{a} + \mathbf{v}) - f(\mathbf{a} + \mathbf{w}) + f(\mathbf{a})
\approx f'(\mathbf{a} + \mathbf{v})\mathbf{w} - f'(\mathbf{a})\mathbf{w}.</math>
If we assume that '''v''' is small and that the derivative varies continuously in '''a''', then {{nowrap|''f''&thinsp;′('''a''' + '''v''')}} is approximately equal to {{nowrap|''f''&thinsp;′('''a''')}}, and therefore the right-hand side is approximately zero. The left-hand side can be rewritten in a different way using the linear approximation formula with {{nowrap|'''v''' + '''w'''}} substituted for '''v'''. The linear approximation formula implies:
:<math>\begin{align}
0
&\approx f(\mathbf{a} + \mathbf{v} + \mathbf{w}) - f(\mathbf{a} + \mathbf{v}) - f(\mathbf{a} + \mathbf{w}) + f(\mathbf{a}) \\
&= (f(\mathbf{a} + \mathbf{v} + \mathbf{w}) - f(\mathbf{a})) - (f(\mathbf{a} + \mathbf{v}) - f(\mathbf{a})) - (f(\mathbf{a} + \mathbf{w}) - f(\mathbf{a})) \\
&\approx f'(\mathbf{a})(\mathbf{v} + \mathbf{w}) - f'(\mathbf{a})\mathbf{v} - f'(\mathbf{a})\mathbf{w}.
\end{align}</math>
This suggests that {{nowrap|''f''&thinsp;′('''a''')}} is a [[linear transformation]] from the vector space '''R'''<sup>''n''</sup> to the vector space '''R'''<sup>''m''</sup>. In fact, it is possible to make this a precise derivation by measuring the error in the approximations.  Assume that the error in these linear approximation formula is bounded by a constant times ||'''v'''||, where the constant is independent of '''v''' but depends continuously on '''a'''. Then, after adding an appropriate error term, all of the above approximate equalities can be rephrased as inequalities.  In particular, {{nowrap|''f''&thinsp;′('''a''')}} is a linear transformation up to a small error term.  In the limit as '''v''' and '''w''' tend to zero, it must therefore be a linear transformation. Since we define the total derivative by taking a limit as '''v''' goes to zero, {{nowrap|''f''&thinsp;′('''a''')}} must be a linear transformation.
 
In one variable, the fact that the derivative is the best linear approximation is expressed by the fact that it is the limit of difference quotients.  However, the usual difference quotient does not make sense in higher dimensions because it is not usually possible to divide vectors. In particular, the numerator and denominator of the difference quotient are not even in the same vector space: The numerator lies in the codomain '''R'''<sup>''m''</sup> while the denominator lies in the domain '''R'''<sup>''n''</sup>. Furthermore, the derivative is a linear transformation, a different type of object from both the numerator and denominator.  To make precise the idea that {{nowrap|''f''&thinsp;′('''a''')}} is the best linear approximation, it is necessary to adapt a different formula for the one-variable derivative in which these problems disappear. If {{nowrap|''f'' : '''R''' → '''R'''}}, then the usual definition of the derivative may be manipulated to show that the derivative of ''f'' at ''a'' is the unique number {{nowrap|''f''&thinsp;′(''a'')}} such that
:<math>\lim_{h \to 0} \frac{f(a + h) - f(a) - f'(a)h}{h} = 0.</math>
This is equivalent to
:<math>\lim_{h \to 0} \frac{|f(a + h) - f(a) - f'(a)h|}{|h|} = 0</math>
because the limit of a function tends to zero if and only if the limit of the absolute value of the function tends to zero.  This last formula can be adapted to the many-variable situation by replacing the absolute values with [[norm (mathematics)|norm]]s.
 
The definition of the '''total derivative''' of ''f'' at '''a''', therefore, is that it is the unique linear transformation {{nowrap|''f''&thinsp;′('''a''') : '''R'''<sup>''n''</sup> → '''R'''<sup>''m''</sup>}} such that
:<math>\lim_{\mathbf{h}\to 0} \frac{\lVert f(\mathbf{a} + \mathbf{h}) - f(\mathbf{a}) - f'(\mathbf{a})\mathbf{h}\rVert}{\lVert\mathbf{h}\rVert} = 0.</math>
Here '''h''' is a vector in '''R'''<sup>''n''</sup>, so the norm in the denominator is the standard length on '''R'''<sup>''n''</sup>.  However, ''f''′('''a''')'''h''' is a vector in '''R'''<sup>''m''</sup>, and the norm in the numerator is the standard length on '''R'''<sup>''m''</sup>.  If ''v'' is a vector starting at ''a'', then {{nowrap|''f''&thinsp;′('''a''')'''v'''}} is called the [[pushforward (differential)|pushforward]] of '''v''' by ''f'' and is sometimes written {{nowrap|''f''<sub>∗</sub>'''v'''}}.
 
If the total derivative exists at '''a''', then all the partial derivatives and directional derivatives of ''f'' exist at '''a''', and for all '''v''', {{nowrap|''f''&thinsp;′('''a''')'''v'''}} is the directional derivative of ''f'' in the direction '''v'''.  If we write ''f'' using coordinate functions, so that {{nowrap|1=''f'' = (''f''<sub>1</sub>, ''f''<sub>2</sub>, ..., ''f''<sub>''m''</sub>)}}, then the total derivative can be expressed using the partial derivatives as a [[matrix (mathematics)|matrix]].  This matrix is called the '''[[Jacobian matrix]]''' of ''f'' at '''a''':
 
:<math>f'(\mathbf{a}) = \operatorname{Jac}_{\mathbf{a}} = \left(\frac{\partial f_i}{\partial x_j}\right)_{ij}.</math>
 
The existence of the total derivative ''f''′('''a''') is strictly stronger than the existence of all the partial derivatives, but if the partial derivatives exist and are continuous, then the total derivative exists, is given by the Jacobian, and depends continuously on '''a'''.
 
The definition of the total derivative subsumes the definition of the derivative in one variable.  That is, if ''f'' is a real-valued function of a real variable, then the total derivative exists if and only if the usual derivative exists.  The Jacobian matrix reduces to a 1×1 matrix whose only entry is the derivative ''f''&prime;(''x'').  This 1×1 matrix satisfies the property that {{nowrap|''f''(''a'' + ''h'') − ''f''(''a'') − ''f''&thinsp;′(''a'')''h''}} is approximately zero, in other words that
 
:<math>f(a+h) \approx f(a) + f'(a)h.</math>
 
Up to changing variables, this is the statement that the function <math>x \mapsto f(a) + f'(a)(x-a)</math> is the best linear approximation to ''f'' at ''a''.
 
The total derivative of a function does not give another function in the same way as the one-variable case.  This is because the total derivative of a multivariable function has to record much more information than the derivative of a single-variable function.  Instead, the total derivative gives a function from the [[tangent bundle]] of the source to the tangent bundle of the target.
 
The natural analog of second, third, and higher-order total derivatives is not a linear transformation, is not a function on the tangent bundle, and is not built by repeatedly taking the total derivative. The analog of a higher-order derivative, called a [[jet (mathematics)|jet]], cannot be a linear transformation because higher-order derivatives reflect subtle geometric information, such as concavity, which cannot be described in terms of linear data such as vectors.  It cannot be a function on the tangent bundle because the tangent bundle only has room for the base space and the directional derivatives. Because jets capture higher-order information, they take as arguments additional coordinates representing higher-order changes in direction. The space determined by these additional coordinates is called the [[jet bundle]].  The relation between the total derivative and the partial derivatives of a function is paralleled in the relation between the ''k''th order jet of a function and its partial derivatives of order less than or equal to ''k''.
 
By repeatedly taking the total derivative, one obtains higher versions of the [[Fréchet derivative]], specialized to '''R'''<sup>''p''</sup>. The ''k''th order total derivative may be interpreted as a map
:<math>D^k f: \mathbb{R}^n \to L^k(\mathbb{R}^n \times \cdots \times \mathbb{R}^n, \mathbb{R}^m)</math>
which takes a point '''x''' in '''R'''<sup>n</sup> and assigns to it an element of the space of ''k''-linear maps from '''R'''<sup>n</sup> to '''R'''<sup>m</sup> – the "best" (in a certain precise sense) ''k''-linear approximation to ''f'' at that point. By precomposing it with the [[Diagonal functor|diagonal map]] Δ, {{nowrap|'''x''' → ('''x''', '''x''')}}, a generalized Taylor series may be begun as
:<math>\begin{align}
f(\mathbf{x}) & \approx f(\mathbf{a}) + (D f)(\mathbf{x}) + (D^2 f)(\Delta(\mathbf{x-a})) + \cdots\\
& = f(\mathbf{a}) + (D f)(\mathbf{x - a}) + (D^2 f)(\mathbf{x - a}, \mathbf{x - a})+ \cdots\\
& = f(\mathbf{a}) + \sum_i (D f)_i (\mathbf{x-a})^i + \sum_{j, k} (D^2 f)_{j k} (\mathbf{x-a})^j (\mathbf{x-a})^k + \cdots
\end{align}</math>
where f('''a''') is identified with a constant function, {{nowrap|('''x''' − '''a''')<sup>''i''</sup>}} are the components of the vector {{nowrap|'''x''' − '''a'''}}, and {{nowrap|(D ''f'')<sub>''i''</sub>}} and {{nowrap|(D<sup>2</sup> ''f'')<sub>''j k''</sub>}} are the components of {{nowrap|D ''f''}} and {{nowrap|D<sup>2</sup> ''f''}} as linear transformations.
 
==Generalizations==
{{Main|Derivative (generalizations)}}
 
The concept of a derivative can be extended to many other settings. The common thread is that the derivative of a function at a point serves as a [[linear approximation]] of the function at that point.
* An important generalization of the derivative concerns [[complex function]]s of [[Complex number|complex variable]]s, such as functions from (a domain in) the complex numbers '''C''' to '''C'''. The notion of the derivative of such a function is obtained by replacing real variables with complex variables in the definition. If '''C''' is identified with '''R'''<sup>2</sup> by writing a complex number ''z'' as {{nowrap|''x'' + ''i'' ''y''}}, then a differentiable function from '''C''' to '''C''' is certainly differentiable as a function from '''R'''<sup>2</sup> to '''R'''<sup>2</sup> (in the sense that its partial derivatives all exist), but the converse is not true in general: the complex derivative only exists if the real derivative is ''complex linear'' and this imposes relations between the partial derivatives called the [[Cauchy Riemann equations]] – see [[holomorphic function]]s.
* Another generalization concerns functions between [[smooth manifold|differentiable or smooth manifolds]]. Intuitively speaking such a manifold ''M'' is a space that can be approximated near each point ''x'' by a vector space called its [[tangent space]]: the prototypical example is a [[smooth surface]] in '''R'''<sup>3</sup>. The derivative (or differential) of a (differentiable) map {{nowrap|''f'': ''M'' → ''N''}} between manifolds, at a point ''x'' in ''M'', is then a [[linear map]] from the tangent space of ''M'' at ''x'' to the tangent space of ''N'' at ''f''(''x''). The derivative function becomes a map between the [[tangent bundle]]s of ''M'' and ''N''. This definition is fundamental in [[differential geometry]] and has many uses – see [[pushforward (differential)]] and [[pullback (differential geometry)]].
* Differentiation can also be defined for maps between [[Dimension (vector space)|infinite dimensional]] [[vector space]]s such as [[Banach space]]s and [[Fréchet space]]s.  There is a generalization both of the directional derivative, called the [[Gâteaux derivative]], and of the differential, called the [[Fréchet derivative]].
* One deficiency of the classical derivative is that not very many functions are differentiable. Nevertheless, there is a way of extending the notion of the derivative so that all [[continuous function|continuous]] functions and many other functions can be differentiated using a concept known as the [[weak derivative]]. The idea is to embed the continuous functions in a larger space called the space of [[distribution (mathematics)|distributions]] and only require that a function is differentiable "on average".
* The properties of the derivative have inspired the introduction and study of many similar objects in algebra and topology — see, for example, [[differential algebra]].
* The discrete equivalent of differentiation is [[finite difference]]s. The study of differential calculus is unified with the calculus of finite differences in [[time scale calculus]].
* Also see [[arithmetic derivative]].
 
 
==History==
{{main|History of calculus}}
{{Expand section|date=November 2013}}
 
 
==See also==
{{Portal|Mathematics}}
* [[Differential calculus#Applications of derivatives|Applications of derivatives]]
* [[Automatic differentiation]]
* [[Differentiability class]]
* [[Differentiation rules]]
* [[Differintegral]]
* [[Fractal derivative]]
* [[Generalizations of the derivative]]
* [[Hasse derivative]]
* [[Integral]]
* [[Linearization]]
* [[Multiplicative inverse]]
* [[Numerical differentiation]]
* [[Radon–Nikodym theorem]]
* [[Symmetric derivative]]
 
==Notes==
{{Reflist|2}}
 
==References==
 
===Print===
{{Refbegin}}
*{{Citation
| last = Anton
| first = Howard
| last2 = Bivens
| first2 = Irl
| last3 = Davis
| first3 = Stephen
| date = February 2, 2005
| title = Calculus: Early Transcendentals Single and Multivariable
| place = New York
| publisher = Wiley
| edition = 8th
| isbn  = 978-0-471-47244-5
}}
*{{Citation
| last = Apostol
| first = Tom M.
| author-link = Tom M. Apostol
| date = June 1967
| title = Calculus, Vol. 1: One-Variable Calculus with an Introduction to Linear Algebra
| publisher = Wiley
| edition = 2nd
| volume = 1
| isbn  = 978-0-471-00005-1
}}
*{{Citation
| last = Apostol
| first = Tom M.
| date = June 1969
| title = Calculus, Vol. 2: Multi-Variable Calculus and Linear Algebra with Applications
| publisher = Wiley
| edition = 2nd
| volume = 1
| isbn  = 978-0-471-00007-5
}}
*{{Citation
| last = Courant
| first = Richard
| last2 = John
| first2 = Fritz
| date = December 22, 1998
| title = Introduction to Calculus and Analysis, Vol. 1
| publisher = Springer-Verlag
| isbn  = 978-3-540-65058-4
}}
*{{Citation
| last = Eves
| first = Howard
| date = January 2, 1990
| title = An Introduction to the History of Mathematics
| edition = 6th
| publisher = Brooks Cole
| isbn  = 978-0-03-029558-4
}}
*{{Citation
| last = Larson
| first = Ron
| last2 = Hostetler
| first2 = Robert P.
| last3 = Edwards
| first3 = Bruce H.
| date = February 28, 2006
| title = Calculus: Early Transcendental Functions
| edition = 4th
| publisher = Houghton Mifflin Company
| isbn  = 978-0-618-60624-5
}}
*{{Citation
| last = Spivak
| first = Michael
| author-link = Michael Spivak
| date = September 1994
| title = Calculus
| publisher = Publish or Perish
| edition = 3rd
| isbn  = 978-0-914098-89-8
}}
*{{Citation
| last = Stewart
| first = James
| date = December 24, 2002
| title = Calculus
| publisher = Brooks Cole
| edition = 5th
| isbn  = 978-0-534-39339-7
}}
*{{Citation
| last = Thompson
| first = Silvanus P.
| date = September 8, 1998
| title = Calculus Made Easy
| edition = Revised, Updated, Expanded
| place = New York
| publisher = St. Martin's Press
| isbn  = 978-0-312-18548-0
}}
{{Refend}}
 
===Online books===
{{Sister project links|Differentiation|Differentiation}}
{{Sister project links|Derivative|Derivative}}
{{Library resources box
|by=no
|onlinebooks=no
|others=no
|about=yes
|label=Derivative}}
{{Refbegin}}
*{{Citation
| last = Crowell
| first = Benjamin
| title = Calculus
| year = 2003
| url = http://www.lightandmatter.com/calc/
}}
*{{Citation
| last = Garrett
| first = Paul
| year = 2004
| title = Notes on First-Year Calculus
| url = http://www.math.umn.edu/~garrett/calculus/
| publisher = [[University of Minnesota]]
}}
*{{Citation
| last = Hussain
| first = Faraz
| year = 2006
| title = Understanding Calculus
| url = http://www.understandingcalculus.com/
}}
*{{Citation
| last = Keisler
| first = H. Jerome
| year = 2000
| title = Elementary Calculus: An Approach Using Infinitesimals
| url = http://www.math.wisc.edu/~keisler/calc.html
}}
*{{Citation
| last = Mauch
| first = Sean
| year = 2004
| title = Unabridged Version of Sean's Applied Math Book
| url = http://www.its.caltech.edu/~sean/book/unabridged.html
}}
*{{Citation
| last = Sloughter
| first = Dan
| year = 2000
| title = Difference Equations to Differential Equations
| url = http://synechism.org/drupal/de2de/
}}
*{{Citation
| last = Strang
| first = Gilbert
| year = 1991
| title = Calculus
| url = http://ocw.mit.edu/ans7870/resources/Strang/strangtext.htm
}}
*{{Citation
| last = [[Keith Stroyan|Stroyan]]
| first = Keith D.
| year = 1997
| title = A Brief Introduction to Infinitesimal Calculus
| url = http://www.math.uiowa.edu/~stroyan/InfsmlCalculus/InfsmlCalc.htm
}}
*{{Citation
| last = Wikibooks
| title = Calculus
| url = http://en.wikibooks.org/wiki/Calculus
}}
{{Refend}}
 
===Web pages===
*{{springer|title=Derivative|id=p/d031260}}
*[[Khan Academy]]: [http://www.khanacademy.org/video/calculus--derivatives-1--new-hd-version?playlist=Calculus Derivative lesson 1]
*[[Eric W. Weisstein|Weisstein, Eric W.]]  "[http://mathworld.wolfram.com/Derivative.html Derivative.]" From [[MathWorld]]
*[http://www.ugrad.math.ubc.ca/coursedoc/math100/notes/derivative/trig2.html Derivatives of Trigonometric functions], UBC
 
 
{{good article}}
 
[[Category:Mathematical analysis]]
[[Category:Differential calculus]]
[[Category:Functions and mappings]]
[[Category:Linear operators in calculus]]
 
{{Link GA|zh}}
{{Link FA|ca}}
{{Link FA|lmo}}
{{Link FA|mk}}

Latest revision as of 00:29, 11 January 2015

The calorie calculator is a easy fat loss tool. This calculator is made because a software package which can allow you to list every meal daily. It might select all the foods you consumed and calculate the calories per item and quantity consumed. After gathering the information it can then total the calories per meal. Every day we do this it may supply you with a total daily caloric consumption report. The calorie calculator is not an exact instrument yet truly close. It provides estimates but usually point you in the appropriate way to what you should do to get rid of weight.

I usually venture to say which it is impossible for the average person to do 1000 sit ups in calorie burn calculator one day, however, it really is extremely possible for the average person to walk 2.5 miles (35-45 minutes a day).

Let's consider what a standard calorie counter would have done. First, it will assume an average calorie burn rate of 1 calorie per minute. Then the counter can discover which exercising for 30 minutes usually yield 30 (minutes) * 6 (MET) * 1 (calories per minute) = 180 calories. The calorie counter might add these 180 calories to your daily expenditure without considering that a piece of these 180 calories is already accounted by a routine activities.

If you could integrate these simple life-style changes into your routine you're about halfway house calories burned walking. The second piece of the equation is several sort of exercise.

If you intensify the exercise, you'll be capable to continuously burn fat. After you exercise a calories burned calculator metabolism speeds up. Thus, you need to exercise each morning to optimize the effects of burning fats. Consult our important source about body fat calculator by clicking the link.

Go for a walk with the friends. Start strolling with neighbors to boost your wellness and get active. Meet throughout the week to take a brisk walk together, either each morning before a day begins, during lunch, or in the night following function.

Bodybuilders, powerlifters plus athletes must remain away from pretty low calorie diets considering the large calorie limitation causes a greater proportion of the weight reduction to be muscle reduction.