Why Simplify Before Differentiating?
Expressions involving inverse trigonometric functions can look more complicated than they are. A quotient inside an arctangent, for example, may have factors that cancel and leave a simple input. Differentiating that simpler input can reduce the amount of algebra and make the derivative easier to interpret.
There is an important qualification: algebraic simplification must preserve the function’s domain. If an original denominator is zero at a particular input, cancelling its factor does not make the original expression defined there. Nor may a simplification silently change the value of an expression involving a square root or an inverse trigonometric function.
The Derivative Rules and Their Conditions
For a differentiable function \(u\), the standard chain-rule formulas are:
The conditions matter. The real-valued functions \(\arcsin(u)\) and \(\arccos(u)\) require \(-1\leq u\leq 1\), but the displayed derivative formulas have a nonzero denominator only when \(-1<u<1\). In contrast, \(\arctan(u)\) is defined for every real input. In each case, \(u\) must also be differentiable at the point in question for the chain rule to apply.
These formulas are applied to the input after simplification, but only on points where the original expression is defined. If an inverse sine or cosine input reaches an endpoint, the formula above does not establish a derivative there; endpoint behavior must be considered separately.
Worked Example: Factoring a Quotient Inside an Arctangent
Worked Example: Factoring a Quotient Inside an Arctangent
Differentiate \(f(x)=\arctan\!\left(\frac{x^2-4}{x-2}\right)\), stating the domain restriction.
First find the domain of the original expression. Its denominator requires \(x-2\ne 0\), so \(x\ne 2\). Factor the numerator:
For \(x\ne 2\), cancellation gives \(\frac{x^2-4}{x-2}=x+2\). Thus, on the original domain,
Differentiate the simpler expression. Its inner function is \(u(x)=x+2\), so \(u'(x)=1\):
Check the result by differentiating the original inner quotient where it is defined. The quotient rule gives
Applying the arctangent rule to this inner derivative gives \(\frac{1}{1+\left(\frac{x^2-4}{x-2}\right)^2}\), which becomes \(\frac{1}{1+(x+2)^2}\) for \(x\ne2\). The check agrees. The formula is not asserted at \(x=2\), because the original function is not defined there.
Worked Example: Simplifying Before Applying the Arcsine Rule
Worked Example: Simplifying Before Applying the Arcsine Rule
Differentiate \(g(x)=\arcsin\!\left(\frac{x^2-1}{x-1}\right)\) wherever the derivative exists.
The original quotient requires \(x\ne1\). Factor and cancel on that domain:
For the real-valued arcsine, its input must also satisfy \(-1\leq x+1\leq1\). Subtracting \(1\) throughout gives \(-2\leq x\leq0\). This interval does not contain \(1\), so the domain of \(g\) is \([-2,0]\).
At an interior point \(-2<x<0\), the input \(u(x)=x+1\) satisfies \(-1<u(x)<1\), and \(u'(x)=1\). Therefore,
For a check, differentiate the original inner quotient on its domain:
The arcsine chain rule therefore gives \(1/\sqrt{1-\left(\frac{x^2-1}{x-1}\right)^2}\). Substituting the simplified input \(x+1\) recovers the derivative above on \(-2<x<0\). The formula does not apply at \(x=-2\) or \(x=0\), where the arcsine input is an endpoint of its domain.
Worked Example: A Removable Algebraic Factor Does Not Restore a Point
Worked Example: A Removable Algebraic Factor Does Not Restore a Point
Differentiate \(h(x)=\arctan\!\left(\frac{3x+3}{x+1}\right)\), keeping track of the original domain.
The denominator requires \(x\ne-1\). For those inputs, factor and cancel:
Consequently, \(h(x)=\arctan(3)\) for every \(x\ne-1\). This is constant on its domain, so
To check using the chain rule on the original expression, let \(u(x)=\frac{3x+3}{x+1}\). The quotient rule yields
Thus \(\frac{d}{dx}\arctan(u(x))=\frac{u'(x)}{1+u(x)^2}=\frac{0}{1+9}=0\), agreeing with the simplified calculation. The original function remains undefined at \(x=-1\); cancellation does not add that point to its domain.
Why Simplification Preserves Derivatives on the Original Domain
The reason this strategy works is that differentiating depends on the values of a function near the point under consideration. If two expressions agree on an open interval, they define the same function there and have the same derivative at each point of that interval where the derivative exists.
When a factor is cancelled from a quotient, the resulting expressions agree only where the cancelled factor is nonzero. The argument above justifies using the simplified expression at points in that shared domain; it does not justify defining the original quotient at a point where its denominator was zero.
A Common Mistake: Cancelling a Square Root Incorrectly
Cancellation must also respect the meaning of the expressions involved. A common error is to treat \(\sqrt{(x-1)^2}\) as \(x-1\). The correct identity is
For example, consider \(q(x)=\arcsin\!\left(\frac{\sqrt{(x-1)^2}}{x-1}\right)\). Its original denominator excludes \(x=1\). For \(x>1\), the quotient is \(1\); for \(x<1\), it is \(-1\). Thus
The function is constant on each of the two intervals, so its derivative is \(0\) for \(x>1\) and for \(x<1\). Incorrectly replacing the square root by \(x-1\) would give the quotient \(1\) even when \(x<1\), changing the function there. This example also illustrates why one should not blindly use the arcsine derivative formula at an input of \(1\) or \(-1\): that formula has a zero denominator at those values, even though this particular composite function is constant on each interval.
A Reliable Simplification Procedure
Check denominators, square roots, and the allowed input range of the inverse trigonometric function before cancelling anything.
Factor and cancel common factors, retaining any exclusions inherited from the original expression.
For arcsine and arccosine, verify that the input is in \([-1,1]\); for the derivative formula, check that it is in \((-1,1)\). For arctangent, the input may be any real number.
Use the inverse trigonometric derivative rule and the chain rule only at points where their conditions hold.
Where useful, differentiate the original inner expression on its domain and compare it with the simplified calculation.
Why This Habit Matters
Algebraic simplification can expose a constant or a linear input before any derivative rule is used. That can turn a long quotient-rule calculation into one chain-rule step. It can also make the relevant domain easier to describe, as in the arcsine example, where the simplified input immediately revealed the allowable interval.
The benefit depends on keeping algebra and domains together. A cancelled factor can leave an excluded point; a square root can introduce an absolute value; and an inverse sine or cosine imposes its own input restriction. A derivative obtained from a simplified formula is valid only where that formula represents the original function and the derivative rule applies.
Check Your Understanding
For each question, keep the original expression’s domain in view before using a derivative rule.
- For \(\arctan\!\left(\frac{x^2-9}{x-3}\right)\), what input results from simplification, and which input remains excluded?
- Why is \(\sqrt{(x+2)^2}\) equal to \(|x+2|\), rather than always equal to \(x+2\)?
- What additional input condition is required to use the displayed derivative formula for \(\arcsin(u(x))\)?
- If cancelling a factor produces a simplified expression defined at a point where the original denominator was zero, may that point automatically be added to the original function’s domain? Explain.
- For \(\arcsin\!\left(\frac{x^2-4}{x-2}\right)\), determine the original domain before differentiating.