Derivative of $\frac{x^{2}}{x^{2} + 1}$

Differentiated with respect to x. Edit the function · Differentiation rules

Step-by-step solution

Input function
$$\frac{x^{2}}{x^{2} + 1}$$

Start of the differentiation
$$\frac{d}{dx}{\left[\frac{x^{2}}{x^{2} + 1}\right]}$$

Yellow: the expression being replaced. Green: its replacement.

Step 1 — Quotient Rule Differentiation rule
📖 Rule
$$\frac{d}{dx}\left(\frac{u}{v}\right)=\frac{u'v-uv'}{v^{2}}$$
With:
  • $u = x^{2}$
  • $v = x^{2} + 1$

Why: In the numerator, subtract the numerator times the derivative of the denominator from the derivative of the numerator times the denominator. Divide by the squared denominator. The original denominator must be nonzero.

🧮 Current expression
$$\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[\frac{x^{2}}{x^{2} + 1}\right]}\,}}}$$
✨ After: Quotient Rule
$$\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{\frac{d}{dx}{\left[x^{2}\right]}\,\left(x^{2} + 1\right) - x^{2}\,\frac{d}{dx}{\left[x^{2} + 1\right]}}{\left(x^{2} + 1\right)^{2}}\,}}}$$
Step 2 — Power Rule (special case) Differentiation rule
📖 Rule
$$\frac{d}{dx}\left(u^{c}\right)=c\,u^{c-1}$$
With:
  • $u = x$
  • $c = 2$

Why: Bring the current exponent down as a multiplier and subtract one from the exponent. Evaluate that small calculation in a separate step.

Changed part: $\frac{d}{dx}{\left[x^{2}\right]} \;\Longrightarrow\; 2\,x^{2 - 1}$
🧮 Current expression
$$\frac{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[x^{2}\right]}\,}}}\,\left(x^{2} + 1\right) - x^{2}\,\frac{d}{dx}{\left[x^{2} + 1\right]}}{\left(x^{2} + 1\right)^{2}}$$
✨ After: Power Rule (special case)
$$\frac{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,x^{2 - 1}\,}}}\,\left(x^{2} + 1\right) - x^{2}\,\frac{d}{dx}{\left[x^{2} + 1\right]}}{\left(x^{2} + 1\right)^{2}}$$
Step 3 — Evaluate numbers Simplification
📖 Rule

Why: Evaluate only the highlighted numeric expression, preserving exact fractions and decimals.

Changed part: $2 - 1 \;\Longrightarrow\; 1$
🧮 Current expression
$$\frac{2\,x^{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2 - 1\,}}}}\,\left(x^{2} + 1\right) - x^{2}\,\frac{d}{dx}{\left[x^{2} + 1\right]}}{\left(x^{2} + 1\right)^{2}}$$
✨ After: Evaluate numbers
$$\frac{2\,x^{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,1\,}}}}\,\left(x^{2} + 1\right) - x^{2}\,\frac{d}{dx}{\left[x^{2} + 1\right]}}{\left(x^{2} + 1\right)^{2}}$$
Step 4 — Power with exponent one Simplification
📖 Rule
$$a^1=a$$

Why: An expression to the first power is the expression itself.

Changed part: $x^{1} \;\Longrightarrow\; x$
🧮 Current expression
$$\frac{2\,\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,x^{1}\,}}}\,\left(x^{2} + 1\right) - x^{2}\,\frac{d}{dx}{\left[x^{2} + 1\right]}}{\left(x^{2} + 1\right)^{2}}$$
✨ After: Power with exponent one
$$\frac{2\,\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,x\,}}}\,\left(x^{2} + 1\right) - x^{2}\,\frac{d}{dx}{\left[x^{2} + 1\right]}}{\left(x^{2} + 1\right)^{2}}$$
Step 5 — Sum/Difference Rule Differentiation rule
📖 Rule
$$\frac{d}{dx}(u \pm v \pm \dots) = \frac{d}{dx}(u) \pm \frac{d}{dx}(v) \pm \dots$$
With:
  • $u = x^{2}$
  • $v = 1$

Why: Differentiate every term separately and keep the plus and minus signs between them. Even a constant term first receives its own derivative symbol.

Changed part: $\frac{d}{dx}{\left[x^{2} + 1\right]} \;\Longrightarrow\; \frac{d}{dx}{\left[x^{2}\right]} + \frac{d}{dx}{\left[1\right]}$
🧮 Current expression
$$\frac{2\,x\,\left(x^{2} + 1\right) - x^{2}\,\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[x^{2} + 1\right]}\,}}}}{\left(x^{2} + 1\right)^{2}}$$
✨ After: Sum/Difference Rule
$$\frac{2\,x\,\left(x^{2} + 1\right) - x^{2}\,\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\left(\frac{d}{dx}{\left[x^{2}\right]} + \frac{d}{dx}{\left[1\right]}\right)\,}}}}{\left(x^{2} + 1\right)^{2}}$$
Step 6 — Power Rule (special case) Differentiation rule
📖 Rule
$$\frac{d}{dx}\left(u^{c}\right)=c\,u^{c-1}$$
With:
  • $u = x$
  • $c = 2$

