We are told that the required line L passes through the fixed point P(1,2) and that the segment cut by this line on the co-ordinate axes is bisected at P.
To express an ordinary straight line in terms of its intercepts, we use the axis-intercept form (state the formula first):
ax+by=1,
where a is the x-intercept (the point (a,0) on the x-axis) and b is the y-intercept (the point (0,b) on the y-axis).
The midpoint of this intercepted segment with endpoints (a,0) and (0,b) is obtained from the midpoint formula (2x1+x2,2y1+y2).
So the midpoint is
(2a+0,20+b)=(2a,2b).
But we are told that this midpoint is exactly the point P(1,2). Hence we can write two separate equalities, equating corresponding co-ordinates:
2a=1and2b=2.
From the first equality we immediately get
a=2,
and from the second equality we get
b=4.
Now substitute a=2 and b=4 back into the intercept form of the line:
2x+4y=1.
To put this in a simpler linear form, multiply every term by 4:
4(2x)+4(4y)=4(1).
This simplifies step by step to
2x+y=4.
So the explicit equation of line L is
2x+y=4,
which can also be rearranged as
y=4−2x.
From y=4−2x we identify the slope of L. Writing the general slope-intercept form y=mx+c, we compare and see that
m1=−2.
Next, we are asked for a line L1 that is perpendicular to L and that also passes through the point (−2,1).
If two lines are perpendicular, the product of their slopes equals −1. Hence, denoting by m2 the slope of L1, we use the perpendicular-slopes condition:
m1m2=−1.
Substituting m1=−2, we obtain
(−2)m2=−1.
Dividing both sides by −2, we get
m2=21.
Thus the slope of L1 is 21, and we know that the line must pass through the given point (−2,1). We now write the equation of L1 in point-slope form (state the formula):
y−y0=m(x−x0),
where (x0,y0)=(−2,1). Substituting these values and m=21, we get
y−1=21(x−(−2)).
Since x−(−2)=x+2, the equation becomes
y−1=21(x+2).
To make later substitution easy, expand the right-hand side:
y−1=2x+1.
Now add 1 to both sides:
y=2x+2.
So the explicit equation of L1 is
y=2x+2.
We must now find the point of intersection of the two lines. This point must satisfy both
y=4−2xandy=2x+2.
We therefore set the two right-hand sides equal:
4−2x=2x+2.
To clear the fraction and make the algebra straightforward, multiply every term by 2:
2(4)−2(2x)=2(2x)+2(2).
This simplifies to
8−4x=x+4.
Now gather all the x-terms on one side and the constants on the other side. First add 4x to both sides:
8=x+4+4x.
That gives
8=5x+4.
Next, subtract 4 from both sides to isolate the term with x:
8−4=5x.
Hence
4=5x.
Divide by 5 to obtain x:
x=54.
With this value of x, we substitute back into either of the two line equations to get y. Choosing the simpler y=4−2x, we write
y=4−2(54).
Compute the product inside the parentheses first:
2(54)=58.
Thus
y=4−58.
Rewrite 4 as 520 so we share a common denominator, and subtract:
y=520−58=512.
We have therefore obtained the intersection point
(54,512).
This matches option B in the list provided. Hence, the correct answer is Option B.