Trying to solve complex equation with 1 variable,

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
13 replies · 2K views
QuantumX
Messages
31
Reaction score
0

Homework Statement



Guys, could you please help me solve this equation for x:

[itex]220000=\sqrt{1.4*10^{32}*\left[ln(\frac{6.17*10^{20}+x}{6.17*10^{20}})-\frac{x}{6.17*10^{20}+x}\right]*\frac{1}{x}}[/itex]

It's supposed to give me the radius of the Milky Way's dark matter halo. I expect to get a value of around 100 kpc (equation will produce a value in m), although that would assume I didn't mess up anywhere in deriving it.

Please don't ask me to show you how I derived it, I mean we can do that, but right now I'd really just like to get a value for x. I just can't solve it myself, and all online calculators I've tried it on have failed.

Can you please help me solve it, it took me all day to get here and now I can't get the actual value.

Thanks!
 
Physics news on Phys.org
QuantumX said:

Homework Statement



Guys, could you please help me solve this equation for x:

[itex]220000=\sqrt{1.4*10^{32}*\left[ln(\frac{6.17*10^{20}+x}{6.17*10^{20}})-\frac{x}{6.17*10^{20}+x}\right]*\frac{1}{x}}[/itex]

It's supposed to give me the radius of the Milky Way's dark matter halo. I expect to get a value of around 100 kpc (equation will produce a value in m), although that would assume I didn't mess up anywhere in deriving it.

Please don't ask me to show you how I derived it, I mean we can do that, but right now I'd really just like to get a value for x. I just can't solve it myself, and all online calculators I've tried it on have failed.

Can you please help me solve it, it took me all day to get here and now I can't get the actual value.

Thanks!
Graph the function.
 
I can't, I don't have any sort of math software, even if I did I doubt it would do it haha.

It 's supposed to be a value, but I can see how it would be impossible to get from this.

Still, any help is appreciated.
 
Basically, the way I derived it (and this may now be more appropriate for the astrophysics section)

is by using the equation

[itex]V=\sqrt{\frac{GM}{R}}[/itex]

I want to estimate the point at which orbital velocity and mass are no longer linearly related. The velocity of the flat portion of the Milky Way's rotation curve is around 220,000m/s. I am looking for a radius Rmax at which the orbital velocity drops off, and that would be the edge of the dark matter halo.

So I have V, I'm looking for R and I now need M to substitute in the above equation.

[itex]M=4/3\pi r^3ρ(r)[/itex]

Integrating:

[itex]M=∫ 4 \pi r^2ρ(r)dr = 4\pi ρ_{0}Rs^3[ln(\frac{Rs + Rmax}{Rs}) - \frac{Rmax}{Rs+Rmax}][/itex]

I have values for ρ(0) and Rs (those are constants for our galaxy)

So substituting everything, I get the equation you see.
 
@SammyS - Thank you so much, that worked. I got a graph, but I'm not sure how to interpret it...

Here's the equation in a form that works for WolframAlpha