Why: Bring the current exponent down as a multiplier and subtract one from the exponent. Evaluate that small calculation in a separate step.

Changed part: $\frac{d}{dx}{\left[x^{2}\right]} \;\Longrightarrow\; 2\,x^{2 - 1}$
🧮 Current expression
$$\frac{2\,x\,\left(x^{2} + 1\right) - x^{2}\,\left(\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[x^{2}\right]}\,}}} + \frac{d}{dx}{\left[1\right]}\right)}{\left(x^{2} + 1\right)^{2}}$$
✨ After: Power Rule (special case)
$$\frac{2\,x\,\left(x^{2} + 1\right) - x^{2}\,\left(\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,x^{2 - 1}\,}}} + \frac{d}{dx}{\left[1\right]}\right)}{\left(x^{2} + 1\right)^{2}}$$
Step 7 — Evaluate numbers Simplification
📖 Rule

Why: Evaluate only the highlighted numeric expression, preserving exact fractions and decimals.

Changed part: $2 - 1 \;\Longrightarrow\; 1$
🧮 Current expression
$$\frac{2\,x\,\left(x^{2} + 1\right) - x^{2}\,\left(2\,x^{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2 - 1\,}}}} + \frac{d}{dx}{\left[1\right]}\right)}{\left(x^{2} + 1\right)^{2}}$$
✨ After: Evaluate numbers
$$\frac{2\,x\,\left(x^{2} + 1\right) - x^{2}\,\left(2\,x^{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,1\,}}}} + \frac{d}{dx}{\left[1\right]}\right)}{\left(x^{2} + 1\right)^{2}}$$
Step 8 — Power with exponent one Simplification
📖 Rule
$$a^1=a$$

Why: An expression to the first power is the expression itself.

Changed part: $x^{1} \;\Longrightarrow\; x$
🧮 Current expression
$$\frac{2\,x\,\left(x^{2} + 1\right) - x^{2}\,\left(2\,\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,x^{1}\,}}} + \frac{d}{dx}{\left[1\right]}\right)}{\left(x^{2} + 1\right)^{2}}$$
✨ After: Power with exponent one
$$\frac{2\,x\,\left(x^{2} + 1\right) - x^{2}\,\left(2\,\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,x\,}}} + \frac{d}{dx}{\left[1\right]}\right)}{\left(x^{2} + 1\right)^{2}}$$
Step 9 — Constant Rule Differentiation rule
📖 Rule
$$\frac{d}{dx}(c)=0$$
With:
  • $c = 1$

Why: This term does not depend on x. Its value stays unchanged when x changes, so its derivative is zero. Other letters are treated as constant parameters.

Changed part: $\frac{d}{dx}{\left[1\right]} \;\Longrightarrow\; 0$
🧮 Current expression
$$\frac{2\,x\,\left(x^{2} + 1\right) - x^{2}\,\left(2\,x + \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[1\right]}\,}}}\right)}{\left(x^{2} + 1\right)^{2}}$$
✨ After: Constant Rule
$$\frac{2\,x\,\left(x^{2} + 1\right) - x^{2}\,\left(2\,x + \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,0\,}}}\right)}{\left(x^{2} + 1\right)^{2}}$$
Step 10 — Remove a zero term Simplification
📖 Rule
$$a+0=a,\quad a-0=a$$

Why: Adding or subtracting zero leaves the value unchanged. Remove that zero term.

Changed part: $2\,x + 0 \;\Longrightarrow\; 2\,x$
🧮 Current expression
$$\frac{2\,x\,\left(x^{2} + 1\right) - x^{2}\,\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\left(2\,x + 0\right)\,}}}}{\left(x^{2} + 1\right)^{2}}$$
✨ After: Remove a zero term
$$\frac{2\,x\,\left(x^{2} + 1\right) - x^{2} \cdot \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,x\,}}}}{\left(x^{2} + 1\right)^{2}}$$
Step 11 — Order the factors Simplification
📖 Rule
$$u\cdot c=c\cdot u$$

Why: The order of factors may be changed (commutative law). Usual order: number, constants, powers of the variable, other factors.

Changed part: $x^{2} \cdot 2\,x \;\Longrightarrow\; 2\,x^{2}\,x$
🧮 Current expression
$$\frac{2\,x\,\left(x^{2} + 1\right) - \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,x^{2} \cdot 2\,x\,}}}}{\left(x^{2} + 1\right)^{2}}$$
✨ After: Order the factors
$$\frac{2\,x\,\left(x^{2} + 1\right) - \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,x^{2}\,x\,}}}}{\left(x^{2} + 1\right)^{2}}$$
Step 12 — Multiply powers with the same base Simplification
📖 Rule
$$a^m\cdot a^n=a^{m+n}$$

Why: With the same base, add the exponents. A factor without a visible exponent has exponent one.

