Derivative of $\frac{x + 1}{x - 1}$

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

Step-by-step solution

Input function
$$\frac{x + 1}{x - 1}$$

Start of the differentiation
$$\frac{d}{dx}{\left[\frac{x + 1}{x - 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 + 1$
  • $v = x - 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 + 1}{x - 1}\right]}\,}}}$$
✨ After: Quotient Rule
$$\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{\frac{d}{dx}{\left[x + 1\right]}\,\left(x - 1\right) - \left(x + 1\right)\,\frac{d}{dx}{\left[x - 1\right]}}{\left(x - 1\right)^{2}}\,}}}$$
Step 2 — 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$
  • $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 + 1\right]} \;\Longrightarrow\; \frac{d}{dx}{\left[x\right]} + \frac{d}{dx}{\left[1\right]}$
🧮 Current expression
$$\frac{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[x + 1\right]}\,}}}\,\left(x - 1\right) - \left(x + 1\right)\,\frac{d}{dx}{\left[x - 1\right]}}{\left(x - 1\right)^{2}}$$
✨ After: Sum/Difference Rule
$$\frac{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\left(\frac{d}{dx}{\left[x\right]} + \frac{d}{dx}{\left[1\right]}\right)\,}}}\,\left(x - 1\right) - \left(x + 1\right)\,\frac{d}{dx}{\left[x - 1\right]}}{\left(x - 1\right)^{2}}$$
Step 3 — Derivative of a Variable Differentiation rule
📖 Rule
$$\frac{d}{dx}(x)=1$$

Why: When x increases by one, the value of this term also increases by one. Its derivative is therefore one.

Changed part: $\frac{d}{dx}{\left[x\right]} \;\Longrightarrow\; 1$
🧮 Current expression
$$\frac{\left(\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[x\right]}\,}}} + \frac{d}{dx}{\left[1\right]}\right)\,\left(x - 1\right) - \left(x + 1\right)\,\frac{d}{dx}{\left[x - 1\right]}}{\left(x - 1\right)^{2}}$$
✨ After: Derivative of a Variable
$$\frac{\left(\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,1\,}}} + \frac{d}{dx}{\left[1\right]}\right)\,\left(x - 1\right) - \left(x + 1\right)\,\frac{d}{dx}{\left[x - 1\right]}}{\left(x - 1\right)^{2}}$$
Step 4 — 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{\left(1 + \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[1\right]}\,}}}\right)\,\left(x - 1\right) - \left(x + 1\right)\,\frac{d}{dx}{\left[x - 1\right]}}{\left(x - 1\right)^{2}}$$
✨ After: Constant Rule
$$\frac{\left(1 + \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,0\,}}}\right)\,\left(x - 1\right) - \left(x + 1\right)\,\frac{d}{dx}{\left[x - 1\right]}}{\left(x - 1\right)^{2}}$$
Step 5 — 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: $1 + 0 \;\Longrightarrow\; 1$
🧮 Current expression
$$\frac{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\left(1 + 0\right)\,}}}\,\left(x - 1\right) - \left(x + 1\right)\,\frac{d}{dx}{\left[x - 1\right]}}{\left(x - 1\right)^{2}}$$
✨ After: Remove a zero term
$$\frac{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,1\,}}}\,\left(x - 1\right) - \left(x + 1\right)\,\frac{d}{dx}{\left[x - 1\right]}}{\left(x - 1\right)^{2}}$$
Step 6 — 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: $1\,\left(x - 1\right) \;\Longrightarrow\; x - 1$
🧮 Current expression
$$\frac{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,1\,\left(x - 1\right)\,}}} - \left(x + 1\right)\,\frac{d}{dx}{\left[x - 1\right]}}{\left(x - 1\right)^{2}}$$
✨ After: Remove a factor of one
$$\frac{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,x - 1\,}}} - \left(x + 1\right)\,\frac{d}{dx}{\left[x - 1\right]}}{\left(x - 1\right)^{2}}$$
Step 7 — 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$
  • $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 - 1\right]} \;\Longrightarrow\; \frac{d}{dx}{\left[x\right]} - \frac{d}{dx}{\left[1\right]}$
