Derivatives and their applications
The derivative measures how fast a function changes: it is the slope of the tangent line to its graph and the instantaneous rate of change. This topic explains its definition, the rules to compute it (product, quotient, chain) and its uses: tangent lines, increase and decrease, maxima and minima and optimization.
Definition
The slope of the line through and is the difference quotient . As the two points get closer (), the secant becomes the tangent:
For example, for : . If is a position, is the velocity; if is a volume, is the flow rate. A function with a corner (like at 0) or a jump is not differentiable there.
Differentiation rules
| Function | Derivative | Function | Derivative |
|---|---|---|---|
The derivative of a sum is the sum of the derivatives and constants come out. For products, quotients and composite functions:
The chain rule reads «derivative of the outer function, with the inside untouched, times the derivative of the inside». It is the most forgotten one: , not .
Applications
Tangent line at : . Near it is the best linear approximation of the function.
Increase and decrease. Where the function increases; where , it decreases. Critical points ( or does not exist) are the candidates for a local maximum or minimum. They are classified by the sign change of or by the second derivative: is a maximum (curve bending down), is a minimum; if the test does not decide.
Optimization. Write the quantity to maximize or minimize as a function of one variable, set its physically meaningful interval, find the critical points inside and compare them with the ends of the interval.
Common mistakes
- Differentiating a product as the product of the derivatives: .
- Forgetting the derivative of the inside in the chain rule.
- Swapping the order in the numerator of the quotient rule (, not ).
- In optimization, keeping a critical point outside the valid interval or not comparing with the ends.
Worked examples
Example 1Product rule
Solution
- It is a product with and : , .
- .
Solve it in Simuveliq
- In Math → Symbolic calculator, topic Calculus, operation Differentiate: type
x e^xand press Compute. The Answer is .
Example 2Quotient rule
Solution
- , , .
- . It is always negative: the function decreases on each side of .
Solve it in Simuveliq
- In Math → Symbolic calculator, topic Calculus, operation Differentiate: type
(x+1)/(x-1)and press Compute. The Answer is .
Example 3Chain rule
Solution
- Outer function: sine; inner: .
- Derivative of the outer one with the inside untouched: . Times the derivative of the inside: .
- .
Solve it in Simuveliq
- In Math → Symbolic calculator, topic Calculus, operation Differentiate: type
sin(x^2)and press Compute. The Answer is . - The small graph draws and together: where has a maximum or a minimum, crosses the axis.
Example 4Tangent line
Solution
- . , so .
- .
Solve it in Simuveliq
- In the Compute operation type
tangente(x^3-2x, 1)and press Compute: the Answer is , with and in the steps. The command is in the List of commands.
Example 5Maxima and minima
Solution
- → critical points and .
- : → maximum, ; → minimum, .
- Sign of : positive outside (increasing) and negative inside (decreasing).
Solve it in Simuveliq
- In Math → Symbolic calculator, topic Calculus, operation Maxima and minima: type
x^3-3xand press Compute. The Answer is «max (−1, 2), min (1, −2)».
Example 6Optimization: the box of maximum volume
Solution
- The base is per side and the height is : , with (otherwise there is no box).
- → or .
- is the end of the interval (zero volume). At : → maximum, cm³. At the ends , so it is the absolute maximum.
Solve it in Simuveliq
- In Math → Symbolic calculator, topic Calculus, operation Maxima and minima: type
x(12-2x)^2and press Compute. The Answer is «max (2, 128), min (6, 0)». - The calculator studies the function on the whole real line: the minimum is the edge of the physical interval, where the box vanishes.