Mister Exam

Other calculators

Graphing y = (-1)^n

v

The graph:

from to

Intersection points:

does show?

Piecewise:

The solution

You have entered [src]
           n
f(n) = (-1) 
$$f{\left(n \right)} = \left(-1\right)^{n}$$
f = (-1)^n
The graph of the function
The points of intersection with the X-axis coordinate
Graph of the function intersects the axis N at f = 0
so we need to solve the equation:
$$\left(-1\right)^{n} = 0$$
Solve this equation
Solution is not found,
it's possible that the graph doesn't intersect the axis N
The points of intersection with the Y axis coordinate
The graph crosses Y axis when n equals 0:
substitute n = 0 to (-1)^n.
$$\left(-1\right)^{0}$$
The result:
$$f{\left(0 \right)} = 1$$
The point:
(0, 1)
Extrema of the function
In order to find the extrema, we need to solve the equation
$$\frac{d}{d n} f{\left(n \right)} = 0$$
(the derivative equals zero),
and the roots of this equation are the extrema of this function:
$$\frac{d}{d n} f{\left(n \right)} = $$
the first derivative
$$\left(-1\right)^{n} i \pi = 0$$
Solve this equation
Solutions are not found,
function may have no extrema
Inflection points
Let's find the inflection points, we'll need to solve the equation for this
$$\frac{d^{2}}{d n^{2}} f{\left(n \right)} = 0$$
(the second derivative equals zero),
the roots of this equation will be the inflection points for the specified function graph:
$$\frac{d^{2}}{d n^{2}} f{\left(n \right)} = $$
the second derivative
$$- \left(-1\right)^{n} \pi^{2} = 0$$
Solve this equation
Solutions are not found,
maybe, the function has no inflections
Horizontal asymptotes
Let’s find horizontal asymptotes with help of the limits of this function at n->+oo and n->-oo
Limit on the left could not be calculated
$$\lim_{n \to -\infty} \left(-1\right)^{n}$$
Limit on the right could not be calculated
$$\lim_{n \to \infty} \left(-1\right)^{n}$$
Inclined asymptotes
Inclined asymptote can be found by calculating the limit of (-1)^n, divided by n at n->+oo and n ->-oo
Limit on the left could not be calculated
$$\lim_{n \to -\infty}\left(\frac{\left(-1\right)^{n}}{n}\right)$$
Limit on the right could not be calculated
$$\lim_{n \to \infty}\left(\frac{\left(-1\right)^{n}}{n}\right)$$
Even and odd functions
Let's check, whether the function even or odd by using relations f = f(-n) и f = -f(-n).
So, check:
$$\left(-1\right)^{n} = \left(-1\right)^{- n}$$
- No
$$\left(-1\right)^{n} = - \left(-1\right)^{- n}$$
- No
so, the function
not is
neither even, nor odd