In calculus, the concept of a derivative is fundamental, representing the slope of a tangent line at a specific point on a function. To find the derivative of a function, we can use the limit definition of a derivative, which is expressed as:
$$f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}$$
In this equation, \(h\) represents a small change in \(x\), and as \(h\) approaches zero, we can determine the slope of the tangent line at any point \(x\). For example, consider the function \(f(x) = x^2\). To find its derivative, we substitute into the limit definition:
$$f'(x) = \lim_{h \to 0} \frac{(x + h)^2 - x^2}{h}$$
Expanding \((x + h)^2\) gives us \(x^2 + 2xh + h^2\). Substituting this back into the equation results in:
$$f'(x) = \lim_{h \to 0} \frac{x^2 + 2xh + h^2 - x^2}{h} = \lim_{h \to 0} \frac{2xh + h^2}{h}$$
Factoring out \(h\) from the numerator allows us to simplify:
$$f'(x) = \lim_{h \to 0} (2x + h)$$
As \(h\) approaches zero, this simplifies to:
$$f'(x) = 2x$$
This result indicates that the derivative of \(f(x) = x^2\) is \(f'(x) = 2x\), which provides the slope of the tangent line at any point \(x\). For specific values, such as \(x = 1\) and \(x = -2\), we can easily calculate:
For \(x = 1\):
$$f'(1) = 2(1) = 2$$
For \(x = -2\):
$$f'(-2) = 2(-2) = -4$$
Thus, the slope of the tangent line at \(x = 1\) is 2, and at \(x = -2\) it is -4. This method allows us to find the slope of the tangent line at any point on the curve defined by the function \(f(x) = x^2\) simply by substituting the desired \(x\) value into the derivative equation \(f'(x) = 2x\). This approach can be applied to any differentiable function, making it a powerful tool in calculus.