How are we able to take the log of both sides of the equation?

  • Context: Undergrad 
  • Thread starter Thread starter Juwane
  • Start date Start date
  • Tags Tags
    Log
Click For Summary

Discussion Overview

The discussion revolves around the conditions under which it is valid to take the logarithm of both sides of an equation, specifically in the context of the equation x^3 + 1 = 3^x and its rearrangement to x^3 - 3^x + 1 = 0. Participants explore the implications of taking the logarithm when one side of the equation may be zero or undefined.

Discussion Character

  • Exploratory, Technical explanation, Conceptual clarification, Debate/contested

Main Points Raised

  • Some participants argue that taking the logarithm of both sides is valid when both sides are positive, as in the original equation x^3 + 1 = 3^x.
  • Others point out that rearranging the equation to x^3 - 3^x + 1 = 0 leads to a situation where the logarithm of zero is undefined, thus making it invalid to take the logarithm in this case.
  • A participant mentions that the logarithm can only be applied to positive real numbers, suggesting that the conditions of the equation must be carefully considered.
  • Some participants discuss the implications of the equality as a relationship between functions and the necessity for both sides to be within the domain of the logarithm.
  • One participant highlights the importance of recognizing when expressions may lead to undefined values, emphasizing that ln(0) is not the only concern, as other expressions may also be undefined.

Areas of Agreement / Disagreement

Participants generally agree that taking the logarithm requires both sides to be positive, but there is disagreement on how to handle cases where one side may lead to zero or undefined values. The discussion remains unresolved regarding the best approach to these cases.

Contextual Notes

Participants note limitations regarding the application of logarithmic properties, particularly in cases where variables may approach zero, and the need to consider the domains of the functions involved.

Juwane
Messages
86
Reaction score
0
Here is an equation:

x^3 + 1 = 3^x

We have no problem of taking ln of both sides, right?

But if we write the equation as

x^3 - 3^x + 1 = 0

Now let's take ln of both sides

ln ( x^3 - 3^x + 1 ) = ln (0)

But ln (0) is undefined.

My question is: After just taking 3x to the other side, how does the equation become into a one of which we're not able to take the log of both sides?
 
Mathematics news on Phys.org
This is not that hard to conceptualize is it? Presumably, writing the equation in the second form means that you are attempting to find x for which the equation is 0. But any solutions will obviously give you 0, and we already know ahead of time that ln(0) is undefined. You could have used a simpler example:

x = 1 implies ln(x) = 0, but x - 1 = 0, so clearly you cannot take the natural log of both sides.
 
Similarly, we cannot take the reciprocal of both sides of the second equation in the OP, while we can for the first equation.
 
Juwane said:
Here is an equation:

x^3 + 1 = 3^x

We have no problem of taking ln of both sides, right?
Actually there is a problem -- this is an equation of real numbers, but we are only allowed to apply the logarithm to positive real numbers.

So, we have to split the problem into two cases:
Case 1: x3+1=3x and 3x > 0
Case 2: x3+1=3x and 3x <= 0

(I've done some simple algebra to reduce the number of cases from four to two)

In the first case, we can take the log of both sides, because we have the guarantee that both sides are positive. We have to find other (but very easy) means to deal with the second case.
 
Hurkyl said:
3x <= 0

.

when exactly does this happen in R?
 
sutupidmath said:
when exactly does this happen in R?
I did say there were very easy means to deal with this case. :wink:
 
You may also see like this: the equality:

<br /> x^3 + 1 = 3^x<br />

Is an equality between two functions, and we want to determine the set of values of x such that both sides make sense and the equality is true. In this case, it's possible to compose the functions on both sides (casting aside the sign issue for the left side) with log, because the image of 3^x is contained in the domain of \rm{log}.

But in the case:

<br /> x^3 - 3^x + 1 = 0<br />

We have a different equality, with different functions on both sides, and for one of these, the 0 function on the right, its image set is disjunct from the logarithm's domain, so it's not possible to apply \rm{log}.
 
Juwane said:
ln ( x^3 - 3^x + 1 ) = ln (0)

But ln (0) is undefined.

My question is: After just taking 3x to the other side, how does the equation become into a one of which we're not able to take the log of both sides?

Here is your mistake: ln ( x^3 - 3^x + 1 ) is undefined too.

When we say ln(0) is undefined, we don't just mean when you see it spelled el-en-of-zero.

You see this trick in a lot of "false proofs". You can use variables to sort of "hide" zeros from people's attention. Remember that \frac{x}{x} does NOT equal 1! I mean, it's USUALLY equal to 1. But not always.

You might also consider the fine print on the log rules you learned in school:

ln(xy) = ln x + ln y ONLY IF x and y are both nonzero.

ln(xy) = y ln x ONLY IF x is nonzero

Those kinds of clauses tend to get forgotten in the heat of the moment.
 

Similar threads

  • · Replies 19 ·
Replies
19
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K