Plotting y=x^1/3 - Why Different Results?

  • Context: MHB 
  • Thread starter Thread starter Yankel
  • Start date Start date
  • Tags Tags
    Plotting
Click For Summary
SUMMARY

The discussion centers on the discrepancies observed when plotting the function \(y=x^{\frac{1}{3}}\) using different plotters. The first plotter appears to misinterpret the calculation for negative values of \(x\), likely due to an improper application of logarithmic functions, which do not support negative inputs. The power identity \(a^{b\cdot c}=(a^b)^c\) fails for negative bases when fractional powers are involved, leading to incorrect results. It is established that \(x^{1/3}\) is generally undefined for negative \(x\) unless specifically defined as \(-(-x)^{1/3}\).

PREREQUISITES
  • Understanding of fractional powers and their properties
  • Familiarity with logarithmic functions and their limitations
  • Knowledge of graphing tools and their algorithms
  • Basic principles of complex numbers and their relation to negative bases
NEXT STEPS
  • Research the behavior of fractional powers in mathematical software
  • Learn about the limitations of calculators when handling negative bases
  • Explore the definition and properties of complex numbers in relation to roots
  • Investigate alternative graphing tools that handle negative inputs correctly
USEFUL FOR

Mathematicians, educators, students in calculus, and anyone involved in graphing functions or analyzing mathematical software outputs.

Yankel
Messages
390
Reaction score
0
Dear all,

I was using the computer in order to plot the graph of

\[y=x^{\frac{1}{3}}=\sqrt[3]{x}\]

and two different plotters gave two different results. I don't understand why. Can you kindly explain ?

The results are:

View attachment 8447

View attachment 8448

Thank you !
 

Attachments

  • plot 1.PNG
    plot 1.PNG
    1.4 KB · Views: 122
  • plot 2.PNG
    plot 2.PNG
    2.3 KB · Views: 138
Mathematics news on Phys.org
First, of course, those are the same for x> 0 just scaled differently. As for x< 0 it looks like the first plotter is using logarithms "unthinkingly" to calculate fractional powers and the logarithm of negative numbers do not exist.
 
Generally $x^{1/3}$ is considered to be undefined for negative $x$, although some books do effectively define it as $-(-x)^{1/3}$.

Reasons are:
  1. The power identity $a^{b\cdot c}=(a^b)^c$ breaks down. Consider:
    $$-1 = (-1)^{2/3\cdot 3/2} \ne ((-1)^{2/3})^{3/2} = 1^{3/2} = 1$$
  2. Calculators evaluate it as $x^{0.33333}$, which is undefined for negative x.
    Note that we can only define something like $x^{1/3}$ for negative x if the power is a fraction with an odd number in the denominator, but that is generally not supported by calculators.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 16 ·
Replies
16
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 37 ·
2
Replies
37
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K