Solve the given problem involving logarithms

  • #1
chwala
Gold Member
2,697
369
Homework Statement
This is my own question (set by me).

Solve for ##x## given,

##\log_{4} x = \log_{11} (x+6)##.
Relevant Equations
understanding of change of base.
In my working i have,

##\dfrac{\log_{11} x }{\log_{11} 4}= \log_{11} (x+6)##

##\dfrac{\log_{11} x }{0.5781}= \log_{11} (x+6)##

##\log_{11} x = \log_{11} \left[(x+6)\right]^{0.5781}##

##x^{1.729} = x+ 6##

##x^{1.729} -x-6=0##

Having ##f(x) = x^{1.729} -x-6##

At this point i made use of Newton's method. i.e

##x_{n+1} =x_n - \dfrac{f(x)}{f'(x)}##

Letting ##x_0 = 3##,

##x_1 = 3.8127##

##x_2= 3.8127- \dfrac{0.3019}{3.5868} = 3.72854##

##x_3= 3.72854 - \dfrac{0.00320}{3.512807} = 3.7191##

##x_4= 3.7191 - \dfrac{-0.029919}{3.504475} = 3.727##

##x≅3.73##

There may be a better approach hence my post. Cheers.
 
Last edited:
  • Like
Likes WWGD and Delta2
Physics news on Phys.org
  • #2
chwala said:
There may be a better approach
Yes. Using midpoint:
##f(x)= \log_{11} (x+6)-\log_{4} x##
##x=3, f(x)=0.12383257##
##x=4, f(x)=-0.039747432##
##x=3.5, f(x)=0.035184142##
##x=3.75, f(x)=-0.003751076##
##x=3.625, f(x)=0.015322586##
##x=3.6875, f(x)=0.005690808##
##x=3.71875, f(x)=0.000946551##
##x=3.734375, f(x)=-0.001408039##
##x=3.7265625, f(x)=-0.000232195##
 
  • Like
  • Informative
Likes WWGD, PeroK, Delta2 and 1 other person
  • #3
Since I'm not a mathematician, I have no idea what my method is called, but it seems to converge on the answer a bit quicker than Newton's method.

##f(x)= \log_{11} (x+6)-\log_{4} x##

##x_1 = 3, f(x)= 0.1238325696##
##x_2 = 4, f(x)= -0.0397474322##

From here I find the slope and intercept of the above two points and solve for x when f(x) is set to zero.
I then make that my new x and repeat the process until f(x) = 0

##x_3 = 3.757015333, f(x)= -0.0047993244##
##x_4 = 3.723646939, f(x)= 0.0002073635##
##x_5 = 3.725028968, f(x)= -0.0000010455##
##x_6 = 3.725022035, f(x)= -0.0000000002##
##x_7 = 3.725022033, f(x)= 0.0000000000##

Hopefully a real mathematician will recognize it and give it a name.

In any event
chwala said:
x≅3.73
appears to be correct.
 
  • Like
Likes WWGD, Khi Choy Xichdu and chwala
  • #4
Or, put it in a spreadsheet:

xf(x)
3.725022033325​
-2.07E-14​
3.725022033326​
1.30E-13​
 
  • Like
Likes Khi Choy Xichdu
  • #5
Iterates $$ x _ 3 = 3,757015333 $$ $$ x _ 4 = 3,723646939 $$ $$ x _ 5 = 3,725028968 $$ $$ x _ 6 = 3,725022035 $$ $$ x _ 7 = 3,725022033 $$ for the function $$ f ( x ) = log _ { 11 } ( x + 6 ) – log _ { 4 } x $$ with initials $$ x _ 1 = 3 $$ $$ x _ 2 = 4 $$ are produced by a secant method. In this method iterates are produced by using the recurrence relation $$ x _ { n } = x _ { n – 1 } – f ( x _ { n - 1 } ) \frac { x _ { n - 1 } – x _ { n - 2 } } { f ( x _ { n – 1 } ) – f ( x _ { n – 2 } ) } $$ and the method can be thought of as an approximation of a tangent method.
 
  • Like
Likes OmCheeto and WWGD
  • #6
Thanks Gavran!
I see that upon inspection that my equation
$$ x_3 = x_2 - \frac {y_2} {m_2} $$
is equivalent to your equation
$$ x _ { n } = x _ { n – 1 } – f ( x _ { n - 1 } ) \frac { x _ { n - 1 } – x _ { n - 2 } } { f ( x _ { n – 1 } ) – f ( x _ { n – 2 } ) } $$

Can't say I remember hearing of the 'Secant Method', but I find this interesting; "...the secant method predates Newton's method by over 3000 years."
ref: wiki
 
  • Like
Likes Gavran

Related to Solve the given problem involving logarithms

What is a logarithm and how do I solve basic logarithmic equations?

A logarithm is the inverse operation to exponentiation, meaning it answers the question: "To what exponent must we raise a base number to get a specific value?" For example, in the equation \( \log_b(x) = y \), \( b^y = x \). To solve basic logarithmic equations, you can often rewrite the equation in its exponential form and solve for the variable.

How do I solve logarithmic equations with different bases?

To solve logarithmic equations with different bases, you can use the change of base formula: \( \log_b(x) = \frac{\log_k(x)}{\log_k(b)} \), where \( k \) is a common base, typically 10 or \( e \). This allows you to convert all logarithms to the same base and then solve the equation.

What are the properties of logarithms that can help simplify equations?

The main properties of logarithms that can help simplify equations are:1. Product Rule: \( \log_b(xy) = \log_b(x) + \log_b(y) \)2. Quotient Rule: \( \log_b\left(\frac{x}{y}\right) = \log_b(x) - \log_b(y) \)3. Power Rule: \( \log_b(x^y) = y \cdot \log_b(x) \)These properties can be used to combine or break down logarithmic expressions, making it easier to solve equations.

How do I solve logarithmic equations with variables on both sides?

To solve logarithmic equations with variables on both sides, you can use logarithmic properties to combine the logarithms if possible. If the equation is of the form \( \log_b(f(x)) = \log_b(g(x)) \), you can set the arguments equal to each other: \( f(x) = g(x) \). Then solve the resulting algebraic equation.

What should I do if a logarithmic equation has no solution or multiple solutions?

First, solve the logarithmic equation as you normally would. Then, check all potential solutions by substituting them back into the original equation to ensure they do not violate any domain restrictions (such as taking the logarithm of a non-positive number). If a solution does not satisfy the original equation or falls outside the domain, it should be discarded. In some cases, you might find there are no valid solutions or multiple valid solutions.

Similar threads

Replies
17
Views
1K
Replies
21
Views
1K
Replies
6
Views
741
Replies
2
Views
551
Replies
7
Views
2K
Replies
1
Views
710
Back
Top