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

  • Thread starter Juwane
  • Start date
  • Tags
    Log
In summary, when trying to solve equations by taking the logarithm of both sides, it is important to consider the domain of the logarithm function and split the problem into cases if necessary. In the given example, the equation can only be solved by taking the logarithm if both sides are positive numbers. However, in the second form of the equation, the right side is always 0 and therefore the equation cannot be solved by taking the logarithm. It is important to be aware of the domain restrictions and not make assumptions based on general rules or techniques.
  • #1
Juwane
87
0
Here is an equation:

[tex]x^3 + 1 = 3^x[/tex]

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

But if we write the equation as

[tex]x^3 - 3^x + 1 = 0[/tex]

Now let's take ln of both sides

[tex]ln ( x^3 - 3^x + 1 ) = ln (0)[/tex]

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
  • #2
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.
 
  • #3
Similarly, we cannot take the reciprocal of both sides of the second equation in the OP, while we can for the first equation.
 
  • #4
Juwane said:
Here is an equation:

[tex]x^3 + 1 = 3^x[/tex]

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.
 
  • #5
Hurkyl said:
3x <= 0

.

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

[tex]
x^3 + 1 = 3^x
[/tex]

Is an equality between two functions, and we want to determine the set of values of [itex]x[/itex] 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 [itex]log[/itex], because the image of [itex]3^x[/itex] is contained in the domain of [itex]\rm{log}[/itex].

But in the case:

[tex]
x^3 - 3^x + 1 = 0
[/tex]

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 [itex]\rm{log}[/itex].
 
  • #8
Juwane said:
[tex]ln ( x^3 - 3^x + 1 ) = ln (0)[/tex]

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: [tex]ln ( x^3 - 3^x + 1 )[/tex] 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 [tex]\frac{x}{x}[/tex] 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.
 

1. How is it possible to take the log of both sides of an equation?

The logarithm function is a mathematical operation that is defined for all positive numbers. It is the inverse of the exponential function. Therefore, it allows us to find the exponent or power to which a base number must be raised to produce a given result. By taking the log of both sides of an equation, we are essentially undoing the exponential function and solving for the variable.

2. Can we take the log of both sides of any equation?

Yes, as long as the equation involves only positive numbers and the base of the logarithm is also positive. This ensures that the logarithm function is well-defined and results in a real number solution.

3. Why do we take the log of both sides of an equation?

Taking the log of both sides can help simplify an equation, making it easier to solve. It also allows us to transform certain types of equations into a linear form, which can be easier to work with mathematically.

4. Are there any restrictions when taking the log of both sides?

Yes, the base of the logarithm must be the same on both sides of the equation. This is known as the logarithm property of equality. Additionally, we must ensure that the values we are taking the log of are positive, otherwise the logarithm function is not defined.

5. Can taking the log of both sides change the solution to an equation?

Yes, taking the log of both sides can sometimes introduce extraneous solutions. This means that the solution may satisfy the original equation, but not the transformed equation after taking the log. It is important to always check the solutions obtained after taking the log to ensure they are valid for the original equation.

Similar threads

Replies
1
Views
1K
Replies
5
Views
713
  • Calculus and Beyond Homework Help
Replies
5
Views
286
Replies
1
Views
9K
Replies
1
Views
900
Replies
4
Views
1K
Replies
8
Views
1K
Replies
4
Views
751
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Replies
7
Views
1K
Back
Top