Solve the given problem involving logarithms

  • #1
chwala
Gold Member
2,650
351
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

1. How do I solve a logarithmic equation?

To solve a logarithmic equation, you need to isolate the logarithm on one side of the equation and then use the properties of logarithms to simplify it. Once you have simplified the equation, you can solve for the variable by exponentiating both sides with the appropriate base.

2. What are the properties of logarithms that I should know?

Some important properties of logarithms include the product rule (log(a) + log(b) = log(ab)), the quotient rule (log(a) - log(b) = log(a/b)), and the power rule (log(a^b) = b * log(a)). These properties can help you simplify logarithmic expressions and equations.

3. How do I convert a logarithmic equation into exponential form?

To convert a logarithmic equation into exponential form, you need to remember that the logarithm is the exponent. For example, if you have log(base a) x = y, you can rewrite it as a^y = x.

4. When should I use logarithms to solve a problem?

You should use logarithms to solve a problem when the unknown variable is in the exponent of an equation or when the equation involves repeated multiplication or division. Logarithms can help you simplify these types of equations and make them easier to solve.

5. What are some common mistakes to avoid when working with logarithms?

Some common mistakes to avoid when working with logarithms include forgetting to check for extraneous solutions, mixing up the properties of logarithms, and not simplifying the equation before solving for the variable. It's important to double-check your work and make sure you are applying the properties of logarithms correctly.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
21
Views
1K
  • Precalculus Mathematics Homework Help
Replies
6
Views
588
  • Precalculus Mathematics Homework Help
Replies
17
Views
839
  • Precalculus Mathematics Homework Help
Replies
1
Views
507
  • Precalculus Mathematics Homework Help
Replies
2
Views
431
  • Precalculus Mathematics Homework Help
2
Replies
39
Views
2K
  • Precalculus Mathematics Homework Help
Replies
25
Views
2K
  • Precalculus Mathematics Homework Help
Replies
7
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
609
  • Calculus and Beyond Homework Help
Replies
1
Views
465
Back
Top