Okay, here is the question:
A straight line makes on the coordinate axes positive intercepts whose sum is $7.$ If the line passes through the point $(-3,8),$ find it's equation.
I spent an hour in the afternoon. I'm usually quite comfortable solving sums like these, but this one just messed me up. I'm not getting that peace of mind till I see this solved. I tried a way out:
Let the required points be $Q(0,y)$ and $P(x,0)$.
$x + y = 7$ as sum of x intercept and y intercept is seven.
So, $x = 7-y$
Thus, we can write $P(7-y,0)$ and $Q(0,y)$.
The slope of $PR = \Large \frac{8}{y-10}$, and the slope of $QR = \Large \frac{8-y}{-3}$
But, since the points are collinear, they have the same slope.
The trouble starts then with a quadratic that's bad in the literal sense when I equate them.
The answer is $4x+3y = 12$, which is the correct answer. I would like to learn how to solve these kind of problems are so very interesting. Thanks!
Say the equation of the straight line form in intercept form is $\frac{x}{a}+\frac{y}{b}=1$
Given:
From $1$ and $2$, we have that $-3(7-a)+8a=a(7-a) \Rightarrow-21+3a+8a=7a-a^2$
Therefore we have $a^2+4a-21=0 \Rightarrow (a+7)(a-3)=0$
But it is stated that $a,b>0$
So the required equation for the straight line is:
$$\frac{x}{3}+\frac{y}{4}=1$$