You’re taking a math exam, and you’ve been asked to draw the graph of a function. That is, your graph must pass the vertical line test, so that no vertical line intersects your function’s graph more than once.
You decide you’re going to graph the absolute value function, y=|x|, and ace the test.
There’s just one problem. You are dealing with a bout of dizziness, and can’t quite make out the x- and y-axes on the exam in front of you. As a result, your function will be rotated about the origin by a random angle that’s uniformly chosen between 0 and 360 degrees.
What is the probability that the resulting graph you produce is in fact a function (i.e., y is a function of x)?
Let's assume that the map of y=|x| is rotated about the origin by an angle of θ∼U(0∘,360∘) degrees with respect to the positive x-axis. We can think of this situation as defining a new set of variables (˜x˜y)=(cosπθ180−sinπθ180sinπθ180cosπθ180)(x|x|)=(xcosπθ180−|x|sinπθ180xsinπθ180+|x|cosπθ180).
Now we see that if f is one-to-one, then the parametric curve (f(x),g(x)) will pass the vertical line test, since there is only one possible value of x such that ˜x=f(x), then there can only be at most one intersection between any vertical line and the curve.
On the other hand, if f is not one-to-one, then for some x1≠x2, we have f(x1)=f(x2). In this case, since f(x1)=f(x2), we have equivalently (x1−x2)cosπθ180=(|x1|−|x2|)sinπθ180.
So let's analyze the function f(x)=xcosπθ180−|x|sinπθ180.
No comments:
Post a Comment