tangent of f(x)=(x^2)/(x+1) at x=2
Check the domain before calculating the tangent: x ≠ -1
Find the tangent at x = 2
⇥1) Let's perform the differentiation: ddx(x2x + 1)
⇥For p1 = x2 and q2 = x + 1, use the differentiation rule: ddx(p1q2) = ddx(p1)·q2 -p1·ddx(q2)q22
⇥2) Let's differentiate p1: ddx(x2)
⇥ⓘ The derivative of x^n is n*x^(n-1): ddx(x2) = 2x
⇥ 2x
⇥3) Let's perform the differentiation q2: ddx(x + 1)
⇥ⓘ The derivative of a sum is the sum of the derivatives: ddx(x + 1) = 1 + 0
⇥ 1 + 0
⇥ⓘ Adding 0 changes nothing: 1 + 0 = 1
⇥ 1
⇥4) Let's evaluate the resulting derivative (p1q2)': 2x·(x + 1) -x2·1(x + 1)2
⇥ 2x·(x + 1) -x2(x + 1)2
⇥ⓘ What the terms have in common is factored out, so that the fraction can be simplified: 2x·(x + 1) -x2(x + 1)2 = x·(2·(x + 1) -x)(x + 1)2
⇥ x·(2·(x + 1) -x)(x + 1)2
⇥ⓘ Expand by multiplying each term inside the parentheses: 2·(x + 1) = 2x + 2
⇥ x·(2x + 2 -x)(x + 1)2
⇥ⓘ Like terms are grouped by adding their coefficients: 2x -x = x
⇥ x·(x + 2)(x + 1)2
⇥5) Then you can continue the derivation:
⇥ⅰ ddx(x2x + 1) = x·(x + 2)(x + 1)2
⇥ x·(x + 2)(x + 1)2
Compute f(2)
⇥ 222 + 1
⇥ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: 22 = 2·2 = 4■The numerator and the denominator are computed before the division: 2 + 1 = 3
⇥ 43
The point of tangency is (2, 43)
Compute f'(2)
⇥ 2·(2 + 2)(2 + 1)2
⇥ⓘ Parentheses are computed first: 2 + 2 = 4, 2 + 1 = 3
⇥ 2·432
⇥ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: 32 = 3·3 = 9
⇥ⅰ 2·4 = 8
⇥ 89
The slope is f'(2) = 89
The tangent passes through this point with this slope: y = 89·(x -2) + 43
Compute the y-intercept: b = 43 -89·2
⇥ 43 -89·2
⇥ⓘ Multiplying a fraction by a number multiplies its numerator: 89·2 = 8·29 = 169
⇥ 43 -169
⇥ⓘ To add fractions, put them over the same denominator, then add the numerators. We choose 9, the least common multiple of 3 and 9. Multiplying the numerator and the denominator by the same number does not change the fraction: 43 -169 = 4·33·3 -169 = 4·3 -169
⇥ 4·3 -169
⇥ⓘ Multiplications are done before additions and subtractions: 4·3 = 12
⇥ 12 -169
⇥ⓘ The numerator and the denominator are computed before the division: 12 -16 = -4
⇥ -49
⇥ y = 89·x -49
ⓘ Multiplying a fraction by a term multiplies its numerator: 89·x = 8x9■To add fractions, put them over the same denominator, then add the numerators: 8x9 -49 = 8x -49
▶Tangent line:   y = 8x -49