-
vinayreguri
- Junior | Next Rank: 30 Posts
- Posts: 29
- Joined: Sat May 07, 2011 6:16 am
Hi,
Let A(x,y) be a point on the coordinate plane.
|x-1| is the normal distance of A from from the vertical line x=1
|x+2| is the normal distance of A from from the vertical line x=-2
So, for any -2<x<1, |x-1|+|x+2| will be the distance between lines x=1 and x+2=0. This distance is 3 units.
So, we need to find x which is 1 unit to the right of x-1 =0 or 1 unit to the left of x+2=0.
So, x=2 or x=-3.
(or)
|x-1|+|x+2|=5. Let a = x-1. So, |a|+|a+3| = 5 => |a+3| = 5 -|a| =>|a+3|^2 = (5-|a|)^2
i.e. a^2+6a+9 = a^2 -10|a| +25 =>6a+10|a| = 16.
case-1: If a>0, |a| = a. So, 16a=16 =>a=1
case-2: If a<0, |a| = -a. So, 6a-10a = 16 =>a = -4
So, a=1 or -4
x = a+1. So, x is 2 or -3.












