Problem: Find the shortest distance between the line ( y - x = 1 ) and the curve ( x = y^2 ).
Step 1: Understand the Problem
We are asked to find the minimum distance between a straight line and a curve. Specifically, between the line ( y - x = 1 ) and the parabola ( x = y^2 ). This means we need to find the point on the parabola that is closest to the line and then calculate that distance.
Step 2: Set Up the Distance Formula
To find the distance between a point and a line, we use the point-to-line distance formula:
[
D = \frac{|Ax_0 + By_0 + C|}{\sqrt{A^2 + B^2}}
]
where ( (x_0, y_0) ) is the point on the parabola, and ( Ax + By + C = 0 ) is the standard form of the line equation.
First, let's rewrite the line equation in standard form:
[
y - x = 1 \quad \Rightarrow \quad -x + y - 1 = 0
]
So, ( A = -1 ), ( B = 1 ), and ( C = -1 ).
Step 3: Express Variables in Terms of One Another
Since points ( (x_0, y_0) ) lie on the parabola ( x = y^2 ), we can express ( x_0 ) in terms of ( y_0 ):
[
x_0 = y_0^2
]
Step 4: Write the Distance as a Function of ( y_0 )
Substitute ( x_0 ) into the distance formula:
[
D = \frac{|A x_0 + B y_0 + C|}{\sqrt{A^2 + B^2}} = \frac{|(-1)(y_0^2) + (1)(y_0) - 1|}{\sqrt{(-1)^2 + 1^2}} = \frac{|-y_0^2 + y_0 - 1|}{\sqrt{2}}
]
Step 5: Simplify the Problem to Find Minimum Distance
To find the shortest distance, we need to find the value of ( y_0 ) that minimizes ( D ). Since ( \sqrt{2} ) is a constant, we can focus on minimizing the numerator:
[
E(y_0) = |-y_0^2 + y_0 - 1|
]
Instead of dealing with the absolute value, we can minimize the square of the expression inside:
[
S(y_0) = [-y_0^2 + y_0 - 1]^2
]
This is because squaring preserves the notion of distance without the complication of absolute values.
Step 6: Find the Derivative and Set it to Zero
To find the minimum of ( S(y_0) ), take the derivative with respect to ( y_0 ) and set it to zero:
First, compute ( S(y_0) ):
[
S(y_0) = [-y_0^2 + y_0 - 1]^2
]
Now, find the derivative ( S'(y_0) ):
[
S'(y_0) = 2 \times [-y_0^2 + y_0 - 1] \times \frac{d}{dy_0}[-y_0^2 + y_0 - 1]
]
Calculate the derivative inside:
[
\frac{d}{dy_0}[-y_0^2 + y_0 - 1] = -2y_0 + 1
]
So,
[
S'(y_0) = 2 \times [-y_0^2 + y_0 - 1] \times (-2y_0 + 1)
]
Set the derivative to zero to find critical points:
[
2 \times [-y_0^2 + y_0 - 1] \times (-2y_0 + 1) = 0
]
Divide both sides by 2 (since 2 is not zero):
[
[-y_0^2 + y_0 - 1] \times (-2y_0 + 1) = 0
]
Step 7: Solve for ( y_0 )
Set each factor to zero:
- First Factor:
[
-y_0^2 + y_0 - 1 = 0
]
Multiply both sides by -1 to simplify:
[
y_0^2 - y_0 + 1 = 0
]
Attempting to solve this quadratic equation, we find the discriminant:
[
D = b^2 - 4ac = (-1)^2 - 4(1)(1) = 1 - 4 = -3
]
Since the discriminant is negative, there are no real solutions from this factor.
- Second Factor:
[
-2y_0 + 1 = 0
]
Solve for ( y_0 ):
[
-2y_0 + 1 = 0 \quad \Rightarrow \quad -2y_0 = -1 \quad \Rightarrow \quad y_0 = \frac{1}{2}
]
Step 8: Find Corresponding ( x_0 )
Now, find ( x_0 ) using ( x_0 = y_0^2 ):
[
x_0 = \left( \frac{1}{2} \right)^2 = \frac{1}{4}
]
So, the point on the parabola closest to the line is ( \left( \frac{1}{4}, \frac{1}{2} \right) ).
Step 9: Calculate the Shortest Distance
Use the distance formula with ( x_0 = \frac{1}{4} ) and ( y_0 = \frac{1}{2} ):
[
D = \frac{|-y_0^2 + y_0 - 1|}{\sqrt{2}} = \frac{ - \left( \frac{1}{2} \right)^2 + \left( \frac{1}{2} \right) - 1 }{\sqrt{2}}
]
Simplify the numerator:
[
- \left( \frac{1}{4} \right) + \frac{1}{2} - 1 = -\frac{1}{4} + \frac{1}{2} - 1 = \left( -\frac{1}{4} + \frac{1}{2} \right) - 1 = \frac{1}{4} - 1 = -\frac{3}{4}
]
Take the absolute value:
[
| -\frac{3}{4} | = \frac{3}{4}
]
Compute the distance:
[
D = \frac{\frac{3}{4}}{\sqrt{2}}
]
Simplify by rationalizing the denominator:
[
D = \frac{\frac{3}{4}}{\sqrt{2}} \times \frac{\sqrt{2}}{\sqrt{2}} = \frac{\frac{3}{4} \times \sqrt{2}}{2} = \frac{3\sqrt{2}}{8}
]
Step 10: State the Final Answer
The shortest distance between the line ( y - x = 1 ) and the curve ( x = y^2 ) is:
[
D = \frac{3\sqrt{2}}{8}
]
Verification
To ensure our solution is correct, we can confirm that the point ( \left( \frac{1}{4}, \frac{1}{2} \right) ) indeed lies on the parabola ( x = y^2 ):
[
x = \left( \frac{1}{2} \right)^2 = \frac{1}{4}
]
Also, we can check the distance calculation step by step, which we have already carefully done.
Explanation
We found the point on the parabola closest to the line by expressing the distance between any point on the parabola and the line as a function of ( y ). By minimizing this distance function, we determined the specific ( y )-value that gives the shortest distance. Substituting back, we found the corresponding ( x )-value and calculated the shortest distance.
Conclusion
By following these steps, we have determined that the shortest distance between the given line and curve is ( \frac{3\sqrt{2}}{8} ), occurring at the point ( \left( \frac{1}{4}, \frac{1}{2} \right) ) on the parabola.