tangent of f(x)=1/x at x=-2
Check the domain before calculating the tangent: x ≠ 0
Find the tangent at x = -2
To ease differentiation, the expression 1x is turned into x-1
Let's perform the differentiation: ddx(x-1)
Apply the differentiation rule: ddx(fn) = n·ddx(f)·fn -1 with f = x
ⓘ The derivative of x^n is n*x^(n-1): ddx(x-1) = -1·x-2
-1·x-2
ⓘ Multiplying by -1 gives the opposite: -1·x-2 = -x-2
-x-2
ⓘ The factor is moved to the numerator or the denominator by changing the sign of its exponent, for a nonzero base: -x-2 = -1x2
-1x2
Compute f(-2)
1-2
ⓘ The sign of a fraction goes in front of the bar, whether it comes from the numerator or the denominator: 1-2 = -12
-12
The point of tangency is (-2, -12)
Compute f'(-2)
-1(-2)2
ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: (-2)2 = (-2)·(-2) = 4
-14
The slope is f'(-2) = -14
The tangent passes through this point with this slope: y = -14·(x + 2) -12
Compute the y-intercept: b = -12 -(-14·(-2))
-12 -(-14·(-2))
-12 -14·2
ⓘ Multiplying a fraction by a number multiplies its numerator: 14·2 = 1·24 = 24■To add fractions, put them over the same denominator, then add the numerators. We choose 4, the least common multiple of 2 and 4. Multiplying the numerator and the denominator by the same number does not change the fraction: -12 -24 = -1·22·2 -24 = -1·2 -24
-1·2 -24
ⓘ Multiplications are done before additions and subtractions: 1·2 = 2
-2 -24
ⓘ The numerator and the denominator are computed before the division: -2 -2 = -4
-44
ⓘ We simplify the fraction by dividing the numerator and the denominator by 4, their greatest common divisor: -44 = -1
-1
y = -14·x -1
ⓘ Multiplying a fraction by a term multiplies its numerator: 14·x = 1·x4 = x4
▶Tangent line:   y = -x4 -1