Linear Function

A linear function is a function of the form y = mx + b, where m is the constant slope (rate of change) and b is the y-intercept. In AP Calculus, it's the simplest solution a differential equation can have, and the building block behind slope fields and tangent line approximations.

Verified for the 2027 AP Calculus AB/BC examLast updated June 2026

What is Linear Function?

A linear function is any function you can write as y = mx + b, where m is the slope and b is the y-intercept. The defining feature is that the rate of change never changes. The derivative of a linear function is just the constant m, everywhere, forever.

That constant-derivative property is exactly why linear functions show up in Topic 7.3 (Sketching Slope Fields). A slope field is a grid of tiny line segments, where each segment shows the slope a solution curve would have at that point. If a differential equation is something like dy/dx = 3, every segment in the field has the same slope, and the solution curves are a family of parallel lines y = 3x + C. So when you see a slope field made of identical parallel segments, you're looking at the fingerprint of a linear function.

Why Linear Function matters in AP Calculus

Linear functions live in Unit 7: Differential Equations, specifically Topic 7.3, supporting learning objective AP Calc 7.3.A (estimate solutions to differential equations). The CED says slope fields are a graphical representation of a differential equation on a set of points, and that they tell you how solutions behave. Linear functions are your baseline for reading them. If the segments all match, the solution is linear. If the segments get steeper as y grows (like dy/dx = y), the solution is not linear, and recognizing that contrast is half the skill.

There's a bigger payoff too. Calculus is basically the art of treating curves as locally linear. Tangent lines, linear approximation, and Euler-style reasoning all replace a complicated function with a linear one near a point. Understanding y = mx + b cold makes all of that faster.

Keep studying AP Calculus Unit 7

How Linear Function connects across the course

Slope Fields (Unit 7)

A slope field for a linear function is a grid of parallel segments, because dy/dx is the same constant m at every point. Any variation in steepness across the field tells you the solution is something curvier, like an exponential.

Solution Curve (Unit 7)

A solution curve traces a path through a slope field, matching the segment slopes at every point. Linear functions are the simplest possible solution curves, so they're your sanity check. If the field's slopes are constant, the solution curves must be lines.

Slope and Y-intercept (Unit 7)

The differential equation controls m (the slope behavior), but the initial condition picks b. That's why dy/dx = 2 doesn't give you one line, it gives you the whole family y = 2x + C, and a point like (0, 5) locks in which one you want.

Tangent Lines and Local Linearity (Units 2 and 4)

Every tangent line is a linear function, and differentiable functions look linear when you zoom in. That's the whole logic behind linear approximation. You swap a hard function for y = mx + b near a point and estimate from there.

Is Linear Function on the AP Calculus exam?

You won't get a question that says "define linear function." Instead, the term shows up inside slope field questions. A classic MCQ asks what the slope field for a linear function looks like, and the answer is parallel segments with identical slope everywhere. Other stems flip it around. Given a field for dy/dx = y or dy/dx = -2y, where segments get steeper as |y| increases, you have to recognize that the solutions are not linear, since a linear solution would force constant slopes. Your jobs are to (1) match slope fields to differential equations, (2) sketch a solution curve through a given point by following the segments, and (3) describe solution behavior, like growth, decay, or constant rate. No released FRQ asks about linear functions by name, but slope field sketching and matching are standard FRQ skills in Unit 7, and the linear case is the one you should be able to nail instantly.

Linear Function vs Linear differential equation

A linear function is the answer y = mx + b. A linear differential equation like dy/dx = y is linear in form, but its solutions are exponential curves, not lines. This trips people up on slope field MCQs constantly. The slope field for dy/dx = y has segments that steepen as y grows, which is exactly what a linear function's field can never do. Quick test: if dy/dx equals a constant, the solutions are linear; if dy/dx depends on x or y, they're not.

Key things to remember about Linear Function

  • A linear function has the form y = mx + b, where m is the constant slope and b is the y-intercept.

  • The derivative of a linear function is the constant m, so its rate of change is the same at every point.

  • The slope field for a linear function consists of parallel line segments that all have the same slope.

  • If a slope field's segments get steeper as y changes, like for dy/dx = y, the solution curves are not linear.

  • Solving dy/dx = m gives a whole family of parallel lines y = mx + C, and an initial condition picks out one specific line.

  • Tangent lines and linear approximations are linear functions, which is why y = mx + b keeps reappearing across the whole course.

Frequently asked questions about Linear Function

What is a linear function in AP Calculus?

It's a function of the form y = mx + b with constant slope m and y-intercept b. In AP Calc it matters most in Unit 7, where slope fields with identical parallel segments signal linear solution curves, and in tangent line approximation, where you use a linear function to estimate a curvier one.

What does the slope field of a linear function look like?

All parallel segments with the same slope at every point in the plane. Since dy/dx = m is constant, every tiny segment tilts the same way, and the solution curves are the parallel lines y = mx + C.

Is dy/dx = y a linear function?

No. The equation is linear in form, but its solutions are exponential functions, not lines. Its slope field gives this away, since segments get steeper as y increases, while a linear function's field would have identical slopes everywhere.

How is a linear function different from a solution curve?

A solution curve is any function whose graph matches the slope field of a differential equation, and it can be exponential, logistic, or anything else. A linear function is just one special type of solution curve, the kind you get when dy/dx equals a constant.

Why does the initial condition matter if I already know the slope?

Because dy/dx = m only pins down m, not b. The general solution is y = mx + C, an infinite family of parallel lines, and the initial condition is what selects the single line that passes through your given point.