Help wid differn when to take logs of both sides

  • Thread starter Thread starter ankur29
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on solving the equation x = 1/(1+x^x) using the Newton-Raphson iterative method to four decimal places, starting with an initial guess of x=1. The user attempts to differentiate the function f(x) = x(1+x^x) - 1 by taking the natural logarithm of both sides, questioning the validity of this approach. The differentiation process is explored, particularly regarding the application of logarithmic differentiation to the term x^x. The conversation emphasizes the need for clarity in applying logarithmic properties when differentiating composite functions.

PREREQUISITES
  • Understanding of Newton-Raphson iterative method
  • Familiarity with logarithmic differentiation
  • Knowledge of derivatives and their applications
  • Experience with exponential functions, particularly x^x
NEXT STEPS
  • Study the Newton-Raphson method for solving nonlinear equations
  • Learn about logarithmic differentiation techniques
  • Explore the properties of exponential functions, specifically x^x
  • Practice solving equations using iterative methods and their convergence criteria
USEFUL FOR

Students and educators in calculus, mathematicians interested in numerical methods, and anyone looking to deepen their understanding of differentiation techniques and iterative solutions for equations.

ankur29
Messages
9
Reaction score
0

Homework Statement



solve via newt raphson iterative method to 4dp

Find the solution x= 1/(1+x^x) to 4dp beginning at x=1


Homework Equations




Now the formula for this is

x1= x0 – f(x0)/f’(x0)

Now what I did was rearrange so f(x)= x( 1+x^x)-1=0

I need to differentiatie this expression

So say I called it y= x( 1+x^x)-1

Could I proceed by taking logs of both sides


i.e (an example where I saw people take logs of boths ides was when y=x^x and therefore lny=x^x) is that only for when there is one term equal to another




The Attempt at a Solution



how I attempted it was as follows

y= x + x^(x+1) -1

lny = lnx +(x+1)lnx - ln1

lny= lnx +xlnx +lnx –ln1

1/y dy/dx= 1/x + lnx +1

dy/dx = (x + x^(x+1) -1) (1/x + lnx +1)

now this feels wrong to me 
 
Physics news on Phys.org
y=x(1+x^x)-1=f(x)=0 => ln(y)=ln(0) ?

why not differentiate f(x)=x(1+x^x)-1 and use the log method to differentiate just x^x part?
 
reckon said:
y=x(1+x^x)-1=f(x)=0 => ln(y)=ln(0) ?

why not differentiate f(x)=x(1+x^x)-1 and use the log method to differentiate just x^x part?


the f(x) simpliefies to x + x^(x+1) -1

do you mean differentiate the x^(x+1) separately

i don't think it can work like that?

do i not need something to equal something before i can apply the log thing
 
yes, to differentiate the x^(x+1)
f(x)=x+x^(x+1)-1

let y=x^(x+1)
apply the log trick to y to get y' and you will get f'(x) as
f'(x)=1+y'
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 24 ·
Replies
24
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
2
Views
2K