Impossible solving for a variable?

In summary, the conversation is about the equation xln(x) + x^2 = 10 and how to solve for x. The discussion includes the possibility of using graphing and numerical techniques such as bisection and Newton's method to find an approximate solution. However, it is noted that there is no exact manual solution for x. The conversation also touches on the use of calculators and the concept of logarithms.
  • #1
student85
138
0
I have the equation that's in the attachment. Sorry I don't know how to write the equation here directly. My trouble is more or less like the one in the following example:

xln(x) + x^2 = 10

How do I solve for x??


In the equation that's in the file I'm solving for r3 btw.
 

Attachments

  • ec..doc
    17 KB · Views: 201
Last edited:
Physics news on Phys.org
  • #2
Forget it, if what you are after is some exact solution.
 
  • #3
Graph intersection is a nice method to find an approximate solution.
 
  • #4
yeah, graphing is one of the first things I thought of.
But hell, there has to be a logical solution, I mean, after all, a calculator does a mathematical procedure when it gives you the solution.
It has to be possible!
 
  • #5
Why would you think that? Your calculator gives an approximate answer when you make it calculate something as simple as 1.0/3.0. You get an approximate answer almost every time you invoke your calculator's trig functions, exponential function, or log function.
 
  • #6
student85 said:
yeah, graphing is one of the first things I thought of.
But hell, there has to be a logical solution, I mean, after all, a calculator does a mathematical procedure when it gives you the solution.
It has to be possible!

Why do you think it is illogical that there exists no algorithm that in a finite number of steps gives you the exact solution of some problem?

After all, even though we know that the number [itex]\sqrt{2}[/itex] HAS a decimal representation it does not at all follow we also have an algorithm that provides us with that representation in a finite number of steps.

Do you find that illogical as well?
 
  • #7
So there is no way of manually solving for x then?
I'll have to do trial and error then...
 
  • #8
Why trial&error?

You can perfectly well use anyone of a number of numerical techniques available that will give you as good an approximation as your perseverance allows you to get.
 
  • #9
hmmm i don't get you.
But please someone tell me yes or no...is there a way to get an exact value for x manually??
And arildno, what are those techniques, can you please share them with me?
 
  • #10
student85 said:
hmmm i don't get you.
But please someone tell me yes or no...is there a way to get an exact value for x manually??

An exact value, no. An approximate value, yes.
 
  • #11
student85 said:
hmmm i don't get you.
But please someone tell me yes or no...is there a way to get an exact value for x manually??
And arildno, what are those techniques, can you please share them with me?
No one can answer your first question until you tell what you mean by "manually"! (Counting on your fingers?:rofl: ) I would interpret "manually" as meaning "without a calculator" but then how are you going to find the logarithm itself?

A very simple numerical method (a little more sophisticated than "trial and error") is "bisection". First find an interval having a positive value for the function at one end and negative at the other (so you know that, for any continuous function, there is a zero in the interval). Here it is easy to see (using a calculator), with f(x)= xln(x)+ x2- 10, that f(2) is negative but f(3) is positive so there exist a solution between 2 and 3. Try half way between: calculate f(2.5) and see whether it is positive or negative. If it is positive, then there must be a solution between 2 and 2.5. If it is negative, then there must be a solution between 2.5 and 3.0. In either case, try half way between again. Keep doing that until you have enough accuracy.

"Newton's method" is more sophisticated and more accurate but more difficult to explain- you use the derivative to replace the function, at some starting x, with its tangent line- solve that linear equation for a new "trial" x, and repeat.

By the way, "trial and error", while not very sophisticated, is a well respected mathematical technique!
 
  • #12
Newton's method works well here

you'll need the function:

f (x) = xln(x) + x^2 - 10 = 0

its first derivative:

f'(x) = ln(x) + 1 + 2x

and an initial guess:

x0 = 1

x1 = x0 - f(x0)/f'(x0) = 4

x2 = x1 - f(x1)/f'(x1) = 2.8884219891

x3 = 2.708932239

x4 = 2.703818875

x5 = 2.703814691

x6 = x5 according to my calculator, we can stop here, it's good enough

try it out(there was a similar post with a similar reply, I'm spreading the Newton's method love today :-))
 
  • #13
wow, thanks a lot to the last two posters, great help at last =)
 

1. How do you solve for a variable that seems impossible to find?

Solving for a variable that seems impossible can be challenging, but it requires breaking down the problem into smaller, more manageable steps. It may also involve using different mathematical techniques, such as substitution or elimination, to manipulate the equation and isolate the variable.

2. Is it possible to have an equation with no solution for a variable?

Yes, it is possible to have an equation with no solution for a variable. This can happen when there is a contradiction within the equation, such as when both sides of the equation equal different values. In this case, there is no value that can be substituted for the variable to make the equation true.

3. Can irrational or imaginary numbers be used to solve for a variable?

Yes, irrational and imaginary numbers can be used to solve for a variable. These numbers may be necessary to find the exact solution to an equation, even though they cannot be represented as a decimal or whole number. In some cases, they may also be used as intermediate steps in solving for the variable.

4. How do you know when you have solved for the variable correctly?

You can check if you have solved for the variable correctly by substituting the solution back into the original equation and see if it makes the equation true. You can also use a calculator or computer program to verify the solution. If the solution satisfies the equation, then you have solved for the variable correctly.

5. Can solving for a variable be done in multiple ways?

Yes, there are often multiple ways to solve for a variable. Some equations may be more easily solved using one technique over another, but ultimately, the goal is to isolate the variable and find its value. It is important to choose a method that best suits the given equation and your own mathematical abilities.

Similar threads

  • Calculus and Beyond Homework Help
Replies
7
Views
704
  • Calculus and Beyond Homework Help
Replies
5
Views
887
Replies
7
Views
518
  • Calculus and Beyond Homework Help
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
10
Views
471
  • Calculus and Beyond Homework Help
Replies
2
Views
837
  • Calculus and Beyond Homework Help
Replies
5
Views
265
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
681
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Back
Top