Differentiate the following function w.r.t. x : √a+x - √a-x/√a+x + √a-x
Question 243 marksMedium
Differentiate the following function w.r.t. x: a+x+a−xa+x−a−x
Solution:
Key idea: We first simplify y by rationalising: multiply the top and the bottom by a+x−a−x. The bottom becomes (a+x)−(a−x), a difference of squares, and the top becomes a perfect square. Then we use the quotient rule. We take 0<∣x∣<a.
Step 1 — Rationalise.
We multiply the top and the bottom by a+x−a−x.
y=(a+x)−(a−x)(a+x−a−x)2
Step 2 — Expand the top and simplify the bottom.
The square gives (a+x)+(a−x)−2(a+x)(a−x), and the bottom is 2x.
y=2x2a−2a2−x2
y=xa−a2−x2
Step 3 — Differentiate the top.
The top is u=a−a2−x2. By the chain rule, the root has derivative a2−x2−x, and the minus sign in front makes it positive.
u′=a2−x2x
Step 4 — Apply the quotient rule.
The bottom is v=x, so v′=1.
dxdy=x2x×a2−x2x−(a−a2−x2)×1
Step 5 — Clear the small fraction.
We multiply the top and the bottom by a2−x2. The second term becomes aa2−x2−(a2−x2).
dxdy=x2a2−x2x2−aa2−x2+a2−x2
Step 6 — Simplify.
The x2 terms cancel, and we take out the common factor a.