Solving Tricky Algebraic Equation: Tips and Attempt at Solution

  • Thread starter Thread starter SithsNGiggles
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
8 replies · 3K views
SithsNGiggles
Messages
183
Reaction score
0

Homework Statement


I'm helping a friend out with an optimization problem, and I wound up with a tricky equation in which I have to solve for x. Is there a particular way to go about doing this?

[itex]4x^2 - 2x \sqrt{r^2 - x^2} - 2r^2 = 0[/itex],

where [itex]r[/itex] is a positive constant.

Homework Equations



The Attempt at a Solution


So far I've only typed the equation into WolframAlpha, but the solution they provide is beyond my understanding.
 
Physics news on Phys.org
Do you want to solve for x in terms of r?
 
Put the sqrt on the other side of the eqn and square both sides, should be able to do it from there.
 
Gravitational said:
Do you want to solve for x in terms of r?
Yes.
Bread18 said:
Put the sqrt on the other side of the eqn and square both sides, should be able to do it from there.
Oh, I don't know why I hadn't considered that. Unfortunately, after simplifying it a bit, I'm still not sure how to solve for x:
[itex]4x^2 - 2x\sqrt{r^2 - x^2} - 2r^2 = 0[/itex]
[itex]2x^2 - x\sqrt{r^2 - x^2} - r^2 = 0[/itex]
[itex]2x^2 - r^2 = x\sqrt{r^2 - x^2}[/itex]
[itex](2x^2 - r^2)^2 = (x\sqrt{r^2 - x^2})^2[/itex]
[itex]4x^4 - 4x^2r^2 + r^4 = x^2 (r^2 - x^2)[/itex]
[itex]4x^4 - 4x^2r^2 + r^4 = x^2r^2 - x^4[/itex]
[itex]5x^4 - 5x^2r^2 + r^4 = 0[/itex]
 
SithsNGiggles said:

Homework Statement


I'm helping a friend out with an optimization problem, and I wound up with a tricky equation in which I have to solve for x. Is there a particular way to go about doing this?

[itex]4x^2 - 2x \sqrt{r^2 - x^2} - 2r^2 = 0[/itex],

where [itex]r[/itex] is a positive constant.

Homework Equations



The Attempt at a Solution


So far I've only typed the equation into WolframAlpha, but the solution they provide is beyond my understanding.

Bring the term with the square root to the RHS. Square both sides. You should now have a quartic in x, which is actually a quadratic in x2. Solve for x2. At this stage, put the values of x2 you get back into the original equation to ensure they satisfy the original problem. Squaring equations may introduce redundant roots.

Finally, take square roots to get x.
 
SithsNGiggles said:
Yes.

Oh, I don't know why I hadn't considered that. Unfortunately, after simplifying it a bit, I'm still not sure how to solve for x:
[itex]4x^2 - 2x\sqrt{r^2 - x^2} - 2r^2 = 0[/itex]
[itex]2x^2 - x\sqrt{r^2 - x^2} - r^2 = 0[/itex]
[itex]2x^2 - r^2 = x\sqrt{r^2 - x^2}[/itex]
[itex](2x^2 - r^2)^2 = (x\sqrt{r^2 - x^2})^2[/itex]
[itex]4x^4 - 4x^2r^2 + r^4 = x^2 (r^2 - x^2)[/itex]
[itex]4x^4 - 4x^2r^2 + r^4 = x^2r^2 - x^4[/itex]
[itex]5x^4 - 5x^2r^2 + r^4 = 0[/itex]

As I wrote, quartic in x, but a quadratic in x2. To make it clearer, let x2 = y and solve for y.
 
SithsNGiggles said:
Yes.

Oh, I don't know why I hadn't considered that. Unfortunately, after simplifying it a bit, I'm still not sure how to solve for x:
[itex]4x^2 - 2x\sqrt{r^2 - x^2} - 2r^2 = 0[/itex]
[itex]2x^2 - x\sqrt{r^2 - x^2} - r^2 = 0[/itex]
[itex]2x^2 - r^2 = x\sqrt{r^2 - x^2}[/itex]
[itex](2x^2 - r^2)^2 = (x\sqrt{r^2 - x^2})^2[/itex]
[itex]4x^4 - 4x^2r^2 + r^4 = x^2 (r^2 - x^2)[/itex]
[itex]4x^4 - 4x^2r^2 + r^4 = x^2r^2 - x^4[/itex]
[itex]5x^4 - 5x^2r^2 + r^4 = 0[/itex]

Now substitute u=x^2 and you have a quadratic equation in u. You can solve that, right?
 
Ah, thanks. Making that kind of substitution isn't as second-nature as it should be.