Inv_Sinx_UserGuide - geogebrawiki

advertisement
Construction of Inverse Function
__________________________________________________________________________________________________________
User Guide
Construction of Inverse Function of 𝒇(𝒙) = 𝒔𝒊𝒏(𝒙)
GeoGebra Applet: Inv_sinx.ggb
Link: http://geogebrawiki.wikispaces.com/Inverse+function_sin(x)
GeoGebra tools:

Insert text: Creates static and dynamic text or LaTeX formulas in the Graphics
View.

Move: Drag and drop free objects with the mouse.

Slider: Creates a slider for a number or an angle.

Perpendicular Line: Selecting a line g and a point A creates a straight line
through A perpendicular to line g.

Intersect two objects: Creates point as intersection of two objects.

Point: Creates new point in the drawing pad in the Graphics window.
GeoGebra commands:




1.
Reflect[Object,Line]: Reflects Object about Line.
Extremum[Polynomial]: Yields all local extrema of the polynomial function as points
on the function graph.
Intersect[Object, Object]: Yields intersection point od two objects.
Function[f, Number a, Number b]: Yields a function graph, that is equal to f on the
interval [a, b] and not defined outside of [a, b].
Click on the
Insert text tool and then in Graphics window to insert text. A dialog window
opens (Fig.1). In the Edit window insert text Graph of inverse function of f(x)=sin(x). Click Ok.
The text is inserted in the Graphics window. With the same tool insert text Inverse function
g(x)=arcsin(x).
Use the
Move tool to change the position of the text in the Graphics window. Click on the
tool then on the text and drag it to new position.
To change the color of the text right click on the text and choose
on the Color tab and choose the color.
Object Properties. Click
__________________________________________________________________________________________________________
1
Construction of Inverse Function
__________________________________________________________________________________________________________
Fig.1
2.
Fig.2
Create slider to make drawing of different curves in the Graphics window step by step as they
are constructed. Click on the
Slider tool and then in Graphics window. A dialog window
opens (Fig.2). GeoGebra suggests a for name of the slider (you can choose another name). Insert
1 for min, 7 for max and 1 for Increment. Now slider can get value that is one of the numbers
from 1 to 7. Moving the point on the slider will cause drawing of different curves one by one in
order to give better visualisation of the concept of function – inverse function (this will be set
later in the construction).
Click on the Slider tab and choose Vertical to make the slider position vertical in the Graphics
window (default option is horizontal). Uncheck the button
to make the slider moveable
on the screen. Insert 130 for the width of the slider.
Click on the Animation tab to change the speed of moving the point on the slider (default is 1)
and the way of moving the point on the slider (Oscillating, Increasing, Decreasing and
Increrasing (Once)). Choose Oscillating to move the point on the slider up and down.
3.
Insert text Show curve, Show Line y=x, Show reflected curve, Show extremums of the curve on
a arbitrary interval, Restrict original curve to make the reflected curve a function , Check
inversity (slide point A), change the color of each of them and put them next to the slider a
(Fig.3).
Fig.3
4.
Now draw the graph of 𝒇(𝒙) = 𝒔𝒊𝒏(𝒙).
Type f(x)=sin(x) in the Input bar in the down left bottom of the GeoGebra window and press the
Enter key. The curve is drawn in Graphics window and equation of the curve is written in the
Algebra window (Fig.4). To change the look of the curve right click on the equation of the
curve in the Algebra window or graph in the Graphics window and choose Options. Click on
the Color tab to change the color and the Style tab to change style and thickness of the curve.
__________________________________________________________________________________________________________
2
Construction of Inverse Function
__________________________________________________________________________________________________________
Fig.4
Fig.5
5.
Type y=x in the Input bar to draw the line of the reflection and press the Enter key. The line is
drawn in the GeoGebra window. Look in the Algebra window. GeoGebra names the line b:y=x.
(a is already reserved for the the name of the slider).
6.
Use command Reflect[<Object>, <Line>] to reflect Object about Line.
Start typing Reflect[f(x),b] in the Input bar to reflect the curve of the function f(x) about line of
reflection b:y=x. If GeoGebra suggests the desired command, hit the Enter key in order to place
the cursor within the brackets. If the suggested command is not the one you wanted to enter, just
keep typing until the suggestion matches.
The reflected curve is drawn in the Graphics Window and equation of the curve is written in the
Algebra window (Fig.5).
7.
Make the Vertical line test to determine whether a graph is the graph of a function and the
Horizontal line test to determine if a function has an inverse that is also a function.
How to use vertical line test? Ask: Is it possible to draw a vertical line that intersects the graph in
two or more places? If so, then the graph is not the graph of a function. If it is not possible,
then the graph is the graph of a function.
How to draw vertical line? Use the
Perpendicular Line tool to draw line that passes
through arbitrary point and is normal to defined line. Click on the tool, then in the Graphics
window to mark arbitrary point and then click on x – axis (defined line).There is only one
intersection point of the line and the graph of the curve (Fig.6). The result will be the same, one
intersection point of a line and the graph of the curve, for every drawn arbitrary vertical line. So
the graph is a graph of a function.
The horizontal line test is used to determine if a function has an inverse that is also a function.
We seek to answer this question: is it possible to draw a horizontal line that intersects the graph
in two or more places? If so, then the graph is not the graph of a function whose inverse is also a
function. We also say that if a graph passes the horizontal line test – in other words, if it is not
possible to draw a horizontal line that intersects the graph in two ore more places – then the
graph is one-to-one, another way of saying that its inverse is a function.
Now use the same tool to draw arbitrary horizontal line. There are more than one intersection
points of the line with the graph of function f(x) (Fig.7). That means that the inverse (reflected)
graph is not graph of a function.
__________________________________________________________________________________________________________
3
Construction of Inverse Function
__________________________________________________________________________________________________________
Fig.6
8.
Fig.7
We must restrict the original function f(x) to make the reflected curve also a function. First we'll
find extremums of the curve on arbitrary interval, one extremum on interval [-π, 0] and other on
interval [0, π] and then we'll restrict the curve in the interval between the extremums.
Command Extremum[ <Function>, <Start x-Value>, <End x-Value>] returns the point that is
extremum of the Function in interval [Start x-value, End x-Value]. (Extremum – US, Turning
Point – UK).
In the Input bar type Extr1=Extremum[f, -π, 0] to find extremumm in interval [-π, 0] and press
the Enter key.
Then type Extr2=Extremum[f, 0, π] to find extremumm in interval [0,π] and press the Enter key.
Extremums of the curve are marked in the Graphics window (Fig.8).
Use the command Function[ <Function>, <Start x-Value>, <End x-Value> ] to restrict a defined
function in interval [Start x-Value, End x-Value].
Write f1(x)= Function[f, x(Ekstr1), x(Ekstr2)] in the Input bar and press the Enter key.
Now function f(x) is restricted on interval [x(Extr1),x(Extr2)], where x(Extr1) is the x coordinate
of Extr1 and x(Extr2) is the x coordinate of Extr2.
To reflect f1(x) about line b:y=x, insert g1(x)= Reflect[f1, b] in the Input bar and press Enter.
Now f1(x) passes both vertical and horizontal line test, so the inverse g1(x) is also a function
(Fig.9).
__________________________________________________________________________________________________________
4
Construction of Inverse Function
__________________________________________________________________________________________________________
Fig.8
9.
Mark point to check inversity. Click on the
f1(x) to mark point A.
Fig.9
Point tool and on the graph of the function
Functions f(x) and g(x) are inverse of one another if f(g(x)) = x and g(f(x))=x, for all values of x
in there respective domains. So if point A has coordinates (x,y) and lies on graph of the function
f(x), then y=f(x). Then g(f(x))=g(y)=x must be true. That means that point B with coordinates
(y,x) lies on the graph of the function g(x).
Type B= (y(A), x(A)) in the Input bar, where y(A) means y coordinate of point A, and x(A)
means x coordinate of point A and press the Enter key. See that pont B lies on the curve of the
function g1(x) (Fig.10). Moving the point A through the graph of function f1(x) indicates
moving of the point B through the graph of the function g1(x). That means that if A(x,y) is a
point that lies on the graph of function f(x), there is only one point B(y,x) that lies on the graph
of a function g(x).
Fig.10
10. Now make the drawing of the constructed curves dependent of a condition fulfilled. This allows
drawing of the curves step by step by moving the point on the slider down and up.
Right click on the graph of the function f(x) in the Graphics window and choose
Object
Properties. Click on the Advanced tab and type a < 7 ∧ a > 2 in Condition to Show Object.
__________________________________________________________________________________________________________
5
Construction of Inverse Function
__________________________________________________________________________________________________________
The graph of the function f(x) will be drawn in the Graphics window everytime the value of the
slider a is between 3 and 6.
Repeat the procedure to make conditional appeareance of the line b (insert a<6), the graph of
g(x) (insert a<5 ∧ a > 2), the graph of f1(x) (insert a = 1 ∨ a = 2), the graph of g1(x) (insert a =
1 ∨ a = 2), the points Extr1 and Extr2 (insert a=3) and the points A and B (insert a=1).
11. Testing the construction:
Move the point on the slider down or up to make drawing of the curves one by one.
Move the point A to check inversity.
12. View construction protocol:
From the View menu choose Construction protocol to view protocol of the construction..
(Fig.11)
__________________________________________________________________________________________________________
6
Construction of Inverse Function
__________________________________________________________________________________________________________
Fig.11
__________________________________________________________________________________________________________
7
Download