SOLUTION: let a and b be two real numbers with a does not equal b. write an expression that will give the larger of the two numbers

Algebra ->  Customizable Word Problem Solvers  -> Geometry -> SOLUTION: let a and b be two real numbers with a does not equal b. write an expression that will give the larger of the two numbers      Log On

Ad: Over 600 Algebra Word Problems at edhelper.com


   



Question 215112: let a and b be two real numbers with a does not equal b. write an expression that will give the larger of the two numbers
Answer by Edwin McCravy(20055) About Me  (Show Source):
You can put this solution on YOUR website!
let a and b be two real numbers with a does not equal b. write an expression that will give the larger of the two numbers

a%3Eb if and only if a-b=abs%28a-b%29 if and only if %28a-b%29%2Fabs%28a-b%29=1

a%3Cb if and only if a-b=-abs%28a-b%29 if and only if %28a-b%29%2Fabs%28a-b%29=-1

So we let x=%28a-b%29%2Fabs%28a-b%29

So we want a function f%28x%29 such that
f%281%29=+a and f%28-1%29=b

So we find the linear equation y=f%28x%29 that passes through
the points %22%28-1%2Cb%29%22 and %22%281%2Ca%29%22



y-y%5B1%5D=m%28x-x%5B1%5D%29

y-b=%28%28a-b%29%2F2%29%28x-%28-1%29%29

y-b=%28%28a-b%29%2F2%29%28x%2B1%29

y=b%2B%28%28a-b%29%2F2%29%28x%2B1%29

f%28x%29=b%2B%28%28a-b%29%2F2%29%28x%2B1%29
   
So we replace x by %28a-b%29%2Fabs%28a-b%29   

f%28%28a-b%29%2Fabs%28a-b%29%29=b%2B%28%28a-b%29%2F2%29%28%28a-b%29%2Fabs%28a-b%29%2B1%29

So the right side of this equation will always give
the larger of a and b:

b%2B%28%28a-b%29%2F2%29%28%28a-b%29%2Fabs%28a-b%29%2B1%29

Edwin