Question
How to find the equation of a transformed line segment from its endpoints
Original question: guys i need to find the transformation for this function that perpendicularly bisects it and is double the length of this line segment whose endpoints are (-5,5) and (5,2) and write g(x) in terms of f(x) but im just not sure about how to write gx in terms of f(x)
Expert Verified Solution
Expert intro: This kind of question is really about reading a transformation from geometry and turning it into function notation. The midpoint and length clues matter.
Detailed walkthrough
The wording suggests you are looking for a transformation that is perpendicular to a line segment and has double the length.
If a function graph is transformed by a horizontal or vertical scaling, the algebraic form depends on the axis and the direction of the stretch.
For a function written as in terms of :
- a vertical stretch by factor 2 gives
- a horizontal stretch by factor 2 gives
- a reflection changes the sign in front of the relevant coordinate
If your segment endpoints are and , the midpoint is
That midpoint is useful if the transformation is centered there.
If you mean the graph should be stretched by a factor of 2 around a center line, a typical function form is
for a horizontal stretch, or
for a vertical stretch.
Because the prompt is a bit unclear, the exact formula depends on whether the stretch is horizontal or vertical and what the original is.
💡 Pitfall guide
The biggest trap is assuming every “double the length” clue means a horizontal stretch. In function notation, the meaning depends on which direction the graph is being stretched. Also, “perpendicular” may describe a geometric line, not a function transformation.
🔄 Real-world variant
If the question is about the line segment itself rather than a function graph, the slope of the segment from to is
A perpendicular line would have slope . If you want a line through the midpoint , its equation is
🔍 Related terms
midpoint, horizontal stretch, perpendicular line
FAQ
What does a horizontal stretch by factor 2 mean in function notation?
A horizontal stretch by factor 2 is written as g(x)=f(x/2).
How do you find the midpoint of endpoints (-5,5) and (5,2)?
Use the midpoint formula: ((-5+5)/2,(5+2)/2)=(0,3.5).