How to plot $y=\frac{1}{(x-4)^{1/3}}$ with mathematical softwares?

278 Views Asked by At

I tried to plot the function $y=\frac{1}{(x-4)^{2/3}}$ with Maple software. The result was:

It is easily can seen tht the graph is not correct. But if i try to plot the function $y=\frac{1}{((x-4)^{2})^{1/3}}$ it gives the correct graph:

ut

Now i understand how to ask plots from Maple.

But wht if i want to plot $y=\frac{1}{(x-4)^{1/3}}$? How to ask it from Maple?

P:S: I tried it with some other online tools such as this or this. Same problem occurs with them also.

4

There are 4 best solutions below

0
On BEST ANSWER

I think what you look for is the surd command.

To plot $1/(x-4)^{1/3}$ in maple you can do like this:

 plot(surd((x-4),-3),x=-10..10);

The result is

maple picture

In Mathematica you can do

 Plot[Surd[x - 4, -3], {x, -10, 20}]

which results in

enter image description here

0
On

The problem is that Maple takes the complex root with less complex argument, so the cubic root of $-1$ is understood to be $e^{\frac{\pi}{3}}$. One possibility is to ask Maple to print a piecewise function, which in the $x\leqslant 4$ region should be defined as $-\frac{1}{(4-x)^{\frac{1}{3}}}$.

0
On

Indeed, the answer of the (free tool) WA to the instruction plot 1/(x-4)^(1/3) with the option applyAssumption(1,'^_Real') is as follows:

enter image description here

But with the option applyAssumption(1,'^_Principal'), one gets:

enter image description here

In the first case, the program plots the function $$x\mapsto\left\{\begin{array}{ccc}|x-4|^{-1/3}&\mathrm{if}&x\gt4\\-|x-4|^{-1/3}&\mathrm{if}&x\lt4\end{array}\right.$$ In the second case, the program plots the function $$x\mapsto\left\{\begin{array}{ccc}|x-4|^{-1/3}&\mathrm{if}&x\gt4\\\tfrac12(1-\mathrm i\sqrt3)\cdot|x-4|^{-1/3}&\mathrm{if}&x\lt4\end{array}\right.$$ which is only natural since $z=\tfrac12(1-\mathrm i\sqrt3)$ solves $z^{-3}=-1$.

0
On

Another way is, asking the plot of $g(x):=\frac{x-4}{|x-4|}\frac{1}{|x-4|}$ from maple. The result is:

enter image description here

I saw this method in the textbook Thomas Calculus 11th ed