Derivative of ex2
The derivative of e^(x^2) is 2x·e^(x^2), by the chain rule. The second derivative is e^(x^2)(4x^2 + 2).
📐 The chain rule
d/dx eu = eu · du/dx.
d/dx ex2 = 2x·ex2, and d²/dx² ex2 = ex2(4x2 + 2).
✍️ Differentiating ex2
- Chain rule with the inside u = x2: d/dx eu = eu · du/dx.
- du/dx = 2x.
- So d/dx ex2 = ex2 × 2x = 2x·ex2.
🔍 Where the rule comes from
The exponent is x2, a function of x, so the chain rule multiplies ex2 by the derivative of the exponent, 2x. Compare (ex)2 = e2x, whose derivative is 2e2x: the position of the square changes everything.
📍 The slope of ex2 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.
| Point | ex2 | 2x·ex2 | Tangent line |
|---|---|---|---|
| x = −2 | 54.5982 | −218.3926 | y = −218.3926x − 382.1871 |
| x = −1 | 2.7183 | −5.4366 | y = −5.4366x − 2.7183 |
| x = −0.5 | 1.284 | −1.284 | y = −1.284x + 0.642 |
| x = 0 | 1 | 0 | y = 1 |
| x = 0.5 | 1.284 | 1.284 | y = 1.284x + 0.642 |
| x = 1 | 2.7183 | 5.4366 | y = 5.4366x − 2.7183 |
| x = 2 | 54.5982 | 218.3926 | y = 218.3926x − 382.1871 |
| x = 3 | 8103.0839 | 48618.5036 | y = 48618.5036x − 137752.4268 |
👪 Exponentials with base e: the derivatives side by side
The same rule, or the same trap, runs through the whole family; each row has its own worked page.
⚠️ The mistakes that lose the marks
- Confusing ex2 with (ex)2 = e2x.
- Forgetting the 2x: ex2 is not its own derivative; only ex is.
🧮 Calculator
The answer appears here, with the working in words.
✏️ Five questions, answers hidden
1. Differentiate e^(x^3).
Answer: 3x^2·e^(x^3)
2. Differentiate e^(−x^2).
Answer: −2x·e^(−x^2)
3. Differentiate e^(2x).
Answer: 2e^(2x)
4. What is the slope of y = e^(x^2) at x = 0?
Answer: 0
5. Differentiate x·e^(x^2).
Answer: e^(x^2)(1 + 2x^2)
📚 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.