Changed part: $2\,x^{2}\,x \;\Longrightarrow\; 2\,x^{2 + 1}$
🧮 Current expression
$$\frac{2\,x\,\left(x^{2} + 1\right) - \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,x^{2}\,x\,}}}}{\left(x^{2} + 1\right)^{2}}$$
✨ After: Multiply powers with the same base
$$\frac{2\,x\,\left(x^{2} + 1\right) - \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,x^{2 + 1}\,}}}}{\left(x^{2} + 1\right)^{2}}$$
Step 13 — Evaluate numbers Simplification
📖 Rule

Why: Evaluate only the highlighted numeric expression, preserving exact fractions and decimals.

Changed part: $2 + 1 \;\Longrightarrow\; 3$
🧮 Current expression
$$\frac{2\,x\,\left(x^{2} + 1\right) - 2\,x^{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2 + 1\,}}}}}{\left(x^{2} + 1\right)^{2}}$$
✨ After: Evaluate numbers
$$\frac{2\,x\,\left(x^{2} + 1\right) - 2\,x^{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,3\,}}}}}{\left(x^{2} + 1\right)^{2}}$$
Step 14 — Multiply out Simplification
📖 Rule
$$a\cdot(b+c)=a\cdot b+a\cdot c$$

Why: Using the distributive law, multiply every term of the brackets by the other factors. Afterwards, like terms can be combined.

Changed part: $2\,x\,\left(x^{2} + 1\right) - 2\,x^{3} \;\Longrightarrow\; 2\,x\,x^{2} + 2\,x \cdot 1 - 2\,x^{3}$
🧮 Current expression
$$\frac{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,x\,\left(x^{2} + 1\right) - 2\,x^{3}\,}}}}{\left(x^{2} + 1\right)^{2}}$$
✨ After: Multiply out
$$\frac{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,x\,x^{2} + 2\,x \cdot 1 - 2\,x^{3}\,}}}}{\left(x^{2} + 1\right)^{2}}$$
Step 15 — Multiply powers with the same base Simplification
📖 Rule
$$a^m\cdot a^n=a^{m+n}$$

Why: With the same base, add the exponents. A factor without a visible exponent has exponent one.

Changed part: $2\,x\,x^{2} \;\Longrightarrow\; 2\,x^{1 + 2}$
🧮 Current expression
$$\frac{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,x\,x^{2}\,}}} + 2\,x \cdot 1 - 2\,x^{3}}{\left(x^{2} + 1\right)^{2}}$$
✨ After: Multiply powers with the same base
$$\frac{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,x^{1 + 2}\,}}} + 2\,x \cdot 1 - 2\,x^{3}}{\left(x^{2} + 1\right)^{2}}$$
Step 16 — Evaluate numbers Simplification
📖 Rule

Why: Evaluate only the highlighted numeric expression, preserving exact fractions and decimals.

Changed part: $1 + 2 \;\Longrightarrow\; 3$
🧮 Current expression
$$\frac{2\,x^{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,1 + 2\,}}}} + 2\,x \cdot 1 - 2\,x^{3}}{\left(x^{2} + 1\right)^{2}}$$
✨ After: Evaluate numbers
$$\frac{2\,x^{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,3\,}}}} + 2\,x \cdot 1 - 2\,x^{3}}{\left(x^{2} + 1\right)^{2}}$$
Step 17 — Remove a factor of one Simplification
📖 Rule
$$1\cdot a=a,\quad \frac{a}{1}=a$$

Why: Multiplication or division by one leaves the value unchanged.

Changed part: $2\,x \cdot 1 \;\Longrightarrow\; 2\,x$
🧮 Current expression
$$\frac{2\,x^{3} + \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,x \cdot 1\,}}} - 2\,x^{3}}{\left(x^{2} + 1\right)^{2}}$$
✨ After: Remove a factor of one
$$\frac{2\,x^{3} + \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,x\,}}} - 2\,x^{3}}{\left(x^{2} + 1\right)^{2}}$$
Step 18 — Opposite terms cancel Simplification
📖 Rule
$$u-u=0$$

Why: The same term appears once with plus and once with minus. Together they give zero, so both are removed.

Changed part: $2\,x^{3} + 2\,x - 2\,x^{3} \;\Longrightarrow\; 2\,x$
🧮 Current expression
$$\frac{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,x^{3} + 2\,x - 2\,x^{3}\,}}}}{\left(x^{2} + 1\right)^{2}}$$
✨ After: Opposite terms cancel
$$\frac{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,x\,}}}}{\left(x^{2} + 1\right)^{2}}$$
Final result
$$\frac{2\,x}{\left(x^{2} + 1\right)^{2}}$$
Valid where:
  • $x^{2} + 1\ne0$ – The original denominator must be nonzero.

The derivative is only valid where the original function is defined.

Copy link to this solution
Cross-check with a computer algebra system

The derivative computed directly by the computer algebra system Maxima:

$$\frac{2\,x}{x^{2} + 1} - \frac{2\,x^{3}}{\left(x^{2} + 1\right)^{2}}$$

Step-by-step result ↔ Maxima: identical ✓