Graph of y = 2x + 1 (Linear function)

· How we calculate · Free, no sign-up

Quick answer

The graph of y = 2x + 1 is a straight line with slope 2 and y-intercept 1. Domain: All real numbers (−∞, ∞); range: All real numbers (−∞, ∞). x-intercept: x = −1/2 (−0.5); y-intercept: y = 1. It is neither even nor odd.

Functiony = 2x + 1
DomainAll real numbers (−∞, ∞)
RangeAll real numbers (−∞, ∞)
x-intercept(s)x = −1/2 (−0.5)
y-intercepty = 1
Derivative2
Graph of y = 2x + 1 for −4 ≤ x ≤ 4−4−3−2−101234−6−4−202468
Graph of y = 2x + 1 for −4 ≤ x ≤ 4, −6 ≤ y ≤ 8. Dots mark intercepts.
Zoom, pan and trace y = 2x + 1 next to y = x in the interactive grapher.Open the Graphing Calculator →

What the graph of y = 2x + 1 looks like

y = 2x + 1 is in slope–intercept form y = mx + b with slope m = 2 and intercept b = 1. Start at (0, 1) on the y-axis, then go 1 right and 2 up to (1, 3), and again to (2, 5). Joining the points gives a line twice as steep as y = x.

Setting y = 0 gives 2x + 1 = 0, so the line crosses the x-axis at x = −½. Any line parallel to it has the same slope 2 (for example y = 2x − 3), and any line perpendicular to it has slope −½.

Key features of y = 2x + 1

Key features of y = 2x + 1
PropertyValue
Functiony = 2x + 1 (Linear function)
FamilyLinear
DomainAll real numbers (−∞, ∞)
RangeAll real numbers (−∞, ∞)
x-intercept(s)x = −1/2 (−0.5)
y-intercepty = 1
SymmetryNeither even nor odd
AsymptotesNone
PeriodNot periodic
Increasing on(−∞, ∞)
Decreasing onNever
Key pointsSlope 2, so the line rises 2 for every 1 across
Derivative f′(x)2
Antiderivative ∫ f(x) dxx² + x + C

Symmetry: Neither even nor odd. For example f(2) = 5 but f(−2) = −3, which is neither the same value nor its negative. Intercepts: the graph meets the x-axis at x = −1/2 (−0.5) and the y-axis at y = 1.

Table of values for y = 2x + 1

Values of y = 2x + 1
xy = 2x + 1Slope f′(x)
−3−52
−2−32
−1−12
012
132
252
372

How to sketch y = 2x + 1 by hand

Plot the points from the table — (−3, −5), (−2, −3), (−1, −1), (0, 1), (1, 3), (2, 5) — on axes running from about −4 to 4 horizontally. There are no asymptotes to draw. Then join the points with a smooth curve. As a check on the shape — increasing: (−∞, ∞); decreasing: Never.

Derivative, tangent line and area

The derivative of y = 2x + 1 is 2, which gives the slope of the curve at each point (the third column of the table). At x = 1 the curve is at height 3 and its slope is f′(1) = 2, so the tangent line there is y = 2x + 1.

The signed area under the curve from x = 0 to x = 1 is 2, found using the antiderivative x² + x + C.

Related graphs and transformations

Browse all graphs of common functions by family, or open the graphing calculator.

Frequently asked questions

What is the domain and range of y = 2x + 1?

Domain: All real numbers (−∞, ∞). Range: All real numbers (−∞, ∞).

What are the intercepts of y = 2x + 1?

x-intercept(s): x = −1/2 (−0.5). y-intercept: y = 1.

What is the derivative of y = 2x + 1?

f′(x) = 2. At x = 1 the curve is at height 3 and its slope is f′(1) = 2, so the tangent line there is y = 2x + 1.

Is y = 2x + 1 even, odd or neither?

Neither even nor odd. For example f(2) = 5 but f(−2) = −3, which is neither the same value nor its negative.

Does y = 2x + 1 have asymptotes?

None.