Enter a more complex function

y = 2x + 4 — What kind of function is it? How to graph it?

The equation y = 2x + 4 represents a linear function, which graphs as a straight line.

This equation follows the slope-intercept form:

y = kx + b

where:

  • k is the slope, which determines the steepness of the line.
  • b is the y-intercept, the point where the line crosses the y-axis (x = 0).

For y = 2x + 4:

  • k = 2 (slope) — the line rises by 2 units for every 1 unit increase in x.
  • b = 4 (y-intercept) — the line crosses the y-axis at y = 4.

How to Graph It

To plot this line, follow these steps:

  1. Pick two values for x (e.g., x = 0 and x = 1).
  2. Calculate y for each x value:
    • If x = 0: y = 2(0) + 4 = 4 → point (0, 4).
    • If x = 1: y = 2(1) + 4 = 6 → point (1, 6).
  1. Mark these points on the coordinate plane.
  2. Draw a straight line through them.

This is the graph of y = 2x + 4!