Exercise 5.5 · Q2: Differentiate
Differentiate the function w.r.t. :
Let . For , . Taking log on both sides,
Differentiating both sides w.r.t. ,
Multiplying by ,
Want the reason behind every step, the basics and the checks?
Taking logarithms turns the square root into a factor , the product into a sum and the quotient into a difference, so five simple log terms replace a messy quotient-rule calculation. The catch is the sign: the fraction is positive on three separate intervals, and on two of them some factors are negative. Writing handles every interval at once, because whatever the sign.
- Given
- , where .
- To find
- , and where it is valid.
- Plan
- (1) Sign table for : where is defined and where . (2) Take using absolute values. (3) Differentiate. (4) Multiply by . (5) Examine the endpoints and .
Basics you need
, , , for (Section 5.4). So . Basics: exponentials and logarithms
If this is the chain rule with Theorem 5. If , has derivative . With : for . Basics: derivative rules
A product or quotient of non-zero numbers is positive when the number of negative factors is even, negative when it is odd. Basics: functions
Solution
Where is defined, and where is it positive?
Each factor changes sign only at . The points split the line into six intervals; count the negative factors in each:
Factor − + + + + + − − + + + + − − − + + + − − − − + + − − − − − + − + − + − + A real square root needs , and is undefined at . exactly at and . So
Sign of on each interval (one unit = 88 px). Green: where is defined. Filled dots at and are included ( there); open dots at are excluded ( is undefined). Imitating Example 27 one would write , and so on, which all exist only for . On and the fraction is positive although some factors are negative, so the function is defined there too. The sign table finds all three pieces; the next step makes one formula work on all of them.Sign of a product or quotient from the number of negative factors (Basic 3). Basics: functionsTake logarithms, with absolute values
On , and , , so and . Since is a product and quotient of the positive numbers ,
because the absolute value of a product or quotient is the product or quotient of the absolute values. Each is positive (no factor is zero on these intervals), so the log laws apply. For every bar can be dropped, giving the line Example 27 would suggest.Differentiate both sides
Left side (chain rule, outer , inner ): . Right side: for each term (Basic 2). So
Each inner function has derivative , so each term is simply . The minus signs of the denominator's factors carry through unchanged.Multiply by
For in , or :
Multiplying by (positive here) isolates , and substituting back gives the answer in alone. This is the textbook's answer, now with the set where it holds.What happens at and ?
There , so the log method cannot be used, and exists only on one side of each point (inside ). At , take . Then
(numerator and denominator both changed sign), so the right-hand difference quotient is
As the second root tends to , while grows without bound, so the quotient tends to . At , in the same way,
and the left-hand quotient equals times a root that tends to , so it tends to .
So the graph meets the -axis at and with vertical tangents, and has no derivative there. The points are not in the domain at all, so nothing is asked there. Hence the formula of Step 4 holds exactly on , and .A derivative (or one-sided derivative) is a finite limit of difference quotients (Section 5.3). Basics: slope at a point
The function is defined on , and . For in , or ,
(Textbook answer: the same expression, with no domain stated.) At and there is no derivative (vertical tangents).
At : , . The bracket is , so . The central difference quotient with gives .
Inside , at , where four of the five factors are negative: , , bracket , so ; the difference quotient gives . The version is right on this piece as well.
- Assuming the function lives only on . The sign table shows two more pieces, and .
- Writing for . It does not exist there; does, with the same derivative.
- Sign slips: the denominator's terms enter with minus signs: .
- Losing the from the square root, or forgetting to multiply back by .
- Before taking logs, find where the function is positive; a sign table does it for products and quotients of linear factors.
- has derivative on both sides of , so one formula covers every piece.
- Where the function is zero the log method says nothing; check those points by difference quotients.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Square root of a real number needs it ; sign of a product | Step 1 | Real numbers (earlier classes) |
| Logarithmic differentiation needs a positive function | Steps 1, 2 | Section 5.5 (Lesson: logarithmic differentiation) |
| Log laws for products, quotients and powers | Step 2 | Section 5.4 |
| ; chain rule | Step 3 | Theorem 5, Section 5.4; Theorem 4, Section 5.3.1 |
| Step 3 | Basic 2 (from Theorems 4 and 5) | |
| Derivative as a finite limit; one-sided derivatives | Step 5 | Section 5.3 |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →