How to algebraically find x and y intercepts

To find the x intercept using the equation of the line, plug in 0 for the y variable and solve for x. You can also use the graph of the line to find the x intercept. Just look on the graph for the point where the line crosses the x-axis, which is the horizontal axis. That point is the x intercept. To learn more, like how to find the x-intercept in a quadratic equation, keep reading the article!

Did this summary help you?YesNo

Thanks to all authors for creating a page that has been read 313,903 times.

To find the x-intercept of a given linear equation, plug in 0 for 'y' and solve for 'x'. To find the y-intercept, plug 0 in for 'x' and solve for 'y'. In this tutorial, you'll see how to find the x-intercept and the y-intercept for a given linear equation. Check it out!

If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Distances in deep space can be measured in all directions. As such, it is useful to consider distance in terms of absolute values. (credit: "s58y"/Flickr)

Until the 1920s, the so-called spiral nebulae were believed to be clouds of dust and gas in our own galaxy, some tens of thousands of light years away. Then, astronomer Edwin Hubble proved that these objects are galaxies in their own right, at distances of millions of light years. Today, astronomers can detect galaxies that are billions of light years away. Distances in the universe can be measured in all directions. As such, it is useful to consider distance as an absolute value function. In this section, we will investigate absolute value functions.

Understanding Absolute Value

Recall that in its basic form f(x)=|x|,f(x)=|x|,the absolute value function, is one of our toolkit functions. The absolute value function is commonly thought of as providing the distance the number is from zero on a number line. Algebraically, for whatever the input value is, the output is the value without regard to sign.

Absolute Value Function

The absolute value function can be defined as a piecewise function

