tangent of (x-2)(x^2+4)

⚠ (x-2)(x^2+4) is read as (x-2)*(x^2+4): use (...)*(...) for multiplication, use (...)^(...) for a power
No x-coordinate is specified: find the tangent at the general point x = a, for real a
Let's perform the differentiation: ddx(x3 -2x2 + 4x -8)
ⓘ The derivative of a sum is the sum of the derivatives: ddx(x3 -2x2 + 4x -8) = ddx(x3) + ddx(-2x2) + ddx(4x) + 0
ddx(x3) + ddx(-2x2) + ddx(4x) + 0
ⓘ Differentiating xn gives nxn -1: ddx(x3) = 3x2, ddx(x2) = 2x■The derivative of a constant multiple keeps that factor: that of ku is k·u': ddx(-2x2) = -2·ddx(x2), ddx(4x) = 4■Adding 0 preserves the original value: ddx(4x) + 0 = ddx(4x)
3x2 -2·2x + 4
ⓘ Perform multiplications before additions and subtractions: 2·2 = 4
3x2 -4x + 4
Compute f(a)
The point of tangency is (a, a3 -2a2 + 4a -8)
Compute f'(a)
The slope is f'(a) = 3a2 -4a + 4
The tangent passes through this point with this slope: y = (3a2 -4a + 4)·(x -a) + (a3 -2a2 + 4a -8)
Compute the y-intercept: b = (a3 -2a2 + 4a -8) -(3a2 -4a + 4)·a
(a3 -2a2 + 4a -8) -(3a2 -4a + 4)·a
a3 -2a2 + 4a -8 -(3a2 -4a + 4)·a
ⓘ Multiply each term of the sum by the other factor, using the distributive law: -(3a2 -4a + 4)·a = -(3a3 -4a2 + 4a)
a3 -2a2 + 4a -8 -(3a3 -4a2 + 4a)
ⓘ With a minus sign before parentheses, change the sign of every term inside: -(3a3 -4a2 + 4a) = -3a3 + 4a2 -4a
a3 -2a2 + 4a -8 -3a3 + 4a2 -4a
ⓘ Like terms are grouped by adding their coefficients: a3 -3a3 = -2a3, -2a2 + 4a2 = 2a2, 4a -4a = 0
-2a3 + 2a2 + 0 -8
ⓘ Adding 0 preserves the original value: 0 -8 = -8
-2a3 + 2a2 -8
y = (3a2 -4a + 4)·x + (-2a3 + 2a2 -8)
▶Tangent line:   y = (3a2 -4a + 4)·x -2a3 + 2a2 -8

The 100% free maths solver with steps

100% free

  • Access to every feature and every step
  • Unlimited queries
  • No signup required

Simple

  • Queries in natural language
  • Detailed explanations for every step
  • A simple interface for desktop and mobile

Reliable and lean

  • Fast calculations
  • Reproducible results
  • No AI, low energy use

For everyone

  • Calculation, differentiation, integration, solving, factoring, graphing...
  • Pupils, students, individuals, teachers…
  • Through high school and beyond