Example 25: Is for all real ?
Is it true that for all real ?
is defined only for . So for , the right side is not defined.
For , let . By the definition of logarithm, , that is, .
No. is true only for .
Want the reason behind every step, the basics and the checks?
(to base ) is defined only for positive . For those , is, by definition, the power to which must be raised to give , so automatically. For the right-hand side does not exist, so the equation cannot be true there. The answer is no: it holds exactly when .
- Given
- The natural exponential (defined for all real , always positive) and the natural logarithm (defined for ).
- To find
- Whether for every real , and if not, exactly where it holds.
- Plan
- (1) Recall what means and where it is defined. (2) Deal with . (3) Prove the identity for from the definition. (4) Read the book's argument and see why each step is valid. (5) Conclude.
Basics you need
For base , means (Definition 4). In this chapter means , so means . Basics: exponentials and logarithms
is defined for every real and is always positive. is defined on only, because no power of is zero or negative. Basics: exponentials and logarithms
for ; ; and is ever increasing, hence one-one: . Basics: exponentials and logarithms
Solution
Where does each side make sense?
The left side, , makes sense for every real . The right side, , needs first, and is defined only when . So the right side exists exactly for
An equation can only be true at an where both sides have a value. Before asking whether two expressions are equal, always ask where each one is defined. The book's observation (1) after Definition 4 says it plainly: there is no meaningful logarithm of a non-positive number.Domain of is (Section 5.4, observation (1) about the log function). Basics: exponentials and logarithmsFor the statement fails
Take . Then would have to be a number with . But for every real , so there is no such . The expression has no value, and "" is not a true statement. The same happens for (no gives ) and for every negative .
One counterexample is enough to show that a "for all " statement is false. We have in fact found that it fails for every , which tells us exactly where the trouble is.Range of the exponential function is the set of positive reals (Section 5.4, salient feature (2)). Basics: exponentials and logarithmsFor the statement is true
Let and put . By the definition of the logarithm,
Replacing by : . So the equation holds for every positive .
This is the most direct proof: the logarithm was defined as the exponent that needs to produce . Raising to that exponent therefore produces . The functions and are inverses of each other, and is "undo after do".Definition 4 (Section 5.4) with . Lesson: exponential and logarithmic functionsThe book's argument, step by step
The book argues differently. For let . Then (every power of is positive), so we may take its logarithm:
Since is ever increasing, two different positive numbers have different logarithms, so forces .
Each line needs a justification. Taking needs . The second line uses with and (the book proves it for positive integers and states, without proof, that it holds for every real ). The third uses , which is Definition 4 with base : . The last step needs to be one-one, which follows from it being ever increasing (observation (4)). Both arguments reach the same conclusion.Conclude
is not true for all real . It is true exactly for , and meaningless for .
The graph of (equal scales) is the half-line for only, with an open dot at the origin. The dashed half-line is part of but not of . So the two functions are equal only where both are defined. Two functions are equal only if they have the same domain and agree at every point. and agree on but have different domains ( and ). This matters later: logarithmic differentiation (Section 5.5) writes , which is only allowed where .Equality of functions: same domain and same value at each point (Chapter 1). Basics: exponentials and logarithms
No. holds exactly for . For , is not defined, so the right-hand side does not exist. (This is the book's conclusion: "true only for positive values of ".)
: and ✓. : (negative, which is fine) and ✓. : a calculator reports an error for , because no real power of equals .
- " and cancel, so they are equal everywhere." Cancelling an inverse only works where the inverse is defined.
- Confusing " is negative" with " is negative". is fine; it is itself that must be positive.
- In the book's argument, skipping why gives . It needs to be one-one.
- for , and for every real . The domains differ.
- Always ask where each side of an identity is defined before claiming it holds "for all ".
- Any positive base can be rewritten through : for . Example 28 uses this to differentiate .
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| ; here | Steps 2, 3 | Definition 4, Section 5.4 (Lesson: exponential and logarithmic functions) |
| Domain of is ; is ever increasing | Steps 1, 4 | Section 5.4, observations (1) and (4) on the log function |
| for all real | Steps 2, 4 | Section 5.4, salient features (1) and (2) of exponential functions |
| (for real stated without proof) | Step 4 | Section 5.4 (properties of log, after property (2)) |
| Step 4 | Definition 4, Section 5.4, since | |
| Equality of functions | Step 5 | Chapter 1 |
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 →