Mister Exam

Graphing y = tanh(x/2)

v

The graph:

from to

Intersection points:

does show?

Piecewise:

The solution

You have entered [src]
           /x\
f(x) = tanh|-|
           \2/
f(x)=tanh(x2)f{\left(x \right)} = \tanh{\left(\frac{x}{2} \right)}
f = tanh(x/2)
The graph of the function
02468-8-6-4-2-10102-2
The points of intersection with the X-axis coordinate
Graph of the function intersects the axis X at f = 0
so we need to solve the equation:
tanh(x2)=0\tanh{\left(\frac{x}{2} \right)} = 0
Solve this equation
The points of intersection with the axis X:

Analytical solution
x1=0x_{1} = 0
Numerical solution
x1=0x_{1} = 0
The points of intersection with the Y axis coordinate
The graph crosses Y axis when x equals 0:
substitute x = 0 to tanh(x/2).
tanh(02)\tanh{\left(\frac{0}{2} \right)}
The result:
f(0)=0f{\left(0 \right)} = 0
The point:
(0, 0)
Extrema of the function
In order to find the extrema, we need to solve the equation
ddxf(x)=0\frac{d}{d x} f{\left(x \right)} = 0
(the derivative equals zero),
and the roots of this equation are the extrema of this function:
ddxf(x)=\frac{d}{d x} f{\left(x \right)} =
the first derivative
tanh2(x2)2+12=0- \frac{\tanh^{2}{\left(\frac{x}{2} \right)}}{2} + \frac{1}{2} = 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
d2dx2f(x)=0\frac{d^{2}}{d x^{2}} f{\left(x \right)} = 0
(the second derivative equals zero),
the roots of this equation will be the inflection points for the specified function graph:
d2dx2f(x)=\frac{d^{2}}{d x^{2}} f{\left(x \right)} =
the second derivative
(tanh2(x2)1)tanh(x2)2=0\frac{\left(\tanh^{2}{\left(\frac{x}{2} \right)} - 1\right) \tanh{\left(\frac{x}{2} \right)}}{2} = 0
Solve this equation
The roots of this equation
x1=0x_{1} = 0

Сonvexity and concavity intervals:
Let’s find the intervals where the function is convex or concave, for this look at the behaviour of the function at the inflection points:
Concave at the intervals
(,0]\left(-\infty, 0\right]
Convex at the intervals
[0,)\left[0, \infty\right)
Horizontal asymptotes
Let’s find horizontal asymptotes with help of the limits of this function at x->+oo and x->-oo
limxtanh(x2)=1\lim_{x \to -\infty} \tanh{\left(\frac{x}{2} \right)} = -1
Let's take the limit
so,
equation of the horizontal asymptote on the left:
y=1y = -1
limxtanh(x2)=1\lim_{x \to \infty} \tanh{\left(\frac{x}{2} \right)} = 1
Let's take the limit
so,
equation of the horizontal asymptote on the right:
y=1y = 1
Inclined asymptotes
Inclined asymptote can be found by calculating the limit of tanh(x/2), divided by x at x->+oo and x ->-oo
limx(tanh(x2)x)=0\lim_{x \to -\infty}\left(\frac{\tanh{\left(\frac{x}{2} \right)}}{x}\right) = 0
Let's take the limit
so,
inclined coincides with the horizontal asymptote on the right
limx(tanh(x2)x)=0\lim_{x \to \infty}\left(\frac{\tanh{\left(\frac{x}{2} \right)}}{x}\right) = 0
Let's take the limit
so,
inclined coincides with the horizontal asymptote on the left
Even and odd functions
Let's check, whether the function even or odd by using relations f = f(-x) и f = -f(-x).
So, check:
tanh(x2)=tanh(x2)\tanh{\left(\frac{x}{2} \right)} = - \tanh{\left(\frac{x}{2} \right)}
- No
tanh(x2)=tanh(x2)\tanh{\left(\frac{x}{2} \right)} = \tanh{\left(\frac{x}{2} \right)}
- No
so, the function
not is
neither even, nor odd
The graph
Graphing y = tanh(x/2)