freeCodeCamp/guide/english/mathematics/x-and-y-intercepts/index.md

18 lines
923 B
Markdown
Raw Normal View History

2018-10-12 19:37:13 +00:00
---
title: X and Y Intercepts
---
## X and Y Intercepts
The X intercept(s) are the point(s) on the X axis where the graph of the function crosses or touches the axis. They occur where ```y = 0```.
The Y intercept is the point at which the graph of the function crosses the Y axis. It occurs where ```x = 0```.
A function can have multiple X intercepts, but can only have a single Y intercept.
To find the X intercept(s), set ```y = 0``` and solve the equation for x.
To find the Y intercept, set ```x = 0``` and solve the equation for y.
As an example, the X and Y intercepts have been solved for a typical line in the form ```y = mx + b```.
![An image demonstrating finding the x and y intercepts for a typical line in the form of y = mx + b . The Y intercept is equal to b and the X intercept is equal to negative b divided by m](https://raw.githubusercontent.com/hayleycd/images/master/solve_intercepts.jpeg)