If the linear function y=ax+b passes through the point (-2,0),but not the first Quadrant,then the solution set for ax>b is( ) 已知一次函数y=ax+b经过点(-2,0),且不经过第一象限,则不等式ax>b的解集为( )
答案
D
解:∵y=ax+b 经过点(-2,0), ∴0=-2a+b, ∴b=2a, ∵该直线不经过第一象限, ∴a<0, ax>b,即ax>2a, ∴x<2. 故选D.