f(x)=|x|={xifx≥0−xifx<0f(x)=|x|={xifx≥0−xifx<0

Example 1

Determine a Number within a Prescribed Distance

Describe all values xxwithin or including a distance of 4 from the number 5.

Solution

We want the distance between xxand 5 to be less than or equal to 4. We can draw a number line, such as the one in Figure 2, to represent the condition to be satisfied.

How to algebraically find x and y intercepts

Figure 2

The distance from xxto 5 can be represented using the absolute value as |x−5|.|x−5|.We want the values of xxthat satisfy the condition |x−5|≤4.|x−5|≤4.

Analysis

Note that

−4≤x−5x−5≤41≤xx≤9−4≤x−5x−5≤41≤xx≤9

So |x−5|≤4|x−5|≤4is equivalent to 1≤x≤9.1≤x≤9.

However, mathematicians generally prefer absolute value notation.

Try It #1

Describe all values xxwithin a distance of 3 from the number 2.

Example 2

Resistance of a Resistor

Electrical parts, such as resistors and capacitors, come with specified values of their operating parameters: resistance, capacitance, etc. However, due to imprecision in manufacturing, the actual values of these parameters vary somewhat from piece to piece, even when they are supposed to be the same. The best that manufacturers can do is to try to guarantee that the variations will stay within a specified range, often ±1%,±5%,±1%,±5%,or ±10%.±10%.

Suppose we have a resistor rated at 680 ohms, ±5%.±5%.Use the absolute value function to express the range of possible values of the actual resistance.

Solution

5% of 680 ohms is 34 ohms. The absolute value of the difference between the actual and nominal resistance should not exceed the stated variability, so, with the resistance RRin ohms,

|R−680|≤34|R−680|≤34

Try It #2

Students who score within 20 points of 80 will pass a test. Write this as a distance from 80 using absolute value notation.

Graphing an Absolute Value Function

The most significant feature of the absolute value graph is the corner point at which the graph changes direction. This point is shown at the origin in Figure 3.

How to algebraically find x and y intercepts

Figure 3

Figure 4 shows the graph of y=2|x–3|+4.y=2|x–3|+4.The graph of y=|x|y=|x|has been shifted right 3 units, vertically stretched by a factor of 2, and shifted up 4 units. This means that the corner point is located at (3,4)(3,4)for this transformed function.

How to algebraically find x and y intercepts

Figure 4

Example 3

Writing an Equation for an Absolute Value Function

Write an equation for the function graphed in Figure 5.

How to algebraically find x and y intercepts

Figure 5

Solution

The basic absolute value function changes direction at the origin, so this graph has been shifted to the right 3 units and down 2 units from the basic toolkit function. See Figure 6.

How to algebraically find x and y intercepts

Figure 6

We also notice that the graph appears vertically stretched, because the width of the final graph on a horizontal line is not equal to 2 times the vertical distance from the corner to this line, as it would be for an unstretched absolute value function. Instead, the width is equal to 1 times the vertical distance as shown in Figure 7.

How to algebraically find x and y intercepts

Figure 7

From this information we can write the equation

f(x)=2|x−3|−2,treating the stretch as a vertical stretch, orf(x)=|2(x−3)|−2,treating the stretch as a horizontal compression.f(x)=2|x−3|−2,treating the stretch as a vertical stretch, orf(x)=|2(x−3)|−2,treating the stretch as a horizontal compression.

Analysis

Note that these equations are algebraically equivalent—the stretch for an absolute value function can be written interchangeably as a vertical or horizontal stretch or compression. Note also that if the vertical stretch factor is negative, there is also a reflection about the x-axis.

Q&A

If we couldn’t observe the stretch of the function from the graphs, could we algebraically determine it?

Yes. If we are unable to determine the stretch based on the width of the graph, we can solve for the stretch factor by putting in a known pair of values for xxand f(x).f(x).

f(x)=a|x−3|−2f(x)=a|x−3|−2

Now substituting in the point (1, 2)

2=a|1−3|−24=2aa=22=a|1−3|−24=2aa=2

Try It #3

Write the equation for the absolute value function that is horizontally shifted left 2 units, is vertically flipped, and vertically shifted up 3 units.

Q&A

Do the graphs of absolute value functions always intersect the vertical axis? The horizontal axis?

Yes, they always intersect the vertical axis. The graph of an absolute value function will intersect the vertical axis when the input is zero.

No, they do not always intersect the horizontal axis. The graph may or may not intersect the horizontal axis, depending on how the graph has been shifted and reflected. It is possible for the absolute value function to intersect the horizontal axis at zero, one, or two points (see Figure 8).

How to algebraically find x and y intercepts

Figure 8 (a) The absolute value function does not intersect the horizontal axis. (b) The absolute value function intersects the horizontal axis at one point. (c) The absolute value function intersects the horizontal axis at two points.

Solving an Absolute Value Equation

Now that we can graph an absolute value function, we will learn how to solve an absolute value equation. To solve an equation such as 8=|2x−6|,8=|2x−6|,we notice that the absolute value will be equal to 8 if the quantity inside the absolute value is 8 or -8. This leads to two different equations we can solve independently.

2x−6=8or2x−6=−82x=142x=−2x=7x=−12x−6=8or2x−6=−82x=142x=−2x=7x=−1

Knowing how to solve problems involving absolute value functions is useful. For example, we may need to identify numbers or points on a line that are at a specified distance from a given reference point.

An absolute value equation is an equation in which the unknown variable appears in absolute value bars. For example,

|x|=4,|2x−1|=3|5x+2|−4=9|x|=4,|2x−1|=3|5x+2|−4=9

Solutions to Absolute Value Equations

For real numbers AAand B,B,an equation of the form |A|=B,|A|=B,with B≥0,B≥0,will have solutions when A=BA=Bor A=−B.A=−B.If B<0,B<0,the equation |A|=B|A|=Bhas no solution.

How To

Given the formula for an absolute value function, find the horizontal intercepts of its graph.

  1. Isolate the absolute value term.
  2. Use |A|=B|A|=B to write A=BA=B or −A=B,−A=B, assuming B>0.B>0.
  3. Solve for x.x.

Example 4

Finding the Zeros of an Absolute Value Function

For the function f(x)=|4x+1|−7f(x)=|4x+1|−7, find the values of xxsuch that f(x)=0f(x)=0.

Solution

0=|4x+1|−70=|4x+1|−7Substitute 0 for f(x).7=|4x+1|7=|4x+1|Isolate the absolute value on one side of the equation.7=4x+1or−7=4x+16=4x−8=4xx=64=1.5   x=−84=−27=4x+1or−7=4x+16=4x−8=4xx=64=1.5   x=−84=−2Break into two separate equations and solve.

The function outputs 0 when x=1.5x=1.5or x=−2.x=−2.See Figure 9.

How to algebraically find x and y intercepts

Figure 9

Try It #4

For the function f(x)=|2x−1|−3,f(x)=|2x−1|−3,find the values of xxsuch that f(x)=0.f(x)=0.

Q&A

Should we always expect two answers when solving |A|=B?|A|=B?

No. We may find one, two, or even no answers. For example, there is no solution to 2+|3x−5|=1.2+|3x−5|=1.

How To

Given an absolute value equation, solve it.

  1. Isolate the absolute value term.
  2. Use |A|=B|A|=B to write A=BA=B or A=−B.A=−B.
  3. Solve for x.x.

Example 5

Solving an Absolute Value Equation

Solve 1=4|x−2|+2.1=4|x−2|+2.

Solution

Isolating the absolute value on one side of the equation gives the following.

1=4|x−2|+2−1=4|x−2|−14=|x−2|1=4|x−2|+2−1=4|x−2|−14=|x−2|

The absolute value always returns a positive value, so it is impossible for the absolute value to equal a negative value. At this point, we notice that this equation has no solutions.

Q&A

In Example 5, if f(x)=1f(x)=1and g(x)=4|x−2|+2g(x)=4|x−2|+2were graphed on the same set of axes, would the graphs intersect?

No. The graphs of ffand ggwould not intersect, as shown in Figure 10. This confirms, graphically, that the equation 1=4|x−2|+21=4|x−2|+2has no solution.

How to algebraically find x and y intercepts

Figure 10

Try It #5

Find where the graph of the function f(x)=−|x+2|+3f(x)=−|x+2|+3intersects the horizontal and vertical axes.

Solving an Absolute Value Inequality

Absolute value equations may not always involve equalities. Instead, we may need to solve an equation within a range of values. We would use an absolute value inequality to solve such an equation. An absolute value inequality is an equation of the form

|A|<B,|A|≤B,|A|>B,or|A|≥B,|A|<B,|A|≤B,|A|>B,or|A|≥B,

where an expression AA(and possibly but not usually BB) depends on a variable x.x.Solving the inequality means finding the set of all xxthat satisfy the inequality. Usually this set will be an interval or the union of two intervals.

There are two basic approaches to solving absolute value inequalities: graphical and algebraic. The advantage of the graphical approach is we can read the solution by interpreting the graphs of two functions. The advantage of the algebraic approach is it yields solutions that may be difficult to read from the graph.

For example, we know that all numbers within 200 units of 0 may be expressed as

|x|<200or−200<x<200|x|<200or−200<x<200

Suppose we want to know all possible returns on an investment if we could earn some amount of money within $200 of $600. We can solve algebraically for the set of values xxsuch that the distance between xxand 600 is less than 200. We represent the distance between xxand 600 as |x−600|.|x−600|.

|x−600|<200    or    −200<x−600<200  −200+600<x−600+600<200+600                      400<x<800|x−600|<200    or    −200<x−600<200  −200+600<x−600+600<200+600                      400<x<800

This means our returns would be between $400 and $800.

Sometimes an absolute value inequality problem will be presented to us in terms of a shifted and/or stretched or compressed absolute value function, where we must determine for which values of the input the function’s output will be negative or positive.

How To

Given an absolute value inequality of the form |x−A|≤B|x−A|≤Bfor real numbers aaand bbwhere bbis positive, solve the absolute value inequality algebraically.

  1. Find boundary points by solving |x−A|=B.|x−A|=B.
  2. Test intervals created by the boundary points to determine where |x−A|≤B.|x−A|≤B.
  3. Write the interval or union of intervals satisfying the inequality in interval, inequality, or set-builder notation.

Example 6

Solving an Absolute Value Inequality

Solve |x−5|<4.|x−5|<4.

Solution

With both approaches, we will need to know first where the corresponding equality is true. In this case we first will find where |x−5|=4.|x−5|=4.We do this because the absolute value is a function with no breaks, so the only way the function values can switch from being less than 4 to being greater than 4 is by passing through where the values equal 4. Solve |x−5|=4.|x−5|=4.

x−5=4x=9orx−5=−4x=1x−5=4x=9orx−5=−4x=1

After determining that the absolute value is equal to 4 at x=1x=1and x=9,x=9,we know the graph can change only from being less than 4 to greater than 4 at these values. This divides the number line up into three intervals:

x<1,1<x<9, and  x>9.x<1,1<x<9, and  x>9.

To determine when the function is less than 4, we could choose a value in each interval and see if the output is less than or greater than 4, as shown in Table 1.

Interval test xxf(x)f(x)<4<4 or >4?>4?x<1x<10|0−5|=5|0−5|=5Greater than1<x<91<x<96|6−5|=1|6−5|=1Less thanx>9x>911|11−5|=6|11−5|=6Greater than

Table 1

Because 1<x<91<x<9is the only interval in which the output at the test value is less than 4, we can conclude that the solution to |x−5|<4|x−5|<4is 1<x<9,1<x<9,or (1,9).(1,9).

To use a graph, we can sketch the function f(x)=|x−5|.f(x)=|x−5|.To help us see where the outputs are 4, the line g(x)=4g(x)=4could also be sketched as in Figure 11.

How to algebraically find x and y intercepts

Figure 11 Graph to find the points satisfying an absolute value inequality.

We can see the following:

  • The output values of the absolute value are equal to 4 at x=1x=1 and x=9.x=9.
  • The graph of ff is below the graph of gg on 1<x<9.1<x<9. This means the output values of f(x)f(x) are less than the output values of g(x).g(x).
  • The absolute value is less than or equal to 4 between these two points, when 1<x<9.1<x<9. In interval notation, this would be the interval (1,9).(1,9).

Analysis

For absolute value inequalities,

|x−A|<C,|x−A|>C,−C<x−A<C,x−A<−C or x−A>C.|x−A|<C,|x−A|>C,−C<x−A<C,x−A<−C or x−A>C.

The <<or >>symbol may be replaced by ≤ or ≥.≤ or ≥.

So, for this example, we could use this alternative approach.

|x−5|<4−4<x−5<4Rewrite by removing the absolute value bars.−4+5<x−5+5<4+5Isolate the x.1<x<9|x−5|<4−4<x−5<4Rewrite by removing the absolute value bars.−4+5<x−5+5<4+5Isolate the x.1<x<9

Try It #6

Solve |x+2|≤6.|x+2|≤6.

How To

Given an absolute value function, solve for the set of inputs where the output is positive (or negative).

  1. Set the function equal to zero, and solve for the boundary points of the solution set.
  2. Use test points or a graph to determine where the function’s output is positive or negative.

Example 7

Using a Graphical Approach to Solve Absolute Value Inequalities

Given the function f(x)=−12|4x−5|+3,f(x)=−12|4x−5|+3,determine the x-x-values for which the function values are negative.

Solution

We are trying to determine where f(x)<0,f(x)<0,which is when −12|4x−5|+3<0.−12|4x−5|+3<0.We begin by isolating the absolute value.

−12|4x−5|<−3Multiply both sides by –2, and reverse the inequality.|4x−5|>6−12|4x−5|<−3Multiply both sides by –2, and reverse the inequality.|4x−5|>6

Next we solve for the equality |4x−5|=6.|4x−5|=6.

4x−5=6  or4x−5=−64x−5=64x=−1x=114x=−144x−5=6  or4x−5=−64x−5=64x=−1x=114x=−14

Now, we can examine the graph of ffto observe where the output is negative. We will observe where the branches are below the x-axis. Notice that it is not even important exactly what the graph looks like, as long as we know that it crosses the horizontal axis at x=−14x=−14and x=114x=114and that the graph has been reflected vertically. See Figure 12.

How to algebraically find x and y intercepts

Figure 12

We observe that the graph of the function is below the x-axis left of x=−14x=−14and right of x=114.x=114.This means the function values are negative to the left of the first horizontal intercept at x=−14,x=−14,and negative to the right of the second intercept at x=114.x=114.This gives us the solution to the inequality.

x<−14 or x>114x<−14 or x>114

In interval notation, this would be (−∞,−0.25)∪(2.75,∞).(−∞,−0.25)∪(2.75,∞).

Try It #7

Solve −2|k−4|≤−6.−2|k−4|≤−6.

Media

Access these online resources for additional instruction and practice with absolute value.

  • Graphing Absolute Value Functions
  • Graphing Absolute Value Functions 2
  • Equations of Absolute Value Function
  • Equations of Absolute Value Function 2
  • Solving Absolute Value Equations

1.6 Section Exercises

Verbal

1.

How do you solve an absolute value equation?

2.

How can you tell whether an absolute value function has two x-intercepts without graphing the function?

3.

When solving an absolute value function, the isolated absolute value term is equal to a negative number. What does that tell you about the graph of the absolute value function?

4.

How can you use the graph of an absolute value function to determine the x-values for which the function values are negative?

5.

How do you solve an absolute value inequality algebraically?

Algebraic

6.

Describe all numbers xxthat are at a distance of 4 from the number 8. Express this using absolute value notation.

7.

Describe all numbers xxthat are at a distance of 1212from the number −4. Express this using absolute value notation.

8.

Describe the situation in which the distance that point xxis from 10 is at least 15 units. Express this using absolute value notation.

9.

Find all function values f(x)f(x)such that the distance from f(x)f(x)to the value 8 is less than 0.03 units. Express this using absolute value notation.

For the following exercises, solve the equations below and express the answer using set notation.

10.

|x+3|=9|x+3|=9

11.

|6−x|=5|6−x|=5

12.

|5x−2|=11|5x−2|=11

13.

|4x−2|=11|4x−2|=11

14.

2|4−x|=72|4−x|=7

15.

3|5−x|=53|5−x|=5

16.

3|x+1|−4=53|x+1|−4=5

17.

5|x−4|−7=25|x−4|−7=2

18.

0=−|x−3|+20=−|x−3|+2

19.

2|x−3|+1=22|x−3|+1=2

20.

|3x−2|=7|3x−2|=7

21.

|3x−2|=−7|3x−2|=−7

22.

|12x−5|=11|12x−5|=11

23.

|13x+5|=14|13x+5|=14

24.

−|13x+5|+14=0−|13x+5|+14=0

For the following exercises, find the x- and y-intercepts of the graphs of each function.

25.

f(x)=2|x+1|−10f(x)=2|x+1|−10

26.

f(x)=4|x−3|+4f(x)=4|x−3|+4

27.

f(x)=−3|x−2|−1f(x)=−3|x−2|−1

28.

f(x)=−2|x+1|+6f(x)=−2|x+1|+6

For the following exercises, solve each inequality and write the solution in interval notation.

29.

|x−2|>10|x−2|>10

30.

2|v−7|−4≥422|v−7|−4≥42

31.

|3x−4|≤8|3x−4|≤8

32.

|x−4|≥8|x−4|≥8

33.

|3x−5|≥13|3x−5|≥13

34.

|3x−5|≥−13|3x−5|≥−13

35.

|34x−5|≥7|34x−5|≥7

36.

|34x−5|+1≤16|34x−5|+1≤16

Graphical

For the following exercises, graph each function using a graphing utility. Specify the viewing window.

How do you find the x and y intercepts of an equation?

Consider a straight line equation Ax + By = C. Alternatively, To find the x-intercept, substitute y = 0 and solve for x. To find the y-intercept, substitute x =0 and solve for y.

How do you algebraically find the intercepts of any function?

Intercepts are those points on a Cartesian coordinate system where the graph of an equation or function crosses the x- and y-axes. To find the x-intercept algebraically, simply set y to 0 and solve for x. Conversely, to find the y-intercept, set the value of x to 0 and solve for y.

How do you find X in algebraically?

Isolate "x" on one side of the algebraic equation by subtracting the sum that appears on the same side of the equation as the "x." For example, in the equation "x + 5 = 12", rewrite the equation as "x = 12 - 5" and solve for "x." The solution is "x = 7."

How do you find slope and y

The equation of the line is written in the slope-intercept form, which is: y = mx + b, where m represents the slope and b represents the y-intercept. In our equation, y = 6x + 2, we see that the slope of the line is 6.