SOLUTION: solve the following equation {{{ |2x-6|=|x+1| }}} I remember that the absol splits into positive and negative but then I get lost. Thank you in advanced

Algebra.Com
Question 868819: solve the following equation
AMP Parsing Error of [ |2x-6|=|x+1| ]: Invalid expression '|2\x-6|=|x+1|': syntax error at /home/ichudov/project_locations/algebra.com/templates/Algebra/Expression.pm line 203. .

I remember that the absol splits into positive and negative but then I get lost.
Thank you in advanced

Found 2 solutions by josgarithmetic, KMST:
Answer by josgarithmetic(39620)   (Show Source): You can put this solution on YOUR website!
Rendering tags do not work on this way: |2x-6|=|x+1|
Use "abs()" instead of the vertical bars.
which is abs(2x-6)=abs(x+1).

This might be less efficient logic, but you may have four conditions to examine.
2x-6>=0 and x+1>=0;
2x-6<0 and x+1>=0;
2x-6>=0 and x+1<0;
2x-6<0 and x+1<0.


and ;
The abs values simply give 2x-6=x+1.
x-6=1
x=6+1
x=7

and ;
gives then
-(2x-6)=x+1
-2x+6=x+1
-2x-x+6=1
-3x=1-6
-3x=-5


and ;
This combination will give
2x-6=-(x+1)
2x-6=-x-1
3x-6=-1
3x=-1+6
3x=5


and .
If both these expressions are negative, then the absolute value equation produces this ...
-(2x-6)=-(x+1)
-(2x-6)(-1)=-(x+1)(-1)
2x-6=x+1
which goes exactly the way the first combination, with both expressions positive or zero, went.
x=7

***************************
ANSWER: or ****
***************************

Answer by KMST(5328)   (Show Source): You can put this solution on YOUR website!
TIP: Use "abs(2x-6)" to get .


<---> and <--->

For the cases and both expressions have the same sign,
and we look for solutions to



As is within one of the cases above.
is a solution.

For the case ,
so ,
but so {{abs(2x-6)=-(2x-6=-2x+6}}} ,
and we look for solutions to




Since is within the case ,
is a solution.

Verification:
For :
and


For :
and

RELATED QUESTIONS

So I have been doing some workbooks to refresh myself in algebra lately to get back into... (answered by scott8148)
Please help me solve this equation: 1-r= -5 I tried it and i got this: 1-r =-5 -1 (answered by jim_thompson5910)
5(2x-1)-4x=6x+6 Solve the equation I Get 11 when i try but that doesn't work when you... (answered by venugopalramana)
I am trying to understand if the equation I have done is anywhere near correct. I think... (answered by ReadingBoosters,MathTherapy)
I need help with the following. I can only get so far and then am stuck. I think the... (answered by Fombitz)
simplify the expression (3x^-2y^3)^2(2x^-6y^2) so that you use positive exponents,only (answered by ankor@dixie-net.com)
Hi. I have a question concerning how exponents 'work'. I understand how exponents 'work' (answered by richwmiller,smithsac,richard1234,MathTherapy)
sorry but i'am not sure what this kind of problem is what is x? sqrt (3x+1)+ sqrt... (answered by Alan3354,stanbon)
can a logarithm have 2 answers? I have this equation that says solve for x: Log base... (answered by mananth)