Is Wolfram the Key to Solving Tricky Equations on the Go?

In summary, the conversation was about the benefits of healthy eating and exercise. The speakers discussed the importance of incorporating fruits and vegetables into meals, as well as finding enjoyable forms of physical activity. They also touched on the positive impact of a balanced diet and exercise on mental health and overall well-being.
  • #1
MSG100
43
0
Solve |x^2-5|=4|x|.


I tried to rewrite it as:

(sqrt(x^2-5))^2=4*(sqrt(x))^2

Is this the right way to solve the equation?
 
Physics news on Phys.org
  • #2
MSG100 said:
Solve |x^2-5|=4|x|.

I tried to rewrite it as:

(sqrt(x^2-5))^2=4*(sqrt(x))^2

Is this the right way to solve the equation?
No.

For one thing, each side of the original expression exists for all values of x.

For your equation, (sqrt(x^2-5))^2=4*(sqrt(x))^2 , :

The left hand side exists only if x ≥ √(5) or x ≤ -√(5).

The right hand side exists only if x ≥ 0 .
 
  • #3
MSG100 said:
(sqrt(x^2-5))^2=4*(sqrt(x))^2
Did you mean to apply those operations in the other order: square then square root?
That would work, but why bother square-rooting?
 
  • #4
I make a new attempt.

I put the equation in two possible cases.

Case 1: x^2-5=4x
x^2-4x-5=0
x=5 and x=-1

Case 2: x^2-5=4(-x)
x^2+4x-5=0
x=-5 and x=1
 
  • #5
MSG100 said:
I make a new attempt.

I put the equation in two possible cases.

Case 1: x^2-5=4x
x^2-4x-5=0
x=5 and x=-1
That should be x = 5 OR x = -1.
Also, you're omitting something important. In Case 1, your assumption (not stated) is that x ≥ 0. How does this assumption fit in with your solutions?
MSG100 said:
Case 2: x^2-5=4(-x)
x^2+4x-5=0
x=-5 and x=1
Same here - it should be x = -5 OR x = 1. The assumption in this case is that x < 0. How does this assumption fit in with the solutions from this case?
 
  • #6
Of course, I meant "or" not "and"

It's just x=5 that fit in case 1
In case 2 it's only x=-5 that fit.

How do you make the assumptions?
 
  • #7
MSG100 said:
Solve |x^2-5|=4|x|.


I tried to rewrite it as:

(sqrt(x^2-5))^2=4*(sqrt(x))^2

Is this the right way to solve the equation?

Since absolute-value equations can be tricky, the first step in such cases should be to plot both sides; that is, draw graphs of y = |x^2-5| and y = 4|x|, to see where they cross. That will help you to keep things straight. Be sure to make the x-range wide enough to show all the possibilities.
 
  • #8
MSG100 said:
Of course, I meant "or" not "and"

It's just x=5 that fit in case 1
In case 2 it's only x=-5 that fit.

How do you make the assumptions?
When you change |x| to x, you are assuming that x ≥ 0. When you change |x| to -x, you are assuming that x < 0.

One other thing is that when you change |x2 - 5| to x2 - 5, you are assuming that x2 - 5 ≥ 0, or equivalently, that x ≥ √5 or that x < -√5.
 
  • #9
They cross at x=-5, x=-1, x=1, x=5.

Now I'm lost. The x^2 term makes it harder to get it right.

Could someone show how this should be solved or make an exemple. I can't find any similar task with the x^2 term in it. I would be very grateful.
 
  • #10
I usually write it as three intevals, but with this I can't do that.
 
  • #11
MSG100 said:
I usually write it as three intevals, but with this I can't do that.
Make four cases (hence four intervals), since you have four different possibilities.

1. x ≥ √5
2. 0 ≤ x < √5
3. -√5 ≤ x < 0
4. x < -√5

Case 1. x ≥ √5
For the first case, since x ≥ √5, we can say with certainty that x > 0.
Then the original equation simplifies to
x2 - 5 = 4x
==> x2 - 4x = 5 = 0
==> x = 5 or x = -1
Since our assumption was that x ≥ √5, we discard x = -1.
Solution for case 1: x = 5

Now look at the other three cases.
 
  • Like
Likes 1 person
  • #12
Case 2: 0 ≤ x < √5

x has to be positive. 0 or more, but less then √5

(here I'm not sure how to use the signs)

Should it be
-(x^2-5)=4x
or
(x^2-5)=-4x
Both gives x=-5 and x=1
 
  • #13
I did it like this:

Case 2:
-(x^2-5)=4x
Solution: x=1

Case 3:
-(x^2-5)=-4x
Solution: x=-1

Case 4:
-(x^2-5)=4x
Solution: x=-5
 
  • #14
You can avoid all this breaking into cases. Just square both sides of the original equation to get rid of the modulus signs. This gives you a quadratic in x2. Solve. Final step is to check you have not introduced any extra solutions.
 
  • #15
haruspex said:
Did you mean to apply those operations in the other order: square then square root?
That would work, but why bother square-rooting?

Yes, [tex]|A|=\sqrt{A^2}[/tex]
so
[tex]\sqrt{(x^2-5)^2}=4\sqrt{x^2}[/tex]

eliminate the square root by squaring both sides of the equation, and solve as haruspex suggested.


ehild
 
  • #16
Okay, if I do so I'll get:

x^4-26x^2+25=0

and when I type it in Wolfram I get the solution:
x=1
x=-1
 
  • #17
I made a mistake when I wrote it in Wolfram.

Now I got it right!
 
  • #18
You don't need a calculator to figure this out. Let [itex]u=x^2[/itex], then you'll have a quadratic in u that can be factorized. Once you have two solutions for u, solve for x.
 
  • #19
Yes, it's easy, I was outside with no pen or paper so I took some help from Wolfram.
Math becomes hard when your in a hurry.
 

1. What is the definition of absolute value?

The absolute value of a number is the distance of that number from 0 on a number line. It is always a positive number, even if the original number was negative.

2. How is absolute value represented in an equation?

Absolute value is represented using two vertical bars surrounding the number or expression, like |x|.

3. What is the difference between absolute value and a regular value?

Absolute value represents the magnitude of a number, while a regular value represents the actual value of a number.

4. What are the rules for solving equations involving absolute value?

The rules for solving equations with absolute value are: remove the absolute value bars, set up two equations (one with a positive and one with a negative), and solve for both solutions.

5. Why is absolute value important in mathematics?

Absolute value is important in mathematics because it allows us to represent the distance between numbers and it is used in various applications, such as finding the difference between two numbers, calculating speed, and solving equations with inequalities.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
7
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
866
  • Precalculus Mathematics Homework Help
Replies
7
Views
731
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Precalculus Mathematics Homework Help
Replies
20
Views
1K
  • Precalculus Mathematics Homework Help
Replies
8
Views
778
  • Precalculus Mathematics Homework Help
Replies
11
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
536
  • Precalculus Mathematics Homework Help
Replies
10
Views
612
  • Precalculus Mathematics Homework Help
Replies
2
Views
301
Back
Top