220000=sqrt(1.4*10^32*(ln((6.17*10^20+x)/(6.17*10^20))- (x/(6.17*10^20+x))*(1/x))

Yeah, I guess it's a function because the radius is a function of the density, but I thought for some reason that problem would be solved by the fact I had the density constants for our galaxy. I wish WolframAlpha would show me more of the graph, so I can see where it gets near flat, that's what I'll call x for my estimate.

I just totally have no idea what I'm doing haha, but it's been fun.
 
QuantumX said:
@SammyS - Thank you so much, that worked. I got a graph, but I'm not sure how to interpret it...

Here's the equation in a form that works for WolframAlpha

220000=sqrt(1.4*10^32*(ln((6.17*10^20+x)/(6.17*10^20))- (x/(6.17*10^20+x))*(1/x))

Yeah, I guess it's a function because the radius is a function of the density, but I thought for some reason that problem would be solved by the fact I had the density constants for our galaxy. I wish WolframAlpha would show me more of the graph, so I can see where it gets near flat, that's what I'll call x for my estimate.

I just totally have no idea what I'm doing haha, but it's been fun.
Well, you could change x to units of pc or kpc. (I assume x is in meters.)

Or try this for the given expression. (I divided both sides or your equation by 220000 then subtracted 1.) https://www.wolframalpha.com/input/?i=plot+%281.18322%2F220000%29*10%5E16+sqrt%28%28-x%2F%286.17x10%5E20%2Bx%29%2Blog%281.62075x10%5E-21+%286.17x10%5E20%2Bx%29%29%29%2Fx%29-1+for+x+from+8*10%5E20+to+2+*+10%5E21
 
QuantumX said:

Homework Statement



Guys, could you please help me solve this equation for x:

[itex]220000=\sqrt{1.4*10^{32}*\left[ln(\frac{6.17*10^{20}+x}{6.17*10^{20}})-\frac{x}{6.17*10^{20}+x}\right]*\frac{1}{x}}[/itex]

It's supposed to give me the radius of the Milky Way's dark matter halo. I expect to get a value of around 100 kpc (equation will produce a value in m), although that would assume I didn't mess up anywhere in deriving it.

Please don't ask me to show you how I derived it, I mean we can do that, but right now I'd really just like to get a value for x. I just can't solve it myself, and all online calculators I've tried it on have failed.

Can you please help me solve it, it took me all day to get here and now I can't get the actual value.

Thanks!
Let y = x /6.17 x 1020
Then:
[itex]220000=\sqrt{\frac{2.27\times 10^{11}}{y}*\left[ln(1+y)-\frac{y}{1+y}\right]}[/itex]
Square both sides:
[tex]0.213=\left[\frac{ln(1+y)}{y}-\frac{1}{1+y}\right][/tex]
The solution to this equation is approximately y = 1.5.

Chet
 
Last edited:
Hm, well I'm not sure how to interpret yours.

When I look at mine:

https://www.wolframalpha.com/input/...0+x)/(6.17*10^20))-+(x/(6.17*10^20+x))*(1/x))

I see that the curve for x ends right at 3.75*10^21 m = 121.5 kpc, which is within the range of current estimates for the radius of the galaxy (the dark matter halo that is).

That's just an observation, I' not sure how to read the graph honestly. Does the curve end where the graph ends, or does it continue?

I know that x is radius, but what is y ? Is it density? That wouldn't make sense, since density is in kg/m^3, which would be way too much according to the graph for that radius.

Sorry for the super newbie questions.
 
Chestermiller said:
Let y = x /6.17 x 1020
Then:
[itex]220000=\sqrt{\frac{2.27\times 10^{11}}{y}*\left[ln(1+y)-\frac{y}{1+y}\right]}[/itex]
Square both sides:
[tex]0.213=\left[\frac{ln(1+y)}{y}-\frac{1}{1+y}\right][/tex]
The solution to this equation is approximately y = 1.5.

Chet

Hm, that only gives 30 kpc for the radius, it's supposed to be around 10 times that.
 
That's what I did, it's off by a factor of 10, but I'm sure the error is in my calculations somewhere.

Thanks for your help.
 
Chestermiller said:
Let y = x /6.17 x 1020
Then:
[itex]220000=\sqrt{\frac{2.27\times 10^{11}}{y}*\left[ln(1+y)-\frac{y}{1+y}\right]}[/itex]
Square both sides:
[tex]0.213=\left[\frac{ln(1+y)}{y}-\frac{1}{1+y}\right][/tex]
The solution to this equation is approximately y = 1.5.

Chet
Here's the WA graph for ##\displaystyle \left[\frac{ln(1+y)}{y}-\frac{1}{1+y}\right]- 0.213 ##

attachment.php?attachmentid=67345&stc=1&d=1394166341.gif


So, there are two solutions.
 

Attachments

  • MSP6837204i5gah909e2bed000027908ci7he0c87e5.gif
    MSP6837204i5gah909e2bed000027908ci7he0c87e5.gif
    2.7 KB · Views: 552