🧮 Current expression
$$\frac{x - 1 - \left(x + 1\right)\,\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[x - 1\right]}\,}}}}{\left(x - 1\right)^{2}}$$
✨ After: Sum/Difference Rule
$$\frac{x - 1 - \left(x + 1\right)\,\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\left(\frac{d}{dx}{\left[x\right]} - \frac{d}{dx}{\left[1\right]}\right)\,}}}}{\left(x - 1\right)^{2}}$$
Step 8 — Derivative of a Variable Differentiation rule
📖 Rule
$$\frac{d}{dx}(x)=1$$

Why: When x increases by one, the value of this term also increases by one. Its derivative is therefore one.

Changed part: $\frac{d}{dx}{\left[x\right]} \;\Longrightarrow\; 1$
🧮 Current expression
$$\frac{x - 1 - \left(x + 1\right)\,\left(\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[x\right]}\,}}} - \frac{d}{dx}{\left[1\right]}\right)}{\left(x - 1\right)^{2}}$$
✨ After: Derivative of a Variable
$$\frac{x - 1 - \left(x + 1\right)\,\left(\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,1\,}}} - \frac{d}{dx}{\left[1\right]}\right)}{\left(x - 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{x - 1 - \left(x + 1\right)\,\left(1 - \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[1\right]}\,}}}\right)}{\left(x - 1\right)^{2}}$$
✨ After: Constant Rule
$$\frac{x - 1 - \left(x + 1\right)\,\left(1 - \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,0\,}}}\right)}{\left(x - 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: $1 - 0 \;\Longrightarrow\; 1$
🧮 Current expression
$$\frac{x - 1 - \left(x + 1\right)\,\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\left(1 - 0\right)\,}}}}{\left(x - 1\right)^{2}}$$
✨ After: Remove a zero term
$$\frac{x - 1 - \left(x + 1\right) \cdot \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,1\,}}}}{\left(x - 1\right)^{2}}$$
Step 11 — 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: $\left(x + 1\right) \cdot 1 \;\Longrightarrow\; x + 1$
🧮 Current expression
$$\frac{x - 1 - \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\left(x + 1\right) \cdot 1\,}}}}{\left(x - 1\right)^{2}}$$
✨ After: Remove a factor of one
$$\frac{x - 1 - \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\left(x + 1\right)\,}}}}{\left(x - 1\right)^{2}}$$
Step 12 — Remove brackets after a minus Simplification
📖 Rule
$$a-(b+c)=a-b-c,\quad a-(b-c)=a-b+c$$

Why: With a minus in front of the brackets, every sign inside changes when the brackets are removed.

Changed part: $x - 1 - \left(x + 1\right) \;\Longrightarrow\; x - 1 - x - 1$
🧮 Current expression
$$\frac{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,x - 1 - \left(x + 1\right)\,}}}}{\left(x - 1\right)^{2}}$$
✨ After: Remove brackets after a minus
$$\frac{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,x - 1 - x - 1\,}}}}{\left(x - 1\right)^{2}}$$
Step 13 — 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: $x - 1 - x - 1 \;\Longrightarrow\; -1 - 1$
🧮 Current expression
$$\frac{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,x - 1 - x - 1\,}}}}{\left(x - 1\right)^{2}}$$
✨ After: Opposite terms cancel
$$\frac{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,-1 - 1\,}}}}{\left(x - 1\right)^{2}}$$
Step 14 — Evaluate numbers Simplification
📖 Rule

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

Changed part: $-1 - 1 \;\Longrightarrow\; -2$
🧮 Current expression
$$\frac{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,-1 - 1\,}}}}{\left(x - 1\right)^{2}}$$
✨ After: Evaluate numbers
$$\frac{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,-2\,}}}}{\left(x - 1\right)^{2}}$$
Step 15 — Move the sign in front of the fraction Simplification
📖 Rule
$$\frac{-a}{b}=\frac{a}{-b}=-\frac{a}{b}$$

Why: A minus sign in the numerator or denominator can be written in front of the whole fraction. Two minus signs cancel.

🧮 Current expression
$$\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{-2}{\left(x - 1\right)^{2}}\,}}}$$
✨ After: Move the sign in front of the fraction
$$\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,-\frac{2}{\left(x - 1\right)^{2}}\,}}}$$
Final result
$$-\frac{2}{\left(x - 1\right)^{2}}$$
Valid where:
  • $x - 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{1}{x - 1} - \frac{x + 1}{\left(x - 1\right)^{2}}$$

Step-by-step result ↔ Maxima: identical ✓