29
6
14
8
The locus of a point \( P(x, y) \) equidistant from the lines \( x + 2y + 7 = 0 \) and \( 2x - y + 8 = 0 \) is defined by the equation:
\[ \frac{x + 2y + 7}{\sqrt{5}} = \pm \frac{2x - y + 8}{\sqrt{5}}. \]
This simplifies to:
\[ (x + 2y + 7)^2 = (2x - y + 8)^2. \]
The combined equation for these lines is:
\[ (x - 3y + 1)(3x + y + 15) = 0. \]
Expanding this equation yields:
\[ 3x^2 - 3y^2 - 8xy + 18x - 44y + 15 = 0. \]
Rewriting this in standard quadratic form:
\[ x^2 - y^2 - \frac{8}{3}xy + 6x - \frac{44}{3}y + 5 = 0. \]
The general form of the equation is:
\[ x^2 - y^2 + 2hxy + 2gx + 2fy + c = 0, \]
from which we identify the coefficients:
\[ h = \frac{4}{3}, \quad g = 3, \quad f = -\frac{22}{3}, \quad c = 5. \]
The expression \( g + c + h - f \) is calculated as:
\[ g + c + h - f = 3 + 5 + \frac{4}{3} + \frac{22}{3} = 8 + 6 = 14. \]
If \( (a, b) \) be the orthocenter of the triangle whose vertices are \( (1, 2) \), \( (2, 3) \), and \( (3, 1) \), and \( I_1 = \int_a^b x \sin(4x - x^2) dx \), \( I_2 = \int_a^b \sin(4x - x^2) dx \), then \( 36 \frac{I_1}{I_2} \) is equal to: