Algèbre

Horizontal Line Equation Calculator

Easily calculate the equation of a horizontal line with our online calculator. Just enter the y-coordinate and get the equation in y = k form, along with an interactive graph. Perfect for algebra and geometry!

Enter the y-coordinate to calculate the equation of the horizontal line.

Line Visualization

Understanding Horizontal Lines

A horizontal line is a straight line that is parallel to the x-axis in a Cartesian coordinate system. The equation of a horizontal line is always in the form y = k, where k is a constant representing the y-intercept, i.e., the value where the line crosses the y-axis. For any value of x, the y-value on a horizontal line remains the same.

Examples:

  • The equation y = 3 represents a horizontal line passing through all points where the y-coordinate is 3.
  • Similarly, y = -2 is a horizontal line passing through all points with a y-coordinate of -2.

Horizontal lines have a slope of zero, indicating no vertical change for any horizontal movement. They are fundamental in geometry and algebra, representing constant y-values across the domain of x-values.