Graph of function intersects line

  • Context: MHB 
  • Thread starter Thread starter hopelesss
  • Start date Start date
  • Tags Tags
    Function Graph Line
Click For Summary

Discussion Overview

The discussion revolves around the intersections of the function g(x) = x^3 - 2x + 1 with the line y = x, specifically within the intervals (-2, -1), (0, 1), and (1, 2). Participants explore methods to determine these intersections through analysis of the function's roots and behavior.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Technical explanation
  • Homework-related

Main Points Raised

  • Some participants express uncertainty about how to start the problem and whether they need to manipulate g(x) first.
  • One participant suggests finding the roots of the cubic function to determine where g(x) intersects y = x.
  • Another participant discusses the behavior of the function f(x) = g(x) - y and its first derivative, indicating intervals of increase and decrease.
  • There is a mention of using polynomial factoring to find the roots of g(x), with one participant noting a specific root at x = 1.
  • Some participants confirm that they have identified one root in each of the specified intervals based on sign changes in f(x).
  • Visual representations of the graphs of g(x) and f(x) are provided to illustrate the intersections and behavior of the functions.

Areas of Agreement / Disagreement

Participants generally agree on the existence of roots in the specified intervals based on their analyses, but there is no consensus on the methods used to arrive at these conclusions. Some participants express confusion about the behavior of the function and the implications of their findings.

Contextual Notes

Participants mention various methods for analyzing the function, including graphical sketches, polynomial factoring, and derivative analysis. However, there are unresolved questions about the behavior of the function and the correctness of different approaches.

Who May Find This Useful

This discussion may be useful for students or individuals interested in understanding the intersection of polynomial functions and linear equations, as well as those seeking to improve their problem-solving skills in mathematics.

hopelesss
Messages
15
Reaction score
0
Explain why the graph of the function g (x) = x^3 - 2x + 1 intersects the line y = x in
each of the intervals (-2, -1), (0, 1) and (1, 2).

i hope someone can help me with this. To be honest i do not even know where to start.
i sketched g(x) and y=x and i don't see them intersect in the intervals... so i guess I am supposed to do something with g(x) first?
 
Physics news on Phys.org
comma said:
Explain why the graph of the function g (x) = x^3 - 2x + 1 intersects the line y = x in
each of the intervals (-2, -1), (0, 1) and (1, 2).

i hope someone can help me with this. To be honest i do not even know where to start.
i sketched g(x) and y=x and i don't see them intersect in the intervals... so i guess I am supposed to do something with g(x) first?

The question is asking you to find where the lines of g(x) = x and you can verify that it is true here: Wolfram|Alpha: Computational Knowledge Engine

The question is asking you to find the roots of the cubic (i.e. [math]g(x)=0[/math] and compare them to the line y=x

Supposing the three roots (it's a cubic so has 3 roots) are [math]a_1[/math], [math]a_2[/math] and [math]a_3[/math] then these points are [math](a_1,a_1) \ ,\ (a_2,a_2) \ ,\ (a_3,a_3)[/math]

Do you know how to (try) to factor a cubic? If you need a clue note that [math]g(1)=0[/math]

so [math](x-1)[/math] is a factor of g(x) which can be written as [math]g(x) = (x-1)(Ax^2+Bx+C)[/math] where A, B and C are constants
 
I would look at:

$$f(x)=g(x)-y=(x^3-2x+1)-(x)=x^3-3x+1$$

And then:

$$f'(x)=3x^2-3=3(x+1)(x-1)$$

We know then that $f$ has the following behavior:

Increasing on $(-\infty,-1)$

Decreasing on $(-1,1)$

Increasing on $(1,\infty)$

Now, we can compute:

$$f(-2)=-1$$

$$f(-1)=3$$

So, given the sign change of the function and its monotonic behavior on $(-2,-1)$, we know there is one root in that interval.

Can you complete the other two intervals?
 
thanks for responding to my post
yes i think i know how to factor a cubic.
i use polynomial factoring and get x^3-2x+1=(x-1)(x^2+x-1).
But i see MarkFL takes g(x)-y, then takes f'(x) before he factorise
and i did not do that so then its wrong. :)

I don't understand how i can know f has the behavior MarkFL gives
 
If a function, on some interval $(a,b)$, has a first derivative that does not change sign, then we know that function is strictly monotonic on that interval, that is, it either strictly increase or decreases. If we further find that the function has changed sign over that interval, then we know the function has 1 root somewhere in that interval. :D
 
so when i plot (0,1) and (1,2) into x^3-3x+1 i get
f(0)=1 and f(1)=-1
f(1)=-1 and f(2)=3

so i now know i have one root in each interval? what do this mean for my task?
 
comma said:
so when i plot (0,1) and (1,2) into x^3-3x+1 i get
f(0)=1 and f(1)=-1
f(1)=-1 and f(2)=3

so i now know i have one root in each interval? what do this mean for my task?

This means you have completed the task. :)
 
I see i have much studying to do :)
thanks for all help, i will now know what to do if i get tasks like this again :)
 
Just because we can (and as an exercise): ;)

The graphs of $y=g(x)$ and $y=x$:
\begin{tikzpicture}
%preamble \usepackage{pgfplots}
\begin{axis}[xmin=-3, xmax=3, ymin=-3, ymax=3]
\addplot[blue, thick, samples=101] (x, {x^3-2*x+1}) node at (-1.8,2) {$y=g(x)$};
\addplot[red, thick] (x, x) node at (-0.5,-1.2) {$y=x$};
\end{axis}
\end{tikzpicture}

The graph of $y=f(x)$ as defined by MarkFL.
\begin{tikzpicture}
%preamble \usepackage{pgfplots}
\begin{axis}[xmin=-3, xmax=3, ymin=-3, ymax=3]
\addplot[blue, thick, samples=101] (x, {x^3-3*x+1}) node at (-2.2,2) {$y=f(x)$};
\addplot[red, thick] (x, 0) node at (-0.7,-0.3) {$y=0$};
\end{axis}
\end{tikzpicture}

And sign schemas of $f$ and $f'$, showing where the graph slopes up and down, and where we will find zeroes:

\begin{tikzpicture}

\draw (-3,2) node
{$f$} -- (3,2);
\draw (-2,1.9) node[below] {-2} -- (-2,2.1) node[above] {-1};
\draw (-1,1.9) node[below] {-1} -- (-1,2.1) node[above] {+3};
\draw ( 0,1.9) node[below] {0} -- ( 0,2.1) node[above] {+1};
\draw ( 1,1.9) node[below] {+1} -- ( 1,2.1) node[above] {-1};
\draw ( 2,1.9) node[below] {+2} -- ( 2,2.1) node[above] {+3};

\draw (-3,0) node
{$f'$} -- (3,0);
\node at (-2, 0.2) {$+$};
\draw (-1,-0.1) node[below] {-1} -- (-1,0.1) node[above] {0};
\node at (0, 0.2) {$-$};
\draw ( 1,-0.1) node[below] {+1} -- ( 1,0.1) node[above] {0};
\node at (2, 0.2) {$+$};

\end{tikzpicture}
We can see that we have 3 zeroes in respectively the intervals $(-2,-1), (0,1), (1,2)$.​
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 20 ·
Replies
20
Views
4K
Replies
5
Views
1K
  • · Replies 4 ·
Replies
4
Views
7K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
3
Views
2K