View Full Version : Negative based powers
Mentallic
Jul11-09, 04:13 AM
I was trying to visualize/understand what y=(-1)x would look like since my graphing calculator won't graph it because it is discontinuous. I had a bit of luck with the integers, but getting into fractional values of x and irrationals is going to be much more time consuming and complicated.
I also thought of this:
y=(-1)^x
\frac{dy}{dx}=(-1)^xln(-1)
But e^{ix}=-1 hence, ix=ln(-1)
So lets choose to the value x=1/2
y=i however the derivative is i^2\pi which simplifies to a real number -\pi. So while the value does not exist, the derivative does? I'm not understanding how that is possible or if there is any significance to this. Actually, I'm feeling more certain that I made some mathematically infeasible step, such as using:
\frac{d}{dx}a^{x}=\frac{a^{x}}{ln(a)} only for values a>0, a\neq1
Please explain this to me :smile:
edit: fixed derivative
jontyjashan
Jul11-09, 05:04 AM
could u explain how can we differentiate (-1)^x
i mean to say by which formula
Mentallic
Jul11-09, 05:13 AM
could u explain how can we differentiate (-1)^x
i mean to say by which formula
Well what I know is that \frac{d}{dx}a^x=a^xln(a)
Don't ask me to prove this though :biggrin:
Now it just depends on what the restriction to 'a' are. Now, for the real numbers a>0 as the logarithm is only defined for a>0, but what about extending this into the complex numbers? I'm aware that many formal definitions in maths break down when complex numbers are involved, so is using the derivative of (-1)x in this way also broken?
edit: fixed the derivative
jontyjashan
Jul11-09, 05:20 AM
its not true
the formula is
\frac{d}{dx}a^{x}=a^{x}ln(a)
Mentallic
Jul11-09, 05:25 AM
its not true
the formula is
\frac{d}{dx}a^{x}=a^{x}ln(a)
Thanks for correcting me jontyjashan.
Mentallic
Jul13-09, 11:15 PM
bump.
HallsofIvy
Jul14-09, 06:08 AM
It's not clear what your question is. For real numbers, of course, ax is only defined for a> 0. For complex numbers, az is defined for all complex numbers by a[sup]z= ez ln(a) but, of course, ln(a) is multi-valued. In particular, if a= -1= (1)e^{-\pi i+ 2n\pi} for any integer n so ln(-1)= -\pi+ 2n\pi= (2n-1)\pi. (-1)^z= e^{z(2n-1)\pi} where n can be any integer.
g_edgar
Jul14-09, 08:44 AM
If you don't want "multi-valued" answers, the best one is the continuous one defined like this...
(-1)^s = \exp(\pi i s) = \cos(\pi s) + i \sin(\pi s)
As s varies, it goes around the circle, of course reaching 1 and -1 when s is an integer.
Tac-Tics
Jul14-09, 03:17 PM
y=(-1)^x
\frac{dy}{dx}=(-1)^xln(-1)
These steps are good.
But e^{ix}=-1 hence, ix=ln(-1)
This step is bad.
The rule is e^{i \theta} = \cos \theta + i \sin \theta, with e^{i \pi} = -1.
Be careful. You might quickly assume that \ln -1 = i \pi. But look closer, and you'll see that e^{-i \pi} = -1, too. Or more generally e^{i (\pi +2n \pi)} = -1 for any integer n. It's periodic. And periodic functions aren't 1-to-1. And functions which aren't 1-to-1 can't be inverted so naively. The "inverse" of e^x is not a single valued function. You have to perform a "branch cut", choosing one of the (infinitely many) values it can take. For example, we define \ln x = y as the smallest, non-negative value for y such that e^{i y} = x. So ln(-1) = i \pi.
Keep in mind, though, that ln and e are only PARTIAL inverses of each other. Just as \sqrt{x^2} need not equal x (because of negative numbers), ln(e^x) need not equal x (because of numbers greater than 2\pi. In many cases, it will, but not always.
Take that point into account and see what you can come up with =-)
Mentallic
Jul14-09, 10:28 PM
The rule is e^{i \theta} = \cos \theta + i \sin \theta
I've worked with complex numbers, but didn't know this equality. I've only worked with the RHS so thanks for that.
ok taking the multi-valued function into account, we instead have: (please don't hesitate to brutalize me for my faults)
e^{i\theta}=cis\theta
e^{i\pi(1+2n)}=cis\pi=-1
i\pi(1+2n)=ln(-1) *
* I'm unsure about this step, based on what Tac-tics explained about partial inverses:
Keep in mind, though, that ln and e are only PARTIAL inverses of each other. Just as need not equal x (because of negative numbers), need not equal x (because of numbers greater than . In many cases, it will, but not always.
Were my steps correct to take this into account?
For real numbers, of course, ax is only defined for a> 0 For a>0 where a\neq1 it follows the usual exponential functions, but for a<0 the values are only NOT real (by my logic) when ax has values for x that can only be expressed as \frac{m}{2n} for any n integer.
In all other cases, the value of ax will keep diverging between positive and negative values. Of course the graph won't be continuous and have infinitely many holes but does that really mean that ax isn't defined for a<0?
Tac-Tics
Jul15-09, 01:18 AM
ok taking the multi-valued function into account, we instead have: (please don't hesitate to brutalize me for my faults)
We'll be gentle =-P
I've worked with complex numbers, but didn't know this equality. I've only worked with the RHS so thanks for that.
This is THE fundamental formula for complex numbers. It's called Euler's identity. Richard Feynman called it the most beautiful theorem and mathematics.
It's more than just a formula. It allows us a totally different way to represent complex numbers. By the trig identity cos^2 x + sin^2 x = 1, we see that no matter what the value of \theta that abs(e^{\theta i}) = 1. That is, EVERY complex with modulus ("length") 1 can be written in this form. Furthermore, ANY complex at all can be written in the form r e^{i \theta} for some real numbers r and theta, where r is the "length" of the complex number and \theta is the "direction". This form makes it very easy to multiply two complex numbers (you simply multiply the r's and add the [/tex]\theta[/tex]s). You can convert back and forth between this form and the a + bi form without much trouble.
i\pi(1+2n)=ln(-1) *
* I'm unsure about this step, based on what Tac-tics explained about partial inverses:
This step is right. Sort of. Really, you need to do a branch cut on ln. Pick an integer for n. The value ln(-1) is then equal to i\pi(1+2n), subbing in the constant value you picked for n. The ln function on a TI-83 or TI-89 calculator or in Mathematica is the result when n=0, so ln(-1) = \pi i.
For a>0 where a\neq1 it follows the usual exponential functions, but for a<0 the values are only NOT real (by my logic) when ax has values for x that can only be expressed as \frac{m}{2n} for any n integer.
This sounds about right. It's only at isolated points, spaced a constant distance away that the result of (-1)^x is going to be a real number. The rest of the time, it will have an imaginary part.
In all other cases, the value of ax will keep diverging between positive and negative values. Of course the graph won't be continuous and have infinitely many holes but does that really mean that ax isn't defined for a<0?
What makes this topic a little difficult to discuss is that everyone coming out of first-year calculus has this mistaken assumption that there is this thing called "raising to a power" that has a single, unambiguous meaning. When the exponent is a positive integer, the definition is simple. When you allow for zero and negative integers, you have to make some judgment calls. We say that x^{-1} = \frac{1}{x} and x^0 = 1 because it's convenient to define it that way -- it leads to very nice identities such as x^a x^b = x^{a + b} and (x^a)^b = x^{ab}.
When we allow for fractional exponents, though, things get ugly. Suddenly, our identities begin to fail us. ((-1)^2)^\frac{1}{2} /neq -1. If we allow 0 ^ 0 = 1, exponentiation is no longer a continuous function. It all goes to hell! As we might expect, things get even worse when we allow for complex numbers, causing logs to become multi-valued.
The complex numbers and exponentiation are both miraculous things, but they are sometimes clunky. They are like a beautiful work of an engineer -- they get the job done, but they do have their rough spots.
Mentallic
Jul15-09, 02:30 AM
Tac-Tics, I very much liked your explanation :smile:
So basically, ax is only defined for a>0 because - even though there are infinitely many real values for a=0 and a<0 - the fundamental definitions for exponentiation breaks down when lurking into this territory? That makes way more sense!
That example you gave actually shocked me a bit.
((-1)^2)^\frac{1}{2}\neq -1 only if the order of operation is taken in each bracket first. Otherwise, whether by using the exponent rule or flipping the exponents around and taking them in opposite order, it will equal -1.
I suppose this has to do with the fact that the base a<0 and the exponent rules have now broken down right?
Is this also why my opening question in this thread has an imaginary value coupled with a real derivative?
Does the multi-valued aspect of e^{i\theta} matter anymore? I mean, it has already been shown that it doesn't work for a<0, so is there any point endeavoring for an answer?
Tac-Tics
Jul15-09, 03:21 AM
So basically, ax is only defined for a>0 because - even though there are infinitely many real values for a=0 and a<0 - the fundamental definitions for exponentiation breaks down when lurking into this territory? That makes way more sense!
Essentially.
You brought up the definition of exponentiation, which is important. Let me put it more directly.
How do you define exponentiation?
If you're going to make reasoned arguments about something, you better have a solid idea of what you're talking about! You have built up several informal notions of what exponentiation is in your algebra and calculus classes, but at no point did anyone give you a formal definition for it.
If it weren't 3am here, I would take the time to lay out something close to a good definition, but it's late.
But for the time being, keep this in mind. When you see x^y, know that what you're really looking at is a function of two variables (x and y). When you're playing around with a potential definition of exponentiation, you're really just tweaking with the definition of a boring old function that obeys useful properties you are interested in.
That example you gave actually shocked me a bit.
((-1)^2)^\frac{1}{2}\neq -1 only if the order of operation is taken in each bracket first. Otherwise, whether by using the exponent rule or flipping the exponents around and taking them in opposite order, it will equal -1.
Parentheses always determine the order of operations. And, as it turns out, you cannot switch the order of the exponents here. The rule is that (x^a)^b = x^{ab} only when x is positive. That disclaimer is easy enough to forget, but forgetting about it can lead to incorrect results. In fact, there is a famous invalid proof that is based off this technique: http://en.wikipedia.org/wiki/Invalid_proof#Version_1
Is this also why my opening question in this thread has an imaginary value coupled with a real derivative?
The rule that \frac{d}{dx}a^x = e^x ln(a) does not work for a \leq 0. When a < 0, the result of the logarithm would be non-real, as you seem to have discovered. Annoyingly, none of the web sites I found on Google bothered to mention this restriction. But it's there. It's similar to the restriction on changing the order of exponents..... easily forgotten, but important nonetheless.
Does the multi-valued aspect of e^{i\theta} matter anymore?
It's actually ln(x) that is multi-valued. Luckily, the function e^x has a straightforward definition. e^x = \Sigma_{n=1}^\infty \frac{x^n}{n!}
It works for both real and complex numbers. It works all the time. Memorize it ;-)
The confusion with exponents comes when the base is zero, negative, or when you have to "undo"an exponent with a logarithm. But the exponential function e^x is straightforward, easy, and incredibly useful in all areas of math.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.