d/dx x·e^x = e^x(x + 1) · the product rule

Derivative of x·ex

0methods worked0practice questions0students taught0teaching online since
the answer

The derivative of x·e^x is e^x(x + 1), by the product rule. The second derivative is e^x(x + 2).

the rule

📐 The product rule

(uv)′ = u′v + uv′.

d/dx x·ex = ex(x + 1), and d²/dx² x·ex = ex(x + 2).

step by step

✍️ Differentiating x·ex

  1. Product rule: (uv)′ = u′v + uv′, with u = x and v = ex.
  2. u′ = 1; v′ = ex.
  3. Put them in: (1)(ex) + (x)(ex).
  4. Simplify: d/dx x·ex = ex(x + 1).
why it is true

🔍 Where the rule comes from

A product changes for two reasons: the first factor changes while the second holds still, and the second changes while the first holds still; the product rule adds the two contributions. The factored form ex(x + 1) shows at once that the slope is zero only at x = −1, the minimum of the graph.

at a point

📍 The slope of x·ex at a point, and the tangent line

f′(a) is the slope of the graph at x = a, and the tangent line there is y = f′(a)(x − a) + f(a). Values to four decimal places; the calculator below gives any other point.

Pointx·exex(x + 1)Tangent line
x = −2−0.2707−0.1353y = −0.1353x − 0.5413
x = −1−0.36790y = −0.3679
x = −0.5−0.30330.3033y = 0.3033x − 0.1516
x = 001y = x
x = 0.50.82442.4731y = 2.4731x − 0.4122
x = 12.71835.4366y = 5.4366x − 2.7183
x = 214.778122.1672y = 22.1672x − 29.5562
x = 360.256680.3421y = 80.3421x − 180.7698
the family

👪 Products (the product rule): the derivatives side by side

The same rule, or the same trap, runs through the whole family; each row has its own worked page.

FunctionDerivative
x2·exex(x2 + 2x)the page
x ln xln x + 1the page
x2 ln x2x ln x + x = x(2 ln x + 1)the page
x sin xsin x + x cos xthe page
x cos xcos x − x sin xthe page
ex sin xex(sin x + cos x)the page
ex cos xex(cos x − sin x)the page
sin x cos xcos2 x − sin2 x = cos 2xthe page
x arctan xarctan x + x/(1 + x2)the page
mistakes

⚠️ The mistakes that lose the marks

  • Multiplying the two derivatives: (uv)′ is not u′v′.
  • Forgetting one of the two terms; both factors get their turn.
try another number

🧮 Calculator

The answer appears here, with the working in words.

practice

✏️ Five questions, answers hidden

1. Differentiate x^2·e^x.

Answer: e^x(x^2 + 2x)

2. Differentiate x·e^(2x).

Answer: e^(2x)(2x + 1)

3. Find the second derivative of x·e^x.

Answer: e^x(x + 2)

4. Where is the slope of y = x·e^x zero?

Answer: x = −1

5. Differentiate 3x·e^x.

Answer: 3e^x(x + 1)

where this is taught

📚 The class this belongs to

Derivatives are taught in AP Calculus AB and BC and in Calculus 1 in the US (the power, product, quotient and chain rules, trigonometric, exponential and logarithmic derivatives, implicit differentiation), in A-level Maths (Year 12 and 13, Pure) in the UK, in IB Mathematics Analysis and Approaches (Topic 5), in Class 11 and 12 in CBSE (NCERT Limits and Derivatives, Continuity and Differentiability) and in Mathematical Methods (Units 3 and 4) and Specialist Mathematics in Australia.

If this page is the homework and the method is not sticking, that is what a 1-on-1 class fixes: one tutor with a master's degree, one child, on a shared whiteboard, in your time zone, about US$10 to $13 an hour. How 1-on-1 online tutoring works.

Book a free demoLet's go!

The maths library, by topic
Questions

Asked about Derivative of x·ex

1What is the derivative of x·e^x?
e^x(x + 1), by the product rule.
2Which rule differentiates x·e^x?
The product rule: (uv)′ = u′v + uv′.
3What is the second derivative of x·e^x?
e^x(x + 2): differentiate e^x(x + 1) once more.
4What is the slope of y = x·e^x at x = 3?
80.3421 (to four decimal places): the derivative evaluated at that point. The tangent line there is y = 80.3421x − 180.7698.